%D \module
%D   [       file=type-adobeoptical,
%D        version=2010.09.20,
%D          title=\CONTEXT\ Typescript Macros,
%D       subtitle=Adobe Optical Font Definitions,
%D         author=Florian Wobbe,
%D           date=\currentdate,
%D      copyright=Florian Wobbe]
%C
%C Copyright 2010 Florian Wobbe.
%C This file may be distributed under the GNU General Public License v. 2.0.

%% font sizes
%% Cronos Pro
%% Caption: 6--8 point
%% Normal (Regular): 8--14 point
%% Subhead: 14--24 point
%% Display: 24+ point

%% Minion Pro
%% Caption: 6--8.4 point
%% Normal (Regular): 8.4--13 point
%% Subhead: 13--19.9 point
%% Display: 19.9+ point

%% Brioso Pro
%% Caption: 6--9.4 point
%% Normal (Regular): 9.4--14 point
%% Subhead: 14--21 point
%% Display: 21+ point

%% Utopia Pro
%% Caption: 6--8.9 point
%% Normal (Regular): 8.9--13 point
%% Subhead: 13--20 point
%% Display: 20+ point

%% Kepler Std
%% Caption: 6--8.9 point
%% Normal (Regular): 8.9--13.9 point
%% Subhead: 13.9--23 point
%% Display: 23+ point

%% Warnock Pro
%% Caption: 1--8.9 point
%% Normal (Regular): 8.9--12.9 point
%% Subhead: 12.9--22.9 point
%% Display: 22.9+ point

%% Serif
%% Caption: 6--9 point
%% Normal (Regular): 9--13 point
%% Subhead: 13--22 point
%% Display: 22+ point

%% our setup (for now):
%% Caption: 4,5,6,7,8 point
%% Normal (Regular): 9,10,11 point
%% Subhead: 12,14.4,17.3 point
%% Display: 20.7,24.9 point

% 4pt,4.8pt,5pt,5.8pt,6pt,6.9pt,7pt,7.2pt,8pt,8.3pt,8.4pt,8.6pt
% 9pt,9.6pt,10pt,10.1pt,10.4pt,10.8pt,11pt,11.5pt
% 12pt,12.1pt,12.4pt,13pt,13.2pt,13.8pt,14.4pt,14.5pt,14.9pt,15.6pt,15.8pt,16.6pt,17.3pt,17.4pt
% 18.7pt,19pt,19.9pt,20.7pt,22.4pt,22.8pt,24.8pt,24.9pt,27.4pt,29.8pt,29.9pt,35.8pt,35.9pt,42.9pt,43pt,52.5pt

%% Font features

%% Small caps
% \definefontfeature[default][liga=yes,texligatures=yes,texquotes=yes]
\definefontfeature[default][default][expansion=quality,protrusion=quality,mode=node,script=latn,kern=yes,palt=yes,tlig=yes,trep=yes,init=yes,size=yes]
\definefontfeature[dlig][default][dlig=yes] % Discretionary Ligatures: Activates uncommon ligatures
\definefontfeature[frac][default][frac=yes,numr=yes] % Fractions e.g. 3/4
\definefontfeature[pnum][default][pnum=yes] % Proportional Figures
\definefontfeature[tnum][default][tnum=yes] % Tabular Figures
\definefontfeature[hist][default][hist=yes] % Historical Forms
\definefontfeature[ornm][default][ornm=yes] % Ornaments
\definefontfeature[salt][default][salt=yes] % Stylistic Alternates
\definefontfeature[sups][default][sups=yes] % Superscript
\definefontfeature[subs][default][subs=yes] % Subscript

% small caps wrapper
\def\smcp#1{{\setff{smallcaps}#1}}

\definefontfeature[addfssmcp][mode=node,smcp=yes]
\unexpanded\def\sc{\addfs{addfssmcp}}

%% We need style switches for semibold and other variants
\definefontalternative [bc]
\definefontalternative [bci]
\definefontalternative [sb]
\definefontalternative [sbc]
\definefontalternative [sbci]
\definefontalternative [sbi]
\definefontalternative [mf]
\definefontalternative [mc]
\definefontalternative [mci]
\definefontalternative [mi]
\definefontalternative [lf]
\definefontalternative [li]
\definefontalternative [lp]
\definefontalternative [lpi]
\definefontalternative [cn]
\definefontalternative [ci]

\definestyle [boldcondensed]           [\bc]   []
\definestyle [boldcondenseditalic]     [\bci]  []
\definestyle [semibold]                [\sb]   []
\definestyle [semiboldcondensed]       [\sbc]  []
\definestyle [semiboldcondenseditalic] [\sbci] []
\definestyle [semibolditalic]          [\sbi]  []
\definestyle [medium]                  [\mf]   []
\definestyle [mediumcondensed]         [\mc]   []
\definestyle [mediumcondenseditalic]   [\mci]  []
\definestyle [mediumitalic]            [\mi]   []
\definestyle [light]                   [\lf]   []
\definestyle [lightitalic]             [\li]   []
\definestyle [lightposter]             [\lp]   []
\definestyle [lightposteritalic]       [\lpi]  []
\definestyle [condensed]               [\cn]   []
\definestyle [condenseditalic]         [\ci]   []

