%D \module
%D   [       file=type-buy,
%D        version=2003.07.08, % 2001.04.12,
%D          title=\CONTEXT\ Typescript Macros,
%D       subtitle=A Few Commercial Fonts,
%D         author=Hans Hagen,
%D           date=\currentdate,
%D      copyright={PRAGMA / Hans Hagen \& Ton Otten}]
%C
%C This module is part of the \CONTEXT\ macro||package and is
%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
%C details.

% fallback

% todo \typescriptthree

\starttypescript [serif] [fallback]

  \definefontsynonym [SerifBold]        [Serif]
  \definefontsynonym [SerifItalic]      [Serif]
  \definefontsynonym [SerifSlanted]     [SerifItalic]
  \definefontsynonym [SerifBoldItalic]  [SerifBold]
  \definefontsynonym [SerifBoldSlanted] [SerifBoldItalic]
  \definefontsynonym [SerifCaps]        [Serif]

\stoptypescript

\starttypescript [sans] [fallback]

  \definefontsynonym [SansBold]        [Sans]
  \definefontsynonym [SansItalic]      [Sans]
  \definefontsynonym [SansSlanted]     [SansItalic]
  \definefontsynonym [SansBoldItalic]  [SansBold]
  \definefontsynonym [SansBoldSlanted] [SansBoldItalic]
  \definefontsynonym [SansCaps]        [Sans]

\stoptypescript

\starttypescript [mono] [fallback]

  \definefontsynonym [MonoBold]        [Mono]
  \definefontsynonym [MonoItalic]      [Mono]
  \definefontsynonym [MonoSlanted]     [MonoItalic]
  \definefontsynonym [MonoBoldItalic]  [MonoBold]
  \definefontsynonym [MonoBoldSlanted] [MonoBoldItalic]
  \definefontsynonym [MonoCaps]        [Mono]

\stoptypescript

% ITC Officina

\starttypescript [map] [ec,8r,texnansi]
  \loadmapfile [\typefaceencoding-itc-officina]
\stoptypescript

\starttypescript [serif] [officina] [name]

  \definefontsynonym [Serif]           [OfficinaSerif-Book]
  \definefontsynonym [SerifItalic]     [OfficinaSerif-BookItalic]
  \definefontsynonym [SerifSlanted]    [OfficinaSerif-BookSlanted]
  \definefontsynonym [SerifBold]       [OfficinaSerif-Bold]
  \definefontsynonym [SerifBoldItalic] [OfficinaSerif-BoldItalic]
  \definefontsynonym [SerifBoldSlanted][OfficinaSerif-BoldSlanted]
  \definefontsynonym [SerifCaps]       [OfficinaSerif-Caps]

\stoptypescript

\starttypescript [sans] [officina] [name]

  \definefontsynonym [Sans]           [OfficinaSans-Book]
  \definefontsynonym [SansItalic]     [OfficinaSans-BookItalic]
  \definefontsynonym [SansSlanted]    [OfficinaSans-BookSlanted]
  \definefontsynonym [SansBold]       [OfficinaSans-Bold]
  \definefontsynonym [SansBoldItalic] [OfficinaSans-BoldItalic]
  \definefontsynonym [SansBoldSlanted][OfficinaSans-BoldSlanted]
  \definefontsynonym [SansCaps]       [OfficinaSans-Caps]

\stoptypescript

\starttypescript [serif] [officina] [texnansi,ec,8r]

  \definefontsynonym [OfficinaSerif-Book]       [\typefaceencoding-ovbk] [encoding=\typefaceencoding]
  \definefontsynonym [OfficinaSerif-BookItalic] [\typefaceencoding-ovwi] [encoding=\typefaceencoding]
  \definefontsynonym [OfficinaSerif-Bold]       [\typefaceencoding-ovb]  [encoding=\typefaceencoding]
  \definefontsynonym [OfficinaSerif-BoldItalic] [\typefaceencoding-ovbi] [encoding=\typefaceencoding]

  \definefontsynonym [OfficinaSerif-BookSlanted][\typefaceencoding-ovbk-slanted-167] [encoding=\typefaceencoding]
  \definefontsynonym [OfficinaSerif-BoldSlanted][\typefaceencoding-ovb-slanted-167] [encoding=\typefaceencoding]
  \definefontsynonym [OfficinaSerif-Caps]       [\typefaceencoding-ovbk-capitalized-800] [encoding=\typefaceencoding]

