% This file belongs to the Latin Modern package. The work is released under
% the GUST Font License. See the MANIFEST.txt and README.eng files
% for the details. For the most recent version of this license see
% http://www.gust.org.pl/fonts/licenses/GUST-FONT-LICENSE.txt or
% http://tug.org/fonts/licenses/GUST-FONT-LICENSE.txt

% This is LaTeX T5 encoding for Vietnamese with unicode-numbered glyphs 
% replaced by PS-named glyphs (zeroinferior renamed to perthousandzero);
% to be used with the Latin Modern family of fonts. 
%
% history:
%   version 1.0 (28-Jan-2000):
%     First version.
%
%   version 1.1 (29-Apr-2002):
%     Rewritten to make it AGL compliant.
%
%   version 1.2 (01-May-2002):
%     Use uni2423 instead uni2420.
%
%   version 1.3 (27-Sep-2002):
%   . Changed the following to Unicode entity:
%         0xB3  uni1EBD  etilde
%         0x93  uni1EBC  Etilde
%   . Ytilde (uni1EF8) was used in slot for ytilde (uni1EF9)
%   . using .notdef in slot for compound word mark (on position 0x17) caused
%         some problems so it was changed to cwm (for compatibilty with ec.enc)
%   . use sfthyphen in slot 127 instead of hyphen
%
%   version 1.3lm (01-Feb-2005):
%   . Unicode names replaced by the respective PostScript ones (BJ, JMN)
%
%   version 1.31lm (14-March-2005):
%   .  (BJ, JMN) zeroinferior renamed to perthousandzero
%
%   version 1.32lm (14-March-2005):
%   .  (BJ, JMN) name of the file changed to t5psn.enc
%      and the internal PS encoding table name---to /enct5psn
%
%   version 1.33lm (03-Sept-2005):
%   .  (BJ, JMN) name of the file changed to lm-rep-t5psn.enc
%      and the internal PS encoding table name---to /enclmrept5psn
%   version 1.34lm (13-Apr-2006):
%   .  sfthyphen --> hyphen.alt
% LIGKERN hyphen hyphen =: endash ;
% LIGKERN endash hyphen =: emdash ;
% LIGKERN quoteleft quoteleft =: quotedblleft ;
% LIGKERN quoteright quoteright =: quotedblright ;
% LIGKERN comma comma =: quotedblbase ;
%
%   We blow away kerns to and from spaces (TeX doesn't have a
%   space) and also remove any kerns from the numbers.
%
% LIGKERN space {} * ; * {} space ;
% LIGKERN zero {} * ; * {} zero ;
% LIGKERN one {} * ; * {} one ;
% LIGKERN two {} * ; * {} two ;
% LIGKERN three {} * ; * {} three ;
% LIGKERN four {} * ; * {} four ;
% LIGKERN five {} * ; * {} five ;
% LIGKERN six {} * ; * {} six ;
% LIGKERN seven {} * ; * {} seven ;
% LIGKERN eight {} * ; * {} eight ;
% LIGKERN nine {} * ; * {} nine ;
%
%
% Some notes on the glyph names:
%
% . We follow the Adobe Glyph List (AGL), also using its associated
%   algorithm.
%
% . The glyph `spacing dot below' (on position 0x05) is not in Unicode.
%   We call it `dotbelow'.
%
% . The compound word mark (on position 0x17) is rather an internal flag
%   for TeX than a real output glyph; it is thus replaced with `.notdef'.
%  
% . The following glyphs have no special name in the AGL and are thus
%   represented as a Unicode entity:
%
%     0x1A  uni1EF6  Y hook above
%     0x1B  uni1EF7  y hook above
%     0x1C  uni1EF4  Y dot below
%     0x1D  uni1EF5  y dot below
%
%     0x20  uni2423  graphic symbol for space
%
%     0x83  uni1EA2  A hook above
%     0x84  uni1EA0  A dot below
%     0x86  uni1EA6  A circumflex grave
%     0x87  uni1EA4  A circumflex acute
%     0x88  uni1EAA  A circumflex tilde
%     0x89  uni1EA8  A circumflex hook above
%     0x8A  uni1EAC  A circumflex dot below
%     0x8C  uni1EB0  A breve grave
%     0x8D  uni1EAE  A breve acute
%     0x8E  uni1EB4  A breve tilde
%     0x8F  uni1EB2  A breve hook above
%     0x90  uni1EB6  A breve dot below
%
%     0x93  uni1EBC  E tilde
%     0x94  uni1EBA  E hook above
%     0x95  uni1EB8  E dot below
%     0x97  uni1EC0  E circumflex grave
%     0x98  uni1EBE  E circumflex acute
%     0x99  uni1EC4  E circumflex tilde
%     0x9A  uni1EC2  E circumflex hook above
%     0x9B  uni1EC6  E circumflex dot below
%
%     0x9F  uni1EC8  I hook above
%
%     0xA3  uni1EA3  a hook above
%     0xA4  uni1EA1  a dot below
%     0xA6  uni1EA7  a circumflex grave
%     0xA7  uni1EA5  a circumflex acute
%     0xA8  uni1EAB  a circumflex tilde
%     0xA9  uni1EA9  a circumflex hook above
%     0xAA  uni1EAD  a circumflex dot below
%     0xAC  uni1EB1  a breve grave
%     0xAD  uni1EAF  a breve acute
%     0xAE  uni1EB5  a breve tilde
%     0xAF  uni1EB3  a breve hook above
%     0xB0  uni1EB7  a breve dot below
%
%     0xB3  uni1EBD  e tilde
%     0xB4  uni1EBB  e hook above
%     0xB5  uni1EB9  e dot below
%     0xB7  uni1EC1  e circumflex grave
%     0xB8  uni1EBF  e circumflex acute
%     0xB9  uni1EC5  e circumflex tilde
%     0xBA  uni1EC3  e circumflex hook above
%     0xBB  uni1EC7  e circumflex dot below
%
%     0xBF  uni1EC9  i hook above
%
%     0xC0  uni1ECA  I dot below
%
%     0xC4  uni1ECE  O hook above
%     0xC5  uni1ECC  O dot below
%     0xC7  uni1ED2  O circumflex grave
%     0xC8  uni1ED0  O circumflex acute
%     0xC9  uni1ED6  O circumflex tilde
%     0xCA  uni1ED4  O circumflex hook above
%     0xCB  uni1ED8  O circumflex dot below
%     0xCD  uni1EDC  O horn grave
%     0xCE  uni1EDA  O horn acute
%     0xCF  uni1EE0  O horn tilde
%     0xD0  uni1EDE  O horn hook above
%     0xD1  uni1EE2  O horn dot below
%
%     0xD5  uni1EE6  U hook above
%     0xD6  uni1EE4  U dot below
%     0xD8  uni1EEA  U horn grave
%     0xD9  uni1EE8  U horn acute
%     0xDA  uni1EEE  U horn tilde
%     0xDB  uni1EEC  U horn hook above
%     0xDC  uni1EF0  U horn dot below
%
%     0xDF  uni1EF8  Y tilde
%
%     0xE0  uni1ECB  i dot below
%
%     0xE4  uni1ECF  o hook above
%     0xE5  uni1ECD  o dot below
%     0xE7  uni1ED3  o circumflex grave
%     0xE8  uni1ED1  o circumflex acute
%     0xE9  uni1ED7  o circumflex tilde
%     0xEA  uni1ED5  o circumflex hook above
%     0xEB  uni1ED9  o circumflex dot below
%     0xED  uni1EDD  o horn grave
%     0xEE  uni1EDB  o horn acute
%     0xEF  uni1EE1  o horn tilde
%     0xF0  uni1EDF  o horn hook above
%     0xF1  uni1EE3  o horn dot below
%
%     0xF5  uni1EE7  u hook above
%     0xF6  uni1EE5  u dot below
%     0xF8  uni1EEB  u horn grave
%     0xF9  uni1EE9  u horn acute
%     0xFA  uni1EEF  u horn tilde
%     0xFB  uni1EED  u horn hook above
%     0xFC  uni1EF1  u horn dot below
%
%     0xFF  uni1EF9  y tilde
/enclmrept5psn [
% 0x00
  /grave /acute /circumflex /tilde
  /dieresis /dotbelow /ring /caron
  /breve /macron /dotaccent /cedilla
  /hookabove /quotesinglbase /guilsinglleft /guilsinglright
% 0x10
  /quotedblleft.cm /quotedblright.cm /quotedblbase.cm /guillemotleft
  /guillemotright /endash /emdash /cwm
  /perthousandzero /dotlessi /Yhookabove /yhookabove
  /Ydotbelow /ydotbelow /Dcroat /dcroat
% 0x20
  /visiblespace /exclam /quotedbl /numbersign
  /dollar /percent /ampersand /quoteright
  /parenleft /parenright /asterisk /plus
  /comma /hyphen /period /slash
% 0x30
  /zero /one /two /three
  /four /five /six /seven
  /eight /nine /colon /semicolon
  /less /equal /greater /question
% 0x40
  /at /A /B /C
  /D /E /F /G
  /H /I /J /K
  /L /M /N /O
% 0x50
  /P /Q /R /S
  /T /U /V /W
  /X /Y /Z /bracketleft
  /backslash /bracketright /asciicircum /underscore
% 0x60
  /quoteleft /a /b /c
  /d /e /f /g
  /h /i /j /k
  /l /m /n /o
% 0x70
  /p /q /r /s
  /t /u /v /w
  /x /y /z /braceleft
  /bar /braceright /asciitilde /hyphen.alt
% 0x80
  /Agrave /Aacute /Atilde /Ahookabove
  /Adotbelow /Acircumflex /Acircumflexgrave /Acircumflexacute
  /Acircumflextilde /Acircumflexhookabove /Acircumflexdotbelow /Abreve
  /Abrevegrave /Abreveacute /Abrevetilde /Abrevehookabove
% 0x90
  /Abrevedotbelow /Egrave /Eacute /Etilde
  /Ehookabove /Edotbelow /Ecircumflex /Ecircumflexgrave
  /Ecircumflexacute /Ecircumflextilde /Ecircumflexhookabove /Ecircumflexdotbelow
  /Igrave /Iacute /Itilde /Ihookabove
% 0xA0
  /agrave /aacute /atilde /ahookabove
  /adotbelow /acircumflex /acircumflexgrave /acircumflexacute
  /acircumflextilde /acircumflexhookabove /acircumflexdotbelow /abreve
  /abrevegrave /abreveacute /abrevetilde /abrevehookabove
% 0xB0
  /abrevedotbelow /egrave /eacute /etilde  
  /ehookabove /edotbelow /ecircumflex /ecircumflexgrave
  /ecircumflexacute /ecircumflextilde /ecircumflexhookabove /ecircumflexdotbelow
  /igrave /iacute /itilde /ihookabove
% 0xC0
  /Idotbelow /Ograve /Oacute /Otilde
  /Ohookabove /Odotbelow /Ocircumflex /Ocircumflexgrave
  /Ocircumflexacute /Ocircumflextilde /Ocircumflexhookabove /Ocircumflexdotbelow
  /Ohorn /Ohorngrave /Ohornacute /Ohorntilde
% 0xD0
  /Ohornhookabove /Ohorndotbelow /Ugrave /Uacute
  /Utilde /Uhookabove /Udotbelow /Uhorn
  /Uhorngrave /Uhornacute /Uhorntilde /Uhornhookabove
  /Uhorndotbelow /Ygrave /Yacute /Ytilde
% 0xE0
  /idotbelow /ograve /oacute /otilde
  /ohookabove /odotbelow /ocircumflex /ocircumflexgrave
  /ocircumflexacute /ocircumflextilde /ocircumflexhookabove /ocircumflexdotbelow
  /ohorn /ohorngrave /ohornacute /ohorntilde
% 0xF0
  /ohornhookabove /ohorndotbelow /ugrave /uacute
  /utilde /uhookabove /udotbelow /uhorn
  /uhorngrave /uhornacute /uhorntilde /uhornhookabove
  /uhorndotbelow /ygrave /yacute /ytilde
] def

% end of t5psn.enc