% symbolic name replacements for missing styles
\startsetups [font:optical:serif]

  \definefontsynonym[SerifCaption-Regular]      [SerifRegular-Regular]
  \definefontsynonym[SerifCaption-Bold]         [SerifCaption-Regular]
  \definefontsynonym[SerifCaption-BoldCn]       [SerifCaption-Regular]
  \definefontsynonym[SerifCaption-BoldCnIt]     [SerifCaption-Regular]
  \definefontsynonym[SerifCaption-BoldItalic]   [SerifCaption-Regular]
  \definefontsynonym[SerifCaption-Semibold]     [SerifCaption-Regular]
  \definefontsynonym[SerifCaption-SemiboldCn]   [SerifCaption-Regular]
  \definefontsynonym[SerifCaption-SemiboldCnIt] [SerifCaption-Regular]
  \definefontsynonym[SerifCaption-SemiboldIt]   [SerifCaption-Regular]
  \definefontsynonym[SerifCaption-Medium]       [SerifCaption-Regular]
  \definefontsynonym[SerifCaption-MediumCn]     [SerifCaption-Regular]
  \definefontsynonym[SerifCaption-MediumCnIt]   [SerifCaption-Regular]
  \definefontsynonym[SerifCaption-MediumIt]     [SerifCaption-Regular]
  \definefontsynonym[SerifCaption-Light]        [SerifCaption-Regular]
  \definefontsynonym[SerifCaption-LightIt]      [SerifCaption-Regular]
  \definefontsynonym[SerifCaption-LightPoster]  [SerifCaption-Light]
  \definefontsynonym[SerifCaption-LightPosterIt][SerifCaption-LightIt]
  \definefontsynonym[SerifCaption-Cn]           [SerifCaption-Regular]
  \definefontsynonym[SerifCaption-CnIt]         [SerifCaption-Regular]
  \definefontsynonym[SerifCaption-Italic]       [SerifCaption-Regular]
  \definefontsynonym[SerifCaption-Slanted]      [SerifCaption-Italic]
  \definefontsynonym[SerifCaption-BoldSlanted]  [SerifCaption-BoldItalic]

  \definefontsynonym[SerifRegular-Regular]      [DefaultFont]
  \definefontsynonym[SerifRegular-Bold]         [SerifRegular-Regular]
  \definefontsynonym[SerifRegular-BoldCn]       [SerifRegular-Regular]
  \definefontsynonym[SerifRegular-BoldCnIt]     [SerifRegular-Regular]
  \definefontsynonym[SerifRegular-BoldItalic]   [SerifRegular-Regular]
  \definefontsynonym[SerifRegular-Semibold]     [SerifRegular-Regular]
  \definefontsynonym[SerifRegular-SemiboldCn]   [SerifRegular-Regular]
  \definefontsynonym[SerifRegular-SemiboldCnIt] [SerifRegular-Regular]
  \definefontsynonym[SerifRegular-SemiboldIt]   [SerifRegular-Regular]
  \definefontsynonym[SerifRegular-Medium]       [SerifRegular-Regular]
  \definefontsynonym[SerifRegular-MediumCn]     [SerifRegular-Regular]
  \definefontsynonym[SerifRegular-MediumCnIt]   [SerifRegular-Regular]
  \definefontsynonym[SerifRegular-MediumIt]     [SerifRegular-Regular]
  \definefontsynonym[SerifRegular-Light]        [SerifRegular-Regular]
  \definefontsynonym[SerifRegular-LightIt]      [SerifRegular-Regular]
  \definefontsynonym[SerifRegular-LightPoster]  [SerifRegular-Light]
  \definefontsynonym[SerifRegular-LightPosterIt][SerifRegular-LightIt]
  \definefontsynonym[SerifRegular-Cn]           [SerifRegular-Regular]
  \definefontsynonym[SerifRegular-CnIt]         [SerifRegular-Regular]
  \definefontsynonym[SerifRegular-Italic]       [SerifRegular-Regular]
  \definefontsynonym[SerifRegular-Slanted]      [SerifRegular-Italic]
  \definefontsynonym[SerifRegular-BoldSlanted]  [SerifRegular-BoldItalic]

  \definefontsynonym[SerifSubhead-Regular]      [SerifRegular-Regular]
  \definefontsynonym[SerifSubhead-Bold]         [SerifSubhead-Regular]
  \definefontsynonym[SerifSubhead-BoldCn]       [SerifSubhead-Regular]
  \definefontsynonym[SerifSubhead-BoldCnIt]     [SerifSubhead-Regular]
  \definefontsynonym[SerifSubhead-BoldItalic]   [SerifSubhead-Regular]
  \definefontsynonym[SerifSubhead-Semibold]     [SerifSubhead-Regular]
  \definefontsynonym[SerifSubhead-SemiboldCn]   [SerifSubhead-Regular]
  \definefontsynonym[SerifSubhead-SemiboldCnIt] [SerifSubhead-Regular]
  \definefontsynonym[SerifSubhead-SemiboldIt]   [SerifSubhead-Regular]
  \definefontsynonym[SerifSubhead-Medium]       [SerifSubhead-Regular]
  \definefontsynonym[SerifSubhead-MediumCn]     [SerifSubhead-Regular]
  \definefontsynonym[SerifSubhead-MediumCnIt]   [SerifSubhead-Regular]
  \definefontsynonym[SerifSubhead-MediumIt]     [SerifSubhead-Regular]
  \definefontsynonym[SerifSubhead-Light]        [SerifSubhead-Regular]
  \definefontsynonym[SerifSubhead-LightIt]      [SerifSubhead-Regular]
  \definefontsynonym[SerifSubhead-LightPoster]  [SerifSubhead-Light]
  \definefontsynonym[SerifSubhead-LightPosterIt][SerifSubhead-LightIt]
  \definefontsynonym[SerifSubhead-Cn]           [SerifSubhead-Regular]
  \definefontsynonym[SerifSubhead-CnIt]         [SerifSubhead-Regular]
  \definefontsynonym[SerifSubhead-Italic]       [SerifSubhead-Regular]
  \definefontsynonym[SerifSubhead-Slanted]      [SerifSubhead-Italic]
  \definefontsynonym[SerifSubhead-BoldSlanted]  [SerifSubhead-BoldItalic]

  \definefontsynonym[SerifDisplay-Regular]      [SerifRegular-Regular]
  \definefontsynonym[SerifDisplay-Bold]         [SerifDisplay-Regular]
  \definefontsynonym[SerifDisplay-BoldCn]       [SerifDisplay-Regular]
  \definefontsynonym[SerifDisplay-BoldCnIt]     [SerifDisplay-Regular]
  \definefontsynonym[SerifDisplay-BoldItalic]   [SerifDisplay-Regular]
  \definefontsynonym[SerifDisplay-Semibold]     [SerifDisplay-Regular]
  \definefontsynonym[SerifDisplay-SemiboldCn]   [SerifDisplay-Regular]
  \definefontsynonym[SerifDisplay-SemiboldCnIt] [SerifDisplay-Regular]
  \definefontsynonym[SerifDisplay-SemiboldIt]   [SerifDisplay-Regular]
  \definefontsynonym[SerifDisplay-Medium]       [SerifDisplay-Regular]
  \definefontsynonym[SerifDisplay-MediumCn]     [SerifDisplay-Regular]
  \definefontsynonym[SerifDisplay-MediumCnIt]   [SerifDisplay-Regular]
  \definefontsynonym[SerifDisplay-MediumIt]     [SerifDisplay-Regular]
  \definefontsynonym[SerifDisplay-Light]        [SerifDisplay-Regular]
  \definefontsynonym[SerifDisplay-LightIt]      [SerifDisplay-Regular]
  \definefontsynonym[SerifDisplay-LightPoster]  [SerifDisplay-Light]
  \definefontsynonym[SerifDisplay-LightPosterIt][SerifDisplay-LightIt]
  \definefontsynonym[SerifDisplay-Cn]           [SerifDisplay-Regular]
  \definefontsynonym[SerifDisplay-CnIt]         [SerifDisplay-Regular]
  \definefontsynonym[SerifDisplay-Italic]       [SerifDisplay-Regular]
  \definefontsynonym[SerifDisplay-Slanted]      [SerifDisplay-Italic]
  \definefontsynonym[SerifDisplay-BoldSlanted]  [SerifDisplay-BoldItalic]