\stoptypescript

\starttypescript [sans] [officina] [texnansi,ec,8r]

  \definefontsynonym [OfficinaSans-Book]       [\typefaceencoding-owbk] [encoding=\typefaceencoding]
  \definefontsynonym [OfficinaSans-BookItalic] [\typefaceencoding-owwi] [encoding=\typefaceencoding]
  \definefontsynonym [OfficinaSans-Bold]       [\typefaceencoding-owb]  [encoding=\typefaceencoding]
  \definefontsynonym [OfficinaSans-BoldItalic] [\typefaceencoding-owbi] [encoding=\typefaceencoding]

  \definefontsynonym [OfficinaSans-BookSlanted][\typefaceencoding-owbk-slanted-167] [encoding=\typefaceencoding]
  \definefontsynonym [OfficinaSans-BoldSlanted][\typefaceencoding-owb-slanted-167] [encoding=\typefaceencoding]
  \definefontsynonym [OfficinaSans-Caps]       [\typefaceencoding-owbk-capitalized-800] [encoding=\typefaceencoding]

\stoptypescript

% FontFont Meta

\starttypescript [map] [ec,8r,texnansi]
  \loadmapfile [\typefaceencoding-fontfont-meta]
\stoptypescript

\starttypescript [sans] [meta] [name]

  \definefontsynonym [Sans]           [MetaNormal-Roman]
  \definefontsynonym [SansItalic]     [MetaNormal-Italic]
  \definefontsynonym [SansSlanted]    [MetaNormal-Italic]
  \definefontsynonym [SansBold]       [MetaBold-Roman]
  \definefontsynonym [SansBoldItalic] [MetaBold-Italic]
  \definefontsynonym [SansBoldSlanted][MetaBold-Italic]
  \definefontsynonym [SansCaps]       [MetaNormal-Caps]

\stoptypescript

\starttypescript [sans] [meta-lf] [name]

  \definefontsynonym [Sans]           [MetaBookLF-Roman]
  \definefontsynonym [SansBold]       [MetaBoldLF-Roman]
  \definefontsynonym [SansItalic]     [MetaBookLF-Italic]
  \definefontsynonym [SansBoldItalic] [MetaBoldLF-Italic]
  \definefontsynonym [SansCaps]       [MetaBookLF-Caps]

\stoptypescript

\starttypescript [sans] [meta,meta-book] [texnansi,ec,8r]

  \definefontsynonym [MetaBook-Roman]      [\typefaceencoding-mtbk]   [encoding=\typefaceencoding]
  \definefontsynonym [MetaBook-Italic]     [\typefaceencoding-mtbki]  [encoding=\typefaceencoding]
  \definefontsynonym [MetaBook-Caps]       [\typefaceencoding-mtbkc]  [encoding=\typefaceencoding]
  \definefontsynonym [MetaBook-ItalicCaps] [\typefaceencoding-mtbkic] [encoding=\typefaceencoding]

\stoptypescript

\starttypescript [sans] [meta-lf,meta-book-lf] [texnansi,ec,8r]

  \definefontsynonym [MetaBookLF-Roman]      [\typefaceencoding-mtbkf]   [encoding=\typefaceencoding]
  \definefontsynonym [MetaBookLF-Italic]     [\typefaceencoding-mtbkfi]  [encoding=\typefaceencoding]
  \definefontsynonym [MetaBookLF-Caps]       [\typefaceencoding-mtbkfc]  [encoding=\typefaceencoding]
  \definefontsynonym [MetaBookLF-ItalicCaps] [\typefaceencoding-mtbkfic] [encoding=\typefaceencoding]

\stoptypescript

\starttypescript [sans] [meta,meta-bold] [texnansi,ec,8r]

  \definefontsynonym [MetaBold-Roman]      [\typefaceencoding-mtbd]   [encoding=\typefaceencoding]
  \definefontsynonym [MetaBold-Italic]     [\typefaceencoding-mtbdi]  [encoding=\typefaceencoding]
  \definefontsynonym [MetaBold-Caps]       [\typefaceencoding-mtbdc]  [encoding=\typefaceencoding]
  \definefontsynonym [MetaBold-ItalicCaps] [\typefaceencoding-mtbdic] [encoding=\typefaceencoding]

