
\starttypescript [serif] [myfont]
\setups[font:fallback:serif]
  \definefontsynonym [Serif]                             [name:palatinoltstdlight]           [features=default]
  \definefontsynonym [SerifItalic]                       [name:palatinoltstdlightitalic]     [features=default]
  \definefontsynonym [SerifBold]                         [name:palatinoltstdmedium]          [features=default]
  \definefontsynonym [SerifBoldItalic]                   [name:palatinoltstdmediumitalic]    [features=default]
\stoptypescript

\starttypescript [sans] [myfont]
\setups[font:fallback:sans]
  \definefontsynonym [Sans]                             [name:ibmplexsans]                  [features=default]
  \definefontsynonym [SansItalic]                       [name:ibmplexsansitalic]            [features=default]
  \definefontsynonym [SansBold]                         [name:ibmplexsansbold]              [features=default]
  \definefontsynonym [SansBoldItalic]                   [name:ibmplexsansbolditalic]        [features=default]
\stoptypescript

\starttypescript [mono] [myfont]
\setups[font:fallback:mono]
  \definefontsynonym [Mono]                             [name:sourcecodeprolight]           [features=default]
  \definefontsynonym [MonoItalic]                       [name:sourcecodeprolightit]         [features=default]
  \definefontsynonym [MonoBold]                         [name:sourcecodeprobold]            [features=default]
  \definefontsynonym [MonoBoldItalic]                   [name:sourcecodeproblackit]         [features=default]
\stoptypescript

\starttypescript [math] [myfont]
\setups[font:fallback:math]
  \definefontsynonym [Math]                             [name:lmroman10regular]             [features=default]
  \definefontsynonym [MathItalic]                       [name:lmroman10italic]              [features=default]
  \definefontsynonym [MathBold]                         [name:lmroman10bold]                [features=default]
  \definefontsynonym [MathBoldItalic]                   [name:lmroman10bolditalic]          [features=default]
\stoptypescript

\starttypescript [handwriting] [myfont]
\setups[font:fallback:handwriting]
  \definefontsynonym [Handwriting]                             [name:snellroundhandltstdscr]       [features=default]
  \definefontsynonym [HandwritingItalic]                       [name:snellroundhandltstdscr]       [features=default]
  \definefontsynonym [HandwritingBold]                         [name:snellroundhandltstdscr]       [features=default]
  \definefontsynonym [HandwritingBoldItalic]                   [name:snellroundhandltstdscr]       [features=default]
\stoptypescript

\starttypescript [calligraphy] [myfont]
\setups[font:fallback:calligraphy]
  \definefontsynonym [Calligraphy]                             [name:sabonltstdroman]              [features=default]
  \definefontsynonym [CalligraphyItalic]                       [name:sabonltstditalic]             [features=default]
  \definefontsynonym [CalligraphyBold]                         [name:sabonltstdbold]               [features=default]
  \definefontsynonym [CalligraphyBoldItalic]                   [name:sabonltstdbolditalic]         [features=default]
\stoptypescript

\starttypescript[myfont]
\definetypeface [myfont] [rm] [serif]       [myfont] [default]
\definetypeface [myfont] [ss] [sans]        [myfont] [default]
\definetypeface [myfont] [tt] [mono]        [myfont] [default]
\definetypeface [myfont] [mm] [math]        [myfont] [default]
\definetypeface [myfont] [hm] [handwriting] [myfont] [default]
\definetypeface [myfont] [cg] [calligraphy] [myfont] [default]
\stoptypescript



\setuptolerance[strict]
\setupalign[hz]
\setupalign[hanging]
\setupalign[lesshyphenated]
\setupalign[verytolerant]
\setupalign[stretch]
\setupwhitespace [big] 
\setupbodyfont[myfont,ss,12pt]