\stopsetups

\startsetups [font:optical:sans]

  \definefontsynonym[SansCaption-Regular]    [SansRegular-Regular]
  \definefontsynonym[SansCaption-Italic]     [SansCaption-Regular]
  \definefontsynonym[SansCaption-Bold]       [SansCaption-Regular]
  \definefontsynonym[SansCaption-BoldItalic] [SansCaption-Regular]
  \definefontsynonym[SansCaption-Semibold]   [SansCaption-Regular]
  \definefontsynonym[SansCaption-SemiboldIt] [SansCaption-Regular]
  \definefontsynonym[SansCaption-Light]      [SansCaption-Regular]
  \definefontsynonym[SansCaption-LightIt]    [SansCaption-Regular]
  \definefontsynonym[SansCaption-Slanted]    [SansCaption-Italic]
  \definefontsynonym[SansCaption-BoldSlanted][SansCaption-BoldItalic]

  \definefontsynonym[SansRegular-Regular]    [DefaultFont]
  \definefontsynonym[SansRegular-Italic]     [SansRegular-Regular]
  \definefontsynonym[SansRegular-Bold]       [SansRegular-Regular]
  \definefontsynonym[SansRegular-BoldItalic] [SansRegular-Regular]
  \definefontsynonym[SansRegular-Semibold]   [SansRegular-Regular]
  \definefontsynonym[SansRegular-SemiboldIt] [SansRegular-Regular]
  \definefontsynonym[SansRegular-Light]      [SansRegular-Regular]
  \definefontsynonym[SansRegular-LightIt]    [SansRegular-Regular]
  \definefontsynonym[SansRegular-Slanted]    [SansRegular-Italic]
  \definefontsynonym[SansRegular-BoldSlanted][SansRegular-BoldItalic]

  \definefontsynonym[SansSubhead-Regular]    [SansRegular-Regular]
  \definefontsynonym[SansSubhead-Italic]     [SansSubhead-Regular]
  \definefontsynonym[SansSubhead-Bold]       [SansSubhead-Regular]
  \definefontsynonym[SansSubhead-BoldItalic] [SansSubhead-Regular]
  \definefontsynonym[SansSubhead-Semibold]   [SansSubhead-Regular]
  \definefontsynonym[SansSubhead-SemiboldIt] [SansSubhead-Regular]
  \definefontsynonym[SansSubhead-Light]      [SansSubhead-Regular]
  \definefontsynonym[SansSubhead-LightIt]    [SansSubhead-Regular]
  \definefontsynonym[SansSubhead-Slanted]    [SansSubhead-Italic]
  \definefontsynonym[SansSubhead-BoldSlanted][SansSubhead-BoldItalic]

  \definefontsynonym[SansDisplay-Regular]    [SansRegular-Regular]
  \definefontsynonym[SansDisplay-Italic]     [SansDisplay-Regular]
  \definefontsynonym[SansDisplay-Bold]       [SansDisplay-Regular]
  \definefontsynonym[SansDisplay-BoldItalic] [SansDisplay-Regular]
  \definefontsynonym[SansDisplay-Semibold]   [SansDisplay-Regular]
  \definefontsynonym[SansDisplay-SemiboldIt] [SansDisplay-Regular]
  \definefontsynonym[SansDisplay-Light]      [SansDisplay-Regular]
  \definefontsynonym[SansDisplay-LightIt]    [SansDisplay-Regular]
  \definefontsynonym[SansDisplay-Slanted]    [SansDisplay-Italic]
  \definefontsynonym[SansDisplay-BoldSlanted][SansDisplay-BoldItalic]