\stoptypescript

\starttypescript [sans] [meta-lf,meta-bold-lf] [texnansi,ec,8r]

  \definefontsynonym [MetaBoldLF-Roman]      [\typefaceencoding-mtbdf]   [encoding=\typefaceencoding]
  \definefontsynonym [MetaBoldLF-Italic]     [\typefaceencoding-mtbdfi]  [encoding=\typefaceencoding]
  \definefontsynonym [MetaBoldLF-Caps]       [\typefaceencoding-mtbdfc]  [encoding=\typefaceencoding]
  \definefontsynonym [MetaBoldLF-ItalicCaps] [\typefaceencoding-mtbdfic] [encoding=\typefaceencoding]

\stoptypescript

\starttypescript [sans] [meta-normal] [texnansi,ec,8r]

  \definefontsynonym [MetaNormal-Roman]      [\typefaceencoding-mtn]   [encoding=\typefaceencoding]
  \definefontsynonym [MetaNormal-Italic]     [\typefaceencoding-mtni]  [encoding=\typefaceencoding]
  \definefontsynonym [MetaNormal-Caps]       [\typefaceencoding-mtnc]  [encoding=\typefaceencoding]
  \definefontsynonym [MetaNormal-ItalicCaps] [\typefaceencoding-mtnic] [encoding=\typefaceencoding]

\stoptypescript

\starttypescript [sans] [meta-normal-lf] [texnansi,ec,8r]

  \definefontsynonym [MetaNormalLF-Roman]      [\typefaceencoding-mtnf]   [encoding=\typefaceencoding]
  \definefontsynonym [MetaNormalLF-Italic]     [\typefaceencoding-mtnfi]  [encoding=\typefaceencoding]
  \definefontsynonym [MetaNormalLF-Caps]       [\typefaceencoding-mtnfc]  [encoding=\typefaceencoding]
  \definefontsynonym [MetaNormalLF-ItalicCaps] [\typefaceencoding-mtnfic] [encoding=\typefaceencoding]

\stoptypescript

\starttypescript [sans] [meta-medium] [texnansi,ec,8r]

  \definefontsynonym [MetaMedium-Roman]      [\typefaceencoding-mtm]   [encoding=\typefaceencoding]
  \definefontsynonym [MetaMedium-Italic]     [\typefaceencoding-mtmi]  [encoding=\typefaceencoding]
  \definefontsynonym [MetaMedium-Caps]       [\typefaceencoding-mtmc]  [encoding=\typefaceencoding]
  \definefontsynonym [MetaMedium-ItalicCaps] [\typefaceencoding-mtmic] [encoding=\typefaceencoding]

\stoptypescript

\starttypescript [sans] [meta-medium-lf] [texnansi,ec,8r]

  \definefontsynonym [MetaMediumLF-Roman]      [\typefaceencoding-mtmf]   [encoding=\typefaceencoding]
  \definefontsynonym [MetaMediumLF-Italic]     [\typefaceencoding-mtmfi]  [encoding=\typefaceencoding]
  \definefontsynonym [MetaMediumLF-Caps]       [\typefaceencoding-mtmfc]  [encoding=\typefaceencoding]
  \definefontsynonym [MetaMediumLF-ItalicCaps] [\typefaceencoding-mtmfic] [encoding=\typefaceencoding]

\stoptypescript

\starttypescript [sans] [meta-black] [texnansi,ec,8r]

  \definefontsynonym [MetaBlack-Roman]      [\typefaceencoding-mtbl]   [encoding=\typefaceencoding]
  \definefontsynonym [MetaBlack-Italic]     [\typefaceencoding-mtbli]  [encoding=\typefaceencoding]
  \definefontsynonym [MetaBlack-Caps]       [\typefaceencoding-mtblc]  [encoding=\typefaceencoding]
  \definefontsynonym [MetaBlack-ItalicCaps] [\typefaceencoding-mtblic] [encoding=\typefaceencoding]

\stoptypescript

