Next: , Previous: 8r, Up: Encodings

B.4 ‘dvips.enc’: Dvips encoding

% @psencodingfile{
%   author = "T. Rokicki, K. Berry",
%   version = "2.1",
%   date = "12jun05",
%   filename = "dvips.enc",
%   email = "",
%   codetable = "ISO/ASCII",
%   docstring = "An encoding for PostScript fonts to be used with TeX.
% This is almost the default encoding produced by the afm2tfm program
% that comes with the dvips distribution, when it is applied to a
% StandardEncoding PostScript font.  The positions of the accented
% characters (which afm2tfm assigned more or less randomly in the
% previous set of fonts) have been held fixed.
% It is almost upward-compatible with TeX text.  (The primary exceptions
% are dotaccent and hungarumlaut.)  Some of the ligatures are also in
% different positions, but this is not important, since ligature
% positions are defined in the TFM file, not by macros.
% The character positions were assigned in this order:
%   1) non-composite characters in the afm2tfm encoding (except dotlessj
%      was included in its plain TeX position);
%   2) available characters in the Cork (EC) encoding;
%   3) remaining composite characters in the base encoding (starting at
%      position 130 decimal).  We don't include all the other base
%      characters because that changes the height/depth/width tables in
%      the TFM files (because more characters mean more distinct values).
% We leave the initial positions open for the Greek letters in Times-Roman.
% "
% }
% 12jun05 - don't use extra @'s for Texinfo any more.
/DvipsEncoding [
  /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef
  /.notdef /.notdef /.notdef /.notdef
    /.notdef /quotesingle /exclamdown /questiondown
  /dotlessi /dotlessj /grave /acute /caron /breve /macron /ring
  /cedilla /germandbls /ae /oe /oslash /AE /OE /Oslash
  /space /exclam /quotedbl /numbersign /dollar /percent /ampersand /quoteright
  /parenleft /parenright /asterisk /plus /comma /hyphen /period /slash
  /zero /one /two /three /four /five /six /seven
  /eight /nine /colon /semicolon /less /equal /greater /question
  /at /A /B /C /D /E /F /G
  /H /I /J /K /L /M /N /O
  /P /Q /R /S /T /U /V /W
  /X /Y /Z /bracketleft /backslash /bracketright /circumflex /underscore
  /quoteleft /a /b /c /d /e /f /g
  /h /i /j /k /l /m /n /o
  /p /q /r /s /t /u /v /w
  /x /y /z /braceleft /bar /braceright /tilde /dieresis
  /asciicircum /asciitilde /Ccedilla /Iacute
      /Icircumflex /atilde /edieresis /egrave
  /scaron /zcaron /Eth /ff /ffi /ffl /.notdef /.notdef
  /.notdef /.notdef /Scaron /.notdef /.notdef /.notdef /.notdef /.notdef
  /Ydieresis /.notdef /Zcaron  /.notdef /.notdef /.notdef /.notdef /.notdef
  /.notdef /.notdef /cent /sterling /fraction /yen /florin /section
  /currency /copyright /quotedblleft /guillemotleft
      /guilsinglleft /guilsinglright /fi /fl
  /degree /endash /dagger /daggerdbl /periodcentered /.notdef /paragraph /bullet
  /quotesinglbase /quotedblbase /quotedblright /guillemotright
      /ellipsis /perthousand /.notdef /.notdef
  /Agrave /Aacute /Acircumflex /Atilde /Adieresis /Aring /.notdef /dotaccent
  /Egrave /Eacute /Ecircumflex /Edieresis
      /Igrave /hungarumlaut /ogonek /Idieresis
  /emdash /Ntilde /Ograve /Oacute /Ocircumflex /Otilde /Odieresis /.notdef
  /.notdef /Ugrave /Uacute /Ucircumflex /Udieresis /Yacute /Thorn /.notdef
  /agrave /aacute /acircumflex /ordfeminine
      /adieresis /aring /.notdef /ccedilla
  /Lslash /eacute /ecircumflex /ordmasculine
      /igrave /iacute /icircumflex /idieresis
  /.notdef /ntilde /ograve /oacute /ocircumflex /otilde /odieresis /.notdef
  /lslash /ugrave /uacute /ucircumflex /udieresis /yacute /thorn /ydieresis
] def