\stopsetups

\starttypescript [serif] [optical] [size]

  \definebodyfont [4pt,5pt,6pt,7pt,8pt] [rm]
    [tf=    SerifCaption-Regular       sa 1,
     bf=    SerifCaption-Bold          sa 1,
     bc=    SerifCaption-BoldCn        sa 1,
     bci=   SerifCaption-BoldCnIt      sa 1,
     bi=    SerifCaption-BoldItalic    sa 1,
     sb=    SerifCaption-Semibold      sa 1,
     sbc=   SerifCaption-SemiboldCn    sa 1,
     sbci=  SerifCaption-SemiboldCnIt  sa 1,
     sbi=   SerifCaption-SemiboldIt    sa 1,
     mf=    SerifCaption-Medium        sa 1,
     mc=    SerifCaption-MediumCn      sa 1,
     mci=   SerifCaption-MediumCnIt    sa 1,
     mi=    SerifCaption-MediumIt      sa 1,
     lf=    SerifCaption-Light         sa 1,
     li=    SerifCaption-LightIt       sa 1,
     lp=    SerifCaption-LightPoster   sa 1,
     lpi=   SerifCaption-LightPosterIt sa 1,
     cn=    SerifCaption-Cn            sa 1,
     ci=    SerifCaption-CnIt          sa 1,
     it=    SerifCaption-Italic        sa 1,
     sl=    SerifCaption-Slanted       sa 1,
     bs=    SerifCaption-BoldSlanted   sa 1]

  \definebodyfont [9pt,10pt,11pt,12pt] [rm]
    [tf=    SerifRegular-Regular       sa 1,
     bf=    SerifRegular-Bold          sa 1,
     bc=    SerifRegular-BoldCn        sa 1,
     bci=   SerifRegular-BoldCnIt      sa 1,
     bi=    SerifRegular-BoldItalic    sa 1,
     sb=    SerifRegular-Semibold      sa 1,
     sbc=   SerifRegular-SemiboldCn    sa 1,
     sbci=  SerifRegular-SemiboldCnIt  sa 1,
     sbi=   SerifRegular-SemiboldIt    sa 1,
     mf=    SerifRegular-Medium        sa 1,
     mc=    SerifRegular-MediumCn      sa 1,
     mci=   SerifRegular-MediumCnIt    sa 1,
     mi=    SerifRegular-MediumIt      sa 1,
     lf=    SerifRegular-Light         sa 1,
     li=    SerifRegular-LightIt       sa 1,
     lp=    SerifRegular-LightPoster   sa 1,
     lpi=   SerifRegular-LightPosterIt sa 1,
     cn=    SerifRegular-Cn            sa 1,
     ci=    SerifRegular-CnIt          sa 1,
     it=    SerifRegular-Italic        sa 1,
     sl=    SerifRegular-Slanted       sa 1,
     bs=    SerifRegular-BoldSlanted   sa 1]

  \definebodyfont [14.4pt,17.3pt] [rm]
    [tf=    SerifSubhead-Regular       sa 1,
     bf=    SerifSubhead-Bold          sa 1,
     bc=    SerifSubhead-BoldCn        sa 1,
     bci=   SerifSubhead-BoldCnIt      sa 1,
     bi=    SerifSubhead-BoldItalic    sa 1,
     sb=    SerifSubhead-Semibold      sa 1,
     sbc=   SerifSubhead-SemiboldCn    sa 1,
     sbci=  SerifSubhead-SemiboldCnIt  sa 1,
     sbi=   SerifSubhead-SemiboldIt    sa 1,
     mf=    SerifSubhead-Medium        sa 1,
     mc=    SerifSubhead-MediumCn      sa 1,
     mci=   SerifSubhead-MediumCnIt    sa 1,
     mi=    SerifSubhead-MediumIt      sa 1,
     lf=    SerifSubhead-Light         sa 1,
     li=    SerifSubhead-LightIt       sa 1,
     lp=    SerifSubhead-LightPoster   sa 1,
     lpi=   SerifSubhead-LightPosterIt sa 1,
     cn=    SerifSubhead-Cn            sa 1,
     ci=    SerifSubhead-CnIt          sa 1,
     it=    SerifSubhead-Italic        sa 1,
     sl=    SerifSubhead-Slanted       sa 1,
     bs=    SerifSubhead-BoldSlanted   sa 1]

  \definebodyfont [20.7pt] [rm]
    [tf=    SerifDisplay-Regular       sa 1,
     bf=    SerifDisplay-Bold          sa 1,
     bc=    SerifDisplay-BoldCn        sa 1,
     bci=   SerifDisplay-BoldCnIt      sa 1,
     bi=    SerifDisplay-BoldItalic    sa 1,
     sb=    SerifDisplay-Semibold      sa 1,
     sbc=   SerifDisplay-SemiboldCn    sa 1,
     sbci=  SerifDisplay-SemiboldCnIt  sa 1,
     sbi=   SerifDisplay-SemiboldIt    sa 1,
     mf=    SerifDisplay-Medium        sa 1,
     mc=    SerifDisplay-MediumCn      sa 1,
     mci=   SerifDisplay-MediumCnIt    sa 1,
     mi=    SerifDisplay-MediumIt      sa 1,
     lf=    SerifDisplay-Light         sa 1,
     li=    SerifDisplay-LightIt       sa 1,
     lp=    SerifDisplay-LightPoster   sa 1,
     lpi=   SerifDisplay-LightPosterIt sa 1,
     cn=    SerifDisplay-Cn            sa 1,
     ci=    SerifDisplay-CnIt          sa 1,
     it=    SerifDisplay-Italic        sa 1,
     sl=    SerifDisplay-Slanted       sa 1,
     bs=    SerifCaption-BoldSlanted   sa 1]

