[XeTeX] xdv2pdf psfonts.map

Hans Hagen pragma at wxs.nl
Thu May 18 18:27:34 CEST 2006


Jonathan Kew wrote:
> On 18 May 2006, at 4:00 pm, Likai Liu wrote:
>
>   
>> Hi all,
>>
>> It looks like I found out why xdv2pdf cannot find psfonts.map on some
>> systems, even though kpsewhich clearly shows its presence. In
>> xdv2pdf_main.c, the path that xdv2pdf uses to look for .map files (for
>> format "dvips config") is defined by the TEXCONFIG variable in
>> texmf.cnf. However, on some systems (like Fink teTeX), TEXCONFIG only
>> looks under $TEXMF/dvips//, but psfonts.map are generated under
>> $TEXMF/fonts/map/dvips// (or $VARTEXFONTS/map/dvips// more
>> specifically).
>>
>> Simply adding the second path to TEXCONFIG works, but I think xdv2pdf
>> should be using TEXFONTMAPS variable instead.
>>     
>
> Sounds good to me. I've changed this in the code, and it seems to  
> work fine on my system. Of course, it worked for me previously, too,  
> but let's hope this works better on other configurations.
>
> (I have a vague idea that maybe there weren't as many of these  
> variables defined, back when this was first written; or the texmf  
> structure has changed, or something.... I think there was a reason  
> for the way it was done, but at this point your proposal looks like  
> the right thing to do.)
>
>   
some time ago, the map and enc files moved to

<texmf>/fonts/map
<texmf>/fonts/enc

also, we now have:

TEXFONTMAPS   = .;$TEXMF/fonts/map/{$progname,pdftex,dvips,}//

which means that xetex can set 'progname' to what it desires and pick up 
the map files it likes most

Hans

-- 

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------



More information about the XeTeX mailing list