Hi again!

I've added to my Garamond typescript a Sans-Serif variant which
is represented by Computer-Modern-Sans (there's no Garamond-Sans!?): 

------------------------------------------------------------------------
\starttypescript [serif] [garamond] [ec]
  \definefontsynonym [Garamond-Roman]       [padr9e]  [encoding=ec]
  \definefontsynonym [Garamond-Bold]        [padb9e]  [encoding=ec]
  \definefontsynonym [Garamond-Italic]      [padri9e] [encoding=ec]
  \definefontsynonym [Garamond-Bold-Italic] [padbi9e] [encoding=ec]
  \definefontsynonym [Garamond-Caps]        [padrc9e] [encoding=ec]
  \definefontsynonym [Garamond-Bold-Caps]   [padbc9e] [encoding=ec]
\stoptypescript

\starttypescript [serif] [garamond] [name]
  %\usetypescript[serif][fallback]
  \definefontsynonym [Serif]           [Garamond-Roman]
  \definefontsynonym [SerifBold]       [Garamond-Bold]
  \definefontsynonym [SerifItalic]     [Garamond-Italic]
  \definefontsynonym [SerifBoldItalic] [Garamond-Bold-Italic]
  \definefontsynonym [SerifCaps]       [Garamond-Caps]
  \definefontsynonym [SerifBoldCaps]   [Garamond-Bold-Caps]
\stoptypescript

\starttypescript [serif] [garamond] [size]
  \definebodyfont [17.3pt,14.4pt,12pt,11pt,10pt,9pt,8pt,7pt,6pt,5pt,4pt] [rm] [default]
\stoptypescript

\starttypescript [Garamond] 
  \definetypeface [MyGaramond] [rm] [serif] [garamond] [garamond] [encoding=ec]
  \definetypeface [MyGaramond] [ss] [sans]  [computer-modern] [computer-modern] 
[encoding=default]
\stoptypescript
------------------------------------------------------------------------

Everything works fine with following bodyfont-sizes: 

  \setupbodyfont[MyGaramond,12pt]
  \setupbodyfont[MyGaramond,11pt]
  \setupbodyfont[MyGaramond,10pt]

Both, Serif (Garamond) and Sans (Computer-Modern), scale down 
proportionally, but If I do 

  \setupbodyfont[MyGaramond,9pt]

... Serif (Garamond) suddenly jumps back to 12pt while Sans (Computer-
Modern) correctly scales down to 9pt.

As far as I understand there are explicit "\definebodyfont"'s in 
type-siz.tex for Computer-Modern. This is, I think, because CM comes
in different design sizes. Since Garamond only has one design-size  
shouldn't the above line 

  \definebodyfont [17.3pt,14.4pt,12pt,11pt,10pt,9pt,8pt,7pt,6pt,5pt,4pt] [rm] [default]

suffice? Perhaps something with \definebodyfontenvironment ...!? 


Thx, 
Peter





Reply via email to