\stoptypescript

\starttypescript [sans] [optical] [size]

  \definebodyfont [4pt,5pt,6pt,7pt,8pt] [ss]
    [tf=  SansCaption-Regular     sa 1,
     bf=  SansCaption-Bold        sa 1,
     it=  SansCaption-Italic      sa 1,
     sl=  SansCaption-Slanted     sa 1,
     bi=  SansCaption-BoldItalic  sa 1,
     bs=  SansCaption-BoldSlanted sa 1,
     sb=  SansCaption-Semibold    sa 1,
     sbi= SansCaption-SemiboldIt  sa 1,
     lf=  SansCaption-Light       sa 1,
     li=  SansCaption-LightIt     sa 1]

  \definebodyfont [9pt,10pt,11pt,12pt] [ss]
    [tf=  SansRegular-Regular     sa 1,
     bf=  SansRegular-Bold        sa 1,
     it=  SansRegular-Italic      sa 1,
     sl=  SansRegular-Slanted     sa 1,
     bi=  SansRegular-BoldItalic  sa 1,
     bs=  SansRegular-BoldSlanted sa 1,
     sb=  SansRegular-Semibold    sa 1,
     sbi= SansRegular-SemiboldIt  sa 1,
     lf=  SansRegular-Light       sa 1,
     li=  SansRegular-LightIt     sa 1]

  \definebodyfont [14.4pt,17.3pt] [ss]
    [tf=  SansSubhead-Regular     sa 1,
     bf=  SansSubhead-Bold        sa 1,
     it=  SansSubhead-Italic      sa 1,
     sl=  SansSubhead-Slanted     sa 1,
     bi=  SansSubhead-BoldItalic  sa 1,
     bs=  SansSubhead-BoldSlanted sa 1,
     sb=  SansSubhead-Semibold    sa 1,
     sbi= SansSubhead-SemiboldIt  sa 1,
     lf=  SansSubhead-Light       sa 1,
     li=  SansSubhead-LightIt     sa 1]

  \definebodyfont [20.7pt] [ss]
    [tf=  SansDisplay-Regular     sa 1,
     bf=  SansDisplay-Bold        sa 1,
     it=  SansDisplay-Italic      sa 1,
     sl=  SansDisplay-Slanted     sa 1,
     bi=  SansDisplay-BoldItalic  sa 1,
     bs=  SansDisplay-BoldSlanted sa 1,
     sb=  SansDisplay-Semibold    sa 1,
     sbi= SansDisplay-SemiboldIt  sa 1,
     lf=  SansDisplay-Light       sa 1,
     li=  SansDisplay-LightIt     sa 1]

\stoptypescript

\starttypescript [serif] [brioso,minion]

  \definefontsynonym [Serif]              [SerifRegular-Regular]
  \definefontsynonym [SerifBold]          [SerifRegular-Bold]
  \definefontsynonym [SerifBoldCn]        [SerifRegular-BoldCn]
  \definefontsynonym [SerifBoldCnIt]      [SerifRegular-BoldCnIt]
  \definefontsynonym [SerifBoldItalic]    [SerifRegular-BoldItalic]
  \definefontsynonym [SerifSemibold]      [SerifRegular-Semibold]
  \definefontsynonym [SerifSemiboldCn]    [SerifRegular-SemiboldCn]
  \definefontsynonym [SerifSemiboldCnIt]  [SerifRegular-SemiboldCnIt]
  \definefontsynonym [SerifSemiboldIt]    [SerifRegular-SemiboldIt]
  \definefontsynonym [SerifMedium]        [SerifRegular-Medium]
  \definefontsynonym [SerifMediumCn]      [SerifRegular-MediumCn]
  \definefontsynonym [SerifMediumCnIt]    [SerifRegular-MediumCnIt]
  \definefontsynonym [SerifMediumIt]      [SerifRegular-MediumIt]
  \definefontsynonym [SerifLight]         [SerifRegular-Light]
  \definefontsynonym [SerifLightIt]       [SerifRegular-LightIt]
  \definefontsynonym [SerifLightPoster]   [SerifRegular-LightPoster]
  \definefontsynonym [SerifLightPosterIt] [SerifRegular-LightPosterIt]
  \definefontsynonym [SerifCn]            [SerifRegular-Cn]
  \definefontsynonym [SerifCnIt]          [SerifRegular-CnIt]
  \definefontsynonym [SerifItalic]        [SerifRegular-Italic]
  \definefontsynonym [SerifSlanted]       [SerifRegular-Slanted]
  \definefontsynonym [SerifBoldSlanted]   [SerifCaption-BoldSlanted]

\stoptypescript

\starttypescript [sans] [cronos]

  \definefontsynonym [Sans]           [SansRegular-Regular]
  \definefontsynonym [SansBold]       [SansRegular-Bold]
  \definefontsynonym [SansItalic]     [SansRegular-Italic]
  \definefontsynonym [SansBoldItalic] [SansRegular-BoldItalic]
  \definefontsynonym [SansSemibold]   [SansRegular-Semibold]
  \definefontsynonym [SansSemiboldIt] [SansRegular-SemiboldIt]
  \definefontsynonym [SansLight]      [SansRegular-Light]
  \definefontsynonym [SansLightIt]    [SansRegular-LtightIt]

\stoptypescript