\starttypescript [sans] [meta-black-lf] [texnansi,ec,8r]

  \definefontsynonym [MetaBlackLF-Roman]      [\typefaceencoding-mtblf]   [encoding=\typefaceencoding]
  \definefontsynonym [MetaBlackLF-Italic]     [\typefaceencoding-mtblfi]  [encoding=\typefaceencoding]
  \definefontsynonym [MetaBlackLF-Caps]       [\typefaceencoding-mtblfc]  [encoding=\typefaceencoding]
  \definefontsynonym [MetaBlackLF-ItalicCaps] [\typefaceencoding-mtblfic] [encoding=\typefaceencoding]

\stoptypescript

\starttypescript [expert] [meta] % incomplete 

  \definefontsynonym [MetaNormal-Expert] [mtnx]   

\stoptypescript

%D Linotype Univers 

\starttypescript [map] [all] % [texnansi]
  \loadmapfile[texnansi-linotype-univers.map]
\stoptypescript

\starttypescript [sans] [univers,univers-light,univers-black] [name]

  \definefontsynonym [Sans]            [Univers]
  \definefontsynonym [SansBold]        [Univers-Bold]
  \definefontsynonym [SansSlanted]     [Univers-Oblique]
  \definefontsynonym [SansBoldSlanted] [Univers-BoldOblique]

\stoptypescript

\starttypescript [sans] [univers-light] [name]

  \definefontsynonym [Sans]            [Univers-Light]
  \definefontsynonym [SansSlanted]     [Univers-LightOblique]

\stoptypescript

\starttypescript [sans] [univers-black] [name]

  \definefontsynonym [Sans]            [Univers-Black]
  \definefontsynonym [SansSlanted]     [Univers-BlackOblique]
  \definefontsynonym [SansBold]        [Univers-Black]
  \definefontsynonym [SansBoldSlanted] [Univers-BlackOblique]

\stoptypescript

\starttypescript [sans] [univers,univers-black,univers-light] [texnansi,ec,8r]

  \definefontsynonym [Univers-Light]        [\typefaceencoding-lt50136] [encoding=\typefaceencoding]
  \definefontsynonym [Univers-LightOblique] [\typefaceencoding-lt50137] [encoding=\typefaceencoding]

  \definefontsynonym [Univers]              [\typefaceencoding-lt50138] [encoding=\typefaceencoding]
  \definefontsynonym [Univers-Oblique]      [\typefaceencoding-lt50139] [encoding=\typefaceencoding]
  \definefontsynonym [Univers-Bold]         [\typefaceencoding-lt50140] [encoding=\typefaceencoding]
  \definefontsynonym [Univers-BoldOblique]  [\typefaceencoding-lt50141] [encoding=\typefaceencoding]

  \definefontsynonym [Univers-Black]        [\typefaceencoding-lt50142] [encoding=\typefaceencoding]
  \definefontsynonym [Univers-BlackOblique] [\typefaceencoding-lt50143] [encoding=\typefaceencoding]

\stoptypescript

% mendoza

\starttypescript [all]
  \loadmapfile[texnansi-itc-mendoza.map]
\stoptypescript

\starttypescript [serif] [mendoza] [name]

  \definefontsynonym [Serif]               [MendozaRoman-Book]
  \definefontsynonym [SerifCaps]           [MendozaRoman-Book]
  \definefontsynonym [SerifSlanted]        [MendozaRoman-BookItalic]
  \definefontsynonym [SerifItalic]         [MendozaRoman-BookItalic]
  \definefontsynonym [SerifBold]           [MendozaRoman-Bold]
  \definefontsynonym [SerifBoldSlanted]    [MendozaRoman-BoldItalic]
  \definefontsynonym [SerifBoldItalic]     [MendozaRoman-BoldItalic]

\stoptypescript

\starttypescript [serif] [mendoza] [texnansi]

  \definefontsynonym[MendozaRoman-Bold]        [texnansi-zab] [encoding=texnansi]
  \definefontsynonym[MendozaRoman-BoldItalic]  [texnansi-zabi][encoding=texnansi]
  \definefontsynonym[MendozaRoman-Medium]      [texnansi-zam] [encoding=texnansi]
  \definefontsynonym[MendozaRoman-MediumItalic][texnansi-zami][encoding=texnansi]
  \definefontsynonym[MendozaRoman-Book]        [texnansi-zaw] [encoding=texnansi]
  \definefontsynonym[MendozaRoman-BookItalic]  [texnansi-zawi][encoding=texnansi]

