% Defines font synonymes for the fonts that are used for the postscript family.
% These fonts are based on raw fonts that are encoded in their default encoding.
% These font synonymes must not be the final ones because they may be mapped
% again by the reencode typescript.

\starttypescript [sans] [helvetica] [texnansi,ec,8r]
  \definefontsynonym [Helvetica]             [\typefaceencoding-phvr8a] [encoding=\typefaceencoding]
  \definefontsynonym [Helvetica-Bold]        [\typefaceencoding-phvb8a] [encoding=\typefaceencoding]
  \definefontsynonym [Helvetica-BoldOblique] [\typefaceencoding-phvbo8a][encoding=\typefaceencoding]
  \definefontsynonym [Helvetica-Oblique]     [\typefaceencoding-phvro8a][encoding=\typefaceencoding]
\stoptypescript

\starttypescript [serif] [times] [texnansi,ec,8r]
  \definefontsynonym [Times-Roman]      [\typefaceencoding-ptmr8a] [encoding=\typefaceencoding]
  \definefontsynonym [Times-Bold]       [\typefaceencoding-ptmb8a] [encoding=\typefaceencoding]
  \definefontsynonym [Times-BoldItalic] [\typefaceencoding-ptmbi8a][encoding=\typefaceencoding]
  \definefontsynonym [Times-Italic]     [\typefaceencoding-ptmri8a][encoding=\typefaceencoding]
\stoptypescript

\starttypescript [mono] [courier] [texnansi,ec,8r]
  \definefontsynonym [Courier]             [\typefaceencoding-pcrr8a] [encoding=\typefaceencoding]
  \definefontsynonym [Courier-Bold]        [\typefaceencoding-pcrb8a] [encoding=\typefaceencoding]
  \definefontsynonym [Courier-BoldOblique] [\typefaceencoding-pcrbo8a][encoding=\typefaceencoding]
  \definefontsynonym [Courier-Oblique]     [\typefaceencoding-pcrro8a][encoding=\typefaceencoding]
\stoptypescript

% The reencode typescript maps the font synonymes that are used for the postscript
% family to fonts that are based on reencoded raw fonts.

\starttypescript [reencode] [texnansi,ec,8r] [texnansi,ec,8r]
  \definefontsynonym [\typescripttwo-phvr8a] [\typescripttwo-\typescriptthree-phvr8a] [encoding=\typescripttwo]
  \definefontsynonym [\typescripttwo-phvb8a] [\typescripttwo-\typescriptthree-phvb8a] [encoding=\typescripttwo]
  \definefontsynonym [\typescripttwo-phvbo8a][\typescripttwo-\typescriptthree-phvbo8a][encoding=\typescripttwo]
  \definefontsynonym [\typescripttwo-phvro8a][\typescripttwo-\typescriptthree-phvro8a][encoding=\typescripttwo]
  \definefontsynonym [\typescripttwo-ptmr8a] [\typescripttwo-\typescriptthree-ptmr8a] [encoding=\typescripttwo]
  \definefontsynonym [\typescripttwo-ptmb8a] [\typescripttwo-\typescriptthree-ptmb8a] [encoding=\typescripttwo]
  \definefontsynonym [\typescripttwo-ptmbi8a][\typescripttwo-\typescriptthree-ptmbi8a][encoding=\typescripttwo]
  \definefontsynonym [\typescripttwo-ptmri8a][\typescripttwo-\typescriptthree-ptmri8a][encoding=\typescripttwo]
  \definefontsynonym [\typescripttwo-pcrr8a] [\typescripttwo-\typescriptthree-pcrr8a] [encoding=\typescripttwo]
  \definefontsynonym [\typescripttwo-pcrb8a] [\typescripttwo-\typescriptthree-pcrb8a] [encoding=\typescripttwo]
  \definefontsynonym [\typescripttwo-pcrbo8a][\typescripttwo-\typescriptthree-pcrbo8a][encoding=\typescripttwo]
  \definefontsynonym [\typescripttwo-pcrro8a][\typescripttwo-\typescriptthree-pcrro8a][encoding=\typescripttwo]
\stoptypescript

