[tex-live] updmap and TEXMFHOME
Reinhard Kotucha
reinhard.kotucha at web.de
Sat Dec 4 20:29:16 CET 2010
On 4 December 2010 Robin Fairbairns wrote:
> Reinhard Kotucha <reinhard.kotucha at web.de> wrote:
>
> > I thought that it's sufficient to put \pdfmapline into the .fd file
> > because this is loaded on demand:
> >
> > --------------------------------------------------------------------------
> > \ProvidesFile{t1zch.fd}
> > [2010/10/29 Fontinst v1.933 font definitions for T1/zch.]
> >
> > \pdfmapline{=zchb8r CharterBT-Bold <8r.enc <bchb8a.pfb}
> > \pdfmapline{=zchbi8r CharterBT-BoldItalic <8r.enc <bchbi8a.pfb}
> > \pdfmapline{=zchbo8r CharterBT-Bold ".167 SlantFont" <8r.enc <bchb8a.pfb}
> > \pdfmapline{=zchr8r CharterBT-Roman <8r.enc <bchr8a.pfb}
> > \pdfmapline{=zchri8r CharterBT-Italic <8r.enc <bchri8a.pfb}
> > \pdfmapline{=zchro8r CharterBT-Roman ".167 SlantFont" <8r.enc <bchr8a.pfb}
> >
> > \DeclareFontFamily{T1}{zch}{}
> > [...]
> > --------------------------------------------------------------------------
> >
> > But I get:
> >
> > [2]
> > (/opt/tex/texlive/texmf-zcharter/tex/latex/zcharter/t1zch.fd) [3] [4]
> > (./testmapline.aux)
> > kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi 600 zchr8r
> > mktexpk: don't know how to create bitmap font for zchr8r.
> > mktexpk: perhaps zchr8r is missing from the map file.
> > kpathsea: Appending font creation commands to missfont.log.
> >
> > Please note that the error occurs after all pages had been shipped
> > out.
> >
> > The following works:
> >
> > \input t1zch.fd
> > {\usefont{T1}{zch}{m}{n}Text}
> >
> > And even this:
> >
> > {\usefont{T1}{zch}{m}{n}Text}
> > \input t1zch.fd
> >
> > Don't know yet how \usefont loads the .fd file.
>
> it runs with nfss catcodes, which (among other things) ignores spaces,
> which is (of course) death to map files.
>
> if you preceded the loading with something setting the catcode of space
> (and so on) back, and then reset using \nfss at catcodes afterwards, your
> code would work.
Thanks, Robin. This hint saved me a lot of time.
Regards,
Reinhard
--
----------------------------------------------------------------------------
Reinhard Kotucha Phone: +49-511-3373112
Marschnerstr. 25
D-30167 Hannover mailto:reinhard.kotucha at web.de
----------------------------------------------------------------------------
Microsoft isn't the answer. Microsoft is the question, and the answer is NO.
----------------------------------------------------------------------------
More information about the tex-live
mailing list