From: Thomas A.Schmitz <thomas.schmitz@uni-bonn.de>
Subject: Some observations about the URW-Garamond
Date: Sun, 6 Feb 2005 12:40:09 +0100 [thread overview]
Message-ID: <911ac0c2e225448d84a200928a5d11f9@uni-bonn.de> (raw)
I played around a bit with the new URW-Garamond that URW donated to the
TeX community; as you may have seen on the list, the font files can be
downloaded via CTAN at CTAN/fonts/urw/garamond/ If you fetch the entire
directory, you'll find
1. the font in .afm, .pfb and .pfm format,
2. support files for LaTeX written by Walter Schmidt, with instructions
for installation.
After installation, the font worked in LaTeX, but wouldn't work in
ConTeXt "out of the box." I didn't spend time to figure out why because
creating the necessary files with texfont is a snap. For beginners, a
very brief how-to:
1. copy the afm- and pfb-files into a working directory, cd to this
directory;
2. run the command
for f in ugm*.afm do texfont --fontroot=~/texmf --ve=urw --co=garamond
--ma --in
(adjusting ~/texmf to wherever you want the font installed)
(Of course, you can add other encodings if you wish.)
Then I hit a problem. texfont creates map entries in this format:
texnansi-raw-ugmm8a GaramondNo8-Med 4 < ugmm8a.pfb texnansi.enc
texnansi-raw-ugmmi8a GaramondNo8-MedIta 4 < ugmmi8a.pfb texnansi.enc
texnansi-raw-ugmr8a GaramondNo8-Reg 4 < ugmr8a.pfb texnansi.enc
texnansi-raw-ugmri8a GaramondNo8-Ita 4 < ugmri8a.pfb texnansi.enc
My version of pdfetex (3.141592-1.20b-rc5-2.2 (Web2C 7.5.3)) refused to
read these entries (problems with backward compoatibility?). After I
rewrote to the format I found in the map that comes with the font
texnansi-raw-ugmr8a GaramondNo8-Reg " TeXnANSIEncoding ReEncodeFont "
<texnansi.enc <ugmr8a.pfb
texnansi-raw-ugmri8a GaramondNo8-Reg " TeXnANSIEncoding ReEncodeFont "
<texnansi.enc <ugmri8a.pfb
texnansi-raw-ugmm8a GaramondNo8-Reg " TeXnANSIEncoding ReEncodeFont "
<texnansi.enc <ugmm8a.pfb
texnansi-raw-ugmmi8a GaramondNo8-Reg " TeXnANSIEncoding ReEncodeFont "
<texnansi.enc <ugmmi8a.pfb
everything was golden. You now have a version of Garamond for those who
are too poor or too cheap to buy the real McCoy. The font looks nice to
me (I'm not an expert), especially in its italic version. You get
regular, italic, semi-bold and semi-bold italics, no expert ligatures,
no old-style numerals.
I wrote a very basic typescript file:
\usetypescriptfile[type-buy]
\starttypescript [serif] [urwgaramond] [texnansi]
\definefontsynonym [URWGaramond-Roman] [texnansi-ugmr8a]
[encoding=texnansi]
\definefontsynonym [URWGaramond-Bold] [texnansi-ugmm8a]
[encoding=texnansi]
\definefontsynonym [URWGaramond-Italic] [texnansi-ugmri8a]
[encoding=texnansi]
\definefontsynonym [URWGaramond-Bold-Italic] [texnansi-ugmmi8a]
[encoding=texnansi]
\stoptypescript
\starttypescript [serif] [urwgaramond] [name]
\usetypescript[serif][fallback]
\definefontsynonym [Serif] [URWGaramond-Roman]
\definefontsynonym [SerifItalic] [URWGaramond-Italic]
\definefontsynonym [SerifBold] [URWGaramond-Bold]
\definefontsynonym [SerifBoldItalic] [URWGaramond-Bold-Italic]
\stoptypescript
\starttypescript [URWGaramond]
\definetypeface [MyURWGaramond] [rm] [serif] [urwgaramond] [default]
[encoding=texnansi]
\stoptypescript
You can then typeset in the new font:
\usetypescriptfile [type-urwgaramond]
\usetypescript[URWGaramond]
\setupbodyfont[MyURWGaramond,11pt]
\starttext
Hello world!
\stoptext
HTH
Thomas
next reply other threads:[~2005-02-06 11:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-06 11:40 Thomas A.Schmitz [this message]
2005-02-06 11:56 ` Hartmut Henkel
2005-02-06 13:58 ` Thomas A.Schmitz
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=911ac0c2e225448d84a200928a5d11f9@uni-bonn.de \
--to=thomas.schmitz@uni-bonn.de \
--cc=ntg-context@ntg.nl \
/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).