home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 4 / FreshFish_May-June1994.bin / useful / dist / text / tex / pastex / macros / latex / nfss2 / psmetrics / ec.enc < prev    next >
Text File  |  1993-07-29  |  4KB  |  89 lines

  1. %
  2. %   This is the EC encoding.
  3. %
  4. %   These are the ligs and kerns in addition to those found in the
  5. %   AFM file.  (The only ligs in the Times-Roman.afm file are the
  6. %   fi and fl ligatures.)
  7. %
  8. % LIGKERN space l =: lslash ; space L =: Lslash ;
  9. % LIGKERN question quoteleft =: questiondown ; exclam quoteleft =: exclamdown ;
  10. % LIGKERN hyphen hyphen =: endash ; endash hyphen =: emdash ;
  11. % LIGKERN quoteleft quoteleft =: quotedblleft ;
  12. % LIGKERN quoteright quoteright =: quotedblright ;
  13. %
  14. %   We blow away kerns to and from spaces (TeX doesn't have a
  15. %   space) and also remove any kerns from the numbers (although
  16. %   the only kern pair that mentions a number in Times-Roman.afm
  17. %   is one one.)
  18. %
  19. % LIGKERN space {} * ; * {} space ; 0 {} * ; * {} 0 ;
  20. % LIGKERN 1 {} * ; * {} 1 ; 2 {} * ; * {} 2 ; 3 {} * ; * {} 3 ;
  21. % LIGKERN 4 {} * ; * {} 4 ; 5 {} * ; * {} 5 ; 6 {} * ; * {} 6 ;
  22. % LIGKERN 7 {} * ; * {} 7 ; 8 {} * ; * {} 8 ; 9 {} * ; * {} 9 ;
  23. % LIGKERN comma comma =: quotedblbase ; less less =: guillemotleft ;
  24. % LIGKERN greater greater =: guillemotright ;
  25. %
  26. %   0x18 should be a small zero which you can put after a percent sign
  27. %   to make it look like perthousand, but since that character is not
  28. %   available and perthousand is, we put perthousand into 0x18 and add
  29. %   a ligature to achieve the same result.
  30. % LIGKERN percent perthousand =: perthousand ;
  31. %
  32. /ECEncoding [          % now 256 chars follow
  33. % 0x00
  34.   /grave /acute /circumflex /tilde /dieresis /hungarumlaut /ring /caron
  35.   /breve /macron /dotaccent /cedilla
  36.   /ogonek /quotesinglbase /guilsinglleft /guilsinglright
  37. % 0x10
  38.   /quotedblleft /quotedblright /quotedblbase /guillemotleft 
  39.   /guillemotright /endash /emdash /compoundwordmark
  40.   /perthousand /dotlessi /dotlessj /ff /fi /fl /ffi /ffl
  41. % 0x20
  42.   /visiblespace /exclam /quotedbl /numbersign
  43.   /dollar /percent /ampersand /quoteright
  44.   /parenleft /parenright /asterisk /plus /comma /hyphen /period /slash
  45. % 0x30
  46.   /zero /one /two /three /four /five /six /seven
  47.   /eight /nine /colon /semicolon /less /equal /greater /question
  48. % 0x40
  49.   /at /A /B /C /D /E /F /G /H /I /J /K /L /M /N /O
  50. % 0x50
  51.   /P /Q /R /S /T /U /V /W
  52.   /X /Y /Z /bracketleft /backslash /bracketright /asciicircum /underscore
  53. % 0x60
  54.   /quoteleft /a /b /c /d /e /f /g /h /i /j /k /l /m /n /o
  55. % 0x70
  56.   /p /q /r /s /t /u /v /w
  57.   /x /y /z /braceleft /bar /braceright /asciitilde /hyphen
  58. % 0x80
  59.   /Abreve /Aogonek /Cacute /Ccaron /Dcaron /Ecaron /Eogonek /Gbreve
  60.   /Lacute /Lquoteright /Lslash /Nacute /Ncaron /Eng /Ohungarumlaut /Racute
  61. % 0x90
  62.   /Rcaron /Sacute /Scaron /Scedilla /Tcaron /Tcedilla /Uhungarumlaut /Uring
  63.   /Ydieresis /Zacute /Zcaron /Zdotaccent /IJ /Idotaccent /dbar /section
  64. % 0xA0
  65.   /abreve /aogonek /cacute /ccaron /dquoteright /ecaron /eogonek /gbreve
  66.   /lacute /lquoteright /lslash /nacute /ncaron /eng /ohungarumlaut /racute
  67. % 0xB0
  68.   /rcaron /sacute /scaron /scedilla
  69.   /tquoteright /tcedilla /uhungarumlaut /uring
  70.   /ydieresis /zacute /zcaron /zdotaccent
  71.   /ij /exclamdown /questiondown /sterling
  72. % 0xC0
  73.   /Agrave /Aacute /Acircumflex /Atilde /Adieresis /Aring /AE /Ccedilla
  74.   /Egrave /Eacute /Ecircumflex /Edieresis
  75.   /Igrave /Iacute /Icircumflex /Idieresis
  76. % 0xD0
  77.   /Eth /Ntilde /Ograve /Oacute /Ocircumflex /Otilde /Odieresis /OE
  78.   /Oslash /Ugrave /Uacute /Ucircumflex /Udieresis /Yacute /Thorn /Germandbls
  79. % 0xE0
  80.   /agrave /aacute /acircumflex /atilde /adieresis /aring /ae /ccedilla
  81.   /egrave /eacute /ecircumflex /edieresis
  82.   /igrave /iacute /icircumflex /idieresis
  83. % 0xF0
  84.   /eth /ntilde /ograve /oacute /ocircumflex /otilde /odieresis /oe
  85.   /oslash /ugrave /uacute /ucircumflex /udieresis /yacute /thorn /germandbls
  86. ] def
  87.  
  88.