From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/9333 Path: main.gmane.org!not-for-mail From: Peter Sojan Newsgroups: gmane.comp.tex.context Subject: Erratic font scaling Date: Fri, 20 Sep 2002 00:38:06 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <20020919223806.GA28573@zargon-client1.chello.at> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035399670 2346 80.91.224.250 (23 Oct 2002 19:01:10 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 19:01:10 +0000 (UTC) Original-To: ntg-context@ntg.nl Xref: main.gmane.org gmane.comp.tex.context:9333 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:9333 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