\starttypescript [serif] [minion]

  \setups[font:optical:serif]

  \definefontsynonym[SerifCaption-Regular]     [name:MinionPro-Capt]            [features=default]
  \definefontsynonym[SerifCaption-Bold]        [name:MinionPro-BoldCapt]        [features=default]
  \definefontsynonym[SerifCaption-BoldCn]      [name:MinionPro-BoldCnCapt]      [features=default]
  \definefontsynonym[SerifCaption-BoldCnIt]    [name:MinionPro-BoldCnItCapt]    [features=default]
  \definefontsynonym[SerifCaption-BoldItalic]  [name:MinionPro-BoldItCapt]      [features=default]
  \definefontsynonym[SerifCaption-Semibold]    [name:MinionPro-SemiboldCapt]    [features=default]
  \definefontsynonym[SerifCaption-SemiboldCn]  [name:MinionPro-SemiboldCnCapt]  [features=default]
  \definefontsynonym[SerifCaption-SemiboldCnIt][name:MinionPro-SemiboldCnItCapt][features=default]
  \definefontsynonym[SerifCaption-SemiboldIt]  [name:MinionPro-SemiboldItCapt]  [features=default]
  \definefontsynonym[SerifCaption-Medium]      [name:MinionPro-MediumCapt]      [features=default]
  \definefontsynonym[SerifCaption-MediumCn]    [name:MinionPro-MediumCnCapt]    [features=default]
  \definefontsynonym[SerifCaption-MediumCnIt]  [name:MinionPro-MediumCnItCapt]  [features=default]
  \definefontsynonym[SerifCaption-MediumIt]    [name:MinionPro-MediumItCapt]    [features=default]
  \definefontsynonym[SerifCaption-Cn]          [name:MinionPro-CnCapt]          [features=default]
  \definefontsynonym[SerifCaption-CnIt]        [name:MinionPro-CnItCapt]        [features=default]
  \definefontsynonym[SerifCaption-Italic]      [name:MinionPro-ItCapt]          [features=default]
    
  \definefontsynonym[SerifRegular-Regular]     [name:MinionPro-Regular]         [features=default]
  \definefontsynonym[SerifRegular-Bold]        [name:MinionPro-Bold]            [features=default]
  \definefontsynonym[SerifRegular-BoldCn]      [name:MinionPro-BoldCn]          [features=default]
  \definefontsynonym[SerifRegular-BoldCnIt]    [name:MinionPro-BoldCnIt]        [features=default]
  \definefontsynonym[SerifRegular-BoldItalic]  [name:MinionPro-BoldIt]          [features=default]
  \definefontsynonym[SerifRegular-Semibold]    [name:MinionPro-Semibold]        [features=default]
  \definefontsynonym[SerifRegular-SemiboldCn]  [name:MinionPro-SemiboldCn]      [features=default]
  \definefontsynonym[SerifRegular-SemiboldCnIt][name:MinionPro-SemiboldCnIt]    [features=default]
  \definefontsynonym[SerifRegular-SemiboldIt]  [name:MinionPro-SemiboldIt]      [features=default]
  \definefontsynonym[SerifRegular-Medium]      [name:MinionPro-Medium]          [features=default]
  \definefontsynonym[SerifRegular-MediumCn]    [name:MinionPro-MediumCn]        [features=default]
  \definefontsynonym[SerifRegular-MediumCnIt]  [name:MinionPro-MediumCnIt]      [features=default]
  \definefontsynonym[SerifRegular-MediumIt]    [name:MinionPro-MediumIt]        [features=default]
  \definefontsynonym[SerifRegular-Cn]          [name:MinionPro-Cn]              [features=default]
  \definefontsynonym[SerifRegular-CnIt]        [name:MinionPro-CnIt]            [features=default]
  \definefontsynonym[SerifRegular-Italic]      [name:MinionPro-It]              [features=default]

  \definefontsynonym[SerifSubhead-Regular]     [name:MinionPro-Subh]            [features=default]
  \definefontsynonym[SerifSubhead-Bold]        [name:MinionPro-BoldSubh]        [features=default]
  \definefontsynonym[SerifSubhead-BoldCn]      [name:MinionPro-BoldCnSubh]      [features=default]
  \definefontsynonym[SerifSubhead-BoldCnIt]    [name:MinionPro-BoldCnItSubh]    [features=default]
  \definefontsynonym[SerifSubhead-BoldItalic]  [name:MinionPro-BoldItSubh]      [features=default]
  \definefontsynonym[SerifSubhead-Semibold]    [name:MinionPro-SemiboldSubh]    [features=default]
  \definefontsynonym[SerifSubhead-SemiboldCn]  [name:MinionPro-SemiboldCnSubh]  [features=default]
  \definefontsynonym[SerifSubhead-SemiboldCnIt][name:MinionPro-SemiboldCnItSubh][features=default]
  \definefontsynonym[SerifSubhead-SemiboldIt]  [name:MinionPro-SemiboldItSubh]  [features=default]
  \definefontsynonym[SerifSubhead-Medium]      [name:MinionPro-MediumSubh]      [features=default]
  \definefontsynonym[SerifSubhead-MediumCn]    [name:MinionPro-MediumCnSubh]    [features=default]
  \definefontsynonym[SerifSubhead-MediumCnIt]  [name:MinionPro-MediumCnItSubh]  [features=default]
  \definefontsynonym[SerifSubhead-MediumIt]    [name:MinionPro-MediumItSubh]    [features=default]
  \definefontsynonym[SerifSubhead-Cn]          [name:MinionPro-CnSubh]          [features=default]
  \definefontsynonym[SerifSubhead-CnIt]        [name:MinionPro-CnItSubh]        [features=default]
  \definefontsynonym[SerifSubhead-Italic]      [name:MinionPro-ItSubh]          [features=default]

  \definefontsynonym[SerifDisplay-Regular]     [name:MinionPro-Disp]            [features=default]
  \definefontsynonym[SerifDisplay-Bold]        [name:MinionPro-BoldDisp]        [features=default]
  \definefontsynonym[SerifDisplay-BoldCn]      [name:MinionPro-BoldCnDisp]      [features=default]
  \definefontsynonym[SerifDisplay-BoldCnIt]    [name:MinionPro-BoldCnItDisp]    [features=default]
  \definefontsynonym[SerifDisplay-BoldItalic]  [name:MinionPro-BoldItDisp]      [features=default]
  \definefontsynonym[SerifDisplay-Semibold]    [name:MinionPro-SemiboldDisp]    [features=default]
  \definefontsynonym[SerifDisplay-SemiboldCn]  [name:MinionPro-SemiboldCnDisp]  [features=default]
  \definefontsynonym[SerifDisplay-SemiboldCnIt][name:MinionPro-SemiboldCnItDisp][features=default]
  \definefontsynonym[SerifDisplay-SemiboldIt]  [name:MinionPro-SemiboldItDisp]  [features=default]
  \definefontsynonym[SerifDisplay-Medium]      [name:MinionPro-MediumDisp]      [features=default]
  \definefontsynonym[SerifDisplay-MediumCn]    [name:MinionPro-MediumCnDisp]    [features=default]
  \definefontsynonym[SerifDisplay-MediumCnIt]  [name:MinionPro-MediumCnItDisp]  [features=default]
  \definefontsynonym[SerifDisplay-MediumIt]    [name:MinionPro-MediumItDisp]    [features=default]
  \definefontsynonym[SerifDisplay-Cn]          [name:MinionPro-CnDisp]          [features=default]
  \definefontsynonym[SerifDisplay-CnIt]        [name:MinionPro-CnItDisp]        [features=default]
  \definefontsynonym[SerifDisplay-Italic]      [name:MinionPro-ItDisp]          [features=default]

