From: Peter Sojan <ilikeunix@gmx.net>
Subject: Erratic font scaling
Date: Fri, 20 Sep 2002 00:38:06 +0200 [thread overview]
Message-ID: <20020919223806.GA28573@zargon-client1.chello.at> (raw)
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 other threads:[~2002-09-19 22:38 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20020919223806.GA28573@zargon-client1.chello.at \
--to=ilikeunix@gmx.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).