\stoptypescript

% frutiger 

\starttypescript [all]
  \loadmapfile[texnansi-adobe-frutiger.map]
\stoptypescript

\starttypescript [sans] [frutiger] [name]

  \definefontsynonym [Sans]            [Frutiger-Roman]
  \definefontsynonym [SansCaps]        [Frutiger-Roman]
  \definefontsynonym [SansItalic]      [Frutiger-Italic]
  \definefontsynonym [SansSlanted]     [Frutiger-Italic]
  \definefontsynonym [SansBold]        [Frutiger-Bold]
  \definefontsynonym [SansBoldItalic]  [Frutiger-BoldItalic]
  \definefontsynonym [SansBoldSlanted] [Frutiger-BoldItalic]

\stoptypescript

\starttypescript [sans] [frutiger] [texnansi]

  \definefontsynonym[Frutiger-Bold]       [texnansi-ftb]  [encoding=texnansi]
  \definefontsynonym[Frutiger-BoldItalic] [texnansi-ftbi] [encoding=texnansi]
  \definefontsynonym[Frutiger-Black]      [texnansi-ftbl] [encoding=texnansi]
  \definefontsynonym[Frutiger-BlackItalic][texnansi-ftbli][encoding=texnansi]
  \definefontsynonym[Frutiger-Italic]     [texnansi-fti]  [encoding=texnansi]
  \definefontsynonym[Frutiger-Light]      [texnansi-ftl]  [encoding=texnansi]
  \definefontsynonym[Frutiger-LightItalic][texnansi-ftli] [encoding=texnansi]
  \definefontsynonym[Frutiger-Roman]      [texnansi-ftr]  [encoding=texnansi]
  \definefontsynonym[Frutiger-UltraBlack] [texnansi-ftubl][encoding=texnansi]

\stoptypescript

% utopia (already in other files) 
% 
% \starttypescript [map] [ec,8r,texnansi]
%   \loadmapfile [\typefaceencoding-adobe-utopia]
% \stoptypescript
% 
% \starttypescript [serif] [utopia] [name]
% 
%   \definefontsynonym [Serif]           [Utopia-Regular]
%   \definefontsynonym [SerifItalic]     [Utopia-Italic]
%   \definefontsynonym [SerifSlanted]    [Utopia-Slanted]
%   \definefontsynonym [SerifBold]       [Utopia-Bold]
%   \definefontsynonym [SerifBoldItalic] [Utopia-BoldItalic]
%   \definefontsynonym [SerifBoldSlanted][Utopia-BoldSlanted]
% 
% \stoptypescript
% 
% \starttypescript [serif] [utopia] [texnansi]
% 
%   \definefontsynonym [Utopia-Regular]     [texnansi-utrg] [encoding=texnansi]
%   \definefontsynonym [Utopia-Italic]      [texnansi-uti]  [encoding=texnansi]
%   \definefontsynonym [Utopia-Slanted]     [texnansi-uti]  [encoding=texnansi]
%   \definefontsynonym [Utopia-Bold]        [texnansi-utb]  [encoding=texnansi]
%   \definefontsynonym [Utopia-BoldItalic]  [texnansi-utbi] [encoding=texnansi] 
%   \definefontsynonym [Utopia-BoldSlanted] [texnansi-utbi] [encoding=texnansi]
% 
% \stoptypescript

% kabel 
 
 \starttypescript [map] [ec,8r,texnansi]
   \loadmapfile [\typefaceencoding-itc-kabel]
 \stoptypescript
 
 \starttypescript [sans] [kabel] [texnansi]
 
   \definefontsynonym [ItcKabel-Bold]   [texnansi-kbb] [encoding=texnansi]
   \definefontsynonym [ItcKabel-Demi]   [texnansi-kbd] [encoding=texnansi]
   \definefontsynonym [ItcKabel-Medium] [texnansi-kbm] [encoding=texnansi]
   \definefontsynonym [ItcKabel-Ultra]  [texnansi-kbu] [encoding=texnansi] 
   \definefontsynonym [ItcKabel-Book]   [texnansi-kbw] [encoding=texnansi] 

 \stoptypescript

\endinput 