\stoptypescript

\starttypescript [serif] [brioso]

  \setups[font:optical:serif]

  \definefontsynonym[SerifCaption-Regular]      [name:BriosoPro-Capt]          [features=default]
  \definefontsynonym[SerifCaption-Bold]         [name:BriosoPro-BoldCapt]      [features=default]
  \definefontsynonym[SerifCaption-BoldItalic]   [name:BriosoPro-BoldItCapt]    [features=default]
  \definefontsynonym[SerifCaption-Italic]       [name:BriosoPro-ItCapt]        [features=default]
  \definefontsynonym[SerifCaption-Light]        [name:BriosoPro-LightCapt]     [features=default]
  \definefontsynonym[SerifCaption-LightIt]      [name:BriosoPro-LightItCapt]   [features=default]
  \definefontsynonym[SerifCaption-Medium]       [name:BriosoPro-MediumCapt]    [features=default]
  \definefontsynonym[SerifCaption-MediumIt]     [name:BriosoPro-MediumItCapt]  [features=default]
  \definefontsynonym[SerifCaption-Semibold]     [name:BriosoPro-SemiboldCapt]  [features=default]
  \definefontsynonym[SerifCaption-SemiboldIt]   [name:BriosoPro-SemiboldItCapt][features=default]

  \definefontsynonym[SerifRegular-Regular]      [name:BriosoPro-Regular]       [features=default]
  \definefontsynonym[SerifRegular-Bold]         [name:BriosoPro-Bold]          [features=default]
  \definefontsynonym[SerifRegular-BoldItalic]   [name:BriosoPro-BoldIt]        [features=default]
  \definefontsynonym[SerifRegular-Italic]       [name:BriosoPro-Italic]        [features=default]
  \definefontsynonym[SerifRegular-Light]        [name:BriosoPro-Light]         [features=default]
  \definefontsynonym[SerifRegular-LightIt]      [name:BriosoPro-LightIt]       [features=default]
  \definefontsynonym[SerifRegular-Medium]       [name:BriosoPro-Medium]        [features=default]
  \definefontsynonym[SerifRegular-MediumIt]     [name:BriosoPro-MediumIt]      [features=default]
  \definefontsynonym[SerifRegular-Semibold]     [name:BriosoPro-Semibold]      [features=default]
  \definefontsynonym[SerifRegular-SemiboldIt]   [name:BriosoPro-SemiboldIt]    [features=default]

  \definefontsynonym[SerifSubhead-Regular]      [name:BriosoPro-Subh]          [features=default]
  \definefontsynonym[SerifSubhead-Bold]         [name:BriosoPro-BoldSubh]      [features=default]
  \definefontsynonym[SerifSubhead-BoldItalic]   [name:BriosoPro-BoldItSubh]    [features=default]
  \definefontsynonym[SerifSubhead-Italic]       [name:BriosoPro-ItSubh]        [features=default]
  \definefontsynonym[SerifSubhead-Light]        [name:BriosoPro-LightSubh]     [features=default]
  \definefontsynonym[SerifSubhead-LightIt]      [name:BriosoPro-LightItSubh]   [features=default]
  \definefontsynonym[SerifSubhead-Medium]       [name:BriosoPro-MediumSubh]    [features=default]
  \definefontsynonym[SerifSubhead-MediumIt]     [name:BriosoPro-MediumItSubh]  [features=default]
  \definefontsynonym[SerifSubhead-Semibold]     [name:BriosoPro-SemiboldSubh]  [features=default]
  \definefontsynonym[SerifSubhead-SemiboldIt]   [name:BriosoPro-SemiboldItSubh][features=default]

  \definefontsynonym[SerifDisplay-Regular]      [name:BriosoPro-Disp]          [features=default]
  \definefontsynonym[SerifDisplay-Bold]         [name:BriosoPro-BoldDisp]      [features=default]
  \definefontsynonym[SerifDisplay-BoldItalic]   [name:BriosoPro-BoldItDisp]    [features=default]
  \definefontsynonym[SerifDisplay-Italic]       [name:BriosoPro-ItDisp]        [features=default]
  \definefontsynonym[SerifDisplay-Light]        [name:BriosoPro-LightDisp]     [features=default]
  \definefontsynonym[SerifDisplay-LightIt]      [name:BriosoPro-LightItDisp]   [features=default]
  \definefontsynonym[SerifDisplay-LightPoster]  [name:BriosoPro-LightPoster]   [features=default]
  \definefontsynonym[SerifDisplay-LightPosterIt][name:BriosoPro-LightPosterIt] [features=default]
  \definefontsynonym[SerifDisplay-Medium]       [name:BriosoPro-MediumDisp]    [features=default]
  \definefontsynonym[SerifDisplay-MediumIt]     [name:BriosoPro-MediumItDisp]  [features=default]
  \definefontsynonym[SerifDisplay-Semibold]     [name:BriosoPro-SemiboldDisp]  [features=default]
  \definefontsynonym[SerifDisplay-SemiboldIt]   [name:BriosoPro-SemiboldItDisp][features=default]

