[tex-live] updmap and TEXMFHOME

Reinhard Kotucha reinhard.kotucha at web.de
Sat Dec 4 02:31:16 CET 2010


On 3 December 2010 Zdenek Wagner wrote:

 > 2010/12/3 Reinhard Kotucha <reinhard.kotucha at web.de>:
 > > On 3 December 2010 Bob Tennent wrote:
 > > ...
 > >
 > > I would be very grateful if someone finds the time to implement
 > > \pdfmapline in dvips.  We already can pass the information on the
 > > command line, what's missing is the ability to pass it via \special.
 > > As far as xetex is concerned, maybe Jonathan can steal code from
 > > pdftex.
 >
 > It will have to be sent via \special to xdvipdfmx.

Then it's similar to dvips but it seems that you can't specify
individual map files on the command line.
 
 > > IMO \pdfmapline is by far the better concept.  I'm absolutely
 > > convinced that it's more valuable to invest the time in order to get
 > > rid of updmap instead of improving it.
 > >
 > There is a small caveat. If I need a small part of text in Times, I
 > write just {\usefont{T1}{ptm}{m}{n}Text} and I know that the driver
 > knows from updmap.cfg how to handle Times. If updmap.cfg is
 > removed, all these documents will cease to work unless the
 > \pdfmapline commands are dumped into the format.

Good that you mention it.  Maybe this problem can be solved somehow,
but ATM I'm quite clueless.  The following works fine:

-------------------------------------------------------
\documentclass{article}
\begin{document}
text
\newpage
text
\newpage
\pdfmapline{=zchr8r CharterBT-Roman <8r.enc <bchr8a.pfb}
{\usefont{T1}{zch}{m}{n}Text}
\newpage
text
\end{document}
-------------------------------------------------------

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.

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