%D \module
%D   [       file=type-gentium,
%D        version=2010.06.22,
%D          title=\CONTEXT\ Typescript Macros,
%D       subtitle=Typescript file for Gentium,
%D         author={Thomas A. Schmitz},
%D           date=\currentdate,
%D      copyright=Public Domain]

% Typescript for the Gentium font

\beginOLDTEX

\starttypescript [serif] [gentium] [ec,texnansi,qx,t5,l7x]
  \definefontsynonym [Gentium-Roman]       [\typescriptthree-gentium-roman]            [encoding=\typescriptthree]
  \definefontsynonym [Gentium-Italic]      [\typescriptthree-gentium-italic]           [encoding=\typescriptthree]
  \definefontsynonym [Gentium-Bold]        [\typescriptthree-gentiumbasic-bold]        [encoding=\typescriptthree]
  \definefontsynonym [Gentium-BoldItalic]  [\typescriptthree-gentiumbasic-bolditalic]  [encoding=\typescriptthree]
  \definefontsynonym [Gentium-Slanted]     [Gentium-Italic]
  \definefontsynonym [Gentium-BoldSlanted] [Gentium-BoldItalic]

\loadmapfile[gentium-\typescriptthree.map]
\stoptypescript

\starttypescript [serif] [gentium] [agr,t2a]
  \definefontsynonym [Gentium-Roman]       [\typescriptthree-gentium-roman]  [encoding=\typescriptthree]
  \definefontsynonym [Gentium-Italic]      [\typescriptthree-gentium-italic] [encoding=\typescriptthree]
  \definefontsynonym [Gentium-Bold]        [Gentium-Roman]
  \definefontsynonym [Gentium-BoldItalic]  [Gentium-Italic]
  \definefontsynonym [Gentium-Slanted]     [Gentium-Italic]
  \definefontsynonym [Gentium-BoldSlanted] [Gentium-Italic]

  \loadmapfile[gentium-\typescriptthree.map]
\stoptypescript

\starttypescript [serif] [gentium] [name]
  \usetypescript[serif][fallback]
  \definefontsynonym [Serif]            [Gentium-Roman]
  \definefontsynonym [SerifItalic]      [Gentium-Italic]
  \definefontsynonym [SerifBold]        [Gentium-Bold]
  \definefontsynonym [SerifBoldItalic]  [Gentium-BoldItalic]
  \definefontsynonym [SerifSlanted]     [Gentium-Slanted]
  \definefontsynonym [SerifBoldSlanted] [Gentium-BoldSlanted]
  \definefontsynonym [SerifCaps]        [Serif]
  \definefontsynonym [OldStyle]         [Serif]
\stoptypescript

\starttypescript [gentium] [ec,texnansi,qx,t5,t2a,agr,l7x]
  \definetypeface [gentium] [rm] [serif] [gentium] [default] [encoding=\typescripttwo]
\stoptypescript

\endOLDTEX

\beginNEWTEX

\starttypescript [serif] [gentium]
  \definefontsynonym [Gentium-Roman]       [file:GenR102]  [features=default]
  \definefontsynonym [Gentium-Italic]      [file:GenI102]  [features=default]
  \definefontsynonym [Gentium-Bold]        [file:GenBasB]  [features=default]
  \definefontsynonym [Gentium-BoldItalic]  [file:GenBasBI] [features=default]
  \definefontsynonym [Gentium-Slanted]     [Gentium-Italic]
  \definefontsynonym [Gentium-BoldSlanted] [Gentium-BoldItalic]
\stoptypescript

\starttypescript [serif] [gentium] [name]
  \definefontsynonym [Serif]            [Gentium-Roman]
  \definefontsynonym [SerifItalic]      [Gentium-Italic]
  \definefontsynonym [SerifBold]        [Gentium-Bold]
  \definefontsynonym [SerifBoldItalic]  [Gentium-BoldItalic]
  \definefontsynonym [SerifSlanted]     [Gentium-Slanted]
  \definefontsynonym [SerifBoldSlanted] [Gentium-BoldSlanted]
  \definefontsynonym [SerifCaps]        [Serif]
  \definefontsynonym [OldStyle]         [Serif]
\stoptypescript

\starttypescript [gentium]
  \definetypeface [gentium] [rm] [serif] [gentium] [default] [features=default]
\stoptypescript

\endNEWTEX