\stoptypescript

\starttypescript [sans] [cronos]

  \setups[font:optical:sans]

  \definefontsynonym[SansCaption-Regular]   [name:CronosPro-Capt]          [features=default]
  \definefontsynonym[SansCaption-Italic]    [name:CronosPro-CaptIt]        [features=default]
  \definefontsynonym[SansCaption-Bold]      [name:CronosPro-BoldCapt]      [features=default]
  \definefontsynonym[SansCaption-BoldItalic][name:CronosPro-BoldCaptIt]    [features=default]
  \definefontsynonym[SansCaption-Semibold]  [name:CronosPro-SemiboldCapt]  [features=default]
  \definefontsynonym[SansCaption-SemiboldIt][name:CronosPro-SemiboldCaptIt][features=default]
  \definefontsynonym[SansCaption-Light]     [name:CronosPro-LtCapt]        [features=default]
  \definefontsynonym[SansCaption-LightIt]   [name:CronosPro-LtCaptIt]      [features=default]

  \definefontsynonym[SansRegular-Regular]   [name:CronosPro-Regular]       [features=default]
  \definefontsynonym[SansRegular-Italic]    [name:CronosPro-Italic]        [features=default]
  \definefontsynonym[SansRegular-Bold]      [name:CronosPro-Bold]          [features=default]
  \definefontsynonym[SansRegular-BoldItalic][name:CronosPro-BoldIt]        [features=default]
  \definefontsynonym[SansRegular-Semibold]  [name:CronosPro-Semibold]      [features=default]
  \definefontsynonym[SansRegular-SemiboldIt][name:CronosPro-SemiboldIt]    [features=default]
  \definefontsynonym[SansRegular-Light]     [name:CronosPro-Lt]            [features=default]
  \definefontsynonym[SansRegular-LightIt]   [name:CronosPro-LtIt]          [features=default]

  \definefontsynonym[SansSubhead-Regular]   [name:CronosPro-Subh]          [features=default]
  \definefontsynonym[SansSubhead-Italic]    [name:CronosPro-SubhIt]        [features=default]
  \definefontsynonym[SansSubhead-Bold]      [name:CronosPro-BoldSubh]      [features=default]
  \definefontsynonym[SansSubhead-BoldItalic][name:CronosPro-BoldSubhIt]    [features=default]
  \definefontsynonym[SansSubhead-Semibold]  [name:CronosPro-SemiboldSubh]  [features=default]
  \definefontsynonym[SansSubhead-SemiboldIt][name:CronosPro-SemiboldSubhIt][features=default]
  \definefontsynonym[SansSubhead-Light]     [name:CronosPro-LtSubh]        [features=default]
  \definefontsynonym[SansSubhead-LightIt]   [name:CronosPro-LtSubhIt]      [features=default]

  \definefontsynonym[SansDisplay-Regular]   [name:CronosPro-Disp]          [features=default]
  \definefontsynonym[SansDisplay-Italic]    [name:CronosPro-DispIt]        [features=default]
  \definefontsynonym[SansDisplay-Bold]      [name:CronosPro-BoldDisp]      [features=default]
  \definefontsynonym[SansDisplay-BoldItalic][name:CronosPro-BoldDispIt]    [features=default]
  \definefontsynonym[SansDisplay-Semibold]  [name:CronosPro-SemiboldDisp]  [features=default]
  \definefontsynonym[SansDisplay-SemiboldIt][name:CronosPro-SemiboldDispIt][features=default]
  \definefontsynonym[SansDisplay-Light]     [name:CronosPro-LtDisp]        [features=default]
  \definefontsynonym[SansDisplay-LightIt]   [name:CronosPro-LtDispIt]      [features=default]

\stoptypescript

\starttypescript [minion]
  \definetypeface [\typescriptone] [rm] [serif] [\typescriptone] [optical] [rscale=1.1441]
\stoptypescript

\starttypescript [brioso]
  \definetypeface [\typescriptone] [rm] [serif] [\typescriptone] [optical] [rscale=1.216]
\stoptypescript

\starttypescript [cronos]
  \definetypeface [\typescriptone] [ss] [sans] [\typescriptone] [optical] [rscale=1.1135]
\stoptypescript

\endinput
