Re: Unable to use URW Garamond No. 8 Type 1 typeface

[email protected] Sat, 27 May 2006 17:42:21 -0300
Newsgroups gmane.comp.tex.tetex.general
Message-ID <[email protected]>
On 5/26/06, D. R. Evans <[email protected]> wrote:
> I am sorry if this is a silly question.

Clearly not.

> I have spent several hours on this, and read all the documentation that I
> can find (not all of which I understand), and still can't get this to work :-(
>
> I have installed teTeX from the Mandriva 2006.0 RPM database on to my
> Mandriva 2006.0 system. I have made NO changes to the installed files. The
> RPM creates a system-wide texmf tree rooted in /usr/share/texmf.
>
> I want to use a Garamond typeface, and discovered the URW Garamond No. 8
> type 1 files at TUG
> (https://www.tug.org/tex-archive/nonfree/fonts/urw/garamond/).
>
> I create a directory ~/texmf as the root for a local texmf tree that is
> just for me, not for the entire system.
>
> I have carefully followed the instructions in README.garamond in that
> directory, using ~/texmf as the root for the texmf tree (including running
> texhash and updmap exactly as described in README.garamond).

TeX Live 2005 has "getnonfreefonts".
$ getnonfreefonts garamond
[...]
$ grep ugm ~/.texlive2005/texmf-var/fonts/map/pdftex/updmap/pdftex.map
ugmm8r GaramondNo8-Med "TeXBase1Encoding ReEncodeFont" <8r.enc <ugmm8a.pfb
ugmmi8r GaramondNo8-MedIta "TeXBase1Encoding ReEncodeFont" <8r.enc <ugmmi8a.pfb
ugmr8r GaramondNo8-Reg "TeXBase1Encoding ReEncodeFont" <8r.enc <ugmr8a.pfb
ugmri8r GaramondNo8-Ita "TeXBase1Encoding ReEncodeFont" <8r.enc <ugmri8a.pfb

> Now I actually want to use the typeface in my plain TeX file.
>
> Problem: I don't know what to use in the line:
> \font\rm=<something>
> Normally, for Computer Modern, one would just put:
> \font\rm=cmr10

Look at the .tfm and .vf files.  I found 'ugmr8t'

$ cat - <<EOF try-ugm.tex
\nopagenumbers
\font\rm=ugmr8t
\rm Testing {\tt ugmr8t}
\vskip 2cm

\input story
\end
EOF

> I have all kinds of things for <something>, but none of hem work. For example:
> \font\rm=garamond
> \font\rm=ugm
> \font\rm=ugmr8a
> \font\rm=ugmr8c
>
> They give various kinds of errors. Maybe I have not found the right thing
> to put in place of <something>.
>
> For example. when I try
> \font\rm=ugmr8a
> the error is:
>
> [H:] pdftex test
> This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
> entering extended mode
> (./test.tex [1{/usr/share/texmf-var/fonts/map/pdftex/updmap/pdftex.map}]
> [2] )</usr/share/texmf/fonts/type1/bluesky/cm/cmr10.pfb>kpathsea: Running
> mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi 600 ugmr8a
> mktexpk: don't know how to create bitmap font for ugmr8a.

$ pdftex try-ugm.tex
This is pdfTeXk, Version 3.141592-1.40.0-beta-20060213 (Web2C 7.5.5)
 \write18 enabled.
 %&-line parsing enabled.
entering extended mode
(./try-ugm.tex (./story.tex [1{/home/gwhite/.texlive2005/texmf-var/fonts/map/pd
ftex/updmap/pdftex.map}] ) )</usr/local/texlive/2005/texmf-dist/fonts/type1/blu
esky/cm/cmsl10.pfb></usr/local/texlive/2005/texmf-dist/fonts/type1/bluesky/cm/c
mbx10.pfb></usr/local/texlive/2005/texmf-dist/fonts/type1/bluesky/cm/cmtt10.pfb
>{/usr/local/texlive/2005/texmf-dist/fonts/enc/dvips/base/8r.enc}</home/gwhite/
texmf/fonts/type1/urw/garamond/ugmr8a.pfb>
Output written on try-ugm.pdf (1 page, 32628 bytes).
Transcript written on try-ugm.log.

The non-ascii glyphs are wrong, but AFAIK there is no OSF config file.
$ texdoc ofsdoc-e

> Any help would be GREATLY appreciated. This is driving me slowly crazy.
>
>   Doc Evans

Fonts do too often have that effect.

-- 
George N. White III <[email protected]>
Head of St. Margarets Bay, Nova Scotia