÷ƒ’À;è3Omega output, Version 3.14159--1.8, 1999.03.30:1141‹ÿÿÿÿ y� ý£ ?� þ þÀ�‘b5\óUªsÉG®G®ecrm1728ºDraft–hçdo�s†cumen�Œytation“for“the“óDÓítG®G®cmr17» “ºsystemŽŸÿ�����’†²óÓ·å ecrm1200ÁJohn‘êlPlaice��Ÿû¥2ó¾KÈ cmsy8ÆŽŽŽŽŽŽ����’äÂÁY‘ÿeannis‘êlHaralam�¬wb�Sˆous��Ÿû¥2ÆyŽŽŽŽŽŽŽŸvV�’Ì{MÁMarc�¬wh‘êl1999ŽŸ7ϧ��‘>ó!&Lt$ffffecbx1440Ì1Ž‘UÁIn��ctro�pœductionŽŸæ~�‘>ó 1ê± ecrm1000¹The–=�óKñ`y cmr10² “¹(Omega)“tš¸èyp�Gesetting“system,‘w«an“extension“of“Donald“Kn˜uth's“T�‘þUYŸ&úEŽ‘ã9X,‘w«isޤ �‘>designed–¾Äfor“the“tš¸èyp�Gesetting“of“all“the“w˜orld's“languages.‘®mIt“normally“uses“theŽ¡�‘>UnicošGde–ë c�¸èharacter“enco˜ding“standard“as“inš¸èternal“represen˜tation,‘Pƒalthough“itŽ¡�‘>can–Êraccept“anš¸èy“other“c˜haracter“set“for“input“or“output.‘ÑuSince“it“allo˜ws“one“toŽ¡�‘>dynamically–mdene“nite“state“automata“to“translate“from“one“enco�Gding“to“an-Ž¡�‘>other,‘�Sit–EIis“p�Gossible“to“dene“complex“conš¸ètextual“analysis“for“ligature“c˜hoice,Ž¡�‘>cš¸èharacter–5�cluster“building“or“diacritic“placemen˜t,‘;Ýas“required“for“scripts“suc˜h“asŽ¡�‘>Arabic,–éBDev‘ÿqÐanagari,“Hebrew–Ë¢or“Khmer.‘ÕIt“also“alloš¸èws“an˜y“n˜um˜b�Ger“of“translit-Ž¡�‘>erations,‘7:allo•¸èwing› an“y“one˜to˜t“yp�Ge˜texts˜for˜an“y˜script,‘7:using˜an“y˜other˜script.Ž¡�‘>² –Kû¹currenš¸ètly“supp�Gorts“m˜ultidirectional“writing,‘MÐtherefore“allo˜wing“t˜yp�Gesetting“ofŽ¡�‘>Hebrew,–U Arabic,“Chinese,“Japanese,“Mongolian“and“man�¸èy“other“scripts.Ž¡�‘MA‘"ÊUnicošGde-based–"Öfon�¸èt“is“also“b˜eing“designed“for“the“alphab˜etic“scripts.‘`½ThisŽ¡�‘>fonš¸èt–élis“made“up“of“four“subfon˜ts:‘š(1)“Latin,–Greek,“Cyrillic,“Armenian,“Geor-Ž¡�‘>gian,–�¬punctuation;›œ•(2)‘„ÃHebrew,“Arabic,“Syriac;˜(3)–„ÃDingbats“and“non-letterlik�¸èeŽ¡�‘>symš¸èb�Gols;‘/”(4)–æÃIndic“and“South-East“Asian“scripts.‘&hThis“fon˜t“consists“of“all“theŽ¡�‘>glyphs–ÔÑrequired“to“propšGerly“t�¸èyp˜eset“eacš¸èh“of“the“scripts,‘îzwhic˜h“means“m˜uc˜h“moreŽ¡�‘>than–U designing“one“glyph“for“eac�¸èh“UnicošGde“p˜osition.Ž¡�‘MThis–£ÜdošGcumen�¸èt“is“the“draft“do˜cumenš¸ètation“for“the“² “¹t˜yp�Gesetting“system,Ž¡�‘>designed–€eand“devš¸èelop�Ged“b˜y“the“authors.‘óNThis“draft“do�Gcumen˜t“accompanies“theŽ¡�‘>1.8–U release“of“² ¹,“whicš¸èh“is“a˜v‘ÿqÐailable“at:ޤv¸�‘X>\ó"qLË ectt1000Íftp://ftp.cse.unsw.edu.au/users/plaice/OmegaŽ¡�‘>¹or–U at“an�¸èy“of“the“CT‘ÿ*¸AN“sites.ޤ �‘MThis–×došGcumen�¸ètation“should“b˜e“considered“cursory‘ÿ*¸.‘¼åIn“particular,‘5it“onlyŽ¡�‘>describ�Ges–ì{the“drivš¸èers“that“ha˜v˜e“b�Geen“dev˜elop�Ged“for“t˜yp�Gesetting“and“viewing,‘iandŽ¡�‘>only–U presen�¸èts“the“to�Gols“that“are“based“on“Íweb2c¹.Ž¡�‘MF›ÿ*¸or–U more“information,“see“our“W˜eb“page,“curren�¸ètly“at:ŽŸv¸�‘X>\Íhttp://www.ens.fr/omegaŽ‘>ŸÚ‚‰ff‰ÿvŸ @���‘ ö…Ÿý-:óq¡% cmsy6ÇŽŽ‘KÙó¦÷²"ecrm0800ÈScšÃ’ho�Ì2Ž‘UÁImplemen��ctationŽŸæ~�‘>¹The–Bôcanonical“² “¹implemen�¸ètation“is“based“on“the“standard“Íweb2c“¹T�‘þUYŸ&úEŽ‘ã9X“distri-ޤ �‘>bution.›/‰Curren�¸ètly‘ÿ*¸,‘y¤² –?#¹is“based“on“Íweb2c-7.3¹.˜This“means“that“the“follo�¸èwingŽ¡�‘>standard–U distributions“automatically“include“² ¹:Ž©����‘Mó !",š cmsy10¸ŽŽŽ‘W¹Thomas–U Esser's“T‘ÿ*¸eT�‘þUYŸ&úEŽ‘ã9X“(Unix).Ž¡�‘WLo�Gok–U up“Íhttp://www.tug.org/tetex/Ž¡�‘W¹or–U Ímailto:te@informatik.uni-hannover.de“¹.ަ����‘M¸ŽŽŽ‘W¹F‘ÿ*¸abrice–U Pš¸èopineau's“T�‘þUYŸ&úEŽ‘ã9XWin32“(Windo˜ws95/NT).Ž¡�‘WLo�Gok–U up“Íftp://ftp.ese-metz.fr/pub/TeX/win32Ž¡�‘W¹or–U Ímailto:popineau@esemetz.ese-metz.fr“¹.ަ����‘M¸ŽŽŽ‘W¹Sebastian–U Rahš¸ètz's“T�‘þUYŸ&úEŽ‘ã9XLiv˜e“(CD-R˜OM).Ž¡�‘WLo�Gok–U up“Íhttp://www.tug.org/texlive.htmlŽ¡�‘W¹or–U Ímailto:s.rahtz@elsevier.co.uk“¹.ަ�‘MIn–>µaddition,‘ythere“are“currenš¸ètly“t˜w˜o“other“prepac˜k‘ÿqÐaged“T�‘þUYŸ&úEŽ‘ã9X“en˜vironmen˜tsŽ¡�‘>that–U supp�Gort“² ¹:ަ����‘M¸ŽŽŽ‘W¹T‘ÿ*¸om–U Kie's“CMac² “¹(MacIn�¸ètosh).Ž¡�‘WLo�Gok–U up“Íhttp://www.kiffe.com/cmacomega.htmlŽ¡�‘W¹or–U Ímailto:tom@kiffe.com“¹.ަ����‘M¸ŽŽŽ‘W¹Christian–U Scš¸èhenk's“MiKT�‘þUYŸ&úEŽ‘ã9X“(Windo˜ws95/NT).Ž¡�‘WLo�Gok–U up“Íhttp://www.inx.de/~cschenk/miktexŽ¡�‘W¹or–U Ímailto:cschenk@snafu.de“¹.ަ�‘MThe–U three“les“distributed“with“the“² “¹implemen�¸ètation“areަ�‘X>\Íweb2c-7.3-omega-1.8.tar.gzŽ¡�‘X>\omegalib-1.8.tar.gzŽ¡�‘X>\omegadoc-1.8.tar.gzަ�‘>¹T‘ÿ*¸o–*Winstall“² ¹,‘2æyš¸èou“will“require“the“standard“T�‘þUYŸ&úEŽ‘ã9X“distribution“as“w˜ell.‘c=These“lesŽ¡�‘>includeަ�‘X>\Íweb-7.3.tar.gzŽ¡�‘X>\web2c-7.3.tar.gzަ�‘>¹as–ôÊwš¸èell“as“a“standard“Ítexmf“¹tree.‘QcIn“addition“to“these“les,‘the“follo˜wing“driv˜ersŽ¡�‘>are‘U needed:ަ�‘X>\Ídvipsk.tar.gzŽ¡�‘X>\odvipsk.tar.gzŽ¡�‘X>\gsftopk.tar.gzŽ¡�‘X>\xdvik.tar.gzŽ¡�‘X>\oxdvik.tar.gzŽ¡�‘X>\libwww.tar.gzŽŽŸ�’è(¹2ŽŽŒ‹  y� ý£ ?� ýä�‘>¹These–U les“are“all“made“aš¸èv‘ÿqÐailable“in“the“ab�Go˜v˜e“Íftp“¹sites.Ž© �‘MThe–U installation“prošGcedure“is“describ˜ed“b˜elo�¸èw.‘q€Assume“thatŽŸªP����‘M¸ŽŽŽ‘WÍ/usr/local/ftp–U ¹conš¸ètains“y˜our“do˜wnloaded“les;ޤÕ(����‘M¸ŽŽŽ‘WÍ/usr/local/src–U ¹is“where“y�¸èou“place“source“les;“andŽ¡����‘M¸ŽŽŽ‘WÍ/usr/local/share–U ¹is“where“the“Ítexmf“¹tree“is“to“b�Ge“placed;ޤ”å�‘X>\ÍFTP=/usr/local/ftpަ�‘X>\SHARE=/usr/local/shareަ�‘X>\SRC=/usr/local/srcަ�‘X>\cd‘?¬$SHAREަ�‘X>\tar–?¬xzf“$FTP/texmflib.tar.gzަ�‘X>\tar–?¬xzf“$FTP/omegalib-1.8.tar.gzަ�‘X>\cd‘?¬$SRCަ�‘X>\tar–?¬xzf“$FTP/web-7.3.tar.gzަ�‘X>\tar–?¬xzf“$FTP/web2c-7.3.tar.gzަ�‘X>\tar–?¬xzf“$FTP/web2c-7.3-omega-1.8.tar.gzަ�‘X>\cd‘?¬web2c-7.3ަ�‘X>\tar–?¬xzf“$FTP/dvipsk.tar.gzަ�‘X>\tar–?¬xzf“$FTP/odvipsk.tar.gzަ�‘X>\tar–?¬xzf“$FTP/gsftopk.tar.gzަ�‘X>\tar–?¬xzf“$FTP/xdvik.tar.gzަ�‘X>\tar–?¬xzf“$FTP/oxdvik.tar.gzަ�‘X>\tar–?¬xzf“$FTP/libwww.tar.gzަ�‘X>\configureަ�‘X>\makeŽ¡�‘>¹Y‘ÿ*¸ou–€ewill“ha•¸èv“e–€eto“cš¸èho�Gose“whether“y˜our“call“to“Íconfigure“¹needs“an˜y“argumen˜ts.ަ�‘>Note–3ƒthat“the“les“maš¸èy“not“lo�Gok“exactly“lik˜e“this,‘kbut“y˜ou“should“b�Ge“able“toަ�‘>gure–U out“what“is“happ�Gening.ŽŸ þe��‘>Ì3Ž‘UÁWhat–G\do�pœes“ó#X«Q ff cmr12Î “Ìoer?ŽŸæ~�‘>¹The–¡^² “¹system“is“a“deriv‘ÿqÐativš¸èe“of“Donald“Kn˜uth's“T�‘þUYŸ&úEŽ‘ã9X.‘V;As“suc˜h,‘´nall“of“the“T�‘þUYŸ&úEŽ‘ã9Xަ�‘>le–&×t�¸èypšGes“can“b˜e“used“bš¸èy“² “¹as“w˜ell.‘æ¥In“addition“there“are“six“new“le“t˜yp�Ges.ަ�‘>They‘U are:ŽŸ5U����ŸÛ³1��‘SSuxŽ�‘w·ZReplacesŽ�’©­ßDescriptionŽŽ‘MŸ‰ffâ-wŸfd��‘Í.oplŽ�‘*·Z.plŽ�‘\­ß¹F‘ÿ*¸on•¸èt›U prop�Gert“y˜list˜(text)ŽŽ¦��‘Í.ofmŽ�‘*·Z.tfmŽ�‘\­ß¹F‘ÿ*¸on�¸èt–U metric“(binary)ŽŽ¦��‘Í.ovpŽ�‘*·Z.vplŽ�‘\­ß¹Virtual–U prop�Gert�¸èy“list“(text)ŽŽ¦��‘Í.ovfŽ�‘*·Z.vfŽ�‘\­ß¹Virtual–U fon�¸èt“(binary)ŽŽ¦��‘Í.otpŽ�‘*·Z¹Ž�‘\­ß² –U ¹T‘ÿ*¸ranslation“Pro�Gcess“(text)ŽŽ¦��‘Í.ocpŽ�‘*·Z¹Ž�‘\­ß² –U ¹Compiled“Pro�Gcess“(binary)ŽŽŽŽŽŸ5G�‘>These–U dierenš¸èt“le“t˜ypšGes“are“describ˜ed“in“future“sections.ŽŽŸ�’è(3ŽŽŒ‹÷ y� ý£ ?� ýä�‘>¹The–U ² “¹distribution“conš¸ètains“sev˜eral“binaries,“describšGed“b˜elo�¸èw:ŽŸeU����Ÿ«³1��‘SBinaryŽ�’�‹‘ReplacesŽ�’ƈòDescriptionŽŽ‘MŸ‰ff;�Ÿfd��‘Íomega‘U ¹(² ¹)Ž�‘C‹‘T�‘þUYŸ&úEŽ‘ã9XŽ�‘yˆòT�¸èyp�Gesetting–U engine“(�Í.texŽ–Åȸ!�‘ÇÍ.dviŽ“¹)ŽŽ¤ ��‘Ílambda‘U ¹(²¹)Ž�‘C‹‘L�Ÿýï�‘üf ó&TÆ2‚ecrm0700ÑAŽŽ‘Íz¹T�‘þUYŸ&úEŽ‘ã9XŽ�‘yˆòF‘ÿ*¸or–U structured“do�Gcumen�¸èts“(�Í.texŽ–Åȸ!�‘ÇÍ.dviŽ“¹)ŽŽ¡��‘ÍodvipsŽ�‘C‹‘dvipsŽ�‘yˆò¹P•¸èostScript›U driv“er˜(�Í.dviŽ‘Åȸ!�‘ÇÍ.psŽ‘†¹)ŽŽ¡��‘ÍoxdviŽ�‘C‹‘xdviŽ�‘yˆò¹Screen–U preview�¸èer“for“Í.dvi“¹(�Í.dviŽ‘Åȸ!�‘ǹscreenŽ‘…l)ŽŽ¡��‘ÍodvicopyŽ�‘C‹‘dvicopyŽ�‘yˆò¹De-virtualizes–U Í.dvi“¹(�Í.dviŽ–Åȸ!�‘ÇÍ.dviŽ“¹)ŽŽ¡��‘ÍodvitypeŽ�‘C‹‘dvitypeŽ�‘yˆò¹Debugging–U for“Í.dvi“¹(�Í.dviŽ‘Åȸ!�‘ǹtextŽ‘F)ŽŽ¡��‘Íopl2ofmŽ�‘C‹‘pltotfŽ�‘yˆò¹Build–U fon�¸èt“metric“(�Í.oplŽ–Åȸ!�‘ÇÍ.ofmŽ“¹)ŽŽ¡��‘Íofm2oplŽ�‘C‹‘tftoplŽ�‘yˆò¹Debugging–U for“Í.ofm“¹(�Í.ofmŽ–Åȸ!�‘ÇÍ.oplŽ“¹)ŽŽ¡��‘Íovp2ovfŽ�‘C‹‘vptovfŽ�‘yˆò¹Build–U virtual“fon�¸èt“(�Í.ovpŽ‘Åȸ!�‘ÇÍ.ofmŽ‘þ¨¸�‘8àÍ.ovfŽ‘7�¹)ŽŽ¡��‘Íovf2ovpŽ�‘C‹‘vftovpŽ�‘yˆò¹Debugging–U for“Í.ovf“¹(�Í.ofmŽ‘7�¸�‘8àÍ.ovfŽ‘þ¨¸!�‘ÇÍ.ovpŽ‘Åȹ)ŽŽ¡��‘Íotp2ocpŽ�‘C‹‘¹Ž�‘yˆòCompile–U ² ¹TP“(�Í.otpŽ–Åȸ!�‘ÇÍ.ocpŽ“¹)ŽŽ¡��‘ÍoutocpŽ�‘C‹‘¹Ž�‘yˆòDebugging–U for“Í.ocp“¹(�Í.ocpŽ‘Åȸ!�‘ǹtextŽ‘F)ŽŽ¡��‘ÍmkofmŽ�‘C‹‘mktextfmŽ�‘yˆò¹Generate–U Í.ofm“¹le“if“neededŽŽ¡��‘ÍmkocpŽ�‘C‹‘¹Ž�‘yˆòGenerate–U Í.ocp“¹le“if“neededŽŽŽŽŽŸq´��‘>Ì4Ž‘UÁSixteen-bit–G\fon��cts,“registers,“etc.ŽŸæ~�‘>¹One–'yof“the“fundamenš¸ètal“limitations“of“T�‘þUYŸ&úEŽ‘ã9X3“is“that“most“quan˜tities“can“onlyޤ �‘>range›žb�Get•¸èw“een˜0˜and˜255.‘ ùF‘ÿ*¸on“ts˜are˜limited˜to˜256˜c“haracters˜eac“h,‘>=only˜256Ž¡�‘>fonš¸èts–“Ûare“allo˜w˜ed“sim˜ultaneously‘ÿ*¸,‘ãŠonly“256“of“an˜y“giv˜en“kind“of“can“b�Ge“usedŽ¡�‘>sim�¸èultaneously‘ÿ*¸,›�6etc.‘ÛM² –xd¹lo�Gosens“these“restrictions,˜allo�¸èwing“65“536“(065“535)“ofŽ¡�‘>eacš¸èh–U of“these“en˜tities.Ž©ýY��‘>ó'¥!¢N ecbx1200Ò4.1Ž‘\¾CharactersŽŸtî�‘>¹Eac•¸èh›Afon“t˜can˜allo“w˜up˜to˜65˜536˜c“haracters,‘|ranging˜b�Get“w“een˜0˜and˜65˜535.Ž¡�‘>Unless–other“means“are“pro�¸èvided,‘using“² “¹T‘ÿ*¸ranslation“Pro�Gcesses“(see“section“8),Ž¡�‘>the–�input“and“output“mecš¸èhanisms“for“c˜haracters“b�Get˜w˜een“256“(hex“100)“andŽ¡�‘>65–ô¹535“(hex“‘Ç)“use“four“circumexes.‘Q^F‘ÿ*¸or“example,‘Í^^^^cab0“¹means“hex“v‘ÿqÐalueŽ¡�‘>Ícab0–U ¹and“Í^^^^0020“¹is“the“space“c�¸èharacter.ަ��‘>Ò4.2Ž‘\¾F‘þàon� tsŽŸtî�‘>¹Up–î´to“65“536“fonš¸èts“ma˜y“b�Ge“used.‘>;This“is“handled“automatically‘ÿ*¸,‘and“space“isŽ¡�‘>allo�Gcated–U as“needed.ަ��‘>Ò4.3Ž‘\¾RegistersŽŸtî�‘>¹Up–zîto“65“536“registers“of“eacš¸èh“kind“ma˜y“bšGe“used.‘âêThe“only“case“to“b˜e“noted“isŽ¡�‘>that–U Í\box255“¹remains“the“b�Goš¸èx“used“b˜y“the“output“routine.ŽŽŸ�’è(4ŽŽŒ‹Š y� ý£ ?� ýä��‘>Ò4.4Ž‘\¾Math‘¸co�_údesŽŸtî�‘>¹T�‘þUYŸ&úEŽ‘ã9X–'Êalloš¸èws“the“use“of“16“(²2�Ÿü^ÿóÙ“ Rcmr7±4Ž‘|s¹)“fon˜t“families,‘0Üeac˜h“fon˜t“of“256“(²2�Ÿü^ÿ±8Ž‘|s¹)“c˜haracters.‘bdT‘ÿ*¸oޤ �‘>access–PVthe“cš¸èharacters“in“the“math“fon˜ts,‘QKand“to“dene“ho˜w“they“are“to“b�Ge“used,Ž¡�‘>there–U are“sevš¸èeral“basic“primitiv˜es:ŽŸ����‘M¸ŽŽŽ‘WÍ\mathcode‘U ¸h�ó(½HЃ ecti1000Ó8-bit‘“°numb‘ÿ}/erŽ‘8cë¸i–Dz=“¸h�Ó15-bit‘“°numb‘ÿ}/erŽ‘=€ ¸i¹:Ž¡�‘WDenes–U 15-bit“math“co�Gde“for“c�¸èharacter;Ž©����‘M¸ŽŽŽ‘WÍ\mathcode‘U ¸h�Ó8-bit‘“°numb‘ÿ}/erŽ‘8cë¸i¹:Ž¡�‘WOutputs–U 15-bit“math“cošGde“asso˜ciated“with“c�¸èharacter;ަ����‘M¸ŽŽŽ‘WÍ\mathchar‘U ¸h�Ó15-bit‘“°numb‘ÿ}/erŽ‘=€ ¸i¹:Ž¡�‘WGenerates–U a“math“c�¸èharacter“with“15-bit“math“co�Gde;ަ����‘M¸ŽŽŽ‘WÍ\mathaccent‘U ¸h�Ó15-bit‘“°numb‘ÿ}/erŽ‘=€ ¸i¹:Ž¡�‘WGenerates–U a“math“accen�¸èt“with“15-bit“math“co�Gde;ަ����‘M¸ŽŽŽ‘WÍ\mathchardef‘U ¸h�Óc–ÿ}/ontr“ol-se“quenc“eŽ‘FâF¸i–Dz=“¸h�Ó15-bit‘“°numb‘ÿ}/erŽ‘=€ ¸i¹:Ž¡�‘WDenes–U a“con�¸ètrol“sequence“with“a“15-bit“math“co�Gde;ަ����‘M¸ŽŽŽ‘WÍ\delcode‘U ¸h�Ó8-bit‘“°numb‘ÿ}/erŽ‘8cë¸i–Dz=“¸h�Ó27-bit‘“°numb‘ÿ}/erŽ‘=€ ¸i¹:Ž¡�‘WDenes–U 27-bit“delimiter“co�Gde“for“c�¸èharacter;ަ����‘M¸ŽŽŽ‘WÍ\delcode‘U ¸h�Ó8-bit‘“°numb‘ÿ}/erŽ‘8cë¸i¹:Ž¡�‘WOutputs–U 27-bit“delimiter“cošGde“asso˜ciated“with“c�¸èharacter;ަ����‘M¸ŽŽŽ‘WÍ\delimiter‘U ¸h�Ó27-bit‘“°numb‘ÿ}/erŽ‘=€ ¸i¹:Ž¡�‘WGenerates–U a“math“delimiter“with“27-bit“delimiter“co�Gde;ަ����‘M¸ŽŽŽ‘WÍ\radical‘U ¸h�Ó27-bit‘“°numb‘ÿ}/erŽ‘=€ ¸i¹:Ž¡�‘WGenerates–U a“math“radical“with“27-bit“delimiter“co�Gde;ŽŸ�‘>whereަ����‘M¸ŽŽŽ‘Wh�Ó8-bit‘“°numb‘ÿ}/erŽ‘8cë¸i–U ¹refers“to“an“8-bit“c�¸èharacter;ަ����‘M¸ŽŽŽ‘Wh�Ó15-bit‘“°numb‘ÿ}/erŽ‘=€ ¸i–U ¹refers“to“v‘ÿqÐalue“Í0x8000“¹or“a“tripleަ����‘b@^ó)]fŒ ecbx1000ÔŽŽŽ‘m¹3–U bits“for“math“category‘ÿ*¸,ޤ����‘b@^ÔŽŽŽ‘m¹4–U bits“for“fon�¸èt“family‘ÿ*¸,Ž¡����‘b@^ÔŽŽŽ‘m¹8–U bits“for“cš¸èharacter“in“fon˜t,ަ�‘Wcalled–U a“Ómath‘“°c–ÿ}/o“de‘ÀO¹;ަ����‘M¸ŽŽŽ‘Wh�Ó27-bit‘“°numb‘ÿ}/erŽ‘=€ ¸i–U ¹refers“to“a“negativš¸èe“n˜um˜b�Ger“or“a“quin˜tupleަ����‘b@^ÔŽŽŽ‘m¹3–U bits“for“math“category‘ÿ*¸,Ž¡����‘b@^ÔŽŽŽ‘m¹4–U bits“for“rst“fon�¸èt“family‘ÿ*¸,Ž¡����‘b@^ÔŽŽŽ‘m¹8–U bits“for“rst“cš¸èharacter“in“fon˜t,ŽŽŸ�’è(5ŽŽŒ‹)8 y� ý£ ?� ýä����‘b@^ÔŽŽŽ‘m¹4–U bits“for“second“fon�¸èt“family‘ÿ*¸,ŽŸ����‘b@^ÔŽŽŽ‘m¹8–U bits“for“second“cš¸èharacter“in“fon˜t,ޤ�‘Wcalled–U a“Ódelimiter‘“°c–ÿ}/o“de¹.Ž¡�‘M² ¹,›Ton– ¡the“other“hand,˜alloš¸èws“256“(²2�Ÿü^ÿ±8Ž‘|s¹)“fon˜t“families,‘Teac˜h“fon˜t“of“65“536“(²2�Ÿü^ÿ±16Ž‘xæ¹)ޤ �‘>cš¸èharacters.‘—ÐSo,‘ein–aåaddition“to“the“T�‘þUYŸ&úEŽ‘ã9X“math“fon˜t“primitiv˜es,‘ewhic˜h“con˜tin˜ue“toŽ¡�‘>wš¸èork,–U there“are“16-bit“v˜ersions:ŽŸ����‘M¸ŽŽŽ‘WÍ\omathcode‘U ¸h�Ó16-bit‘“°numb‘ÿ}/erŽ›=€ ¸i–Dz=“¸h�Ó27-bit‘“°numb‘ÿ}/erŽ˜¸i¹:Ž¡�‘WDenes–U 27-bit“math“co�Gde“for“c�¸èharacter;Ž©����‘M¸ŽŽŽ‘WÍ\omathcode‘U ¸h�Ó16-bit‘“°numb‘ÿ}/erŽ‘=€ ¸i¹:Ž¡�‘WOutputs–U 27-bit“math“cošGde“asso˜ciated“with“c�¸èharacter;ަ����‘M¸ŽŽŽ‘WÍ\omathchar‘U ¸h�Ó27-bit‘“°numb‘ÿ}/erŽ‘=€ ¸i¹:Ž¡�‘WGenerates–U a“math“c�¸èharacter“with“27-bit“math“co�Gde;ަ����‘M¸ŽŽŽ‘WÍ\omathaccent‘U ¸h�Ó27-bit‘“°numb‘ÿ}/erŽ‘=€ ¸i¹:Ž¡�‘WGenerates–U a“math“accen�¸èt“with“27-bit“math“co�Gde;ަ����‘M¸ŽŽŽ‘WÍ\omathchardef‘U ¸h�Óc–ÿ}/ontr“ol-se“quenc“eŽ‘FâF¸i–Dz=“¸h�Ó27-bit‘“°numb‘ÿ}/erŽ‘=€ ¸i¹:Ž¡�‘WDenes–U a“con�¸ètrol“sequence“with“a“27-bit“math“co�Gde;ަ����‘M¸ŽŽŽ‘WÍ\odelcode‘U ¸h�Ó16-bit‘“°numb‘ÿ}/erŽ›=€ ¸i–Dz=“¸h�Ó51-bit‘“°numb‘ÿ}/erŽ˜¸i¹:Ž¡�‘WDenes–U 51-bit“delimiter“co�Gde“for“c�¸èharacter;ަ����‘M¸ŽŽŽ‘WÍ\odelcode‘U ¸h�Ó16-bit‘“°numb‘ÿ}/erŽ‘=€ ¸i¹:Ž¡�‘WOutputs–U 51-bit“delimiter“cošGde“asso˜ciated“with“c�¸èharacter;ަ����‘M¸ŽŽŽ‘WÍ\odelimiter‘U ¸h�Ó51-bit‘“°numb‘ÿ}/erŽ‘=€ ¸i¹:Ž¡�‘WGenerates–U a“math“delimiter“with“51-bit“delimiter“co�Gde;ަ����‘M¸ŽŽŽ‘WÍ\oradical‘U ¸h�Ó51-bit‘“°numb‘ÿ}/erŽ‘=€ ¸i¹:Ž¡�‘WGenerates–U a“math“radical“with“51-bit“delimiter“co�Gde;ŽŸ�‘>whereަ����‘M¸ŽŽŽ‘Wh�Ó16-bit‘“°numb‘ÿ}/erŽ‘=€ ¸i–U ¹refers“to“a“16-bit“c�¸èharacter;ަ����‘M¸ŽŽŽ‘Wh�Ó27-bit‘“°numb‘ÿ}/erŽ‘=€ ¸i–U ¹refers“to“v‘ÿqÐalue“Í0x8000000“¹or“a“tripleަ����‘b@^ÔŽŽŽ‘m¹3–U bits“for“math“category‘ÿ*¸,ޤ����‘b@^ÔŽŽŽ‘m¹8–U bits“for“fon�¸èt“family‘ÿ*¸,Ž¡����‘b@^ÔŽŽŽ‘m¹16–U bits“for“cš¸èharacter“in“fon˜t,ަ�‘Wcalled–U a“Ómath‘“°c–ÿ}/o“de‘ÀO¹;ަ����‘M¸ŽŽŽ‘Wh�Ó51-bit‘“°numb‘ÿ}/erŽ‘=€ ¸i–“¹refers“to“a“pair“of“n•¸èum“b•Gers,‘O°either›“b“oth˜negativ�¸èe˜or˜ar-ŽŸ �‘Wranged–U as“¸h�Ó27-bit‘“°numb‘ÿ}/erŽ–=€ ¸i‘Çh�Ó24-bit‘“°numb‘ÿ}/erŽ“¸i¹,–U with“the“rst“n•¸èum“b•Ger‘U b“eing:ŽŽŸ�’è(6ŽŽŒ‹2Ñ y� ý£ ?� ýä����‘b@^ÔŽŽŽ‘m¹3–U bits“for“math“category‘ÿ*¸,ޤ����‘b@^ÔŽŽŽ‘m¹8–U bits“for“rst“fon�¸èt“family‘ÿ*¸,Ž¡����‘b@^ÔŽŽŽ‘m¹16–U bits“for“rst“cš¸èharacter“in“fon˜t,ޤ�‘Wand–U the“second“n•¸èum“b•Ger‘U b“eing:Ž¡����‘b@^ÔŽŽŽ‘m¹8–U bits“for“second“fon�¸èt“family‘ÿ*¸,ŽŸ����‘b@^ÔŽŽŽ‘m¹16–U bits“for“second“cš¸èharacter“in“fon˜t,Ž¡�‘Wcalled–U a“Ódelimiter‘“°c–ÿ}/o“de¹.Ž¡�‘MSince–ôë² “¹is“up•¸èw“ardly–ôëcompatible“with“T�‘þUYŸ&úEŽ‘ã9X,‘)the“older“primitivš¸èes“still“con˜tin˜ueޤ �‘>to–‚7function“as“expšGected.‘øÄIn�¸èternally‘ÿ*¸,‘�|math“co˜des“are“27-bit“n•¸èum“b˜ers–‚7and“delim-Ž¡�‘>iter–º®cošGdes“are“51-bit“n•¸èum“b˜ers.‘¢*Ho“w“ev“er,‘Ôif–º®Í\mathcode¸h�Ó15-bit‘“°numb‘ÿ}/erŽ‘=€ ¸i“¹app˜earsŽ¡�‘>in–ˆStext“mošGde,‘±Iit“con•¸ètin“ues–ˆSto“generate“a“15-bit“n•¸èum“b˜er,‘±Ito–ˆSremain“up•¸èw“ardly‘ˆScom-Ž¡�‘>patible–ý¦with“T�‘þUYŸ&úEŽ‘ã9X:‘Â�Donald“Knš¸èuth“denes“sev˜eral“n˜umerical“constan˜ts“throughŽ¡�‘>Í\mathcode¹.ŽŸ!Ö��‘>Ì5Ž‘UÁNew–G\t��cyp�pœesetting“routinesŽŸæ~�‘>¹Most–�Šof“the“dev•¸èelopmen“t–�Šin“² “¹has“dealt“with“dieren�¸èt“means“for“manipulatingŽ¡�‘>c•¸èharacter›U streams.‘q€Nev“ertheless,˜there˜are˜new˜t“yp�Gesetting˜routines.Ž©ýY��‘>Ò5.1Ž‘\¾New–¸innitš y“lev˜elŽŸtî�‘>¹A‘äªnew–åinnitš¸èy“lev˜el“Ífi“¹has“b�Geen“added.‘ !TIt“is“smaller“than“Ífil“¹but“biggerŽ¡�‘>than–1‰anš¸èy“nite“quan˜tit˜y‘ÿ*¸.‘»Its“original“in˜ten˜tion“w˜as“for“in˜ter-letter“stretc˜hing:Ž¡�‘>either–à¬Ól‘‚Ðling-in-the-black¹,‘�as“is“done“for“calligraphic“scripts“suc�¸èh“as“Arabic;‘&rorŽ¡�‘>for–æemphasis,‘ ^as“in“Russian;‘.žall“this“without“ha�¸èving“to“rewrite“existing“macroŽ¡�‘>pacš¸èk‘ÿqÐages.‘ÓàThere–uëis“therefore“a“new“k˜eyw˜ord,–~Ífi¹,“and–uët˜w˜o“new“primitiv˜es,‘~Í\hfiŽ¡�‘>¹and‘U Í\vfi¹.ަ��‘>Ò5.2Ž‘\¾Lo�_úcal–¸paragraph“parametrizationŽŸtî�‘>¹The–5‚² “¹system“alloš¸èws“the“netuning“of“la˜y˜out,‘;Õusing“Ólo–ÿ}/c“al‘=ù¹paragraph‘5‚primitiv˜es.Ž¡�‘>The–½mrst“t•¸èw“o,›×�Í\localinterlinepenalty–½m¹and“Í\localbrokenpenalty¹,˜are“gen-Ž¡�‘>eralizations–U of“Í\interlinepenalty“¹and“Í\brokenpenalty¹.Ž¡�‘MWhen,–‰ sa�¸èy‘ÿ*¸,“Í\localinterlinepenalty=200›Kí¹app�Gears,“a˜Ówhatsit‘>¶¹no�Gde˜is˜de-Ž¡�‘>p�Gosited–iinš¸èto“the“tok˜en“list“for“the“curren˜t“paragraph.‘»\If“the“v‘ÿqÐalue“is“c˜hangedŽ¡�‘>again,‘üüanother–¨6whatsit“nošGde“is“dep˜osited.‘jÃWhen“² “¹cuts“the“paragraph“in�¸ètoŽ¡�‘>lines,‘2+it–)nwill“add“the“curren�¸èt“v‘ÿqÐalue“of“the“lošGcal“p˜enalt�¸èy“to“the“p˜enalt�¸èy“no˜de“thatŽ¡�‘>is––’placed“after“evš¸èery“line“in“the“v˜ertical“list.‘1üSimilarly“for“Í\localbrokenpenaltyŽ¡�‘>¹when–¯Éa“discretionary“h�¸èyphen“is“placed“at“the“end“of“a“line.‘�zWith“these“primi-Ž¡�‘>tiv�¸èes,‘‚þit–NvbšGecomes“p˜ossible“to“discourage“or“encourage“page“breaks“at“more“sp˜ecicŽ¡�‘>parts–U of“a“paragraph.ŽŽŸ�’è(7ŽŽŒ‹<£ y� ý£ ?� ýä�‘M¹This–üsame“lo�Gcal“approacš¸èh“is“tak˜en“for“a“completely“dieren˜t“task:‘×9placingޤ �‘>xed-width–`t�¸èypšGeset“material“at“the“b˜eginning“(or“the“end)“of“ev�¸èery“line“in“aŽ¡�‘>paragraph.Ž¡�‘M–²ãThe“original“problem“to“b�Ge“solvš¸èed“w˜as“for“ne“F‘ÿ*¸renc˜h“t˜yp�Gesetting,‘ÓVin“whic˜hŽ¡��‘>Ž‘Fãguillemets–AÄare“placed“running“do�¸èwn“the“left“side“of“a“paragraph,‘|ías“in“thisŽ¡��‘>Ž‘Fãparagraph,‘«so–€ylong“as“material“is“b�Geing“quoted.““Since“T�‘þUYŸ&úEŽ‘ã9X“breaks“paragraphsŽ¡�‘>in–êàarbitrary“places,‘Pit“wš¸èas“imp�Gossible“to“dev˜elop“a“robust“macro“pac˜k‘ÿqÐage“thatŽ¡�‘>could,–U in“a“single“pass,“place“the“guillemets“in“the“righ�¸èt“p�Gositions.Ž¡�‘MThe–U original“text“for“the“previous“paragraph“w�¸èas:Ž©{$�‘]~Í{<<~\localleftbox{<<~}The–?¬original“problem“to“be“solvedŽ¡�‘]~was–?¬for“fine“French“typesetting,“in“which“guillemetsŽ¡�‘]~are–?¬placed“running“down“the“left“side“of“a“paragraph,Ž¡�‘]~as–?¬in“this“paragraph,“so“long“as“material“is“beingŽ¡�‘]~quoted.~>>}–?¬Since“\TeX\“breaks“paragraphs“in“arbitraryŽ¡�‘]~places,–?¬it“was“impossible“to“develop“a“robust“macroŽ¡�‘]~package–?¬that“could,“in“a“single“pass,“place“theŽ¡�‘]~guillemets–?¬in“the“right“positions.ަ�‘>¹There–U are“currenš¸ètly“four“lo�Gcal“primitiv˜es:ަ����‘M¸ŽŽŽ‘WÍ\localleftbox{¸h�Ótyp‘ÿ}/eset-materialŽ‘F$Ó¸iÍ}¹:Ž¡�‘WUnš¸ètil–ƒÅthis“primitiv˜e“is“redened,‘�nthen“the“t˜ypšGeset“material“will“b˜e“placedŽ¡�‘Wat–the“b�Geginning“of“evš¸èery“line“that“follo˜ws“the“o�Gccurrence“of“this“primitiv˜eŽ¡�‘Win–U the“text.Ž©½’����‘M¸ŽŽŽ‘WÍ\localrightbox{¸h�Ótyp‘ÿ}/eset-materialŽ‘F$Ó¸iÍ}¹:Ž¡�‘WUnš¸ètil–ƒÅthis“primitiv˜e“is“redened,‘�nthen“the“t˜ypšGeset“material“will“b˜e“placedŽ¡�‘Wat–ìîthe“end“of“evš¸èery“line“that“follo˜ws“the“o�Gccurrence“of“this“primitiv˜e“in“theŽ¡�‘Wtext.ަ����‘M¸ŽŽŽ‘WÍ\localinterlinepenalty–Dz=“¸h�Óp‘ÿ}/enaltyŽ‘‹+¸i¹:Ž¡�‘WUnš¸ètil–€Uthis“primitiv˜e“is“redened,‘ªäthen“the“giv˜en“p�Genalt˜y“v‘ÿqÐalue“will“b�Ge“addedŽ¡�‘Wto–U the“pšGenalt�¸èy“no˜de“placed“b˜et•¸èw“een›U successiv“e˜lines˜in˜a˜paragraph.ަ����‘M¸ŽŽŽ‘WÍ\localbrokenpenalty–Dz=“¸h�Óp‘ÿ}/enaltyŽ‘‹+¸i¹:Ž¡�‘WUnš¸ètil–¿½this“primitiv˜e“is“redened,‘ethen“eac˜h“time“that“a“line“ends“withŽ¡�‘Wa–ôdiscretionary“nošGde,‘C©then“the“giv�¸èen“p˜enalt�¸èy“v‘ÿqÐalue“will“b˜e“added“to“theŽ¡�‘Wp•Genalt�¸èy›U no“de˜follo�¸èwing˜that˜line.ŽŸ{$�‘>Grouping–U is“respšGected“b�¸èy“all“of“the“lo˜cal“paragraph“primitiv�¸èes.ŽŸ ô>��‘>Ì6Ž‘UÁMultiple‘G\directionsŽŸæ~�‘>¹Beloš¸èw–…¸is“what“is“a˜v‘ÿqÐailable“in“the“exp�Gerimen˜tal“v˜ersions“of“² ¹.‘GUnfortunatelyŽ¡�‘>wš¸èe–%Údid“not“consider“it“to“b�Ge“sucien˜tly“stable“for“it“to“b�Ge“released“generally‘ÿ*¸.Ž¡�‘>Therefore,‘Oز ›³¹con•¸ètin“ues˜to˜supp�Gort˜the˜bidirectionalit“y˜functions˜of˜ÍTeX--XeT¹.Ž¡�‘>In–ˆ“addition,›Õowith“the“Í\pagedirHR‘ˆC¹and“Í\pagedirHL¹,“primitiv�¸èes,˜it“is“p�GossibleŽŽŸ�’è(8ŽŽŒ‹ HO y� ý£ ?� ýä�‘>¹to–˜transform“the“enš¸ètire“page“in˜to“a“righ˜t-to-left“page“or“a“left-to-righ˜t“page.ޤ �‘>Similarly‘ÿ*¸,‘²^Í\pardirHR–Ÿ¥¹and›Ÿ¸Í\pardirHL“¹allo•¸èw˜the˜paragraph˜direction˜to˜c“hange.Ž¡�‘>The–@Üpage“direction“cš¸èhanges“should“o�Gccur“in“empt˜y“pages,‘{Ìand“the“paragraphŽ¡�‘>direction–ú`cš¸èhanges“should“o�Gccur“outside“of“horizon˜tal“mo�Gde.‘ a@T‘ÿ*¸o“ensure“thatŽ¡�‘>tables–ÿµare“used“prop�Gerly‘ÿ*¸,›Ëthere“is“a“primitiv�¸èe“Ínextfakemath¹,˜whic�¸èh,˜put“in“fron�¸ètŽ¡�‘>of–Nmath“mošGde,‘Œ^ignores“that“the“mathematics“is“supp˜osed“to“b˜e“t�¸èyp˜eset“fromŽ¡�‘>left-to-righš¸èt.‘aÔThis–¥¹en•¸èvironmen“ts.ŽŸª«�‘MÓSinc›ÿ}/e–ÍÛT�‘þKÞŸ&úEŽ‘ÌñX“was“original‘‚Ðly“designe˜d“for“English,‘Üeit“only“supp˜orts“left-to-rightŽ¡�‘>typ›ÿ}/esetting.‘�9This–êSsituation“was“impr˜ove˜d“somewhat“with“Knuth“and“MacKay'sŽ¡�‘>ÍTeX-XeTÓ,› »mo–ÿ}/die“d˜into˜Br“eitenlohner's˜ÍTeX--XeTÓ.˜However,‘7¹these˜mo“dic“ationsŽ¡�‘>to–5’T�‘þKÞŸ&úEŽ‘ÌñX“only“al‘‚Ðlow“the“use“of“right-to-left“typ‘ÿ}/esetting,›Heand“even“then,˜only“withinŽ¡�‘>a–Ûôp›ÿ}/articular“p˜ar˜agr˜aph.‘rIn“other“wor˜ds,‘îthese“systems“do“not“supp˜ort“the“typ˜e-Ž¡�‘>setting–“°of“a“ful‘‚Ðl“text“in“the“dier›ÿ}/ent“writing“dir˜e˜ctions.Ž¡�‘MThe–)k² “Ósystem“distinguishes“sixte›ÿ}/en“dier˜ent“dir˜e˜ctions,‘>¬which“ar˜e“designate˜dŽ¡�‘>by›“°thr–ÿ}/e“e˜p“ar“ameters:ŽŸª«����‘IÓ1.ŽŽŽ‘WThe‘vW¹b�Geginning–zuof“the“page–¶Óis“one“of“ó*qLË ecit1000ÕT“Ó(top),›¾ŸÕL“Ó(left),˜ÕR“Ó(right)“or“ÕB“Ó(b‘ÿ}/ot-Ž¡�‘Wtom).‘qGF‘ÿ;Èor––English“and“A�¾˜r›ÿ}/abic,‘3œthe“b˜e˜ginning“of“the“p˜age“is“ÕTÓ;“for“Jap˜aneseŽ¡�‘Wit–“°is“ÕRÓ;“for“Mongolian“it“is“ÕLÓ.Ž©UV����‘IÓ2.ŽŽŽ‘WThe‘¯h¹b�Geginning–¸|of“the“line–ïÓdenes“wher›ÿ}/e“e˜ach“line“b˜e˜gins.‘«ŠF‘ÿ;Èor“English,‘óitŽ¡�‘Wis–“°ÕLÓ;“for“A�¾˜r›ÿ}/abic,“it“is“ÕRÓ;“for“Jap˜anese“and“Mongolian,“it“is“ÕTÓ.ަ����‘IÓ3.ŽŽŽ‘WThe‘š£¹top–¡éof“the“line›ÚTÓc–ÿ}/orr“esp“onds˜to˜the˜notion˜of˜`up'˜within˜a˜line.‘m(Í\pagedirÓ),‘æ”text–»L(Í\textdirÓ)“and“mathematics“(Í\mathdirÓ).‘Q/Each“of“these“prim-Ž¡�‘>itives–“°takes“as“primitive“one“of“the“ab›ÿ}/ove“sixte˜en“writing“dir˜e˜ctions.ަ����‘M¸ŽŽŽ‘WÍ\pagedir–;í¸h�¹directionŽ‘&Z ¸iÓ:‘ 8@The“p›ÿ}/age“dir˜e˜ction“c˜an“only“b˜e“change˜d“if“the“cur-Ž¡�‘Wr›ÿ}/ent–“°vlist“is“empty.‘™PThis“de˜cision“avoids“ambiguous“situations.Ž©UV����‘M¸ŽŽŽ‘WÍ\textdir–>¸h�¹directionŽ‘&Z ¸iÓ:‘ 8@This“primitive“c›ÿ}/an“app˜e˜ar“anywher˜e“in“a“text,‘4"andŽ¡�‘W² –óWÓwil›‚Ðl“al˜low“for“the“moment“only“mixe›ÿ}/d“horizontal“c˜ombinations.‘¸EF‘ÿ;Èu-Ž¡�‘Wtur‘ÿ}/e–™*versions“wil›‚Ðl“al˜low“many“dier›ÿ}/ent“c˜ombinations,‘Úˆwith“p˜ar˜ametriza-Ž¡�‘Wtion.‘ l˜Gr›ÿ}/ouping–/sis“r˜esp˜e˜cte˜d,‘–bso“it“is“p˜ossible“to“have“inserts“within“aŽ¡�‘Wp–ÿ}/ar“agr“aph:‘û€these›ÄÈar“e˜implemente“d˜using˜the˜lo“c“al˜p“ar“agr“aph˜me“chanismŽ¡�‘Wdescrib–ÿ}/e“d–“°in“the“pr›ÿ}/evious“se˜ction.ަ����‘M¸ŽŽŽ‘WÍ\mathdir–4¸h�¹directionŽ‘&Z ¸iÓ:‘ 8@Normal‘‚Ðly“mathematics“is“done“in“the“same“dir–ÿ}/e“c-Ž¡�‘Wtion–Xlas“English,‘dFnamely“ÕTLTÓ.“Ther›ÿ}/e“have“b˜e˜en“situations“wher˜e“it“has“b˜e˜enŽ¡�‘Wwritten–D'ÕTRTÓ.“² “Óal‘‚Ðlows“only“eight“dir–ÿ}/e“ctions–D'for“mathematics,‘Tnamely“thoseŽ¡�‘Win–“°which“the“rst“and“thir›ÿ}/d“dir˜e˜ction“p˜ar˜ameters“ar˜e“identic˜al.ŽŽŸ�’è(¹9ŽŽŒ‹ TV y� ý£ ?� ýä�‘MÓIn–ø!addition,‘=² “Óal‘‚Ðlows“one“to“designate“the“dir–ÿ}/e“ction–ø!of“a“b‘ÿ}/ox.‘Æ¢F‘ÿ;Èor“exampleޤ �‘>Í\hbox–?¬dir“TRT{...}›ƒÓcr–ÿ}/e“ates˜a˜horizontal˜b“ox,‘|7and˜uses˜dir“e“ction˜ÕTRT‘ÓwhileŽ¡�‘>building–“°that“b‘ÿ}/ox.Ž¡�‘MFinal‘‚Ðly,‘Nfonts–(Ñc›ÿ}/an“b˜e“stor˜e˜d“either“natur˜al‘‚Ðly“or“not.‘X´In“the“unnatur˜al“situ-Ž¡�‘>ation,›ܬc–ÿ}/al‘‚Ðle“d–Îwith“primitive“Í\unnaturaldirÓ,˜it“is“understo–ÿ}/o“d–Îthat“glyphs“in“theŽ¡�‘>curr›ÿ}/ent–a font“wil‘‚Ðl“always“app˜e˜ar“to“the“right“of“the“curr˜ent“p˜oint,‘k=ab˜ove“the“b˜ase-Ž¡�‘>line.‘HOIn–x°the“natur›ÿ}/al“situation,‘±ïc˜al‘‚Ðle˜d“with“Í\naturaldirÓ,‘±ïglyphs“app˜e˜ar“in“theŽ¡�‘>`c–ÿ}/orr“e“ct'›~mdir“e“ction.‘Y†So˜a˜natur“al˜A�¾˜r“abic˜font˜would˜have˜the˜glyphs˜app“e“ar˜toŽ¡�‘>the–R³left“of“the“curr›ÿ}/ent“p˜oint,‘_²and“a“natur˜al“Jap˜anese“font“would“make“the“glyphsŽ¡�‘>app–ÿ}/e“ar›“°b“elow˜the˜curr“ent˜p“oint.ŽŸ!Ö��‘>Ì7Ž‘UÁF‘þ®(on��cts–G\for“Î ŽŸæ~�‘>¹The–ÉrT�‘þUYŸ&úEŽ‘ã9X“system“takš¸èes“the“follo˜wing“approac˜h“to“fon˜ts.‘ÎuThe“T�‘þUYŸ&úEŽ‘ã9X“driv˜er“readsŽ¡�‘>T�‘þUYŸ&úEŽ‘ã9X–žœdo�Gcumenš¸èts“and“generates“Í.dvi“¹les.‘4ªThe“driv˜er“uses“fon˜t“metric“les“(suxŽ¡�‘>Í.tfm¹,‘‹‡text–Y!vš¸èersion“Í.pl¹)“to“determine“ho˜w“to“la˜y“out“b�Go˜xes“on“a“pages.‘�The“screenŽ¡�‘>drivš¸èer–Ãòor“prin˜ter“driv˜er“transforms“the“Í.dvi“¹le“in“the“appropriate“format,‘àûusingŽ¡�‘>bitmap–È�fonš¸èts“(Í.pk¹),‘%Yscaled“fon˜ts“(Í.pfa“¹or“Í.pfb¹),‘%Yor“virtual“fon˜ts“(Í.vf¹,‘%YtextŽ¡�‘>v�¸èersion‘U Í.vp¹).Ž¡�‘MIn–„Hthe“² “¹system,‘�wš¸èe“mak˜e“no“attempt,‘�for“the“momen˜t,‘�to“c˜hange“the“de-Ž¡�‘>nition–» of“bitmaps“or“scaled“fonš¸èts.‘£@W‘ÿ*¸e“ha˜v˜e“fo�Gcused“on“the“fon˜t“metrics“(Í.ofm¹,Ž¡�‘>text–U vš¸èersion“Í.opl¹),“and“the“virtual“fon˜ts“(Í.ovf¹,“text“v˜ersion“Í.ovp¹).Ž¡�‘MCurrenš¸ètly‘ÿ*¸,‘hthese–ÿ:new“fon˜t“le“formats“come“in“t˜w˜o“v˜ersions.‘TÞThe“rst,‘hcalledŽ¡�‘>levš¸èel–H+0,‘JÂcorresp�Gonds“to“the“16-bit“v˜ersion“of“TFM“les,‘JÂwith“no“new“functional-Ž¡�‘>it•¸èy‘ÿ*¸.‘h‚Lev“el–§v1“fonš¸èts“are“more“am˜bitious,‘¼ and“pro˜vide“for“more“p�Go˜w˜erful“features,Ž¡�‘>including–U compression“metho�Gds“and“additional“parameters.ŽŸýY��‘>Ò7.1Ž‘\¾Lev� el-0–¸óX«Q cmr12¼ ÒFM“lesŽŸtî�‘>¹The–šSlevš¸èel-0“² ¹FM“les“are“simply“16-bit“v˜ersions“of“TFM“les,‘« and“ha˜v˜e“corre-Ž¡�‘>sp�Gonding›{Åen•¸ètries.‘ånBelo“w˜is˜a˜description˜of˜the˜rst˜14˜w“ords˜of˜a˜lev“el-0˜² ¹FMŽ¡�‘>le.‘q€Eac•¸èh›U en“try˜is˜a˜32-bit˜in“teger,˜non-negativ“e˜and˜less˜than˜²2�Ÿü^ÿ±31Ž‘xæ¹:ŽŸ���‘WÓofm-levelŽŽ��’ˆÞ6²=ŽŽ��’š¥T0;ŽŽŽ¤���‘w ÔÓlfŽŽ��’ˆÞ6²=ŽŽ���’š¥T¹length–U of“the“le,“in“w�¸èordsŽ’ ³x²;ŽŽŽ¡���‘vo±ÓlhŽŽ��’ˆÞ6²=ŽŽ���’š¥T¹length–U of“the“header“data,“in“w�¸èordsŽ’4›´²;ŽŽŽ¡���‘u�½Ób‘ÿ}/cŽŽ��’ˆÞ6²=ŽŽ���’š¥T¹smallest–U cš¸èharacter“co�Gde“in“the“fon˜tŽ’1âü²;ŽŽŽ¡���‘u�½Óe‘ÿ}/cŽŽ��’ˆÞ6²=ŽŽ���’š¥T¹largest–U cš¸èharacter“co�Gde“in“the“fon˜tŽ’+¿Ð²;ŽŽŽ¡���‘q‡:ÓnwŽŽ��’ˆÞ6²=ŽŽ���’š¥T¹n•¸èum“b�Ger–U of“en�¸ètries“in“the“width“tableŽ’9TL²;ŽŽŽ¡���‘s^ÑÓnhŽŽ��’ˆÞ6²=ŽŽ���’š¥T¹n•¸èum“b�Ger–U of“enš¸ètries“in“the“heigh˜t“tableŽ’;Eô²;ŽŽŽ¡���‘s¯ÓndŽŽ��’ˆÞ6²=ŽŽ���’š¥T¹n•¸èum“b�Ger–U of“en�¸ètries“in“the“depth“tableŽ’9TL²;ŽŽŽ¡���‘u)�ÓniŽŽ��’ˆÞ6²=ŽŽ���’š¥T¹n•¸èum“b�Ger–U of“en�¸ètries“in“the“italic“correction“tableŽ’dµ$²;ŽŽŽ¡���‘u¨¿ÓnlŽŽ��’ˆÞ6²=ŽŽ���’š¥T¹n•¸èum“b�Ger–U of“enš¸ètries“in“the“lig-k˜ern“tableŽ’A"²;ŽŽŽŽŸ�’å€P¹10ŽŽŒ‹ cö y� ý£ ?� ýä���‘s’zÓnkŽŽ��’ˆÞ6²=ŽŽ���’š¥T¹n•¸èum“b�Ger–U of“enš¸ètries“in“the“k˜ern“tableŽ’3?X²;ŽŽŽ¤���‘så¨ÓneŽŽ��’ˆÞ6²=ŽŽ���’š¥T¹n•¸èum“b�Ger–U of“enš¸ètries“in“the“extensible“c˜haracter“tableŽ’wŒ²;ŽŽŽ¡���‘s�˜ÓnpŽŽ��’ˆÞ6²=ŽŽ���’š¥T¹n•¸èum“b�Ger–U of“fonš¸èt“parameter“w˜ordsŽ’(*´²;ŽŽŽ¡���‘\´žÓfont-dirŽŽ��’ˆÞ6²=ŽŽ���’š¥T¹direction–U of“fon�¸ètŽ’àï(ó  b> cmmi10µ:ŽŽŽ¤�‘>¹W‘ÿ*¸e–ßÙmš¸èust“ha˜v˜e“that�“Ób‘ÿ}/cŽ‘µ³¸‘•a²1–®Y¸�“Óe‘ÿ}/cŽ‘�+¸“²65535¹.‘«F‘ÿ*¸urthermore,‘‡the–ßÙfollo˜wing“iden˜tit˜yŽ© �‘>m�¸èust‘U hold:Ž¡���‘WÓlfŽŽ��‘h½d²=ŽŽ��‘z„‚14–8à+�“ÓlhŽ‘ àE²+“2“¸“²(�Óe‘ÿ}/cŽ‘ yY¸�“Ób‘ÿ}/cŽ‘ ²9²+“1)“+�“ÓnwŽ‘ȼ²+�“ÓnhŽ‘ñ%²+�“ÓndŽ‘5G²+�“ÓniŽ‘&Y²+ŽŽŽŸ���‘z„‚2–8à¸�“ÓnlŽ‘ §7²+�“ÓnkŽ‘½|²+“2“¸�“ÓneŽ‘jN²+�“ÓnpŽ‘ •~µ:ŽŽŽ¡�‘>¹Note–æNthat“a“fonš¸èt“ma˜y“con˜tain“as“man˜y“as“65536“c˜haracters“(if�“Ób‘ÿ}/cŽ‘Ч²=‘cà0“¹andަ��‘>Óe‘ÿ}/cŽ‘J‘²=›Ç65535¹),–U and“as“few“as“0“c�¸èharacters“(if�“Ób‘ÿ}/cŽ‘\±²=�˜Óe‘ÿ}/cŽ‘@q¸‘8à²1¹).ަ�‘MAs–…xwith“TFM“les,‘‘Žif“t•¸èw“o–…xor“more“o�Gctexts“are“comš¸èbined“to“form“an“in˜tegerަ�‘>of–ë’16“or“more“bits,‘.the“most“signican�¸èt“ošGctets“app˜ear“rst“in“the“le.‘4ÕThis“isަ�‘>called–U BigEndian“order.ަ�‘MAlso–’Åas“with“TFM“les,‘¢.the“rest“of“the“le“is“a“sequence“of“ten“data“arra�¸èysަ�‘>ha�¸èving–U the“informal“sp�GecicationŽ¡���‘aËõÓhe‘ÿ}/aderŽŽ��’‰Ó²:ŽŽ���’•áðó+ò"V cmbx10Öarra�®9yŽ’³8þ²[0µ::�ÓlhŽ‘ §e¸‘8à²1]�‘ÇÖofŽ�‘èÖÓstuŽŽŽŽ¤���‘Wchar-infoŽŽ��’‰Ó²:ŽŽ���’•áðÖarra�®9yŽ’³8þ²[�Ób‘ÿ}/cŽ– @yµ::�Óe‘ÿ}/cŽ“²]�‘ÇÖofŽ�‘èÖÓchar-info-wor‘ÿ}/dŽŽŽŽ¡���‘gˆwidthŽŽ��’‰Ó²:ŽŽ���’•áðÖarra�®9yŽ’³8þ²[0µ::�ÓnwŽ‘�ܸ‘8à²1]�‘ÇÖofŽ�‘èÖÓx-wor‘ÿ}/dŽŽŽŽ¡���‘dZheightŽŽ��’‰Ó²:ŽŽ���’•áðÖarra�®9yŽ’³8þ²[0µ::�ÓnhŽ‘ ¸E¸‘8à²1]�‘ÇÖofŽ�‘èÖÓx-wor‘ÿ}/dŽŽŽŽ¡���‘gˆdepthŽŽ��’‰Ó²:ŽŽ���’•áðÖarra�®9yŽ’³8þ²[0µ::�ÓndŽ‘ üg¸‘8à²1]�‘ÇÖofŽ�‘èÖÓx-wor‘ÿ}/dŽŽŽŽ¡���‘hÒ¡italicŽŽ��’‰Ó²:ŽŽ���’•áðÖarra�®9yŽ’³8þ²[0µ::�ÓniŽ‘ íy¸‘8à²1]�‘ÇÖofŽ�‘èÖÓx-wor‘ÿ}/dŽŽŽŽ¡���‘]�Ílig-kernŽŽ��’‰Ó²:ŽŽ���’•áðÖarra�®9yŽ’³8þ²[0µ::�ÓnlŽ‘ nW¸‘8à²1]�‘ÇÖofŽ�‘èÖÓlig-kern-c‘ÿ}/ommandŽŽŽŽ¡���‘kM¼kernŽŽ��’‰Ó²:ŽŽ���’•áðÖarra�®9yŽ’³8þ²[0µ::�ÓnkŽ‘ „œ¸‘8à²1]�‘ÇÖofŽ�‘èÖÓx-wor‘ÿ}/dŽŽŽŽ¡���‘g�eextenŽŽ��’‰Ó²:ŽŽ���’•áðÖarra�®9yŽ’³8þ²[0µ::�ÓneŽ‘ 1n¸‘8à²1]�‘ÇÖofŽ�‘èÖÓextensible-r–ÿ}/e“cip“eŽŽŽŽ¡���‘c£Œp–ÿ}/ar“amŽŽ��’‰Ó²:ŽŽ���’•áðÖarra�®9yŽ’³8þ²[1µ::�ÓnpŽ‘ \ž²]�‘ÇÖofŽ�‘èÖÓx-wor‘ÿ}/dŽŽŽŽ¤�‘M¹There–! is“no“need“to“describ�Ge“the“en�¸ètire“le,‘+uonly“those“parts“that“dier“fromަ�‘>TFM–Úøles:�‘}/Óchar-info-wor‘ÿ}/dŽ‘F#˹,�‘ünÓlig-kern-c‘ÿ}/ommandŽ‘V¬ ¹and�“Óextensible-r–ÿ}/e“cip“eŽ‘J…˹.‘Here“is“aަ�‘>summary–U of“those“dierences.Ž¡����‘M¸ŽŽŽ�‘WÓchar-info-wor‘ÿ}/dŽ’šû¾¹(8‘U o�Gctets):ŽŸ3ÿØ���ŸÛæd���‘]ÓwidthŽŽ�’–Fƹ16‘U bitsŽŽ¦���‘]ÓheightŽŽ�’›Fv¹8‘U bitsŽŽ¦���‘]ÓdepthŽŽ�’›Fv¹8‘U bitsŽŽ¦���‘]ÓitalicŽŽ�’›Fv¹8‘U bitsŽŽ¦���‘]ÓRFUŽŽ�’›Fv¹6‘U bitsŽŽ¦���‘]ÓtagŽŽ�’›Fv¹2‘U bitsŽŽ¦���‘]Ór‘ÿ}/emainderŽŽ�’–Fƹ16‘U bitsŽŽŽŽŽŸ3c �‘WThe–Ä«meaning“is“as“in“TFM“les,›àŽso“there“are“65536“p�Gossible“widths,˜256ަ�‘WpšGossible–U widths,“256“p˜ossible“heigh�¸èts“and“256“p˜ossible“italic“corrections.ŽŽŸ�’å€P11ŽŽŒ‹ qô y� ý£ ?� ýä����‘M¸ŽŽŽ�‘WÓlig-kern-c‘ÿ}/ommandŽ’©)ȹ(8‘U o�Gctets):ޤ!¼ñ���Ÿíæd���‘]Óskip-byteŽŽ�’–Fƹ16‘U bitsŽŽ¤ ���‘]Ónext-charŽŽ�’–Fƹ16‘U bitsŽŽ¡���‘]Óop-byteŽŽ�’–Fƹ16‘U bitsŽŽ¡���‘]Ór‘ÿ}/emainderŽŽ�’–Fƹ16‘U bitsŽŽŽŽŽ©! 9�‘WThe–U meaning“is“as“in“TFM“les,“with“evš¸èery“en˜try“doubling“in“size.ŽŸz2����‘M¸ŽŽŽ�‘WÓextensible-r–ÿ}/e“cip“eŽ’ ÿõ¹(8‘U o�Gctets):Ž¡���Ÿíæd���‘]Óext-topŽŽ�’Š…¹16‘U bitsŽŽ¤ ���‘]Óext-midŽŽ�’Š…¹16‘U bitsŽŽ¡���‘]Óext-b‘ÿ}/otŽŽ�’Š…¹16‘U bitsŽŽ¡���‘]Óext-r‘ÿ}/epŽŽ�’Š…¹16‘U bitsŽŽŽŽŽ¦�‘WOnce–€%again,›Êçthe“meaning“is“as“in“TFM“les,˜but“evš¸èery“en˜try“has“b�Geenޤ �‘Wdoubled.Ž©ÃÀ��‘>Ò7.2Ž‘\¾Lev� el-0–¸¼ ÒPL“lesŽŸtî�‘>¹The–ÈÛlev�¸èel-0“² ¹PL“les“are“the“same“as“PL“les,‘åÊwith“the“exception“that“v‘ÿqÐaluesŽ¡�‘>restricted–U to“8“bits“can“no�¸èw“b�Ge“16“bits.ަ��‘>Ò7.3Ž‘\¾Lev� el-0–¸¼ ÒVF“lesŽŸtî�‘>¹The–|O² ¹VF“les“are“indistinguishable“from“VF“les,‘§¬except“for“the“le“sux.‘);TheyŽ¡�‘>exist–‚only“b�Gecause“the“v‘ÿqÐast“ma‘Ž0joritš¸èy“of“driv˜ers“balk“when“they“see“c˜haractersŽ¡�‘>that–U are“not“8“bits.ަ��‘>Ò7.4Ž‘\¾Lev� el-0–¸¼ ÒVP“lesŽŸtî�‘>¹The–›ôlev�¸èel-0“² ¹VP“les“are“the“same“as“VP“les,‘­©with“the“exception“that“v‘ÿqÐaluesŽ¡�‘>restricted–U to“8“bits“can“no�¸èw“b�Ge“16“bits.ަ��‘>Ò7.5Ž‘\¾Lev� el-1–¸¼ ÒFM“lesŽŸtî�‘>¹The–^Elevš¸èel-1“fon˜ts“tak˜e“a“dieren˜t“approac˜h“to“lev˜el-0“fon˜ts.‘8They“do“not“mak˜e“theŽ¡�‘>assumption–�Pthat“t�¸èyp�Gesetting“means“simply“placing“placing“glyphs“on“the“base-Ž¡�‘>line,‘hone–dPafter“another.‘ŸExample“applications“include“the“automatic“placemen�¸ètŽ¡�‘>of–G.glue“b�Get•¸èw“een›G.c“haracters˜in˜East˜Asian˜scripts,‘ƒ²the˜building˜of˜consonen“talŽ¡�‘>clusters–%for“South-Asian“and“South-East-Asian“scripts,‘.³as“w�¸èell“as“the“placing“ofŽ¡�‘>diacritics–U in“Arabic“and“Hebrew.Ž¡�‘MLev•¸èel-1›âfon“ts˜are˜dieren“t˜from˜lev“el-0˜fon“ts˜at˜three˜lev“els.‘K*First,‘ùthey˜allo“wŽ¡�‘>the–U denition“of“six“new“kinds“of“table:ŽŸôc����‘M¸ŽŽŽ‘Wó1åÉV eccc1000Üiv‘þÕhalue–U ¹tables“conš¸ètain“in˜tegers.ޤz2����‘M¸ŽŽŽ‘WÜfv‘þÕhalue–…йtables“conš¸ètain“xw˜ord“v‘ÿqÐalues“that“do“not“gro˜w“with“magnication.Ž¡����‘M¸ŽŽŽ‘WÜmv‘þÕhalue–U ¹tables“conš¸ètain“xw˜ord“v‘ÿqÐalues“that“do“gro˜w“with“magnication.ŽŽŸ�’å€P12ŽŽŒ‹ ~ä y� ý£ ?� ýä����‘M¸ŽŽŽ‘WÜr�µZule–U ¹tables“con�¸ètain“T�‘þUYŸ&úEŽ‘ã9X“rule“denitions.ޤªª����‘M¸ŽŽŽ‘WÜglue–U ¹tables“con�¸ètain“T�‘þUYŸ&úEŽ‘ã9X“glue“denitions.Ž¡����‘M¸ŽŽŽ‘WÜpenal‘ÿ ty‘ˆO¹tables–U conš¸ètain“T�‘þUYŸ&úEŽ‘ã9X“p�Genalt˜y“denitions.Ž©UU�‘>There–r can“b�Ge“sevš¸èeral“copies“of“eac˜h“kind“of“table,‘yDbut“for“the“momen˜t,‘yDthere“isޤ �‘>a–U maxim�¸èum“of“32“new“tables“in“all.Ž¡�‘MThese–ù'new“tables“can“bšGe“used“as“global“tables,‘b)or“can“b˜e“indexed“on“aŽ¡�‘>c•¸èharacter-b“y-c“haracter–*Rbasis“in“the�“Óchar-info-wor‘ÿ}/dŽ‘Fû@¹en•¸ètries,‘2áwhic“h–*Rdene“c�¸èharac-Ž¡�‘>ter–# parameters.‘ÛGSo,›Vˆin“addition“to“the“standard“parameters“of“width,˜heigh�¸èt,Ž¡�‘>depth–²and“italic“correction,‘ Aadditional“parameters“(of“the“six“kinds“outlinedŽ¡�‘>abšGo•¸èv“e)–U can“b˜e“givš¸èen“for“the“c˜haracters.Ž¡�‘MT‘ÿ*¸o–ÉRalloš¸èw“these“new“tables“to“b�Ge“used,‘æ^c˜hanges“ha˜v˜e“also“b�Geen“made“to“theŽ¡�‘>lig-k�¸èern‘U table.ަ����‘M¸ŽŽŽ‘W¹Characters–ê\can“b�Ge“put“inš¸èto“equiv‘ÿqÐalence“classes,‘ÿ·where“all“c˜haracters“in“theŽ¡�‘Wsame–U class“will“act“the“same“in“the“lig-k�¸èern“table;Ž©ªª����‘M¸ŽŽŽ‘W¹Glue–½bnošGdes,‘×rrule“no˜des“and“p˜enalt�¸èy“no˜des“can“b˜e“inserted“automaticallyŽ¡�‘Winš¸èto–U the“stream,“exactly“as“for“k˜ern“no�Gdes“in“T�‘þUYŸ&úEŽ‘ã9X.ަ����‘M¸ŽŽŽ‘W¹The–„ºlig-kš¸èern“program“can“b�Ge“completely“replaced“b˜y“an“² ¹TP“(see“sec-Ž¡�‘Wtion‘U 8).Ž©UU�‘MNo•¸èw›¡+w“e˜b�Gegin˜with˜the˜rst˜part˜of˜the˜header˜of˜a˜lev“el-1˜² ¹FM˜le.‘U¢HereŽ¡�‘>are–Ô7the“rst“17“wš¸èords“of“a“lev˜el-1“² ¹FM“le.‘FˆEac˜h“en˜try“b�Gelo˜w“is“a“32-bit“in˜teger,Ž¡�‘>non-negativ�¸èe–U and“less“than“²2�Ÿü^ÿ±31Ž‘xæ¹.ަ���‘WÓofm-levelŽŽ��’ˆÞ6²=ŽŽ��’š¥T1;ŽŽŽ¤���‘w ÔÓlfŽŽ��’ˆÞ6²=ŽŽ���’š¥T¹length–U of“the“le,“in“w�¸èordsŽ’ ³x²;ŽŽŽ¡���‘vo±ÓlhŽŽ��’ˆÞ6²=ŽŽ���’š¥T¹length–U of“the“header“data,“in“w�¸èordsŽ’4›´²;ŽŽŽ¡���‘u�½Ób‘ÿ}/cŽŽ��’ˆÞ6²=ŽŽ���’š¥T¹smallest–U cš¸èharacter“co�Gde“in“the“fon˜tŽ’1âü²;ŽŽŽ¡���‘u�½Óe‘ÿ}/cŽŽ��’ˆÞ6²=ŽŽ���’š¥T¹largest–U cš¸èharacter“co�Gde“in“the“fon˜tŽ’+¿Ð²;ŽŽŽ¡���‘q‡:ÓnwŽŽ��’ˆÞ6²=ŽŽ���’š¥T¹n•¸èum“b�Ger–U of“en�¸ètries“in“the“width“tableŽ’9TL²;ŽŽŽ¡���‘s^ÑÓnhŽŽ��’ˆÞ6²=ŽŽ���’š¥T¹n•¸èum“b�Ger–U of“enš¸ètries“in“the“heigh˜t“tableŽ’;Eô²;ŽŽŽ¡���‘s¯ÓndŽŽ��’ˆÞ6²=ŽŽ���’š¥T¹n•¸èum“b�Ger–U of“en�¸ètries“in“the“depth“tableŽ’9TL²;ŽŽŽ¡���‘u)�ÓniŽŽ��’ˆÞ6²=ŽŽ���’š¥T¹n•¸èum“b�Ger–U of“en�¸ètries“in“the“italic“correction“tableŽ’dµ$²;ŽŽŽ¡���‘u¨¿ÓnlŽŽ��’ˆÞ6²=ŽŽ���’š¥T¹n•¸èum“b�Ger–U of“enš¸ètries“in“the“lig-k˜ern“tableŽ’A"²;ŽŽŽ¡���‘s’zÓnkŽŽ��’ˆÞ6²=ŽŽ���’š¥T¹n•¸èum“b�Ger–U of“enš¸ètries“in“the“k˜ern“tableŽ’3?X²;ŽŽŽ¡���‘så¨ÓneŽŽ��’ˆÞ6²=ŽŽ���’š¥T¹n•¸èum“b�Ger–U of“enš¸ètries“in“the“extensible“c˜haracter“tableŽ’wŒ²;ŽŽŽ¡���‘s�˜ÓnpŽŽ��’ˆÞ6²=ŽŽ���’š¥T¹n•¸èum“b�Ger–U of“fonš¸èt“parameter“w˜ordsŽ’(*´²;ŽŽŽ¡���‘\´žÓfont-dirŽŽ��’ˆÞ6²=ŽŽ���’š¥T¹direction–U of“fon�¸ètŽ’àï(²;ŽŽŽ¡���‘okÓnc‘ÿ}/oŽŽ��’ˆÞ6²=ŽŽ���’š¥T¹oset–U of“the“cš¸èharacter“en˜tries,“in“w˜ordsŽ’E(ä²;ŽŽŽ¡���‘líëÓncwŽŽ��’ˆÞ6²=ŽŽ���’š¥T¹n•¸èum“b�Ger–U of“cš¸èharacter“info“w˜ordsŽ’#+²;ŽŽŽ¡���‘o{üÓnp‘ÿ}/cŽŽ��’ˆÞ6²=ŽŽ���’š¥T¹n•¸èum“bšGer–U of“parameters“p˜er“c�¸èharacterŽ’8 Dµ:ŽŽŽŽŸ�’å€P¹13ŽŽŒ‹ˆ€ y� ý£ ?� ýä�‘>¹Most–,ƒof“the“enš¸ètries“in“the“rst“part“are“as“for“lev˜el-0“fon˜ts.‘÷¨The“new“en˜triesޤ �‘>p�Gertain–U to“hoš¸èw“the�“Óchar-info-wor‘ÿ}/dŽ‘GPܹen˜tries“are“stored.Ž©����‘M¸ŽŽŽ�‘WÓnc‘ÿ}/oŽ‘fs¹:‘ ÿ`This–»˜v‘ÿqÐalue“givš¸èes“the“oset“in˜to“the“le“for“the“rst“w˜ord“of“theŽ¡��‘WÓchar-info-wor‘ÿ}/dŽ’›>¹table.‘¸The�‘l Ónc‘ÿ}/oŽ‘L\¹v‘ÿqÐalue–l is“required“bš¸èy“output“driv˜ers,‘r€whic˜hŽ¡�‘Wneed–‘¨quicš¸èk“access“to“the“c˜haracters,‘ Êev˜en“if“the“total“length“of“the“tablesŽ¡�‘Wpreceding–U them“is“not“easily“computed,.ަ����‘M¸ŽŽŽ�‘WÓncwŽ‘hðM¹:‘ ÿ`Since–Kšmanš¸èy“large“fon˜ts“ha˜v˜e“large“n˜um˜b�Gers“of“consecutiv˜e“c˜haractersŽ¡�‘Wwith–Ÿidenš¸ètical“metrics.‘OUThese“are“compressed“in“lev˜el-1“fon˜ts,‘±Žand“so“theŽ¡�‘Wn•¸èum“b�Ger–ìDof�“Óchar-info-wor‘ÿ}/dŽ‘F$¹en�¸ètries“is“not“simply�“Óe‘ÿ}/cŽ‘ “Ù¸�‘gÓb‘ÿ}/cŽ‘ ±²+‘g1¹.‘NŒThe�“ÓncwŽ‘ÈÓ¹v‘ÿqÐalueŽ¡�‘Wgivš¸èes–Þƒthe“n˜um˜b�Ger“of“w˜ords“used“for“c˜haracter“information,‘ö›next“t•¸èw“elv“e›>›en“tries˜come˜in˜pairs.‘iþF‘ÿ*¸or˜eac“h˜kind˜of˜parameter˜(Üiv‘þÕhalue¹,Ž¡�‘>Üfv–þÕhalue¹,›‰¥Ümv“alue¹,˜Ür�µZule¹,˜Üglue¹,˜Üpenal‘ÿ ty�3/¹),˜the–VÆrst“enš¸ètry“states“ho˜w“man˜y“tablesŽ¡�‘>of–ÆKthat“kind“there“are,‘"–and“the“second“states“hoš¸èw“man˜y“w˜ords“these“tablesŽ¡�‘>require.ަ���‘]æîÓnkiŽŽ��‘v4Ö²=ŽŽ���’‡ûô¹n•¸èum“b�Ger–U of‘0Üiv‘þÕhalue“¹tablesŽ’ôsÀ²;ŽŽŽ¤���‘[Û®ÓnwiŽŽ��‘v4Ö²=ŽŽ���’‡ûô¹n•¸èum“b�Ger–U of“w�¸èords“for“Üiv‘þÕhalue“¹tablesŽ’©ð²;ŽŽŽ¡���‘\ÍEÓnkfŽŽ��‘v4Ö²=ŽŽ���’‡ûô¹n•¸èum“b�Ger–U of‘0Üfv‘þÕhalue“¹tablesŽ’öÈð²;ŽŽŽ¡���‘ZÂÓnwfŽŽ��‘v4Ö²=ŽŽ���’‡ûô¹n•¸èum“b�Ger–U of“w�¸èords“for“Üfv‘þÕhalue“¹tablesŽ’!ÿ ²;ŽŽŽ¡���‘Y BÓnkmŽŽ��‘v4Ö²=ŽŽ���’‡ûô¹n•¸èum“b�Ger–U of‘0Ümv‘þÕhalue“¹tablesŽ’øå@²;ŽŽŽ¡���‘WÓnwmŽŽ��‘v4Ö²=ŽŽ���’‡ûô¹n•¸èum“b�Ger–U of“w�¸èords“for“Ümv‘þÕhalue“¹tablesŽ’$p²;ŽŽŽ¡���‘\±æÓnkrŽŽ��‘v4Ö²=ŽŽ���’‡ûô¹n•¸èum“b�Ger–U of‘0Ür�µZule“¹tablesŽ’ì²;ŽŽŽ¡���‘Z¦¦ÓnwrŽŽ��‘v4Ö²=ŽŽ���’‡ûô¹n•¸èum“b�Ger–U of“w�¸èords“for“Ür�µZule“¹tablesŽ’F2²;ŽŽŽ¡���‘\€ÚÓnkgŽŽ��‘v4Ö²=ŽŽ���’‡ûô¹n•¸èum“b�Ger–U of‘0Üglue“¹tablesŽ’ì¾0²;ŽŽŽ¡���‘ZušÓnwgŽŽ��‘v4Ö²=ŽŽ���’‡ûô¹n•¸èum“b�Ger–U of“w�¸èords“for“Üglue“¹tablesŽ’ô`²;ŽŽŽ¡���‘\>éÓnkpŽŽ��‘v4Ö²=ŽŽ���’‡ûô¹n•¸èum“b�Ger‘U of‘0Üpenal‘ÿ ty‘ˆO¹tablesŽ’ýh…²;ŽŽŽ¡���‘Z3©ÓnwpŽŽ��‘v4Ö²=ŽŽ���’‡ûô¹n•¸èum“b�Ger–U of“w�¸èords“for“Üpenal‘ÿ ty‘ˆO¹tablesŽ’(žµµ:ŽŽŽ¦�‘M¹W‘ÿ*¸e–ߥmš¸èust“ha˜v˜e“that�“Ób‘ÿ}/cŽ‘ mú¸‘Mܲ1–Ǹ�“Óe‘ÿ}/cŽ‘Ω¸“²65535¹.‘JWF‘ÿ*¸urthermore,‘÷$the–ߥfollo˜wing“iden˜tit˜yŽŸ �‘>m�¸èust‘U hold:ަ���‘WÓlfŽŽ��‘h½d²=ŽŽ��‘z„‚29–8à+�“ÓlhŽ‘ àE²+�“ÓncwŽ‘b ²+�“ÓnwŽ‘ȼ²+�“ÓnhŽ‘ñ%²+�“ÓndŽ‘5G²+�“ÓniŽ‘&Y²+ŽŽŽ¡���‘z„‚2–8à¸�“ÓnlŽ‘ §7²+�“ÓnkŽ‘½|²+“2“¸�“ÓneŽ‘jN²+�“ÓnpŽ‘Î^²+ŽŽŽ¡����‘z„‚ÓnkiŽ’‹ J²+�‘8àÓnwiŽ‘Êè²+�‘8àÓnkfŽ‘ÙQ²+�‘8àÓnwfŽ‘䑲+�‘8àÓnkmŽ‘›T²+�‘8àÓnwmŽ‘¦”²+ŽŽŽ¡����‘z„‚ÓnkrŽ’Œ@R²+�‘8àÓnwrŽ‘ÿð²+�‘8àÓnkgŽ‘%¼²+�‘8àÓnwgŽ‘0ü²+�‘8àÓnkpŽ‘g­²+�‘8àÓnwpŽ‘: µ:ŽŽŽ¦�‘>¹Finally‘ÿ*¸,–U the“sum�“ÓnkiŽ‘Ûè²+�‘8àÓnkfŽ‘ÙQ²+�‘8àÓnkmŽ‘›T²+�‘8àÓnkrŽ‘ô°²+�‘8àÓnkgŽ‘%¼²+�‘8àÓnkpŽ‘ƒí¹m�¸èust“b�Ge“less“than“32.ŽŽŸ�’å€P14ŽŽŒ‹•— y� ý£ ?� ýä�‘M¹The–x/rest“of“the“le“is“compšGosed“of“a“n•¸èum“b˜er–x/of“arra�¸èys.‘Ú­The“new“parameterޤ �‘>tables–care“placed“b�Gefore“the“standard“dimension“tables,‘f–as“it“is“dicult“to“esti-Ž¡�‘>mate–üjspace“requiremenš¸èts“without“ha˜ving“read“the“new“tables.‘SîF‘ÿ*¸urthermore,‘(theŽ¡�‘>cš¸èharacter–3parameter“indices“in“the�“Óchar-info-wor‘ÿ}/dŽ‘G ¨¹en˜tries“are“relativ˜e“and“m˜ustŽ¡�‘>b�Ge–U translated“inš¸èto“an“absolute“reference“in˜to“the“tables.Ž¡Ÿ«���’™ÇåÓhe‘ÿ}/aderŽŽ��’Áò:ŽŽ���’ÍÝàÖarra�®9yŽ’ë4î²[0µ::�ÓlhŽ‘ §e¸‘8à²1]�‘ÇÖofŽ�‘èÖÓstuŽŽŽŽ¤���’ŽÛ@ivalue-noŽŽ��’Áò:ŽŽ���’ÍÝàÖarra�®9yŽ’ë4î²[0µ::�ÓnkiŽ‘†È¸‘8à²1]�‘ÇÖofŽ�‘èÖÓinte‘ÿ}/gerŽŽŽŽ¡���’ŽÛ@fvalue-noŽŽ��’Áò:ŽŽ���’ÍÝàÖarra�®9yŽ’ë4î²[0µ::�ÓnkfŽ‘ q¸‘8à²1]�‘ÇÖofŽ�‘èÖÓinte‘ÿ}/gerŽŽŽŽ¡���’‰¿ mvalue-noŽŽ��’Áò:ŽŽ���’ÍÝàÖarra�®9yŽ’ë4î²[0µ::�ÓnkmŽ‘bt¸‘8à²1]�‘ÇÖofŽ�‘èÖÓinte‘ÿ}/gerŽŽŽŽ¡���’—j[rule-noŽŽ��’Áò:ŽŽ���’ÍÝàÖarra�®9yŽ’ë4î²[0µ::�ÓnkrŽ‘»Ð¸‘8à²1]�‘ÇÖofŽ�‘èÖÓinte‘ÿ}/gerŽŽŽŽ¡���’—@glue-noŽŽ��’Áò:ŽŽ���’ÍÝàÖarra�®9yŽ’ë4î²[0µ::�ÓnkgŽ‘ìܸ‘8à²1]�‘ÇÖofŽ�‘èÖÓinte‘ÿ}/gerŽŽŽŽ¡���’™Tçp‘ÿ}/en-noŽŽ��’Áò:ŽŽ���’ÍÝàÖarra�®9yŽ’ë4î²[0µ::�ÓnkpŽ‘.͸‘8à²1]�‘ÇÖofŽ�‘èÖÓinte‘ÿ}/gerŽŽŽŽ¡����‘zº?ivalue-tableŽ’¬ˆˆ²[0]ŽŽ��’ÁÃ:ŽŽ���’ÍÝàÖarra�®9yŽ’ë4î²[0µ::�Óivalue-noŽ‘(;ƒ²[0]–8ณ²1]�‘ÇÖofŽ�‘èÖÓinte‘ÿ}/gerŽŽŽŽ©Ž(����Ÿø�’ÁÚ¹.ޤ�’ÁÚ.Ž¡�’ÁÚ.ŽŽŽŽŽ¡����‘`3yÓivalue-tableŽ’’²[�ÓnkiŽ‘†È¸‘8à²1]ŽŽ��’ÁÃ:ŽŽ���’ÍÝàÖarra�®9yŽ’ë4î²[0µ::�Óivalue-noŽ‘(;ƒ²[�ÓnkiŽ‘†È¸–8à²1]“¸“²1]�‘ÇÖofŽ�‘èÖÓinte‘ÿ}/gerŽŽŽŽ¡����‘zº?fvalue-tableŽ’¬ˆˆ²[0]ŽŽ��’ÁÃ:ŽŽ���’ÍÝàÖarra�®9yŽ’ë4î²[0µ::�Ófvalue-noŽ‘(;ƒ²[0]–8ณ²1]�‘ÇÖofŽ�‘èÖÓx-wor‘ÿ}/dŽŽŽŽ¦����Ÿø�’ÁÚ¹.ޤ�’ÁÚ.Ž¡�’ÁÚ.ŽŽŽŽŽ¡����‘a8BÓfvalue-tableŽ’“‹²[�ÓnkfŽ‘�ÿ¸‘8à²1]ŽŽ��’ÁÃ:ŽŽ���’ÍÝàÖarra�®9yŽ’ë4î²[0µ::�Ófvalue-noŽ‘(;ƒ²[�ÓnkfŽ‘�ÿ¸–8à²1]“¸“²1]�‘ÇÖofŽ�‘èÖÓx-wor‘ÿ}/dŽŽŽŽ¡����‘užmvalue-tableŽ’¬ˆˆ²[0]ŽŽ��’ÁÃ:ŽŽ���’ÍÝàÖarra�®9yŽ’ë4î²[0µ::�Ómvalue-noŽ‘-W£²[0]–8ณ²1]�‘ÇÖofŽ�‘èÖÓx-wor‘ÿ}/dŽŽŽŽ¦����Ÿø�’ÁÚ¹.ޤ�’ÁÚ.Ž¡�’ÁÚ.ŽŽŽŽŽ¡����‘WÓmvalue-tableŽ’�êk²[�ÓnkmŽ‘ž¸‘8à²1]ŽŽ��’ÁÃ:ŽŽ���’ÍÝàÖarra�®9yŽ’ë4î²[0µ::�Ómvalue-noŽ‘-W£²[�ÓnkmŽ‘ž¸–8à²1]“¸“²1]�‘ÇÖofŽ�‘èÖÓx-wor‘ÿ}/dŽŽŽŽ¡����’ƒIZrule-tableŽ’¬ˆˆ²[0]ŽŽ��’ÁÃ:ŽŽ���’ÍÝàÖarra�®9yŽ’ë4î²[0µ::�Órule-noŽ‘¬h²[0]–8ณ²1]�‘ÇÖofŽ�‘èÖÓrule-entryŽŽŽŽ¦����Ÿø�’ÁÚ¹.ޤ�’ÁÚ.Ž¡�’ÁÚ.ŽŽŽŽŽ¡����‘h¡ Órule-tableŽ’‘à7²[�ÓnkrŽ‘¨S¸‘8à²1]ŽŽ��’ÁÃ:ŽŽ���’ÍÝàÖarra�®9yŽ’ë4î²[0µ::�Órule-noŽ‘¬h²[�ÓnkrŽ‘¨S¸–8à²1]“¸“²1]�‘ÇÖofŽ�‘èÖÓrule-entryŽŽŽŽ¡����’‚ç?glue-tableŽ’¬ˆˆ²[0]ŽŽ��’ÁÃ:ŽŽ���’ÍÝàÖarra�®9yŽ’ë4î²[0µ::�Óglue-noŽ‘ ƒ²[0]–8ณ²1]�‘ÇÖofŽ�‘èÖÓglue-entryŽŽŽŽ¦����Ÿø�’ÁÚ¹.ޤ�’ÁÚ.Ž¡�’ÁÚ.ŽŽŽŽŽ¡����‘gÜÓÓglue-tableŽ’‘~²[�ÓnkgŽ‘ n¸‘8à²1]ŽŽ��’ÁÃ:ŽŽ���’ÍÝàÖarra�®9yŽ’ë4î²[0µ::�Óglue-noŽ‘ ƒ²[�ÓnkgŽ‘ n¸–8à²1]“¸“²1]�‘ÇÖofŽ�‘èÖÓglue-entryŽŽŽŽ¡����’…3æp‘ÿ}/en-tableŽ’¬ˆˆ²[0]ŽŽ��’ÁÃ:ŽŽ���’ÍÝàÖarra�®9yŽ’ë4î²[0µ::�Óp‘ÿ}/en-noŽ‘Áܲ[0]–8ณ²1]�‘ÇÖofŽ�‘èÖÓinte‘ÿ}/gerŽŽŽŽ¦����Ÿø�’ÁÚ¹.ޤ�’ÁÚ.Ž¡�’ÁÚ.ŽŽŽŽŽ¡����‘i¦©Óp‘ÿ}/en-tableŽ’�ûK²[�ÓnkpŽ‘�?¸‘8à²1]ŽŽ��’ÁÃ:ŽŽ���’ÍÝàÖarra�®9yŽ’ë4î²[0µ::�Óp‘ÿ}/en-noŽ‘Áܲ[�ÓnkpŽ‘�?¸–8à²1]“¸“²1]�‘ÇÖofŽ�‘èÖÓinte‘ÿ}/gerŽŽŽŽ¡���’Žûòchar-infoŽŽ��’Áò:ŽŽ���’ÍÝàÖarra�®9yŽ’ë4î²[0µ::�ÓncwŽ‘)+¸‘8à²1]�‘ÇÖofŽ�‘èÖÓchar-info-wor‘ÿ}/dŽŽŽŽ¡���’ŸxwidthŽŽ��’Áò:ŽŽ���’ÍÝàÖarra�®9yŽ’ë4î²[0µ::�ÓnwŽ‘�ܸ‘8à²1]�‘ÇÖofŽ�‘èÖÓx-wor‘ÿ}/dŽŽŽŽ¡���’œUõheightŽŽ��’Áò:ŽŽ���’ÍÝàÖarra�®9yŽ’ë4î²[0µ::�ÓnhŽ‘ ¸E¸‘8à²1]�‘ÇÖofŽ�‘èÖÓx-wor‘ÿ}/dŽŽŽŽ¡���’ŸxdepthŽŽ��’Áò:ŽŽ���’ÍÝàÖarra�®9yŽ’ë4î²[0µ::�ÓndŽ‘ üg¸‘8à²1]�‘ÇÖofŽ�‘èÖÓx-wor‘ÿ}/dŽŽŽŽŽŸ�’å€P¹15ŽŽŒ‹£0 y� ý£ ?� ýä���’ Î‘ÓitalicŽŽ��’Áò:ŽŽ���’ÍÝàÖarra�®9yŽ’ë4î²[0µ::�ÓniŽ‘ íy¸‘8à²1]�‘ÇÖofŽ�‘èÖÓx-wor‘ÿ}/dŽŽŽŽ¤���’•}½lig-kernŽŽ��’Áò:ŽŽ���’ÍÝàÖarra�®9yŽ’ë4î²[0µ::�ÓnlŽ‘ nW¸‘8à²1]�‘ÇÖofŽ�‘èÖÓlig-kern-c‘ÿ}/ommandŽŽŽŽ¡���’£I¬kernŽŽ��’Áò:ŽŽ���’ÍÝàÖarra�®9yŽ’ë4î²[0µ::�ÓnkŽ‘ „œ¸‘8à²1]�‘ÇÖofŽ�‘èÖÓx-wor‘ÿ}/dŽŽŽŽ¡���’Ÿ‹UextenŽŽ��’Áò:ŽŽ���’ÍÝàÖarra�®9yŽ’ë4î²[0µ::�ÓneŽ‘ 1n¸‘8à²1]�‘ÇÖofŽ�‘èÖÓextensible-r–ÿ}/e“cip“eŽŽŽŽ¡���’›Ÿ|p–ÿ}/ar“amŽŽ��’Áò:ŽŽ���’ÍÝàÖarra�®9yŽ’ë4î²[1µ::�ÓnpŽ‘ \ž²]�‘ÇÖofŽ�‘èÖÓx-wor‘ÿ}/dŽŽŽŽ©�‘M¹So,›Çrfor–°•parameter“µx¹,˜there“is“a“table�“Óx-noŽ‘D'¹,˜of“length�“ÓnkxŽ‘ÀH¹,˜giving“the“size“ofޤ �‘>eacš¸èh–œætable.‘4In“addition,‘Á¿there“are�“ÓnkxŽ‘I¹tables“con˜taining“the“actual“en˜tries,‘Á¿whereŽ¡�‘>the–U µi¹-th“table“is“of“length�“Óx-noŽ‘è²²[µi²]¹.Ž¡�‘MThe–¦oonly“parameter“en�¸ètries“with“an“unclear“structure“are�“Órule-entryŽ‘5ˆ¹andŽ¡��‘>Óglue-entryŽ‘j0Ź.ަ����‘M¸ŽŽŽ‘W¹Eacš¸èh�‘U Órule-entryŽ‘2xê¹uses–U three“w˜ords“(12“o�Gctets):ŽŸØG���Ÿóæd��‘]1st‘U w�¸èordŽ��’‘ÙèÓwidthŽŽ�’¸š·¹32‘U bitsŽ�’âàxw�¸èordŽŽ¡��‘]2nd‘U w�¸èordŽ��’‘ÙèÓheightŽŽ�’¸š·¹32‘U bitsŽ�’âàxw�¸èordŽŽ¡��‘]3rd‘U w�¸èordŽ��’‘ÙèÓdepthŽŽ�’¸š·¹32‘U bitsŽ�’âàxw�¸èordŽŽŽŽŽŸ;��‘WThe–ôÀin�¸èterpretation“of“the“v›ÿqÐalues“should“b�Ge“clear.‘Q`If“one“of“the“three“v˜aluesŽ¡�‘Wis–�0,›ÁÙthen“it“can“stretc�¸èh“in“the“appropriate“direction,˜as“is“standard“in“T�‘þUYŸ&úEŽ‘ã9X.ŽŸ����‘M¸ŽŽŽ‘W¹Eacš¸èh�‘U Óglue-entryŽ‘2Û¹uses–U four“w˜ords“(16“o�Gctets):ŽŸ<ØG���ŸÕæd��‘]1st‘U w�¸èordŽ��’‘ÙèÓsubtyp‘ÿ}/eŽŽ�’âYÞ¹4‘U bitsŽ�’ØW(03)ŽŽ¡���’‘ÙèÓar‘ÿ}/gument-kindŽŽ�’âYÞ¹4‘U bitsŽ�’ØW(02)ŽŽ¡���’‘ÙèÓstr–ÿ}/etch-or“derŽŽ�’âYÞ¹4‘U bitsŽ�’ØW(04)ŽŽ¡���’‘ÙèÓshrink-or‘ÿ}/derŽŽ�’âYÞ¹4‘U bitsŽ�’ØW(04)ŽŽ¡���’‘ÙèÓchar-ruleŽŽ�’ÝZ.¹16‘U bitsŽŽ¡��‘]2nd‘U w�¸èordŽ��’‘ÙèÓwidthŽŽ�’ÝZ.¹32‘U bitsŽ�’ØWxw�¸èordŽŽ¡��‘]3rd‘U w�¸èordŽ��’‘ÙèÓstr‘ÿ}/etchŽŽ�’ÝZ.¹32‘U bitsŽ�’ØWxw�¸èordŽŽ¡��‘]4th‘U w�¸èordŽ��’‘ÙèÓshrinkŽŽ�’ÝZ.¹32‘U bitsŽ�’ØWxw�¸èordŽŽŽŽŽŸB;�����‘b@^ÔŽŽŽ�‘mÓsubtyp‘ÿ}/eŽ’�‚c¹is–U one“ofŽŸ"J���Ÿíæd��‘s0Ž��’ƒÿ´ÓnormalŽŽŽ¡��‘s¹1Ž��’ƒÿ´Óa-le‘ÿ}/adersŽŽŽ¡��‘s¹2Ž��’ƒÿ´Óc-le‘ÿ}/adersŽŽŽ¡��‘s¹3Ž��’ƒÿ´Óx-le‘ÿ}/adersŽŽŽŽŽŽŸ$;�����‘b@^ÔŽŽŽ�‘mÓar‘ÿ}/gument-kindŽ’¯Õg¹is–U one“ofŽŸJ���Ÿóæd��‘s0Ž��’ƒÿ´Ósp–ÿ}/ac“eŽŽŽ¡��‘s¹1Ž��’ƒÿ´ÓruleŽ’˜Ñ=¹(�Ósubtyp‘ÿ}/eŽ‘#‚a¹m�¸èust–U b�Ge“leader)ŽŽ¡��‘s2Ž��’ƒÿ´Óchar‘ÿ}/acterŽ’°Æ|¹(�Ósubtyp‘ÿ}/eŽ‘#‚a¹m�¸èust–U b�Ge“leader)ŽŽŽŽŽŽŸ�’å€P16ŽŽŒ‹±ñ y� ý£ ?� ýä����‘b@^ÔŽŽŽ�‘mÓstr–ÿ}/etch-or“derŽ’¨w£¹and�‘U Óshrink-or‘ÿ}/derŽ‘<Á…¹are–U one“ofŽŸ%öÀ���Ÿçæd��‘s0Ž��’ƒÿ´ÓnormalŽŽŽ¤ ��‘s¹1Ž��’ƒÿ´ÓŽŽŽ¡��‘s¹2Ž��’ƒÿ´ÓlŽŽŽ¡��‘s¹3Ž��’ƒÿ´Ól‘‚ÐlŽŽŽ¡��‘s¹4Ž��’ƒÿ´Ól–‚Ðl“lŽŽŽŽŽŽŸ)x1����‘b@^ÔŽŽŽ‘mµn–Dz=�“Óchar-ruleŽ‘.5¹dep�Gends–U on“the“v‘ÿqÐalue“of�“Óar‘ÿ}/gument-kindŽ‘BÕe¹:ŽŸ<¢����‘rì“0.ŽŽŽ‘³30;ޤ žQ����‘rì“1.ŽŽŽ‘³3µn¹-th–U rule“in“rule“table“0;Ž¡����‘rì“2.ŽŽŽ‘³3µn¹-cš¸èharacter–U in“fon˜t.ŽŸyD�‘WThe–�explanation“here“only“really“mak�¸èes“sense“if“the“reader“has“a“clearޤ �‘Wunderstanding–áof“ho�¸èw“glue“nošGdes“are“built“in“T�‘þUYŸ&úEŽ‘ã9X.‘6More“detailed“do˜cu-Ž¡�‘Wmen�¸ètation–U is“forthcoming.ŽŸ–�‘MThe–t�new�“Óchar-info-wor‘ÿ}/dŽ‘G�º¹arraš¸èy“is“of“great“in˜terest.‘ÏÎIts“length“is“not“directlyŽ¡�‘>computable–VEfrom“the“n•¸èum“b�Ger–VEof“cš¸èharacters“in“the“fon˜t.‘tîEac˜h�“Óchar-info-wor‘ÿ}/dŽŽ¡�‘>¹en•¸ètry›#©con“tains˜a˜minim“um˜of˜12˜o�Gctets,‘WLand˜is˜in˜an“y˜case˜a˜m“ultiple˜of˜fourŽ¡�‘>o�Gctets.‘q€Eac•¸èh›U en“try˜is˜as˜follo“ws:ŽŸVÊ»���Ÿ·eÀ��‘S1st‘U w�¸èordŽ��’‡ÙæÓwidthŽŽ�’ÇÏC¹16‘U bitsŽŽ¡���’‡ÙæÓheightŽŽ�’ÌÎó¹8‘U bitsŽŽ¡���’‡ÙæÓdepthŽŽ�’ÌÎó¹8‘U bitsŽŽ‘M©‰ffÜmØŸfd��‘2nd‘U w�¸èordŽ��‘:ÙæÓitalicŽŽ�‘Îó¹8‘U bitsŽŽ¡���‘:ÙæÓRFUŽŽ�‘Îó¹5‘U bitsŽŽ¡���‘:ÙæÓext-tagŽŽ�’ƒÀ{¹1‘U bitŽŽ¡���‘:ÙæÓtagŽŽ�‘Îó¹2‘U bitsŽŽ¡���‘:ÙæÓr‘ÿ}/emainderŽŽ�‘zÏC¹16‘U bitsŽŽ¦‰ffÜmØŸfd���‘:ÙæÓno-r–ÿ}/ep“e“atsŽŽ�‘zÏC¹16‘U bitsŽŽ¡���‘:ÙæÓp–ÿ}/ar“amŽ�‘VQ-Ÿq§±0ŽŽ�‘zÏC¹16‘U bitsŽŽ¡��‘:Ùæ.–ª�.“.ŽŽ¡���‘:ÙæÓp–ÿ}/ar“amŽ�‘VQ-Ÿq§ó3t}\Êcmti7Þnp�–Ác�W¥ó O!â…cmsy7·Þ1ŽŽ�‘zÏC¹16‘U bitsŽŽŸ 4|���‘:ÙæÓp‘ÿ}/addingŽŽ�‘zÏC¹16‘U bitsŽ�’¤Mlif‘U necessaryŽŽŽŽŽŸV¼3�‘>where�‘U Ónp‘ÿ}/cŽ‘ z¹is–U the“n•¸èum“bšGer–U of“c�¸èharacters“p˜er“parameter.Ž¡�‘MThe�‘]Ór–ÿ}/ep“e“atŽ‘!ç¹en•¸ètry›]allo“ws˜one˜to˜state˜that˜the˜follo“wing‘€¨Íno-repeats˜¹c“harac-Ž¡�‘>ters›¥.ha•¸èv“e˜iden“tical˜attributes,‘È^thereb“y˜allo“wing˜the˜² ¹FM˜le˜to˜b�Ge˜m“uc“h˜smaller.Ž¡�‘>This–N"attribute“is“essenš¸ètial“for“Chinese,‘OˆJapanese“and“k˜orean“ideogram“fon˜ts.‘o+InŽ¡�‘>other–×Qwš¸èords,‘ðzthis�“Óchar-info-wor‘ÿ}/dŽ‘FU>¹en˜try“is“relev‘ÿqÐan˜t“to“²(�Óno-r–ÿ}/ep“e“atsŽ‘-àm²+‘=31)“¹c˜haracters.Ž¡�‘MIf–Ùthe�“Óext-tagŽ‘%¾Ú¹bit“is“on,‘úthen“the“lig-kš¸èern“en˜try“p�Goin˜ted“to“b˜y�“Ór‘ÿ}/emainderŽ‘4øî¹isŽ¡�‘>shared–w#with“all“the“other“cš¸èharacters“in“its“Óe–ÿ}/quivalenc“e‘²ûclass¹,‘¤whic˜h‘w#corresp�GondsŽ¡�‘>to�‘U Óp–ÿ}/ar“amŽ�‘ÌgŸq§±0Ž‘&�ú¹if–U there“exists“an“Üiv‘þÕhalue“¹table.Ž¡�‘MW‘ÿ*¸e–1ñare“noš¸èw“ready“for“the“c˜hanged“lig-k˜ern“table.‘ôThere“are“four“new“in-Ž¡�‘>structions,‘–†whicš¸èh–V>can“b�Ge“distinguished“b˜y“the“fact“that“the“0-th“16-bit“en˜tryŽ¡�‘>(�Óskip-byteŽ‘&�j¹)–©is“exactly“256.‘}In“that“case,‘/Kthen“the“1st“16-bit“en�¸ètry“(�Ónext-charŽ‘)ݺ¹)Ž¡�‘>denes–ÄZan“equiv›ÿqÐalence“class.‘¿/If“the“next“c�¸èharacter“is“of“that“equiv˜alence“class,Ž¡�‘>then–U the“2nd“16-bit“enš¸ètry“(the�“Óop-byteŽ‘#@ü¹)“is“in˜terpreted“as“follo˜ws:ŽŽŸ�’å€P17ŽŽŒ‹¼4 y� ý£ ?� ýä����‘E9²¹17.ŽŽŽ‘WAš¸èdd–U the“glue“no�Gde“dened“b˜y“en˜try�“Ór‘ÿ}/emainderŽ‘3ñ¹in“the“0-th“glue“table.ޤ����‘E9²18.ŽŽŽ‘WAš¸èdd–Àthe“p�Genalt˜y“no�Gde“dened“b˜y“en˜try�“Ór‘ÿ}/emainderŽ‘6ÆÄ¹in“the“0-th“p�Genalt˜yŽ© �‘Wtable.Ž¡����‘E9²19.ŽŽŽ‘WAš¸èdd–îŒthe“p�Genalt˜y“no�Gde“dened“b˜y“en˜try�“Ór‘ÿ}/emainderŽ‘05Nµ=²256“¹in“the“0-th“p�Genalt˜yަ�‘Wtable,‘ñ¿then–Øæadd“the“glue“no�Gde“dened“bš¸èy“en˜try�“Ór‘ÿ}/emainderŽ�‘2æÀ¹mo�GdeŽ‘MHв256“¹in“theަ�‘W0-th–U glue“table.Ž¡����‘E9²20.ŽŽŽ‘WAš¸èdd–U the“k˜ern“no�Gde“dened“b˜y“en˜try�“Ór‘ÿ}/emainderŽ‘3ñ¹in“the“0-th“m˜v‘ÿqÐalue“table.ŽŸýY��‘>Ò7.6Ž‘\¾Lev� el-1–¸¼ ÒPL“lesŽŸtî�‘>¹The–šlevš¸èel-1“² ¹PL“les“are“the“text“v˜ersions“of“lev˜el-1“² ¹FM“les.‘@[Hence,‘«Qlev˜el-1ަ�‘>² ¹PL–q·les“conš¸ètain“six“kinds“of“new“tables:‘ª®in˜teger“(Üiv›þÕhalue¹),‘¸Ýxed“(Üfv˜alue¹),ަ�‘>magniable–åxed“(Ümv‘þÕhalue¹),› ñrule“(Ür�µZule¹),˜glue“(Üglue¹)“and“Üpenal‘ÿ ty�3/¹)“tables.‘[ÂInަ�‘>addition,‘ŽVthe–‚åcš¸èharacter“en˜tries“can“include“new“parameters,‘ŽVwhic˜h“can“then“b�Geަ�‘>used–U in“the“extended“lig-k�¸èern“table.ަ�‘MW‘ÿ*¸e–ìîbšGegin“with“the“new“tables.‘NÅThese“extra“tables“are“n•¸èum“b˜ered–ìîwithin“eac�¸èhަ�‘>class,›MÌfrom–Kø0“to“µn–&ޏ“²1¹,˜where–Køµn“¹is“the“n•¸èum“b�Ger–Køof“tables“in“that“class.‘nsT‘ÿ*¸o“dene,ަ�‘>saš¸èy‘ÿ*¸,–U the“fth“Üiv‘þÕhalue“¹table,“one“b�Gegins“as“follo˜ws:Ž¡������‘WŸ÷æbóú±u cmex10«ŽŽŽ�‘[•YÍFONTIVALUE–?¬H“5Ž’ªPm¸h�Ótable-denitionŽ‘A©€¸i���Ÿ÷æb«ŽŽŽŽŽŽ¡�‘>¹The–U instructions“for“dening“tables“areŽŸ1¾…����Ÿá³&�����‘\Ÿ÷æb«ŽŽŽ�‘`•YÍFONTIVALUEŽŽ�’¤Q½¸h�Ótable-noŽ‘#c¸iŽ�’Ù8>h�Ótable-denitionŽ‘A©€¸i���Ÿ÷æb«ŽŽŽŽŽ¤ Ÿ�����‘\Ÿ÷æbŽŽŽ�‘`•YÍFONTFVALUEŽŽ�’¤Q½¸h�Ótable-noŽ‘#c¸iŽ�’Ù8>h�Ótable-denitionŽ‘A©€¸i���Ÿ÷æb«ŽŽŽŽŽ¡�����‘\Ÿ÷æbŽŽŽ�‘`•YÍFONTMVALUEŽŽ�’¤Q½¸h�Ótable-noŽ‘#c¸iŽ�’Ù8>h�Ótable-denitionŽ‘A©€¸i���Ÿ÷æb«ŽŽŽŽŽ¡�����‘\Ÿ÷æbŽŽŽ�‘`•YÍFONTRULEŽŽ�’¤Q½¸h�Ótable-noŽ‘#c¸iŽ�’Ù8>h�Ótable-denitionŽ‘A©€¸i���Ÿ÷æb«ŽŽŽŽŽ¡�����‘\Ÿ÷æbŽŽŽ�‘`•YÍFONTGLUEŽŽ�’¤Q½¸h�Ótable-noŽ‘#c¸iŽ�’Ù8>h�Ótable-denitionŽ‘A©€¸i���Ÿ÷æb«ŽŽŽŽŽ¡�����‘\Ÿ÷æbŽŽŽ�‘`•YÍFONTPENALTYŽŽ�’¤Q½¸h�Ótable-noŽ‘#c¸iŽ�’Ù8>h�Ótable-denitionŽ‘A©€¸i���Ÿ÷æb«ŽŽŽŽŽŽŽŽŽŸ1¯ý�‘M¹The–Öprop�Gertš¸èy“lists“for“these“tables“con˜tain“as“man˜y“en˜tries“as“there“are“slotsަ�‘>in–¹{the“table.‘ž’So“the“fourth“en�¸ètry‘ÿ*¸,›Ò’starting“from“0,˜in“a“glue“table“w�¸èould“b�Geginަ�‘>as‘U follo�¸èws:Ž¡������‘WŸ÷æb«ŽŽŽ�‘[•YÍGLUE–?¬H“4Ž’ŠÒe¸h�Óglue-denitionŽ‘>˜ ¸i���Ÿ÷æb«ŽŽŽŽŽŽ¡�‘>¹The–U instructions“for“dening“en�¸ètries“are:ŽŸ1¾…����Ÿá³&�����‘\Ÿ÷æb«ŽŽŽ�‘`•YÍIVALUEŽŽ�’�S ¸h�Óentry-noŽ‘%ŒÀ¸iŽ�’Ʀëh�Óivalue-denitionŽ‘FÅ ¸i���Ÿ÷æb«ŽŽŽŽŽ¤ Ÿ�����‘\Ÿ÷æbŽŽŽ�‘`•YÍFVALUEŽŽ�’�S ¸h�Óentry-noŽ‘%ŒÀ¸iŽ�’Ʀëh�Ófvalue-denitionŽ‘FÅ ¸i���Ÿ÷æb«ŽŽŽŽŽ¡�����‘\Ÿ÷æbŽŽŽ�‘`•YÍMVALUEŽŽ�’�S ¸h�Óentry-noŽ‘%ŒÀ¸iŽ�’Ʀëh�Ómvalue-denitionŽ‘KáÀ¸i���Ÿ÷æb«ŽŽŽŽŽ¡�����‘\Ÿ÷æbŽŽŽ�‘`•YÍRULEŽŽ�’�S ¸h�Óentry-noŽ‘%ŒÀ¸iŽ�’Ʀëh�Órule-denitionŽ‘>6…¸i���Ÿ÷æb«ŽŽŽŽŽ¡�����‘\Ÿ÷æbŽŽŽ�‘`•YÍGLUEŽŽ�’�S ¸h�Óentry-noŽ‘%ŒÀ¸iŽ�’Ʀëh�Óglue-denitionŽ‘>˜ ¸i���Ÿ÷æb«ŽŽŽŽŽ¡�����‘\Ÿ÷æbŽŽŽ�‘`•YÍPENALTYŽŽ�’�S ¸h�Óentry-noŽ‘%ŒÀ¸iŽ�’Ʀëh�Óp‘ÿ}/enalty-denitionŽ‘L#(¸i���Ÿ÷æb«ŽŽŽŽŽŽŽŽŽŽŸ�’å€P¹18ŽŽŒ‹È„ y� ý£ ?� ýä�‘M¹No•¸èw›ïõw“e˜come˜to˜the˜denitions˜of˜the˜individual˜en“tries.‘AÿThe˜four˜simpleޤ �‘>ones–8are“for“Üiv–þÕhalue¹,›=ìÜfv“alue¹,˜Ümv“alue–8¹and“Üpenal‘ÿ ty¹,˜whicš¸èh“are“as“follo˜ws:‘cTheŽ¡�‘>instructions–U for“dening“en�¸ètries“are:ŽŸ%W����ŸíÌÅ�����‘\Ÿ÷æb«ŽŽŽ�‘`•YÍIVALUEVALŽŽ�’Ÿ¸h�Óinte‘ÿ}/gerŽ‘•ä¸i���Ÿ÷æb«ŽŽŽŽŽ¤ Ÿ�����‘\Ÿ÷æbŽŽŽ�‘`•YÍFVALUEVALŽŽ�’Ÿ¸h�Ór–ÿ}/e“alŽ‘}ˆ¸i���Ÿ÷æb«ŽŽŽŽŽ¡�����‘\Ÿ÷æbŽŽŽ�‘`•YÍMVALUEVALŽŽ�’Ÿ¸h�Ór–ÿ}/e“alŽ‘}ˆ¸i���Ÿ÷æb«ŽŽŽŽŽ¡�����‘\Ÿ÷æbŽŽŽ�‘`•YÍPENALTYVALŽŽ�’Ÿ¸h�Óinte‘ÿ}/gerŽ‘•ä¸i���Ÿ÷æb«ŽŽŽŽŽŽŽŽŽŸ%H’�‘>¹with–U some“examples:Ž©²4�‘X>\Í(IVALUEVAL–?¬H“42)Ž¡�‘X>\(PENALTYVAL–?¬D“1000)Ž¡�‘X>\(FVALUEVAL–?¬R“42.0)Ž¡�‘X>\(MVALUEVAL–?¬R“42.0)ަ�‘>¹whicš¸èh–³�dene“an“in˜teger“v‘ÿqÐalue“of“hex-42,‘Óêa“p�Genalt˜y“v‘ÿqÐalue“of“1000,‘Óêa“x-w˜ord“v‘ÿqÐalueŽ¡�‘>of–U 42.0,“and“a“magniable“x-w�¸èord“v‘ÿqÐalue“of“42.0.Ž¡�‘MA–U ¸h�Órule-denitionŽ‘>6…¸i“¹conš¸ètains“three“comp�Gonen˜ts,“eac˜h“defaulting“to“0:ŽŸØ£����ŸóÙ”�����‘\Ÿ÷æb«ŽŽŽ�‘`•YÍRULEWDŽŽ�’Ša¸h�Ór–ÿ}/e“alŽ‘}ˆ¸i���Ÿ÷æb«ŽŽŽŽŽ¤ Ÿ�����‘\Ÿ÷æbŽŽŽ�‘`•YÍRULEHTŽŽ�’Ša¸h�Ór–ÿ}/e“alŽ‘}ˆ¸i���Ÿ÷æb«ŽŽŽŽŽ¡�����‘\Ÿ÷æbŽŽŽ�‘`•YÍRULEDPŽŽ�’Ša¸h�Ór–ÿ}/e“alŽ‘}ˆ¸i���Ÿ÷æb«ŽŽŽŽŽŽŽŽŽŸ;Â�‘M¹The–Œ¬most“complex“enš¸ètries“are“for“glue,‘š�whic˜h“can“tak˜e“sev˜eral“instructions.Ž¡�‘>The–U rst“few“instructions“should“b�Ge“clear:ŽŸ)rB����Ÿç¿õ�����‘\Ÿ÷æb«ŽŽŽ�‘`•YÍGLUEWDŽŽ�’¾�¸h�Ór–ÿ}/e“alŽ‘}ˆ¸i���Ÿ÷æb«ŽŽŽŽŽ¤ Ÿ�����‘\Ÿ÷æbŽŽŽ�‘`•YÍGLUESTRETCHŽŽ�’¾�¸h�Ór–ÿ}/e“alŽ‘}ˆ¸i���Ÿ÷æb«ŽŽŽŽŽ¡�����‘\Ÿ÷æbŽŽŽ�‘`•YÍGLUESHRINKŽŽ�’¾�¸h�Ór–ÿ}/e“alŽ‘}ˆ¸i���Ÿ÷æb«ŽŽŽŽŽ¡�����‘\Ÿ÷æbŽŽŽ�‘`•YÍGLUESTRETCHORDERŽŽ�’¾�¸h�Óor‘ÿ}/derŽ‘У¸i���Ÿ÷æb«ŽŽŽŽŽ¡�����‘\Ÿ÷æbŽŽŽ�‘`•YÍGLUESHRINKORDERŽŽ�’¾�¸h�Óor‘ÿ}/derŽ‘У¸i���Ÿ÷æb«ŽŽŽŽŽŽŽŽŽŸ+òA�‘>¹where–U ¸h�Óor‘ÿ}/derŽ‘У¸i“¹is“one“of‘0ÍUNIT¹,“ÍFI¹,“ÍFIL¹,“ÍFILL¹,“ÍFILLL¹.Ž¡�‘MNo�¸èw,–U glue“can“either“b�Ge“blank,“or“consist“of“a“leader:ަ����žó3�����‘\Ÿ÷æb«ŽŽŽ�‘`•YÍGLUETYPEŽŽ�’”’¹¸h�ÓkindŽ‘m¶¸i���Ÿ÷æb«ŽŽŽŽŽŽŽŽŽ¦�‘>¹where– h¸h�ÓkindŽ‘m¶¸i“¹is“one“of‘ÓxÍNORMAL¹,“ÍALEADERS¹,“ÍCLEADERS¹,“ÍXLEADERS¹.“If“a“leader“isŽ¡�‘>cš¸èhosen,–U then“one“of“the“follo˜wing“alternativ˜es“can“b�Ge“giv˜en:ŽŸ={����Ÿùæd�����‘\Ÿ÷æb«ŽŽŽ�‘`•YÍGLUERULEŽŽ�’”’¹¸h�Óinte‘ÿ}/gerŽ‘•ä¸i���Ÿ÷æb«ŽŽŽŽŽŸ Ÿ�����‘\Ÿ÷æbŽŽŽ�‘`•YÍGLUECHARŽŽ�’”’¹¸h�Óinte‘ÿ}/gerŽ‘•ä¸i���Ÿ÷æb«ŽŽŽŽŽŽŽŽŽŸ.ó�‘>¹W‘ÿ*¸e–U givš¸èe“b�Gelo˜w“the“tables“for“an“initial“test“with“East“Asian“fon˜ts:ަ�‘X>\Í(FONTIVALUE–?¬H“0Ž¡�‘gý`(IVALUE–?¬H“0Ž¡�‘w¼d(IVALUEVAL–?¬H“0)Ž¡�‘w¼d)Ž¡�‘gý`(IVALUE–?¬H“1ŽŽŸ�’å€P¹19ŽŽŒ‹Õ¤ y� ý£ ?� ýä�‘w¼dÍ(IVALUEVAL–?¬H“1)ޤ �‘w¼d)Ž¡�‘gý`(IVALUE–?¬H“2Ž¡�‘w¼d(IVALUEVAL–?¬H“2)Ž¡�‘w¼d)Ž¡�‘gý`(IVALUE–?¬H“3Ž¡�‘w¼d(IVALUEVAL–?¬H“3)Ž¡�‘w¼d)Ž¡�‘gý`)Ž¡�‘X>\(FONTGLUE–?¬H“0Ž¡�‘gý`(GLUE–?¬H“0Ž¡�‘w¼d(GLUETYPE–?¬H“0)Ž¡�‘w¼d(GLUESTRETCHORDER‘?¬NORMAL)Ž¡�‘w¼d(GLUESHRINKORDER‘?¬NORMAL)Ž¡�‘w¼d(GLUEWD–?¬R“0.0)Ž¡�‘w¼d(GLUESTRETCH–?¬R“0.0)Ž¡�‘w¼d(GLUESCHRINK–?¬R“0.0)Ž¡�‘gý`)Ž¡�‘gý`(GLUE–?¬H“1Ž¡�‘w¼d(GLUETYPE–?¬H“0)Ž¡�‘w¼d(GLUESTRETCHORDER‘?¬NORMAL)Ž¡�‘w¼d(GLUESHRINKORDER‘?¬NORMAL)Ž¡�‘w¼d(GLUEWD–?¬R“1.2333Ž¡�‘w¼d(GLUESTRETCH–?¬R“4.5555)Ž¡�‘w¼d(GLUESCHRINK–?¬R“2.3444)Ž¡�‘gý`)Ž¡�‘Rþ°(FONTPENALTY–?¬H“0Ž¡�‘b½´(PENALTY–?¬H“0Ž¡�‘w¼d(PENALTYVAL–?¬H“0)Ž¡�‘w¼d)Ž¡�‘b½´(PENALTY–?¬H“1Ž¡�‘w¼d(PENALTYVAL–?¬H“122A)Ž¡�‘w¼d)Ž¡�‘b½´)Ž©�‘M¹The–Éïextra“tables“can“app�Gear“in“anš¸èy“order,‘ç#but“they“m˜ust“all“app�Gear“Ób–ÿ}/efor“eŽ¡�‘>¹the–0Irst“cš¸èharacter“en˜try“has“app�Geared,‘7§since“the“c˜haracter“parameters“can“referŽ¡�‘>to–U these“tables.Ž¡�‘MWhen–�Ûdening“the“cš¸èharacter“en˜tries,‘ßÊthe“standard“en˜tries“(width,‘ßÊheigh˜t,Ž¡�‘>depth–-òand“italic“correction)“all“exist.‘dqOne“can“also“add“parameters“to“the“c�¸èhar-Ž¡�‘>acters–U bš¸èy“referring“to“the“ab�Go˜v˜e“tables.‘q€The“syn˜tax“for“an“en˜try“resem˜blesަ�‘X>\Í(CHARIVALUE–?¬H“0“H“2)ަ�‘>¹F‘ÿ*¸or–رthis“cš¸èharacter,‘ù–it“is“en˜try“2“in“Üiv‘þÕhalue“¹table“0“that“is“relev‘ÿqÐan˜t.‘ü4All“en˜triesŽŽŸ�’å€P20ŽŽŒ‹à y� ý£ ?� ýä�‘>¹are‘U similar:ŽŸ.Ö;����Ÿá³&�����‘\Ÿ÷æb«ŽŽŽ�‘`•YÍCHARIVALUEŽŽ�’¤Q½¸h�Óinte‘ÿ}/gerŽ‘•ä¸iŽ�’Ô®¿h�Óinte‘ÿ}/gerŽ‘•ä¸i���Ÿ÷æb«ŽŽŽŽŽ¤ Ÿ�����‘\Ÿ÷æbŽŽŽ�‘`•YÍCHARFVALUEŽŽ�’¤Q½¸h�Óinte‘ÿ}/gerŽ‘•ä¸iŽ�’Ô®¿h�Óinte‘ÿ}/gerŽ‘•ä¸i���Ÿ÷æb«ŽŽŽŽŽ¡�����‘\Ÿ÷æbŽŽŽ�‘`•YÍCHARMVALUEŽŽ�’¤Q½¸h�Óinte‘ÿ}/gerŽ‘•ä¸iŽ�’Ô®¿h�Óinte‘ÿ}/gerŽ‘•ä¸i���Ÿ÷æb«ŽŽŽŽŽ¡�����‘\Ÿ÷æbŽŽŽ�‘`•YÍCHARRULEŽŽ�’¤Q½¸h�Óinte‘ÿ}/gerŽ‘•ä¸iŽ�’Ô®¿h�Óinte‘ÿ}/gerŽ‘•ä¸i���Ÿ÷æb«ŽŽŽŽŽ¡�����‘\Ÿ÷æbŽŽŽ�‘`•YÍCHARGLUEŽŽ�’¤Q½¸h�Óinte‘ÿ}/gerŽ‘•ä¸iŽ�’Ô®¿h�Óinte‘ÿ}/gerŽ‘•ä¸i���Ÿ÷æb«ŽŽŽŽŽ¡�����‘\Ÿ÷æbŽŽŽ�‘`•YÍCHARPENALTYŽŽ�’¤Q½¸h�Óinte‘ÿ}/gerŽ‘•ä¸iŽ�’Ô®¿h�Óinte‘ÿ}/gerŽ‘•ä¸i���Ÿ÷æb«ŽŽŽŽŽŽŽŽŽŸ0¹[�‘>¹There–¼)is“a“sp�Gecial“use“for“the“0-th“inš¸èteger“table,‘Õìwhic˜h“denes“the“equiv‘ÿqÐalenceŽ© �‘>class–U of“the“cš¸èharacter“for“the“lig-k˜ern“table:ޤ ^����žó3�����‘\Ÿ÷æb«ŽŽŽ�‘`•YÍCHARIVALUE–?¬H“0ŽŽ�’´Á¸h�Óinte‘ÿ}/gerŽ‘•ä¸i���Ÿ÷æb«ŽŽŽŽŽŽŽŽŽ¡�‘>¹The–5¯idea“is“that“cš¸èharacters“that“act“similarly“with“resp�Gect“to“their“neigh˜b�Gor-ަ�‘>ing– cš¸èharacters“should“ha˜v˜e“the“same“lig-k˜ern“en˜try‘ÿ*¸,‘R¸allo˜wing“for“the“dramaticަ�‘>reduction–U in“size“of“the“lig-k�¸èern“table.‘q€More“later.ަ�‘MAlso–¹~to“sa•¸èv“e–¹~space,‘Øžit“is“p�Gossible“to“state“that“sevš¸èeral“c˜haracters“use“the“sameަ�‘>information.‘q€This–U is“done“with“the“Ücharrepea‘ÿ t“¹instruction:Ž¡����žó3�����‘\Ÿ÷æb«ŽŽŽ�‘`•YÍCHARREPEAT–?¬H“34“H“42Ž’ÎÎu¸h�Óchar‘ÿ}/acter-denitionŽ‘UØ–¸i���Ÿ÷æb«ŽŽŽŽŽŽŽŽŽ¡�‘>¹states–ð3that“c�¸èharacters“Í0x34“¹through“to“Í0x76“¹(Í0x34¹+Í0x42¹)“all“use“the“sameަ�‘>information.‘q€This–U clustering“is“done“automatically“b�¸èy“the“Íovp2ovf“¹program.ަ�‘MThe–‡ylig-k�¸èern“table“uses“four“new“instructions“for“the“automatic“insertion“ofަ�‘>k�¸èern,–U glue“and“pšGenalties“b˜et•¸èw“een›U c“haracters.‘q€F‘ÿ*¸or˜example,Ž¡�‘X>\Í(CKRN–?¬H“3“H“2)Ž¡�‘>¹states–gšthat“if“wš¸èe“encoun˜ter“this“instruction,‘l8and“the“next“c˜haracter“has“3“in“itsަ�‘>0-th–ìÅÜiv›þÕhalue“¹table,‘¤then“the“2-nd“en�¸ètry“in“the“0-th“Ümv˜alue“¹table“is“inserted“in�¸ètoަ�‘>the‘U stream.‘q€Similarly‘ÿ*¸,Ž¡�‘X>\Í(CGLUE–?¬H“3“H“2)Ž¡�‘>¹states–gšthat“if“wš¸èe“encoun˜ter“this“instruction,‘l8and“the“next“c˜haracter“has“3“in“itsަ�‘>0-th–ÊbÜiv‘þÕhalue“¹table,‘ç³then“the“2-nd“enš¸ètry“in“the“0-th“Üglue“¹table“is“inserted“in˜toަ�‘>the–U stream.‘q€Once“again,Ž¡�‘X>\Í(CPENALTY–?¬H“3“H“2)Ž¡�‘>¹do�Ges–`‘the“same“thing,‘cmexcept“that“it“inserts“the“2-nd“en�¸ètry“in“the“0-th“Üpenal‘ÿ tyަ�‘>¹table–U in�¸èto“the“stream.‘q€The“other“one“isŽ¡�‘X>\Í(CPENGLUE–?¬H“3“H“2“H“4)Ž¡�‘>¹whicš¸èh–wkinserts“the“2-nd“en˜try“in“the“0-th“Üpenal‘ÿ ty‘ªš¹table,‘ýthen“the“4-th“en˜try“inަ�‘>the–U 0-th“Üglue“¹table.ަ�‘MThe–šÔÜlabel“¹instruction“used“in“PL“les“has“a“v‘ÿqÐarianš¸èt“called“Üclabel¹,‘¬@whic˜hަ�‘>means–V�that“sevš¸èeral“c˜haracters“are“using“the“same“lig-k˜ern“en˜try‘ÿ*¸.‘uÐIt“is“this“tec˜h-ަ�‘>nique–׿that“alloš¸èws“Íovp2ovf“¹to“cluster“the“c˜haracters“with“similar“prop�Gerties,ަ�‘>otherwise–U eacš¸èh“w˜ould“p�Goin˜t“to“a“dieren˜t“lig-k˜ern“en˜try‘ÿ*¸.ŽŽŸ�’å€P21ŽŽŒ‹åî y� ý£ ?� ýä�‘M¹Our–^^example“shoš¸èws“ho˜w“East“Asian“fon˜ts“migh˜t“bšGe“co˜ded.‘�:The“equiv‘ÿqÐalenceޤ �‘>class–1‰of“a“cš¸èharacter“has“three“p�Gossible“v‘ÿqÐalues:‘*Q1“for“`left'“c˜haracters“(op�GeningŽ¡�‘>paren�¸èthesis,–!¥op�Gening›Å‹quote,“etc.),“2˜for˜`middle'˜or˜ordinary˜c�¸èharacters,“andŽ¡�‘>3–,?for“`righš¸èt'“c˜haracters“(closing“paren˜thesis,›4lclosing“quote,˜p•Gerio“d,˜etc.).‘càHere‘,?isŽ¡�‘>the–U lig-k�¸èern“table.Ž©�‘X>\Í(LIGTABLEŽ¡�‘gý`(CLABEL–?¬H“1)Ž¡�‘gý`(CPENGLUE–?¬H“1“H“0“H“0)Ž¡�‘gý`(CPENGLUE–?¬H“2“H“0“H“0)Ž¡�‘gý`(CPENGLUE–?¬H“3“H“0“H“0)Ž¡�‘gý`(STOP)Ž¡�‘gý`(CLABEL–?¬H“2)Ž¡�‘gý`(CGLUE–?¬H“1“H“0)Ž¡�‘gý`(CGLUE–?¬H“2“H“0)Ž¡�‘gý`(CPENGLUE–?¬H“3“H“0“H“0)Ž¡�‘gý`(STOP)Ž¡�‘gý`(CLABEL–?¬H“2)Ž¡�‘gý`(CGLUE–?¬H“1“H“0)Ž¡�‘gý`(CGLUE–?¬H“2“H“0)Ž¡�‘gý`(CPENGLUE–?¬H“3“H“0“H“0)Ž¡�‘gý`(STOP)ަ�‘>¹Glue–¥£is“inserted“b�Get•¸èw“een–¥£all“pairs“of“c�¸èharacters“that“are“of“category“1,–¹Ä2,“or‘¥£3.Ž¡�‘>In–ïaddition,‘U�a“p�Genaltš¸èy“is“added“in“fron˜t“of“c˜haracters“of“category“3“(`righ˜t'Ž¡�‘>c•¸èharacters),‘ìprev“en“ting–ÍÞa“linebreak“just“prior“to“sucš¸èh“c˜haracters.‘Û»A˜t“the“sameŽ¡�‘>time,‘„Äa–{=pšGenalt�¸èy“is“added“after“all“o˜ccurrences“of“c�¸èharacters“of“category“1“(`left'Ž¡�‘>c�¸èharacters).Ž¡�‘MAnother–°p�Gossibilitš¸èy“is“to“completely“replace“the“lig-k˜ern“table,‘ÆÌwith“the“in-Ž¡�‘>structionަ����žó3�����‘\Ÿ÷æb«ŽŽŽ�‘`•YÍLIGTABLEOCPŽŽ�’¤Q½¸h�Óo‘ÿ}/cp-le-nameŽ‘:~¸i���Ÿ÷æb«ŽŽŽŽŽŽŽŽŽ¦�‘>¹Here–U the“² ¹CP“¸h�Óo‘ÿ}/cp-le-nameŽ‘:~¸i“¹will“b�Ge“used“instead“of“the“lig-k�¸èern“table.ޤýY��‘>Ò7.7Ž‘\¾Lev� el-1–¸¼ ÒVF“lesŽ©tî�‘>¹The–U levš¸èel-1“² ¹VF“les“are“indistinguishable“from“lev˜el-0“² ¹VF“les.Ž¡��‘>Ò7.8Ž‘\¾Lev� el-1–¸¼ ÒVP“lesަ�‘>¹The–Šèlevš¸èel-1“² ¹VP“les“are“similar“to“lev˜el-1“² ¹PL“les“for“the“description“of“theޤ �‘>tables.‘³F‘ÿ*¸or–Іthe“actual“cš¸èharacter“la˜y˜out“stu,‘—àthere“is“no“dierence“with“lev˜el-0Ž¡�‘>² ¹VP‘U les.ŽŽŸ�’å€P22ŽŽŒ‹ò� y� ý£ ?� ýä��‘>Ì8Ž‘UÁÎ –G\ÌT‘þ®(ranslation“Pro�pœcessesŽŸæ~�‘>¹The–í„c�¸èhanges“describšGed“ab˜o•¸èv“e–í„are“vš¸èery“useful,‘=and“allo˜w“the“resolution“of“sev˜eralޤ �‘>problems.›7pHo•¸èw“ev“er,‘ÉÅthey–¦ïdo“not“radically“alter“the“structure“of“T�‘þUYŸ&úEŽ‘ã9X.˜This“is“notŽ¡�‘>the–Ëcase“for“the“² “¹T‘ÿ*¸ranslation“Pro�Gcesses,‘vwhicš¸èh“allo˜w“text“to“b�Ge“passed“throughŽ¡�‘>an•¸èy›U n“um“b•Ger˜of˜nite˜state˜automata,˜in˜order˜to˜imp“ose˜the˜required˜eects.Ž¡�‘MThese–ÔPpro�Gcesses“are“necessary“for“translating“one“c�¸èharacter“set“to“another.Ž¡�‘>They–"9are“also“used“to“c�¸èho�Gose“the“v‘ÿqÐarious“forms“of“letters“in“Arabic,‘,gor“to“createŽ¡�‘>consonen�¸ètal–jËclusters“in“Khmer,‘™©or“to“rearrange“letter“order“in“Indic“scripts.‘#dTheyŽ¡�‘>could–balso“oer“alternativš¸èe“means“of“c˜hanging“texts“to“upp�Ger“or“lo˜w˜er“case“or“toŽ¡�‘>h�¸èyphenate‘U texts.Ž¡�‘MEacš¸èh–ç;translation“pro�Gcess“is“placed“in“a“le“with“the“sux“Í.otp¹.‘LßIts“syn˜tax“isŽ¡�‘>similar–°but“not“iden�¸ètical“to“a“Ílex“¹or“Íflex“¹le“on“Unix.‘_Examples“of“translationŽ¡�‘>prošGcesses–U can“b˜e“found“in“the“Ítexmf/omega/otp“¹directory‘ÿ*¸.Ž¡�‘MAn–`Í.otp“¹le“denes“a“nite“state“automaton“that“transforms“an“input“c�¸èhar-Ž¡�‘>acter–U stream“inš¸èto“an“output“c˜haracter“stream.‘q€It“consists“of“six“parts:ŽŸ)q¨���Ÿáæd��‘SÓInputŽŽ¡��‘SOutputŽŽ¡��‘ST‘ÿ;ÈablesŽŽ¡��‘SStatesŽŽ¡��‘SA�¾˜liasesŽŽ¡��‘SExpr‘ÿ}/essionsŽŽŽŽŽŸ)c �‘>¹where–}Åthe“ÓExpr‘ÿ}/essions‘OÚ¹actually“state“what“translations“tak�¸èe“place“and“in“whatŽ¡�‘>situation.Ž¡�‘MIn–lÙwhat“folloš¸èws,‘²Çµn“¹refers“to“a“p�Gositiv˜e“in˜teger“b�Get˜w˜een“0“and“²2�Ÿü^ÿ±24Ž‘ lL¸‘óf²1¹.‘¸¬ItŽ¡�‘>can–ÓbšGe“giv�¸èen“in“decimal“form,‘&|o˜ctal“form“(preceded“b�¸èy‘>_Í@'¹)“or“hexadecimal“formŽ¡�‘>(preceded–âäbš¸èy‘pÍ@"¹).‘KlHexadecimal“n˜um˜bšGers“can“use“b˜oth“min�¸èuscule“and“ma‘Ž0jusculeŽ¡�‘>letters–Œgto“express“the“digits“Óaf¹.‘VNum�¸èbšGers“can“also“b˜e“givš¸èen“in“c˜haracter“form:Ž¡�‘>a–œ†prinš¸ètable“Üasci�J¦i“¹c˜haracter,›®_when“placed“inside“a“pair“of“quotes,˜generates“theŽ¡�‘>Üasci�J¦i–U ¹co�Gde“for“that“cš¸èharacter.‘q€F‘ÿ*¸or“example,“Í`a'“¹is“equiv‘ÿqÐalen˜t“to“Í@"61¹.Ž¡�‘MThe–´FÓInput‘§¹part“states“hoš¸èw“man˜y“o�Gctets“are“in“eac˜h“input“c˜haracter.‘ŽòIf“theŽ¡�‘>section–ô}is“empt�¸èy‘ÿ*¸,›Uthen“the“default“v‘ÿqÐalue“is“2,˜since“w�¸èe“hopšGe“that“Unico˜de“willŽ¡�‘>b�Gecome–ôthe“standard“means“of“comm�¸èunication“in“the“future.‘NcIf“the“section“isŽ¡�‘>not–U emptš¸èy‘ÿ*¸,“it“m˜ust“b�Ge“of“the“formޤÑ.����‘WÍinput:Ž�‘yE"ÓinŽ�’‚¹GÍ;ŽŽŽŽ¡�‘>¹where–U Óin‘u¹states“hoš¸èw“man˜y“o�Gctets“are“in“eac˜h“input“c˜haracter.ޤ �‘MThe–vÓOutput‘û?¹part“states“hoš¸èw“man˜y“o�Gctets“are“in“eac˜h“output“c˜haracter.‘‹‚IfŽ¡�‘>the–èsection“is“empt�¸èy‘ÿ*¸,›Athen“the“default“v‘ÿqÐalue“is“2,˜since“w�¸èe“hopšGe“that“Unico˜deŽ¡�‘>will–Rb�Gecome“the“standard“means“of“comm�¸èunication“in“the“future.‘pvIf“the“sectionŽ¡�‘>is–U not“emptš¸èy‘ÿ*¸,“it“m˜ust“b�Ge“of“the“formޤÑ.����‘WÍoutput:Ž�‘~„ÎÓoutŽ�’�C…Í;ŽŽŽŽ¡�‘>¹where–U Óout‘Gé¹states“hoš¸èw“man˜y“o�Gctets“are“in“eac˜h“output“c˜haracter.ޤ �‘MThe–È`ÓT‘ÿ;Èables‘šu¹part“is“used“for“dening“tables“that“will“b�Ge“referred“to“later“inŽ¡�‘>the–,uexpressions.‘còOften,‘4—translations“from“one“c�¸èharacter“set“to“another“are“mostŽŽŸ�’å€P23ŽŽŒ‹ú¥ y� ý£ ?� ýä�‘>¹ecien•¸ètly›'Œpresen“ted˜through˜table˜lo•Gokup.‘bOThis˜section˜can˜b“e˜empt•¸èy‘ÿ*¸,‘0©in˜whic“hŽ© �‘>case–U no“tables“ha•¸èv“e–U b�Geen“dened.‘q€If“it“is“not“empt�¸èy‘ÿ*¸,“it“is“of“the“formޤ����‘WÍtables:Ž�‘~„ÎÓtableŽ�’“t2Ÿû•±+ŽŽŽŽ¡�‘>¹where–U eac�¸èh“Ótable‘o¹is“of“the“formŽ¡����‘WÓidŽ�‘`5yÍ[Ž‘eu%µn�Í]Ž�‘Ä=Ž�‘ ˆ{Ž‘M4µn�ŸûÞÿ±+Ž�‘£�Í}Ž�‘ ã<;ŽŽŽŽ¡�‘>¹where–U the“n•¸èum“b�Gers–U in“µn�Ÿü^ÿ±+Ž‘ ø°¹are“comma-separated.ަ�‘MThe–JnÓStates‘ƒ¹part“is“used“to“separate“out“the“expressions.‘mðNot“all“expressionsަ�‘>will–ó.necessarily“b�Ge“applicable“in“all“situations.‘K©T‘ÿ*¸o“do“this,‘±the“user“can“nameަ�‘>states–¾0and“iden�¸ètify“expressions“with“state“names,‘Øtin“order“to“express“what“ex-ަ�‘>pressions–èìapply“when.‘,äThis“section“can“b�Ge“emptš¸èy‘ÿ*¸,‘ ßin“whic˜h“case“there“is“onlyަ�‘>one–U state.‘q€If“it“is“not“empt�¸èy‘ÿ*¸,“it“is“of“the“formŽ¡����‘WÍstates:Ž�‘~„ÎÓidŽ�’‡ºEŸû•±+Ž�’Ž]ÕÍ;ŽŽŽŽ¡�‘>¹where–U the“iden�¸ètiers“in�“ÓidŽ�‘ Š—Ÿû•±+Ž‘ƒG¹are“comma-separated.ަ�‘MThe–´^ÓA�¾˜liases‘†s¹part“is“used“to“simplify“the“denition“of“the“left“hand“sides“ofަ�‘>the–Úðexpressions.‘ïEac�¸èh“expression“consists“of“a“left-hand“side,‘üdin“the“form“of“aަ�‘>simplied–·‰regular“expression,›× and“of“a“righ�¸èt-hand“side,˜whic�¸èh“states“what“shouldަ�‘>b�Ge–ÿBdone“with“a“recognized“string.‘oçT‘ÿ*¸o“simplify“the“denitions“of“the“left-handަ�‘>sides,‘ãÞaliases–ÇRcan“bšGe“used.‘ÈThis“section“can“b˜e“emptš¸èy‘ÿ*¸,‘ãÞin“whic˜h“case“there“areަ�‘>no–U aliases.‘q€If“it“is“not“empt�¸èy‘ÿ*¸,“it“is“of“the“formŽ¡����‘WÍaliases:Ž�’ƒÄzÓaliasŽ�’˜„>Ÿû•±+ŽŽŽŽ¡�‘>¹where–U eac�¸èh“Óalias‘'5¹is“of“the“formŽ¡����‘WÓidŽ�‘bü‘Í=Ž�‘kUÓleftŽ�‘y€¤Í;ŽŽŽŽ¡�‘>¹and–U Óleft‘Gé¹is“dened“b�Gelo�¸èw.ަ�‘MThe–…ÄÓExpr‘ÿ}/essions‘WÙ¹part“is“the“v�¸èery“reason“for“an“Í.otp“¹le.‘kIt“states“whatަ�‘>translations–U mš¸èust“tak˜e“place,“and“when.‘q€It“cannot“b�Ge“empt˜y‘ÿ*¸,“and“its“syn˜tax“isŽ¡����‘WÍexpressions:Ž�’˜Ã*ÓexprŽ�’¬fŽŸûÞÿ±+ŽŽŽŽ¡�‘>¹Eac�¸èh–U Óexpr‘h�¹is“of“the“formŽ¡����‘WÓleftStateŽ�‘~ ÜtotalL‘ÿ}/eftŽ�’¥îŒrightŽ�’½ø7pushBackŽ�’ê×TrightStateŽ�’àZÍ;ŽŽŽŽ¡�‘>¹where–ÊáÓleftState‘‹0¹denes“the“state“for“whic�¸èh“this“expression“is“applicable,‘æ‡ÓtotalL‘ÿ}/eftަ�‘>¹denes–šÒthe“left-hand-side“regular“expression,‘¬?Óright‘�›¹denes“the“c�¸èharacters“to“b�Geަ�‘>output,‘eÓpushBack‘B/¹states–.²what“cš¸èharacters“m˜ust“b�Ge“added“to“the“input“streamަ�‘>and–U ÓrightState‘o¹giv�¸èes“the“new“state.ަ�‘MIn•¸ètuitiv“ely‘ÿ*¸,‘¬if–š¬the“automaton“is“in“macro-state“ÓleftState‘Zû¹and“the“regular“ex-ަ�‘>pression–ã ÓtotalL‘ÿ}/eft‘ÕÖ¹corresp�Gonds“to“a“prex“of“the“curren�¸èt“input“stream,‘Fˆthenަ�‘>(1)–)­the“input“stream“is“adv‘ÿqÐanced“to“the“end“of“the“recognized“prex,‘^Ð(2)“theަ�‘>cš¸èharacters–Îgenerated“b˜y“the“Óright‘—¹expression“are“put“on˜to“the“output“stream,ŽŽŸ�’å€P24ŽŽŒ‹T y� ý£ ?� ýä�‘>¹(3)–¾Àthe“cš¸èharacters“generated“b˜y“the“ÓpushBack‘Ò=¹stream“are“placed“at“the“b�Gegin-ޤ �‘>ning–of“the“input“stream“and“(4)“the“system“c�¸èhanges“to“the“macro-state“denedŽ¡�‘>b�¸èy‘U ÓrightState¹.Ž¡�‘MThe–U ÓleftState‘o¹eld“can“b�Ge“emptš¸èy‘ÿ*¸.‘q€If“it“is“not,“its“syn˜tax“isޤ����‘WÍ<Ž�‘\?®ÓidŽ�‘eu%Í>ŽŽŽŽ¡�‘M¹The–U syn�¸ètax“for“ÓtotalL‘ÿ}/eft‘Gé¹isŽ¡����‘WÍbeg:Ž‘kþ²²?�‘ÇÓleftŽ�‘DgŸû•±+Ž�‘¯Íend:Ž‘/­¿²?ŽŽŽ¡�‘>¹The–•WÍbeg:¹,›¥dif“presen�¸èt,˜will“only“matc�¸èh“the“string“if“it“is“at“the“b�Geginning“of“theޤ �‘>input.‘†QThe–\Íend:¹,›]Íif“presen�¸èt,˜will“only“matc�¸èh“the“string“if“it“is“at“the“end“of“theŽ¡�‘>input.Ž¡�‘MThe–U synš¸ètax“for“Óleft‘Gé¹is“giv˜en“b˜yŽ©���‘WÓleftŽŽ��‘o}Q²::=ŽŽ��’†Ò©µnŽŽŽ¤���‘tÄo¸jŽŽ��’†Ò©µn�Í-Ž‘?¬µnŽŽŽ¡���‘tÄo¸jŽŽ���’†Ò©Í.ŽŽŽŽ¡���‘tÄo¸jŽŽ���’†Ò©Í(Ž�’ŒUÓleftŽ�’š�¤Ÿû•±+Ž�’¡34Í)ŽŽŽŽ¡���‘tÄo¸jŽŽ���’†Ò©Í^(Ž�’‘RÓleftŽ�’ŸÏPŸû•±+Ž�’¦ràÍ)ŽŽŽŽ¡���‘tÄo¸jŽŽ��’†Ò©f�ÓidŽ‘ 5w¸gŽŽŽ¡���‘tÄojŽŽ���’†Ò©ÓleftŽ�’˜Í<Ž’�V¼µn�Í,Ž‘?¬µn²?�Í>ŽŽŽŽ¡¦�‘>¹where–¬vthe�“ÓleftŽ�‘)ÅŸû•±+Ž‘y˹means“a“series“of“Óleft‘Ÿ?¹separated“bš¸èy“v˜ertical“bars.‘w�Therefore,‘ÂKµnޤ �‘>¹means–OAa“single“n•¸èum“b�Ger,›�ɵn�Í-Ž‘?¬µn–OA¹is“a“range,�˜Í.Ž‘¶¹is“a“wildcard“c�¸èharacter,�˜Í(Ž�‘ ÍuÓleftŽ�‘JÄŸû•±+Ž�‘îTÍ)Ž‘(}A¹isŽ¡�‘>a–¯cš¸èhoice,�‘@ÓÍ^(Ž�‘À+ÓleftŽ�‘=zŸû•±+Ž�‘#á Í)Ž‘-2e¹is“the“negation“of“a“c˜hoice,�‘@ÓÍ{Ž�‘ €ÓidŽ�‘µöÍ}Ž‘Q¹is“the“use“of“an“alias“andŽ¡��‘>ÓleftŽ�‘L}OÍ<Ž‘Q¼ûµn�Í,Ž‘?¬µn²?�Í>Ž‘¡�¹means›aáb�Get•¸èw“een˜µn˜¹and˜µn�Ÿü^ÿ·0Ž‘0¹o•Gccurrences˜of˜Óleft¹.‘—ÂShould˜there˜b“e˜no˜µn�Ÿü^ÿ·0Ž‘Î9¹,Ž¡�‘>then–U the“expression“means“at“least“µn“¹o�Gccurrences.Ž¡�‘MThe–U syn�¸ètax“for“Óright‘Gé¹isަ����‘WÍ=>Ž�‘dFrÓstringExprŽ�’“»Ÿû•±+ŽŽŽŽ¦�‘>¹while–U that“for“ÓpushBack¹,“if“it“is“not“empt�¸èy‘ÿ*¸,“isަ����‘WÍ<=Ž�‘dFrÓstringExprŽ�’“»Ÿû•±+ŽŽŽŽ¦�‘>¹The–tYÓright‘g"¹expression“correspšGonds“to“the“c�¸èharacters“that“are“to“b˜e“output.‘Ï+TheŽ¡�‘>ÓpushBack‘°Š¹expression–� corresp�Gonds“to“the“cš¸èharacters“that“are“put“bac˜k“on˜to“theŽ¡�‘>input‘U stream.Ž¡�‘MA‘zSÓstringExpr‘�Ù¹denes–z\a“string“of“cš¸èharacters,‘ƒ«using“the“c˜haracters“in“the“rec-Ž¡�‘>ognized–U input“stream“as“argumen�¸èts.‘q€It“is“of“the“formŽŽŸ�’å€P25ŽŽŒ‹9 y� ý£ ?� þ€���ŸÉæd��‘aǵsŽŽ¤ ��‘S¸jŽ�‘aǵnŽŽ¡��‘S¸jŽ�‘aÇÍ\µnŽŽ¡��‘S¸jŽ�‘aÇÍ\$ŽŽ¡��‘S¸jŽ�‘aÇÍ\($-µnÍ)ŽŽ¡��‘S¸jŽ�‘aÇÍ\*ŽŽ¡��‘S¸jŽ�‘aÇÍ\(*-µnÍ)ŽŽ¡��‘S¸jŽ�‘aÇÍ\(*+µnÍ)ŽŽ¡��‘S¸jŽ�‘aÇÍ\(*+µnÍ-µn�Ÿü^ÿ·0Ž‘Î9Í)ŽŽ¡��‘S¸jŽ�‘aÇÍ#ÓarithExprŽŽŽŽŽŸAc �‘>¹where–Ç@µs“¹is“an“Üasci�J¦i“¹c�¸èharacter“string“enclosed“in“double“quotation“marks.‘ÇáTheޤ �‘>Í\µn––L¹means“the“µn¹-th“c�¸èharacter“(starting“from“1)“in“the“recognized“prex;‘¶ãthe“Í\$Ž¡�‘>¹means–Òthe“last“cš¸èharacter“in“the“prex;‘.AÍ\($-µnÍ)“¹the“µn¹-th,‘&{coun˜ting“from“the“end.Ž¡�‘>The–¨Í\*“¹means“the“en�¸ètire“recognized“prex;‘јÍ\(*-µnÍ)“¹the“prex“without“the“lastŽ¡�‘>µn–ŠD¹cš¸èharacters;‘$×Í\(*+µnÍ)“¹without“the“rst“µn“¹c˜haracters;‘$×Í\(*+µnÍ-µn�Ÿü^ÿ·0Ž‘Î9Í)“¹remo˜v˜es“theŽ¡�‘>rst–U µn“¹and“last“µn�Ÿü^ÿ·0Ž‘#Y¹c�¸èharacters.Ž¡�‘MF‘ÿ*¸or–^2example,‘`vIndic“scripts“are“enco�Gded“with“v•¸èo“w“els–^2at“the“end“of“a“syllable,Ž¡�‘>but–þothe“v•¸èo“w“el–þois“actually“prinš¸èted“rst“on“the“page.‘mkUp“to“six“consonan˜ts“canŽ¡�‘>precede–U a“v•¸èo“w“el,–U yielding“the“follo�¸èwing“transliteration:ޤ�‘X>\Í{consonant}<1,6>›?¬{vowel}– X=>“\$˜\(*-1);Ž¡�‘M¹The–85ÓarithExpr‘K²¹enš¸ètry“allo˜ws“for“calculations“to“actually“b�Ge“eected“on“theޤ �‘>cš¸èharacters–U in“the“prex.‘q€Their“syn˜tax“is“as“follo˜ws:ŽŸGq¨���ŸÃæd��‘aǵnŽŽ¡��‘S¸jŽ�‘aÇÍ\µnŽŽ¡��‘S¸jŽ�‘aÇÍ\$ŽŽ¡��‘S¸jŽ�‘aÇÍ\($-µnÍ)ŽŽ¡��‘S¸jŽ�‘aÇÓarithExpr‘S)Í+‘?¬ÓarithExprŽŽ¡��‘S¸jŽ�‘aÇÓarithExpr‘S)Í-‘?¬ÓarithExprŽŽ¡��‘S¸jŽ�‘aÇÓarithExpr‘S)Í*‘?¬ÓarithExprŽŽ¡��‘S¸jŽ�‘aÇÓarithExpr‘S)Ídiv:‘?¬ÓarithExprŽŽ¡��‘S¸jŽ�‘aÇÓarithExpr‘S)Ímod:‘?¬ÓarithExprŽŽ¡��‘S¸jŽ�‘aÇÓid‘wÍ[ÓarithExpr‘}Í]ŽŽ¡��‘S¸jŽ�‘aÇÍ(ÓarithExpr‘}Í)ŽŽŽŽŽŸGqX�‘>¹where–»WÓid‘wÍ[ÓarithExpr‘}Í]“¹means“a“table“lošGokup:‘=îthe“Óid‘Ãιm�¸èust“b˜e“a“table“dened“inŽ¡�‘>the–U ÓT‘ÿ;Èables‘'5¹section.‘q€The“other“opšGerations“should“b˜e“clear.Ž¡�‘MThe–U folloš¸èwing“example“sho˜ws“the“use“of“tables.ŽŸ�‘>Í%–?¬File“inbig5.otpŽ¡�‘>%–?¬Conversion“to“Unicode“from“Chinese“Big“5“(HKU)Ž¡�‘>%–?¬Copyright“(c)“1995“John“Plaice“and“Yannis“HaralambousŽ¡�‘>%–?¬This“file“is“part“of“the“Omega“project.Ž¡�‘>%Ž¡�‘>%–?¬This“file“was“derived“from“data“in“the“tcs“programŽ¡�‘>%–?¬ftp://plan9.att.com/plan9/unixsrc/tcs.shar.Z,“16“November“1994Ž¡�‘>%ŽŽŸ�’å€P¹26ŽŽŒ‹� y� ý£ ?� ýä¤ �‘>Íinput:‘ X1;Ž¡�‘>output:‘?¬2;Ž¡¡�‘>tables:Ž¡¡�‘>in_big5_a1[@"9d]–?¬=“{Ž¡�‘>@"20,–¿@"2c,“@"2ce,‘ X@"2e,“@"2219,–?¬@"2219,“@"3b,‘¿@"3a,Ž¡�‘>...Ž¡�‘>@"2199,–?¬@"2198,“@"2225,“@"2223,“@"2215Ž¡�‘>};Ž¡¡�‘>in_big5[@"3695]–?¬=“{Ž¡�‘>@"3000,–?¬@"ff0c,“@"3001,“@"3002,“@"ff0e,“@"30fb,“@"ff1b,“@"ff1a,Ž¡�‘>...Ž¡�‘>@"fffd,–?¬@"fffd,“@"fffd,“@"fffd,“@"fffdŽ¡�‘>};Ž¡¡�‘>expressions:Ž¡¡�‘>@"1a‘hùp=>‘?¬@"0a;Ž¡�‘>@"00-@"a0‘N»=>‘?¬\1;Ž¡�‘>@"a1(@"40-@"7e)‘/= =>‘?¬#(in_big5_a1[\2-@"40]);Ž¡�‘>@"a1(@"a1-@"fe)‘/= =>‘?¬#(in_big5_a1[\2-@"62]);Ž¡�‘>(@"a2-@"fe)(@"40-@"7e)‘ X=>–?¬#(in_big5[(\1-@"a2)*@"9d“+“\2-@"40]);Ž¡�‘>(@"a2-@"fe)(@"a1-@"fe)‘ X=>–?¬#(in_big5[(\1-@"a2)*@"9d“+“\2-@"62]);Ž¡�‘>.–?¬.‘n9=>“@"fffd;ŽŸ�‘M¹In–í>the“future,‘Emore“op�Gerations“maš¸èy“w˜ell“b�Ge“added.‘9ÙResearc˜h“is“still“underŽ¡�‘>w•¸èa“y–ÞGfor“sucš¸èh“things“as“pro˜viding“means“for“dening“functions,‘‘lo�Gcal“v‘ÿqÐariables,Ž¡�‘>error–U handling“and“other“functionalit�¸èy‘ÿ*¸.Ž¡�‘MThe–ásÓpushBack‘ôð¹part,‘Dˆwhicš¸èh“serv˜es“to“put“c˜haracters“bac˜k“on˜to“the“inputŽ¡�‘>stream,‘yIuses–>Úthe“same“synš¸ètax“as“the“Óright‘1£¹part.‘.¯When“c˜haracters“are“placedŽ¡�‘>bac•¸èk›ÛYon“to˜the˜input˜stream,‘üçthey˜will˜b•Ge˜lo“ok�¸èed˜at˜up“on˜the˜next˜iteration˜ofŽ¡�‘>the‘U automaton.Ž¡�‘MFinally‘ÿ*¸,–U the“ÓrightState‘o¹can“b�Ge“emptš¸èy“or“one“of“the“follo˜wing“three“forms:ŽŸq¨���Ÿóæd��‘aÇÍ<Óid‘wÍ>ŽŽ¡��‘S¸jŽ�‘aÇÍŽŽ¡��‘S¸jŽ�‘aÇÍŽŽŽŽŽŸc �‘>¹If–v†it“is“emptš¸èy‘ÿ*¸,‘~àthe“automaton“sta˜ys“in“the“same“state.‘Õ²If“it“is“of“the“form“Í<Óid‘wÍ>¹,Ž¡�‘>then–²™the“automaton“cš¸èhanges“to“state“Óid¹.‘‰êThe“Í“¹means“c˜hange“toŽ¡�‘>state–«AÓid¹,‘ÀÉbut“rememš¸èb�Gering“the“curren˜t“state.‘sâThe“Í“¹means“return“to“theŽ¡�‘>previously›U sa•¸èv“ed˜state.Ž¡�‘MSev�¸èeral–»Í.otp“¹les“are“in“the“Íomega/texmf/otp“¹directory‘ÿ*¸.‘£xThe“Íchar2uniŽ¡�‘>¹directory–;¶conš¸ètains“² ¹TPs“that“con˜v˜ert“national“c˜haracter“sets“to“Unico�Gde,‘@ËwhileŽ¡�‘>the–U Íomega“¹directory“conš¸ètains“² ¹TPs“designed“to“w˜ork“with“the“² “¹fon˜ts.ŽŽŸ�’å€P27ŽŽŒ‹'# y� ý£ ?� ýä��‘>Ì9Ž‘UÁCompiled–G\T‘þ®(ranslation“Pro�pœcessesŽŸæ~�‘>² –¼*¹do�Ges“not“knoš¸èw“an˜ything“abšGout“² “¹T‘ÿ*¸ranslation“Pro˜cesses.‘¦�It“actually“reads“aޤ �‘>compiled–%:form“of“these“lters,‘YAkno�¸èwn“as“Compiled“T‘ÿ*¸ranslation“Pro�Gcesses“(leŽ¡�‘>sux–UÍ.ocp¹).‘q~Essen�¸ètially‘ÿ*¸,‘Uthe“² ¹CPs“can“bšGe“considered“to“b˜e“p˜ortable“assem�¸èblerŽ¡�‘>programs,–U and“² “¹includes“an“in�¸èterpreter“for“the“generated“instructions.Ž¡�‘MThe–ÿºcommand“for“reading“in“a“² ¹CP“le“is“similar“to“a“fon�¸èt“declaration.‘U TheŽ¡�‘>exampleޤ�‘X>\Í\ocp\TexUni=TeXArabicToUnicodeŽ¡�‘>¹means–sbthat“the“le“ÍTeXArabicToUnicode.ocp“¹is“read“in“bš¸èy“² “¹and“that“in˜ternallyޤ �‘>the–U translation“pro�Gcess“is“referred“to“as“Í\TeXUni¹.Ž¡�‘MThe–ÄY² ¹CPs“consist“of“a“sequence“of“4-o�Gctet“wš¸èords.‘A>The“rst“sev˜en“w˜ords“ha˜v˜eŽ¡�‘>the–U follo�¸èwing“form:ŽŸ/q¨���ŸÛæd��‘SÓlfŽ�‘i‡†¹length–U of“the“enš¸ètire“le,“in“w˜ords;ŽŽ¡��‘SÓinŽ�‘i‡†¹n•¸èum“bšGer–U of“o˜ctets“in“an“input“c�¸èharacter;ŽŽ¡��‘SÓotŽ�‘i‡†¹n•¸èum“bšGer–U of“o˜ctets“in“an“output“c�¸èharacter;ŽŽ¡��‘SÓntŽ�‘i‡†¹n•¸èum“b�Ger–U of“tables;ŽŽ¡��‘SÓltŽ�‘i‡†¹n•¸èum“bšGer–U of“w�¸èords“allo˜cated“for“tables;ŽŽ¡��‘SÓnsŽ�‘i‡†¹n•¸èum“b�Ger–U of“states;ŽŽ¡��‘SÓlsŽ�‘i‡†¹n•¸èum“bšGer–U of“w�¸èords“allo˜cated“for“states;ŽŽŽŽŽŸ/c �‘>The–U header“wš¸èords“are“follo˜w˜ed“b˜y“four“arra˜ys:Ž©���‘WAnó2ý': cmti10Ýtable�‘À[¹_Ž‘†ûÝlengthŽŽ��’˜Œ¶²:ŽŽ���’¥SÓÖarra�®9yŽ’Âªá²[0µ::�ÝntŽ‘ {¸‘8à²1]�‘ÇÖofŽ�‘èÖÝwor‘ÿ}'dŽŽŽŽ¤���‘us„tablesŽŽ��’˜Œ¶²:ŽŽ���’¥SÓÖarra�®9yŽ’Âªá²[0µ::�ÝltŽ‘ k¸‘8à²1]�‘ÇÖofŽ�‘èÖÝwor‘ÿ}'dŽŽŽŽ¡���‘Wstate�‘À[¹_Ž‘†ûÝlengthŽŽ��’˜Œ¶²:ŽŽ���’¥SÓÖarra�®9yŽ’Âªá²[0µ::�ÝnsŽ‘ Á ¸‘8à²1]�‘ÇÖofŽ�‘èÖÝwor‘ÿ}'dŽŽŽŽ¡���‘us„tablesŽŽ��’˜Œ¶²:ŽŽ���’¥SÓÖarra�®9yŽ’Âªá²[0µ::�ÝlsŽ‘ ¯ù¸‘8à²1]�‘ÇÖofŽ�‘èÖÝwor‘ÿ}'dŽŽŽŽ¦�‘M¹The–ypÓtable_length‘=Źarraš¸èy“states“ho˜w“man˜y“w˜ords“are“used“for“eac˜h“of“the“tablesޤ �‘>in–¨lthe“² ¹CP›ÿ*¸.“F˜or“the“GB“¸!“¹Unico�Gde“example“on“page“26,‘Ê÷the“Ótable_length‘lÁ¹w�¸èouldŽ¡�‘>ha•¸èv“e›U t“w“o˜en“tries:‘q€hex˜v‘ÿqÐalues˜Í9d˜¹and˜Í3695¹.Ž¡�‘MThe–U Ótables‘'5¹arra�¸èy“is“simply“the“concatenation“of“the“tables“in“the“² ¹TP“le.Ž¡�‘MThe–~@Óstate_length‘B•¹arraš¸èy“states“ho˜w“man˜y“w˜ords“are“used“for“eac˜h“of“the“statesŽ¡�‘>in–£¯the“² ¹CP›ÿ*¸.“F˜or“the“GB“¸!“¹Unico�Gde“example“on“page“26,‘Ç,the“Óstate_length‘h¹w�¸èouldŽ¡�‘>ha•¸èv“e–U one“en�¸ètry‘ÿ*¸.Ž¡�‘MThe–9oÓstates‘ „¹arra�¸èy“is“simply“the“concatenation“of“the“sequence“of“instructionsŽ¡�‘>for–ýeacš¸èh“state“in“the“² ¹TP“le.‘^Eac˜h“instruction“tak˜es“one“or“t˜w˜o“4-o�Gctet“w˜ords.Ž¡�‘>Zero-–Õ.and“one-argumenš¸èt“instructions“use“one“w˜ord.‘FÚIf“the“instruction“consists“ofŽ¡�‘>one–϶wš¸èord,‘êethen“the“actual“instruction“is“in“the“rst“t˜w˜o“o�Gctets“and“the“argumen˜tŽ¡�‘>is–ÅÈin“the“last“t•¸èw“o–ÅÈo�Gctets.‘A¸If“the“instruction“consists“of“t•¸èw“o›ÅÈw“ords,‘âsthen˜the˜actualŽ¡�‘>instruction–is“in“the“rst“t•¸èw“o–o�Gctets,‘ãthe“rst“argumenš¸èt“is“in“the“next“t˜w˜o“o�GctetsŽ¡�‘>and–7Hthe“last“argumenš¸èt“is“in“the“last“t˜w˜o“o�Gctets.‘gŽThe“instructions“are“as“follo˜ws:ŽŸ���‘Ut71Ž‘gÈgÍOTP_RIGHT_OUTPUT‘„¹0‘U argumen�¸ètsŽŽ¡���‘Ut72Ž‘gÈgÍOTP_RIGHT_NUM‘,Òˆ¹1‘U argumen�¸ètŽŽ¡���‘Ut73Ž‘gÈgÍOTP_RIGHT_CHAR‘'’ܹ1‘U argumen�¸ètŽŽŽŸ�’å€P28ŽŽŒ‹/û y� ý£ ?� ýä���‘Ut7¹4Ž‘gÈgÍOTP_RIGHT_LCHAR‘"S0¹1‘U argumen�¸ètŽŽ¤ ���‘Ut75Ž‘gÈgÍOTP_RIGHT_SOME‘'’ܹ2‘U argumen�¸ètsŽŽ¡¡���‘Ut76Ž‘gÈgÍOTP_PBACK_OUTPUT‘„¹0‘U argumen�¸ètsŽŽ¡���‘Ut77Ž‘gÈgÍOTP_PBACK_NUM‘,Òˆ¹1‘U argumen�¸ètŽŽ¡���‘Ut78Ž‘gÈgÍOTP_PBACK_CHAR‘'’ܹ1‘U argumen�¸ètŽŽ¡���‘Ut79Ž‘gÈgÍOTP_PBACK_LCHAR‘"S0¹1‘U argumen�¸ètŽŽ¡���‘Pt‡10Ž‘gÈgÍOTP_PBACK_SOME‘'’ܹ2‘U argumen�¸ètsŽŽ¡¡���‘Pt‡11Ž‘gÈgÍOTP_ADD‘LP�¹0‘U argumen�¸ètsŽŽ¡���‘Pt‡12Ž‘gÈgÍOTP_SUB‘LP�¹0‘U argumen�¸ètsŽŽ¡���‘Pt‡13Ž‘gÈgÍOTP_MULT‘Gä¹0‘U argumen�¸ètsŽŽ¡���‘Pt‡14Ž‘gÈgÍOTP_DIV‘LP�¹0‘U argumen�¸ètsŽŽ¡���‘Pt‡15Ž‘gÈgÍOTP_MOD‘LP�¹0‘U argumen�¸ètsŽŽ¡���‘Pt‡16Ž‘gÈgÍOTP_LOOKUP‘<‘Œ¹0‘U argumen�¸ètsŽŽ¡���‘Pt‡17Ž‘gÈgÍOTP_PUSH_NUM‘24¹1‘U argumen�¸ètŽŽ¡���‘Pt‡18Ž‘gÈgÍOTP_PUSH_CHAR‘,Òˆ¹1‘U argumen�¸ètŽŽ¡���‘Pt‡19Ž‘gÈgÍOTP_PUSH_LCHAR‘'’ܹ1‘U argumen�¸ètŽŽ¡¡���‘Pt‡20Ž‘gÈgÍOTP_STATE_CHANGE‘„¹1‘U argumen�¸ètŽŽ¡���‘Pt‡21Ž‘gÈgÍOTP_STATE_PUSH‘'’ܹ1‘U argumen�¸ètŽŽ¡���‘Pt‡22Ž‘gÈgÍOTP_STATE_POP‘,Òˆ¹1‘U argumen�¸ètŽŽ¡¡���‘Pt‡23Ž‘gÈgÍOTP_LEFT_START‘'’ܹ0‘U argumen�¸ètsŽŽ¡���‘Pt‡24Ž‘gÈgÍOTP_LEFT_RETURN‘"S0¹0‘U argumen�¸ètsŽŽ¡���‘Pt‡25Ž‘gÈgÍOTP_LEFT_BACKUP‘"S0¹0‘U argumen�¸ètsŽŽ¡¡���‘Pt‡26Ž‘gÈgÍOTP_GOTO‘Gä¹1‘U argumen�¸ètŽŽ¡���‘Pt‡27Ž‘gÈgÍOTP_GOTO_NE‘7Qà¹2‘U argumen�¸ètsŽŽ¡���‘Pt‡28Ž‘gÈgÍOTP_GOTO_EQ‘7Qà¹2‘U argumen�¸ètsŽŽ¡���‘Pt‡29Ž‘gÈgÍOTP_GOTO_LT‘7Qà¹2‘U argumen�¸ètsŽŽ¡���‘Pt‡30Ž‘gÈgÍOTP_GOTO_LE‘7Qà¹2‘U argumen�¸ètsŽŽ¡���‘Pt‡31Ž‘gÈgÍOTP_GOTO_GT‘7Qà¹2‘U argumen�¸ètsŽŽ¡���‘Pt‡32Ž‘gÈgÍOTP_GOTO_GE‘7Qà¹2‘U argumen�¸ètsŽŽ¡���‘Pt‡33Ž‘gÈgÍOTP_GOTO_NO_ADVANCE‘ T€¹1‘U argumen�¸ètŽŽ¡���‘Pt‡34Ž‘gÈgÍOTP_GOTO_BEG‘24¹1‘U argumen�¸ètŽŽ¡���‘Pt‡35Ž‘gÈgÍOTP_GOTO_END‘24¹1‘U argumen�¸ètŽŽ¡���‘Pt‡36Ž‘gÈgÍOTP_STOP‘Gä¹0‘U argumen�¸ètsŽŽ¡Ÿ�‘MThe–©—ÍOTP_LEFT¹,“ÍOTP_GOTO›©�¹and“ÍOTP_STOP˜¹instructions“are“used“for“recogniz-Ž¡�‘>ing–óWprexes“in“an“input“stream.‘L&The“ÍOTP_RIGHT‘ó/¹instructions“place“c�¸èharactersŽ¡�‘>on–¶Cthe“output“stream,‘ÎŒwhile“the“ÍOTP_PBACK‘¶*¹instructions“place“cš¸èharacters“bac˜kŽ¡�‘>on�¸èto–Ÿzthe“input“stream.‘P�The“instructions“ÍOTP_ADD‘Ÿg¹through“to“ÍOTP_PUSH_LCHARŽ¡�‘>¹are–U&used“for“in�¸èternal“computations“in“preparation“for“ÍOTP_RIGHT“¹or“ÍOTP_PBACKŽ¡�‘>¹instructions.‘FUFinally‘ÿ*¸,‘í„the–Ó�ÍOTP_STATE‘Ó|¹instructions“are“for“c�¸èhanging“macro-states.ŽŽŸ�’å€P29ŽŽŒ‹=“ y� ý£ ?� ýä�‘M¹The–ãAsystem“that“reads“from“the“input“stream“uses“t•¸èw“o›ãAp�Goin“ters,‘Êwhic“h˜w“eޤ �‘>will–¹Øcall“Órst›¬¡¹and“Ólast¹.‘=¾The“Órst˜¹v‘ÿqÐalue“pšGoin�¸èts“to“the“b˜eginning“of“the“input“prexŽ¡�‘>that–U*is“currenš¸ètly“b�Geing“iden˜tied.‘q�The“Ólast‘Gó¹v‘ÿqÐalue“p�Goin˜ts“to“the“end“of“the“inputŽ¡�‘>prex–*ßthat“has“bšGeen“read.‘cjWhen“a“prex“has“b˜een“recognized,‘3Rthen“Órst‘¨¹p˜oin�¸ètsŽ¡�‘>to–U Í\1“¹and“Ólast‘Gé¹p�Goin�¸èts“to“Í\$¹.Ž¡�‘MThe–¶ÝÍOTP_LEFT_START‘¶Ä¹instruction,‘ÏLcalled“at“the“b�Geginning“of“the“parsing“ofŽ¡�‘>a– çprex,‘SØadv‘ÿqÐances“Órst›°¹to�“ÓlastŽ‘ôž²+‘ÀÁ1¹;‘†ÊÍOTP_LEFT_RETURN‘ ²¹resets“the“Ólast˜¹v‘ÿqÐalue“toŽ¡��‘>ÓrstŽ‘Q¢€¸‘c–²1–•-¹(it“is“called“when“a“particular“Óleft‘‡ö¹pattern“došGes“not“corresp˜ond“to“theŽ¡�‘>prex);–U ÍOTP_LEFT_BACKUP“¹bacš¸èks“up“the“Ólast‘Gé¹p�Goin˜ter“b˜y“1.Ž¡�‘MInš¸èternally‘ÿ*¸,‘Ia–K² ¹CP“program“uses“a“program“coun˜ter“(PC),“whic˜h“is“simplyŽ¡�‘>an–Ï•index“inš¸èto“the“appropriate“state“arra˜y‘ÿ*¸.‘àÞLik˜e“for“all“assem˜bler“programs,Ž¡�‘>this–2(counš¸èter“is“normally“incremen˜ted“b˜y“1“or“2,‘ijdep�Gending“on“the“size“of“theŽ¡�‘>instruction,–U but“it“can“b�Ge“abruptly“c�¸èhanged“through“an“ÍOTP_GOTO“¹instruction.Ž¡�‘MThe–"•argumenš¸èt“in“single-argumen˜t“ÍOTP_GOTO‘"ˆ¹instructions“is“the“new“PC.“F‘ÿ*¸orŽ¡�‘>the››Üt•¸èw“o-argumen“t˜instructions,‘íŒthe˜rst˜is˜the˜comparand˜and˜the˜second˜isŽ¡�‘>the–ÄXnew“PC›Ãùshould“the“test“succeed.‘¿'The“ÍOTP_GOTO˜¹instruction“itself“is“anŽ¡�‘>unconditional–A6brancš¸èh;‘GÚÍOTP_GOTO_NO_ADVANCE‘A1¹adv‘ÿqÐances“Ólast‘3ÿ¹b˜y“1,‘E2and“branc˜hesŽ¡�‘>if–kIhas“reacš¸èhed“the“end“of“input;‘ö]ÍOTP_GOTO_BEG‘k¹branc˜hes“at“the“b�Geginning“ofŽ¡�‘>input–eÅand“ÍOTP_GOTO_END‘eÁ¹branc�¸èhes“at“the“end“of“input.‘£oAs“for“ÍOTP_GOTO_Óc‘ÿ}/ond¹,Ž¡�‘>it–ö®succeeds“if“the“cš¸èharacter“p�Goin˜ted“to“b˜y“Ólast‘éw¹(w˜e'll“call“it“Í*Ólast‘òɹ)“satises“theŽ¡�‘>test–U Óc›ÿ}/ond‘w¹(Í*Ólast¹,“ÓrstA�¾˜r˜g‘ân¹).Ž¡�‘MThe–l ÍOTP_STOP‘kйinstruction“stops“pro�Gcessing“of“the“curren�¸ètly“recognized“prex.Ž¡�‘>Normally–Æ0the“automaton“will“b�Ge“restarted“with“an“ÍOTP_LEFT_START‘Æ ¹instruction.Ž¡�‘MWhen–àcomputations“are“undertak�¸èen“for“the“ÍOTP_RIGHT›ß÷¹and“ÍOTP_PBACK˜¹in-Ž¡�‘>structions,‘'a–žcomputation“stacš¸èk“is“used.‘^UThis“stac˜k“is“accessed“through“instruc-Ž¡�‘>tions–NÀÍOTP_ADD‘N¿¹through“to“ÍOTP_PUSH_LCHAR¹,“as“w�¸èell“as“through“the“instructionsŽ¡�‘>ÍOTP_RIGHT_OUTPUT–U ¹and“ÍOTP_PBACK_OUTPUT¹.Ž¡�‘MSince–lthe“ÍOTP_RIGHT›kÓ¹and“ÍOTP_PBACK˜¹instructions“are“analogous,‘±Ùonly“theŽ¡�‘>former–â)are“describšGed.‘šThe“ÍOTP_RIGHT_OUTPUT‘â¹instruction“p˜ops“a“v‘ÿqÐalue“of“theŽ¡�‘>top–ñáof“the“stac�¸èk“and“outputs“it;‘ÀBÍOTP_RIGHT_NUM²(µn¹)“simply“places“µn“¹on“theŽ¡�‘>output–WÃstream;‘YÍOTP_RIGHT_CHAR²(µn²)“¹places“the“µn¹-th“input“c�¸èharacter“on“theŽ¡�‘>output–wÞstream;› =ÍOTP_RIGHT_LCHAR‘w“¹do�Ges“the“same,‘À�but“from“the“bac�¸èk;˜nally‘ÿ*¸,Ž¡�‘>ÍOTP_RIGHT_SOME–U ¹places“a“substring“on�¸èto“the“output“stream.Ž¡�‘MThree–K;instructions“are“used“for“placing“v‘ÿqÐalues“on“the“stac�¸èk:‘ì�ÍOTP_PUSH_NUM²(µn²)Ž¡�‘>¹pushes–"Àµn“¹onš¸èto“the“stac˜k,‘–(ÍOTP_PUSH_CHAR²(µn²)“¹pushes“the“µn¹-th“c˜haracter“andŽ¡�‘>ÍOTP_PUSH_LCHAR²(µn²)–U ¹do�Ges“the“same“from“the“end.Ž¡�‘MThe–U arithmetic“opšGerations“of“the“form“ÍOTP_Óop‘ö®¹apply“the“op˜erationޤ����‘WÝstackŽ‘mÌh²[�ÝtopŽ‘eÓ¸‘8à²1]ŽŽ��’œÀt:=ŽŽ���’±N¯ÝstackŽ’È²[�ÝtopŽ‘eÓ¸‘8à²1]�‘ÇÝopŽ�‘h¨stackŽ‘'5²[�ÝtopŽ‘,ó²]ŽŽŽ¡�‘>¹where–£ÏÓtop‘E]¹is“the“stacš¸èk“p�Goin˜ter,‘·zand“then“decremen˜t“the“stac˜k“p�Goin˜ter.‘]ŒFinally‘ÿ*¸,Ž© �‘>the–U ÍOTP_LOOKUP“¹instruction“applies“the“op�GerationŽ¡����‘WÝstackŽ‘mÌh²[�ÝtopŽ‘eÓ¸‘8à²1]ŽŽ��’œÀt:=ŽŽ���’±N¯ÝstackŽ’È²[�ÝtopŽ‘eÓ¸‘8à²1][�ÝstackŽ‘Ìf²[�ÝtopŽ‘,ó²]]ŽŽŽ¡�‘>¹and–U then“decremenš¸èts“the“p�Goin˜ter.ަ�‘MLast,›but–¸;not“least,˜are“the“ÍOTP_STATE‘·à¹instructions,˜whic�¸èh“manipulate“aަ�‘>stacš¸èk–<`of“macro-states.‘i@The“initial“state“is“alw˜a˜ys“0.‘i@The“ÍOTP_STATE_CHANGE²(µn²)ŽŽŸ�’å€P¹30ŽŽŒ‹FÙ y� ý£ ?� ýä�‘>¹cš¸èhanges–6¾the“curren˜t“state“state“µn¹;‘@ßÍOTP_STATE_PUSH²(µn²)“¹pushes“the“curren˜t“stateޤ �‘>onš¸èto–ÙÛthe“state“stac˜k“b�Gefore“c˜hanging“the“curren˜t“state;‘òÍOTP_STATE_POP‘Ù¼¹p�Gops“theŽ¡�‘>state–U at“the“top“of“the“state“stacš¸èk“in˜to“the“curren˜t“state.ŽŸ ê��‘>Ì10Ž‘]¬%T‘þ®(ranslation–G\pro�pœcess“listsŽŸæ~�‘>¹T‘ÿ*¸ranslation–x¡prošGcesses“can“b˜e“used“for“a“n•¸èum“b˜er–x¡of“dieren�¸èt“purp˜oses.‘ÜSinceŽ¡�‘>not–Î`all“uses“can“b�Ge“foreseen,‘ì°wš¸èe“ha˜v˜e“decided“to“oer“a“means“to“dynamicallyŽ¡�‘>recongure–Ôthe“set“of“translation“pro�Gcesses“that“are“passing“o•¸èv“er–Ôthe“input“text.Ž¡�‘>This–U is“done“using“stac�¸èks“of“translation“pro�Gcess“lists.Ž¡�‘MF‘ÿ*¸or–¤Àan�¸èy“single“purpšGose,‘ø¨for“example“to“pro˜cess“a“givš¸èen“language,‘ø¨sev˜eralŽ¡�‘>² ¹CPs–ÎÉmighš¸èt“b�Ge“required.‘Þ|If“one“mak˜es“a“con˜text“switc˜h,‘í3suc˜h“as“pro�Gcessing“aŽ¡�‘>dierenš¸èt–îHlanguage,‘Úthen“one“w˜ould“to“b�Ge“able“to“quic˜kly“replace“Óal‘‚Ðl‘ö¿¹of“the“² ¹CPsŽ¡�‘>that–U are“curren�¸ètly“b�Geing“used.‘q€This“is“done“using“² ¹CP“lists.Ž¡�‘MA‘Q’² ¹CP–Q“list“is“actually“a“list“of“pairs.‘pQEacš¸èh“pair“consists“of“a“p�Gositiv˜e“scaledŽ¡�‘>v‘ÿqÐalue–U and“a“doubly“ended“queue“of“² ¹CPs.‘q€F‘ÿ*¸or“example,ޤKÜ�‘X>\Í\ocplist\ArabicOCP=[(1.0–?¬:“\TexUni,\UniUniTwo,\UniTwoFont)]Ž¡�‘>¹the–ªeoutput“from“² “¹once“the“² ¹CP“list“Í\ArabicOCP‘ªO¹has“bšGeen“t•¸èyp˜ed,‘¿¶sho“ws‘ªethatޤ �‘>that–Gœlist“has“one“elemen�¸èt,‘„;namely“the“pair“with“the“scaled“v‘ÿqÐalue“1.0“and“theŽ¡�‘>doubly–ãØended“queue“with“three“² ¹CPs,–ú€Í\TexUni¹,“Í\UniUniTwo–ãØ¹and“Í\UniTwoFont¹.Ž¡�‘M² ¹CP–»ªlists“are“built“up“using“the“v�¸èe“op�Gerators“Í\nullctlist¹,‘ÕMÍ\addbefore¹-Ž¡�‘>Íocplist¹,–õ'Í\addafterocplist¹,“Í\removebeforeocplist–Õ%¹and“Í\removeafterocp¹-Ž¡�‘>Ílist¹.‘ûüF‘ÿ*¸or–ƒIexample,‘ŽÔthe“ab�Go•¸èv“e–ƒIoutput“wš¸èas“generated“b˜y“the“follo˜wing“sequenceŽ¡�‘>of–U ² “¹statemen�¸èts:Ž©KÜ�‘X>\Í\ocp\TexUni=TeXArabicToUnicodeŽ¡�‘X>\\ocp\UniUniTwo=UnicodeToContUnicodeŽ¡�‘X>\\ocp\UniTwoFont=ContUnicodeToTeXArabicOutŽ¡¡�‘X>\\ocplist\ArabicOCP=Ž¡�‘X>\\addbeforeocplist–?¬1“\TexUniŽ¡�‘X>\\addbeforeocplist–?¬1“\UniUniTwoŽ¡�‘X>\\addbeforeocplist–?¬1“\UniTwoFontŽ¡�‘X>\\nullocplistަ�‘M¹The–U Í\ocplist“¹command“is“similar“to“the“Í\ocp“¹command:Ž¡�‘>Í\ocplist–U ÓlistName‘oÍ=“Óo‘ÿ}/cpListExpr¹.Ž¡�‘MAll–ª�Óo‘ÿ}/cpListExpr‘¾ ¹are“built“up“from“either“the“empt�¸èy“² ¹CP“list,‘̬Í\nullocplist¹,Ž¡�‘>or–²½from“an“already“existing“² ¹CP“list.‘ŠVIn“the“latter“case,‘Ê$the“list“is“completelyŽ¡�‘>copied,›ÂOto–¬xensure“that“the“named“list“is“not“itself“mo�Gdied.‘w‰Giv�¸èen“a“list“µl�2`¹,˜theŽ¡�‘>instruction–¶<Í\addbeforeocplist“µn“Óo›ÿ}/cp‘Wʵl‘蜹states“that“the“² ¹CP“Óo˜cp‘Wʹis“added“at“theŽ¡�‘>head–©[of“the“doubly“ended“queue“for“v‘ÿqÐalue“µn“¹in“list“µl�2`¹.‘8?If“that“queue“do�Ges“not“exist,Ž¡�‘>it–Ä»is“created“and“inserted“in“the“list“so“that“the“scaled“v‘ÿqÐalues“are“all“in“increasingŽ¡�‘>order.‘—The– Tinstruction“Í\addafterocplist“µn“Óo‘ÿ}/cp‘­âµl‘>´¹do�Ges“the“same,‘:!except“theŽ¡�‘>addition–¼tak�¸èes“place“at“the“tail“of“the“doubly“ended“queue.‘ñUThe“instructionŽŽŸ�’å€P31ŽŽŒ‹ Wh y� ý£ ?� ýä�‘>Í\removebeforeocplist–]™µn“l‘�ù¹remo•¸èv“es–]™the“² ¹CP“at“the“head“of“the“doubly“endedޤ �‘>queue›Ä n•¸èum“b•Gered˜µn¹.‘¾FThe˜instruction˜Í\removeafterocplist˜µn˜l‘öm¹do“es˜the˜sameŽ¡�‘>at–U the“tail“of“the“doubly“ended“queue.‘q€See“the“next“section“for“more“examples.ŽŸ!Ö��‘>Ì11Ž‘]¬%Input‘G\FiltersŽŸæ~�‘>¹Here–Zw�¸èe“come“to“the“crucial“parts“of“² ¹.‘ð-What“happ�Gens“to“the“input“stream“asŽ¡�‘>it–üpasses“through“translation“prošGcesses?‘]tWhat“is“the“in�¸èteraction“b˜et•¸èw“een‘üT�‘þUYŸ&úEŽ‘ã9X'sŽ¡�‘>macro-expansion–U and“² ¹'s“translation“pro�Gcesses?Ž¡�‘MWhen–~•² “¹is“in“horizonš¸ètal“mo�Gde“and“it“encoun˜ters“a“tok˜en“of“the“form“Óletter¹,Ž¡�‘>Óother_char¹,–EÓchar_given‘†_¹or› Óchar_num¹,“that˜c•¸èharacter˜and˜all˜the˜successiv“eŽ¡�‘>cš¸èharacters–QXin“those“categories“are“read“in˜to“a“buer.‘p=The“curren˜tly“activ˜e“² ¹CPŽ¡�‘>is–�ýapplied“to“the“buer,‘µÐand“the“result“is“placed“bacš¸èk“on˜to“the“input,‘µÐto“b�Ge“rereadŽ¡�‘>b�¸èy–U the“standard“T�‘þUYŸ&úEŽ‘ã9X“input“routines,“including“macro“expansion.Ž¡�‘MThe–vmcurrenš¸ètly“activ˜e“² ¹CP“is“designated“b˜y“a“pair“²(µv�[Ù;‘ª¨i²)¹,‘~Áwhere“µv‘ÒF¹is“a“scaledŽ¡�‘>v‘ÿqÐalue–Rband“µi“¹is“an“in�¸èteger.‘p–If“all“the“enabled“² ¹CPs“are“in“a“² ¹CP“list,‘Rîthen“the“µvŽ¡�‘>¹designates–Dthe“index“inš¸èto“the“² ¹CP“list“and“the“µi“¹designates“whic˜h“elemen˜t“inŽ¡�‘>the–U µv�[Ù¹-queue“is“currenš¸ètly“activ˜e.Ž¡�‘MOnce–¬ a“² ¹CP“has“bšGeen“used,‘ÁÆthe“µi“¹is“incremen�¸èted;‘×€if“it“p˜oin�¸èts“to“the“end“ofŽ¡�‘>the–U curren�¸èt“queue,“then“µv‘°ù¹is“set“to“the“next“queue,“and“µi“¹is“reset“to“1.Ž¡�‘MWhen–Îthe“last“enabled“² ¹CP“has“b�Geen“used,‘éthen“the“standard“tec�¸èhniques“forŽ¡�‘>treating–Úletters“and“other“c�¸èharacters“are“used,‘.Hnamely“generating“paragraphs,Ž¡�‘>etc.Ž¡�‘MWhat–Øßthis“means“is“that“it“is“no�¸èw“p�Gossible“to“apply“a“lter“on“the“ÓtextŽ¡�‘>¹of–Øa“le“without“macro-expansion,›>†generate“a“new“text,˜p�Gossibly“with“macrosŽ¡�‘>to–�¾b�Ge“expanded,–ߦmacro-expand,“re-apply›�¾lters,“etc.‘$[All˜this˜without˜activ�¸èeŽ¡�‘>cš¸èharacters,–U and“without“breaking“macro“pac˜k‘ÿqÐages.Ž¡�‘MHoš¸èw–Î:are“² ¹CP“lists“enabled?‘D‰² ¹CP“lists“are“placed“on“a“stac˜k,‘é5eac˜h“n˜um˜b�GeredŽ¡�‘>queue–Hbin“a“givš¸èen“list“masking“the“queues“with“the“same“n˜um˜b�Ger“for“the“listsŽ¡�‘>b�Geloš¸èw–U that“one“on“the“stac˜k.Ž¡�‘MThere–'çare“three“commands,‘0òwhicš¸èh“all“resp�Gect“the“grouping“mec˜hanism.‘bmTheŽ¡�‘>Í\clearocplists–i¹¹command“disables“all“² ¹CP“lists.‘¯JThe“Í\pushocplist“ÓOCPlistŽ¡�‘>¹command–¸ãpushes“ÓOCPlist‘«¬¹onš¸èto“the“stac˜k.‘=lThe“Í\popocplist“¹command“p�Gops“theŽ¡�‘>last–U list“from“the“stac�¸èk.Ž¡�‘MF‘ÿ*¸or–U example,“consider“the“folloš¸èwing“purely“h˜yp�Gothetical“situations:ŽŸ�‘X>\Í\ocplist\FrenchOCP–?¬=“\addbeforeocplist“1“\ocpAŽ¡�’Æwx\addbeforeocplist–?¬2“\ocpBŽ¡�’Æwx\addbeforeocplist–?¬3“\ocpCŽ¡�’Æwx\nullocplistŽŸ�‘X>\\ocplist\GermanOCP–?¬=“\addbeforeocplist“1“\ocpDŽ¡�’Æwx\addbeforeocplist–?¬2“\ocpEŽ¡�’Æwx\addbeforeocplist–?¬3“\ocpFŽ¡�’Æwx\nullocplistŽŽŸ�’å€P¹32ŽŽŒ‹!di y� ý£ ?� ýä�‘X>\Í\ocplist\ArabicOCP–?¬=“\addbeforeocplist“1“\ocpGޤ �’Æwx\addbeforeocplist–?¬2“\ocpHŽ¡�’Æwx\addbeforeocplist–?¬2“\ocpIŽ¡�’Æwx\addbeforeocplist–?¬3“\ocpJŽ¡�’Æwx\nullocplistŽ©�‘X>\\ocplist\SpecialArabicOCP‘?¬=Ž¡�’Æwx\addafterocplist–?¬3“\ocpKŽ¡�’Æwx\ArabicOCPަ�‘X>\\ocplist\UpperCaseOCP‘?¬=Ž¡�’Æwx\addbeforeocplist–?¬2.5“\ocpLŽ¡�’Æwx\nullocplistަ�‘>¹There–z are“no�¸èw“5“² ¹CP“lists“Ódene›ÿ}/d¹,‘ƒ`but“none“of“them“are“Óenable˜d¹.‘à�The“denedŽ¡�‘>lists‘U are:Ž©�‘X>\Í\ocplist\FrenchOCP‘?¬=Ž¡�‘m= [(1.0:\ocpA),–?¬(2.0:\ocpB),“(3.0:\ocpC)]Ž¡�‘X>\\ocplist\GermanOCP‘?¬=Ž¡�‘m= [(1.0:\ocpD),–?¬(2.0:\ocpE),“(3.0:\ocpF)]Ž¡�‘X>\\ocplist\ArabicOCP‘?¬=Ž¡�‘m= [(1.0:\ocpG),–?¬(2.0:\ocpH,\ocpI),“(3.0:\ocpJ)]Ž¡�‘X>\\ocplist\SpecialArabicOCP‘?¬=Ž¡�‘m= [(1.0:\ocpG),–?¬(2.0:\ocpH,\ocpI),“(3.0:\ocpJ,\ocpK)]Ž¡�‘X>\\ocplist\UpperCaseOCP‘?¬=Ž¡�‘m= [(2.5:\ocpL)]ަ�‘>¹Consider–U no�¸èw“the“sequence“of“instructionsަ�‘X>\Í\clearocplistsŽ¡�‘X>\\pushocplist\FrenchOCPŽ¡�‘X>\\pushocplist\UpperCaseOCPŽ¡�‘X>\\pushocplist\GermanOCPŽ¡�‘X>\\popocplistŽ¡�‘X>\\popocplistŽ¡�‘X>\\pushocplist\ArabicOCPŽ¡�‘X>\\pushocplist\SpecialArabicOCPŽ¡�‘X>\\pushocplist\GermanOCPަ�‘>¹The–U eectiv�¸èe“enabled“² ¹CP“list“is,“in“turn:ަ�‘X>\Í[]Ž¡�‘X>\[(1.0:\ocpA),–?¬(2.0:\ocpB),“(3.0:\ocpC)]Ž¡�‘X>\[(1.0:\ocpA),–?¬(2.0:\ocpB),“(2.5:\ocpL),“(3.0:\ocpC)]Ž¡�‘X>\[(1.0:\ocpD),–?¬(2.0:\ocpE),“(2.5:\ocpL),“(3.0:\ocpF)]Ž¡�‘X>\[(1.0:\ocpA),–?¬(2.0:\ocpB),“(2.5:\ocpL),“(3.0:\ocpC)]Ž¡�‘X>\[(1.0:\ocpA),–?¬(2.0:\ocpB),“(3.0:\ocpC)]ŽŽŸ�’å€P¹33ŽŽŒ‹"q y� ý£ ?� ýä�‘X>\Í[(1.0:\ocpG),–?¬(2.0:\ocpH,\ocpI),“(3.0:\ocpJ)]ޤ �‘X>\[(1.0:\ocpG),–?¬(2.0:\ocpH,\ocpI),“(3.0:\ocpJ,\ocpK)]Ž¡�‘X>\[(1.0:\ocpD),–?¬(2.0:\ocpE),“(3.0:\ocpF)]Ž©KÜ�‘M¹The–:‚rst“test“of“the“² ¹CP“lists“wš¸èas“for“Arabic.‘h¡The“text“w˜as“t˜yp�Ged“in“Üasci�J¦i¹,Ž¡�‘>using–9Éa“Latin“transliteration.‘hcThis“text“wš¸èas“rst“transformed“in˜to“Unico�Gde,‘?AtheŽ¡�‘>ocial–ÖÁ16-bit“enco�Gding“for“the“wš¸èorld's“c˜haracter“sets.‘öbThese“letters“w˜ere“thenŽ¡�‘>translated–oŽin�¸èto“their“appropriate“visual“forms“(isolated,–v)initial,“medial–oŽor“nal)Ž¡�‘>and–]4then“the“text“wš¸èas“translated“in˜to“the“fon˜t“enco�Gding.‘‰½During“the“secondŽ¡�‘>translation,‘töin•¸èter-letter›n˜blac“k˜spacing˜is˜inserted,‘tösince˜Arabic˜t“yp�Gesetting˜callsŽ¡�‘>for–U w�¸èord“expansion“to“ll“out“a“line.‘q€Here“is“the“input:ަ�‘X>\Í\font\ARfont=oar10–?¬scaled“1728“offset“256“%%“an“X-fontŽ¡�‘X>\\def\keshideh{%Ž¡�‘X>\\begingroup\penalty10000%Ž¡�‘X>\\clearocplists\xleaders\hbox{\char'767}\hskip0ptplus1fi%Ž¡�‘X>\\endgroup}Ž¡�‘X>\\ocp\TexUni=TeXArabicToUnicodeŽ¡�‘X>\\ocp\UniUniTwo=UnicodeToContUnicodeŽ¡�‘X>\\ocp\UniTwoFont=ContUnicodeToTeXArabicOutŽ¡�‘X>\\ocplist\ArabicOCP=%Ž¡�‘X>\\addbeforeocplist–?¬1“\TexUniŽ¡�‘X>\\addbeforeocplist–?¬1“\UniUniTwoŽ¡�‘X>\\addbeforeocplist–?¬1“\UniTwoFontŽ¡�‘X>\\nullocplistŽ¡�‘X>\\def\AR#1{\begingroup\noindent\pushocplist‘?¬\ArabicOCP%Ž¡�‘X>\\ARfont\language=255\textdir–?¬TRT“#1\endgroup}ަ�‘>¹Notice–’Lthat“the“Í\keshideh¹,‘¹Cwhicš¸èh“is“dynamically“inserted“b�Get˜w˜een“letters“b˜y“theŽ¡�‘>Í\UniUniTwo–‰Ã² ¹CP›ÿ*¸,“uses“the“Ífi“¹innit�¸èy˜.‘hIt“also“disables“all“of“the“² ¹CPs,‘–ëwithinŽ¡�‘>a‘U group.ŽŸ ê��‘>Ì12Ž‘]¬%Input–G\and“output“c��character“setsŽŸæ~�‘>¹In–"a“mš¸èultilingual,‘ˆheterogeneous“en˜vironmen˜t,‘ˆit“it“inevitable“that“dieren˜t“lesŽ¡�‘>will–†èb�Ge“written“using“dierenš¸èt“c˜haracter“sets.‘ØIt“is“ev˜en“p�Gossible“that“the“sameŽ¡�‘>le–|gmighš¸èt“ha˜v˜e“dieren˜t“parts“that“use“dieren˜t“c˜haracter“sets.‘)CHo˜w“is“it“p�GossibleŽ¡�‘>to–ÂZtag“these“les“inš¸èternally“so“that“² “¹can“read“and“write“dieren˜tly“enco�Gded“lesŽ¡�‘>in–U a“meaningful“manner.Ž¡�‘MAfter–;Flo�Goking“at“a“lot“of“cš¸èharacter“sets,‘s¥w˜e“ha˜v˜e“decided“that“the“v‘ÿqÐast“ma‘Ž0jorit˜yŽ¡�‘>of–�the“wš¸èorld's“c˜haracter“sets““unfortunately“not“all““can“b�Ge“categorized“in˜toŽ¡�‘>one–U of“the“follo�¸èwing“groups:ަ����‘M¸ŽŽŽ‘WÍonebyte–3„¹includes“all“those“c�¸èharacter“sets“that“include“the“basic“RomanŽ¡�‘Wletters,‘B bacš¸èkslash–§and“p�Gercen˜t“in“the“same“pšGositions“as“do˜es“Üasci�J¦i“¹(Üiso-Ž¡�‘W646¹).‘<§Hence–¶”all“the“Üiso-8859“¹cš¸èharacter“sets,‘ÖIas“w˜ell“as“man˜y“of“the“shiftedŽ¡�‘WEast-Asian–U sets,“suc�¸èh“as“Shift-Üjis¹,“are“included.ŽŽŸ�’å€P34ŽŽŒ‹#wk y� ý£ ?� ýä����‘M¸ŽŽŽ‘WÍebcdic–¹â¹includes“all“those“c�¸èharacter“sets“that“include“the“basic“Romanޤ �‘Wletters,‘ \bacš¸èkslash–÷¶and“p�Gercen˜t“in“the“same“pšGositions“as“do˜es“Üebcdic-us¹.Ž¡�‘WOnce–U again“there“are“shifted“cš¸èharacter“sets“that“fall“in˜to“this“category‘ÿ*¸.Ž©����‘M¸ŽŽŽ‘WÍtwobyte–3„¹includes“all“those“c�¸èharacter“sets“that“include“the“basic“RomanŽ¡�‘Wletters,‘c“bacš¸èkslash–úIand“p�Gercen˜t“in“the“same“pšGositions“as“do˜es“ÜunicodeŽ¡�‘W¹(Üiso-10646¹).ަ����‘M¸ŽŽŽ‘WÍtwobyteLE‘è¹is–èèthe“same“as“Ítwobyte¹,› Úbut“in“Little“Endian“order,˜for“Mi-Ž¡�‘Wcrosoft‘U Üunicode¹.ަ�‘>These–U categories“are“called“Ómo‘ÿ}/des¹.Ž¡�‘MIn–`N² ¹,‘cit“is“assumed“that“ev�¸èery“textual“input“source“and“textual“output“sinkŽ¡�‘>has–Í[a“mo�Gde,‘+ias“wš¸èell“as“t˜w˜o“translations:‘aöone“from“the“c˜haracter“set“to“theŽ¡�‘>inš¸èternal– ‰enco�Gding,‘:dand“one“from“the“in˜ternal“enco�Gding“to“the“c˜haracter“set“inŽ¡�‘>question.‘Þ#Normally–άthe“in�¸èternal“encošGding“will“b˜e“Üunicode¹,‘íwhic�¸èh“means“thatŽ¡�‘>linguistic–.Ninformation“sucš¸èh“as“h˜yphenation“will“only“need“to“b�Ge“dened“once.Ž¡�‘>There–eeare“situations“in“whicš¸èh“extra“c˜haracters“will“b�Ge“needed,‘ivif“the“c˜haractersŽ¡�‘>or–U their“scripts“are“not“included“in“Üunicode¹,“but“this“will“not“b�Ge“the“norm.Ž¡�‘M² –ZH¹has“t•¸èw“o–ZHbasic“stš¸èyle“of“input:‘{Ðthe“old“T�‘þUYŸ&úEŽ‘ã9X“st˜yle,‘[’or“the“automatic“² “¹st˜yle.Ž¡�‘>In–åthe“automatic“st�¸èyle,‘5ÖupšGon“op˜ening“a“le,‘5Ö² “¹reads“the“rst“t•¸èw“o‘åo˜ctets,‘5ÖandŽ¡�‘>draš¸èws–U the“follo˜wing“conclusions:ަ����‘M¸ŽŽŽ‘W¹Hex–U Í0025“¹(Üunicode“Í%¹)“or“Í005c“¹(Üunicode“Í\¹):‘q€the“mo�Gde“is“Ítwobyte¹.ަ����‘M¸ŽŽŽ‘W¹Hex–U Í2500“¹(Üunicode“Í%¹)“or“Í5c00“¹(Üunicode“Í\¹):‘q€the“mo�Gde“is“ÍtwobyteLE¹.ަ����‘M¸ŽŽŽ‘W¹Hex–U Í25“¹(ÜascišJ¦i“Í%¹)“or“Í5c“¹(Üasci˜i“Í\¹):‘q€the“mo�Gde“is“Íonebyte¹.ަ����‘M¸ŽŽŽ‘W¹Hex–U Í6c“¹(Üebcdic-us“Í%¹)“or“Íe0“¹(Üebcdic-us“Í\¹):‘q€the“mo�Gde“is“Íebcdic¹.ަ����‘M¸ŽŽŽ‘W¹If–Žýnone“of“these“four“situations“ošGccurs,‘Ýuthen“the“default“input“mo˜de“isŽ¡�‘Wassumed.ަ�‘>Here–U are“the“primitiv�¸èes“for“manipulating“mo�Gdes:ަ����‘M¸ŽŽŽ‘WÍ\DefaultInputMode–U ¸h�Ómo‘ÿ}/deŽ›< ¸i“¹:‘q€The“default“input“mo�Gde“is“set“to“¸h�Ómo‘ÿ}/deŽ˜¸i¹.ަ����‘M¸ŽŽŽ‘WÍ\noDefaultInputMode–U ¹:‘q€The“standard“T�‘þUYŸ&úEŽ‘ã9X“st�¸èyle“of“input“is“restored.ަ����‘M¸ŽŽŽ‘WÍ\DefaultOutputMode–Ðó¸h�Ómo‘ÿ}/deŽ›< ¸i“¹:‘/iThe“default“output“mo�Gde“is“set“to“¸h�Ómo‘ÿ}/deŽ˜¸i¹.ަ����‘M¸ŽŽŽ‘WÍ\noDefaultOutputMode–U ¹:‘q€The“standard“T�‘þUYŸ&úEŽ‘ã9X“st�¸èyle“of“output“is“restored.ަ����‘M¸ŽŽŽ‘WÍ\InputMode–ظh�ÓleŽ› †ž¸i“h�Ómo‘ÿ}/deŽ‘< ¸i“¹:‘ðThe“input“mo�Gde“for“le“¸h�ÓleŽ˜¸i“¹is“c�¸èhanged“toŽ¡�‘W¸h�Ómo‘ÿ}/deŽ‘< ¸i¹,›�Ïwhere–‚y¸h�ÓleŽ‘ †ž¸i“¹can“b�Ge“Ícurrentfile¹,˜meaning“the“curren�¸èt“le“b�GeingŽ¡�‘WÍ\input¹,–U or“an“inš¸èteger“µn¹,“whic˜h“corresp�Gonds“to“Í\openin“µn¹.ަ����‘M¸ŽŽŽ‘WÍ\noInputMode–¤¬¸h�ÓleŽ› †ž¸i“¹:‘™The“input“mo�Gde“for“le“¸h�ÓleŽ˜¸i“¹is“restored“to“theŽ¡�‘Wstandard–U T�‘þUYŸ&úEŽ‘ã9X“st�¸èyle.ŽŽŸ�’å€P35ŽŽŒ‹$‚¶ y� ý£ ?� ýä����‘M¸ŽŽŽ‘WÍ\OutputMode–Here–U are“the“primitiv�¸èes“for“manipulating“translations:Ž¡����‘M¸ŽŽŽ‘WÍ\DefaultInputTranslation– ¸h�Ómo‘ÿ}/deŽ‘< ¸i“h�Óo‘ÿ}/cp-le-nameŽ‘:~¸i“¹:‘\The“default“inputޤ �‘Wtranslation–U for“mo�Gde“¸h�Ómo‘ÿ}/deŽ‘< ¸i“¹is“¸h�Óo‘ÿ}/cp-le-nameŽ‘:~¸i¹.ަ����‘M¸ŽŽŽ‘WÍ\noDefaultInputTranslation–Œ¥¸h�Ómo‘ÿ}/deŽ‘< ¸i“¹:‘àŠThere“is“no“longer“a“default“in-Ž¡�‘Wput–U translation“for“mo�Gde“¸h�Ómo‘ÿ}/deŽ‘< ¸i¹.ަ����‘M¸ŽŽŽ‘WÍ\DefaultOutputTranslation–«:¸h�Ómo‘ÿ}/deŽ‘< ¸i“h�Óo‘ÿ}/cp-le-nameŽ‘:~¸i“¹:‘´The“default“out-Ž¡�‘Wput–U translation“for“mo�Gde“¸h�Ómo‘ÿ}/deŽ‘< ¸i“¹is“¸h�Óo‘ÿ}/cp-le-nameŽ‘:~¸i¹.ަ����‘M¸ŽŽŽ‘WÍ\noDefaultOutputTranslation–¨¸h�Ómo‘ÿ}/deŽ‘< ¸i“¹:‘iThere“is“no“longer“a“defaultŽ¡�‘Woutput–U translation“for“mo�Gde“¸h�Ómo‘ÿ}/deŽ‘< ¸i¹.ަ����‘M¸ŽŽŽ‘WÍ\InputTranslation–W¸h�ÓleŽ‘ †ž¸i“h�Óo‘ÿ}/cp-le-nameŽ‘:~¸i“¹:‘uAThe“input“translation“for“leŽ¡�‘W¸h�ÓleŽ› †ž¸i–U ¹is“¸h�Óo‘ÿ}/cp-le-nameŽ‘:~¸i¹,“where“¸h�ÓleŽ˜¸i“¹is“Ícurrentfile“¹or“an“in�¸èteger“µn¹.ަ����‘M¸ŽŽŽ‘WÍ\noInputTranslation–<3¸h�ÓleŽ‘ †ž¸i“¹:‘e There“is“no“longer“an“input“translation“forŽ¡�‘Wle‘U ¸h�ÓleŽ‘ †ž¸i¹.ަ����‘M¸ŽŽŽ‘WÍ\OutputTranslation–ï3¸h�ÓleŽ‘ †ž¸i“h�Óo‘ÿ}/cp-le-nameŽ‘:~¸i“¹:‘¥¦The“output“translation“forŽ¡�‘Wle–U ¸h�ÓleŽ› †ž¸i“¹is“¸h�Óo‘ÿ}/cp-le-nameŽ‘:~¸i¹,“where“¸h�ÓleŽ˜¸i“¹is“an“in�¸èteger“µn¹.ަ����‘M¸ŽŽŽ‘WÍ\noOutputTranslation–¢f¸h�ÓleŽ‘ †ž¸i“¹:‘ There“is“no“longer“an“output“translationŽ¡�‘Wfor–U le“¸h�ÓleŽ‘ †ž¸i¹.Ž©8è�‘>All–[™of“the“ab�Go•¸èv“e–[™instructions“apply“only“after“the“carriage“return“ending“theŽ¡�‘>curren�¸èt‘U line.Ž¡�‘MThe–_default“mošGde“when“the“system“b˜egins“is“² “¹st�¸èyle,‘¡�assuming‘‚žÍonebyte¹.Ž¡�‘>This–cis“sucienš¸èt“for“all“the“Íiso-8859“¹c˜haracter“sets,‘ˆfor“the“Üutf-8“¹enco�Gding“forŽ¡�‘>Üunicode¹,‘Ƹmanš¸èy–°national“c˜haracter“sets,‘Ƹand“most“mixed-length“c˜haracter“setsŽ¡�‘>used–U in“East“Asia.Ž¡�‘MOnce–ü¹the“basic“family“of“c�¸èharacter“sets“has“b�Geen“determined,‘g² “¹can“read“theŽ¡�‘>les,‘Y3and–%/actually“inš¸èterpret“con˜trol“sequences.‘á­It“is“then“pšGossible“to“b˜e“moreŽ¡�‘>spšGecic–l@and“to“sp˜ecify“exactly“what“translation“pro˜cess“m�¸èust“b˜e“applied“to“theŽ¡�‘>enš¸ètire–U le“to“con˜v˜ert“the“input“to“Üunicode¹.Ž¡�‘MInput–d5translations“are“simply“single“² ¹CPs,‘§ûwhic�¸èh“dier“from“input“ltersŽ¡�‘>in–Üthat“they“apply“to“Óal‘‚Ðl‘ä…¹c�¸èharacters“in“a“le,‘ýÊnot“simply“the“letters“and“otherŽ¡�‘>cš¸èharacters–Ø$in“horizon˜tal“mo�Gde.‘ú‹F‘ÿ*¸or“eac˜h“kind“of“mošGde,‘øåthere“can“b˜e“a“defaultŽ¡�‘>input‘U translation.Ž¡�‘MUp�Gon–í%startup,›&there“is“no“default“translation“for“the“Íonebyte¹,˜Ítwobyte“¹orŽ¡�‘>ÍtwobyteLE–U ¹mo�Gdes,“but“there“is“one“for“Íebcdic¹,“namelyަ�‘X>\Í\ocp\OCPebcdic=ebcdicŽ¡�‘X>\\DefaultInputTranslation–?¬ebcdic“\OCPebcdicŽŽŸ�’å€P¹36ŽŽŒ‹%�w y� ý£ ?� ýä��‘>Ì13Ž‘]¬%F‘þ®(urther‘G\w��corkŽŸæ~�‘>¹The–´² “¹pro‘Ž0ject“is“far“from“nished.‘;ÒCurrenš¸ètly“m˜uc˜h“of“the“curren˜t“w˜ork“is“gearedޤ �‘>to•¸èw“ards›Ñôfon“t˜dev“elopmen“t.‘EÇNev“ertheless,‘ì0new˜functionalit“y˜is˜to˜b�Ge˜added˜in˜theŽ¡�‘>future.‘[ÕIn–particular,›!more“general“metho�Gds“for“h�¸èyphenation,˜as“w�¸èell“as“for“textŽ¡�‘>output,–U using“² ¹TPs,“are“en�¸èvisaged.ŽŽŸ�’å€P37ŽŽŒøœæƒ’À;èy— %ó3t}\Êcmti7ó2ý': cmti10ó1åÉV eccc1000ó+ò"V cmbx10ó*qLË ecit1000ó)]fŒ ecbx1000ó(½HЃ ecti1000ó'¥!¢N ecbx1200ó&TÆ2‚ecrm0700ó#X«Q ff cmr12ó"qLË ectt1000ó!&Lt$ffffecbx1440ó¿&Ëectt0800ó¦÷²"ecrm0800óq¡% cmsy6ó¾KÈ cmsy8óÓ·å ecrm1200óX«Q cmr12óDÓítG®G®cmr17óUªsÉG®G®ecrm1728ó 1ê± ecrm1000ó !",š cmsy10ó O!â…cmsy7ó  b> cmmi10óKñ`y cmr10óÙ“ Rcmr7óú±u cmex10ùžÓßßßß