69
21.5 UsingTrueTypefontswithpdfT
E
X
InFigure21.18onthefollowingpagewetypesetavariantofthetextofFigure21.2onpage37using
pdflatex
andTrueTypefontsthatareavailableonmost MicrosoWindowssystems.Wedownloaded
ChristopheCaignaert’sfile
WindowsFonts.zip
(seeabove)andplacedthefontandmapfilesinthe
relevant directories, updated the T
E
Xfiles databaseand ran thefollowing file (
ttftest.tex
)with
pdflatex
(thefontlabelsareexplainedinthefigure.)
\newcommand{\MyText}[1]{\fontfamily{#1}\selectfont\fbox{#1:%
} A floating field for \pounds45. \textbf{!‘THE SILLY FOX HAD
12345--67890 JUMPS!} --- ?‘Are Kafka’s Schlo{\ss} and {\AE}sop’s
{\OE}uvres na{\”\i}ve vis-\‘{a}-vis a \emph{d{\ae}monic ph{\oe}nix’s
\textbf{r\^{o}le} and its souffl\’{e}s?}\par}
\MyText{arl}\MyText{bka}\MyText{bko}\MyText{crr}\MyText{ctg}\MyText{frk}
\MyText{grg}\MyText{lucc}\MyText{mgm}\MyText{ppt}\MyText{tim}\MyText{vdn}
Running
pdflatex
onthisfiledisplaysthefollowinglogwithMiKT
E
XonMicrosoWindows.
This is pdfeTeX, Version 3.141592-1.21a-2.2
(MiKTeX 2.4) entering extended mode
(ttftest.tex LaTeX2e <2003/12/01>
Babel <v3.8g> and hyphenation patterns for english, dumylang,
nohyphenation, german, ngerman, french, loaded.
(C:\TL2005\texmf\tex\latex\base\article.cls
Document Class: article 2004/02/16 v1.4f
Standard LaTeX document class
(C:\TL2005\texmf\tex\latex\base\size10.clo))
(C:\TL2005\texmf\tex\latex\base\fontenc.sty
(C:\TL2005\texmf\tex\latex\base\t1enc.def))
No file ttftest.aux.
(C:\TL2005\localtexmf\tex\latex\winfonts\t1arl.fd)
(C:\TL2005\localtexmf\tex\latex\winfonts\t1bka.fd)
(C:\TL2005\localtexmf\tex\latex\winfonts\t1bko.fd)
(C:\TL2005\localtexmf\tex\latex\winfonts\t1crr.fd)
(C:\TL2005\localtexmf\tex\latex\winfonts\t1ctg.fd)
(C:\TL2005\localtexmf\tex\latex\winfonts\t1frk.fd)
(C:\TL2005\localtexmf\tex\latex\winfonts\t1grg.fd)
(C:\TL2005\localtexmf\tex\latex\winfonts\t1lucc.fd)
(C:\TL2005\localtexmf\tex\latex\winfonts\t1mgm.fd)
(C:\TL2005\localtexmf\tex\latex\winfonts\t1ppt.fd)
(C:\TL2005\localtexmf\tex\latex\winfonts\t1tim.fd)
(C:\TL2005\localtexmf\tex\latex\winfonts\t1vdn.fd)
[1{psfonts.map}] (ttftest.aux) ){T1-WGL4.enc}
<verdanaz.ttf><verdanai.ttf><verdanab.ttf><verdana.ttf>
<timesbi.ttf><timesi.ttf><timesbd.ttf><times.ttf>
<perpetuabi.ttf><perpetuait.ttf><perpetuabd.ttf><perpetua.ttf>
<garabd.ttf><garait.ttf><gara.ttf>
<ltypeo.ttf><ltypebo.ttf><ltypeb.ttf><ltype.ttf>
<georgiaz.ttf><georgiai.ttf><georgiab.ttf><georgia.ttf>
<fradmit.ttf><frabkit.ttf><fradm.ttf><frabk.ttf>
<gothicbi.ttf><gothici.ttf><gothicb.ttf><gothic.ttf>
<courbi.ttf><couri.ttf><courbd.ttf><cour.ttf>
<bookosbi.ttf><bookosi.ttf><bookosb.ttf><bookos.ttf>
<antquabi.ttf><antquai.ttf><antquab.ttf><bkant.ttf>
<arialbi.ttf><ariali.ttf><arialbd.ttf><arial.ttf>
Output written on ttftest.pdf (1 page, 578030 bytes).
ch-psextra1.tex,v:2.24
2007/08/14
47