[XeTeX] Problem with the courier font pcrr8a.pfb

Ulrike Fischer news2 at nililand.de
Mon Mar 3 19:14:47 CET 2008


Am Mon, 3 Mar 2008 17:15:06 +0000 schrieb Jonathan Kew:

>> Is this a bug of the font or of xdvipdfmx?
> 
> It seems that the font is using an "obsolete" Type 1 construction;  
> this may not strictly speaking be a bug, but it's not a good idea.

> With xelatex + fontspec + xdvipdfmx, you're asking for it to be used  
> as a Unicode font, potentially accessing more than 256 characters and  
> addressing them by 16-bit indexes; to do this, xdvipdfmx has to  
> convert the font to CID Type 0, and it can't do that conversion with  
> this obsolete type of font program.

OK. 

 
> 
> Possible solutions:

e) Using the urw clone works too 

\setmainfont{Nimbus Mono L Regular}

> One last remark: I'm a bit surprised that xelatex + fontspec locates  
> and uses pfb fonts like this; I'm not sure it's really appropriate  
> for it to do so.  But that may depend on how things are configured in  
> MikTeX. Perhaps it's too "eager" to include the texmf/fonts  
> directories as though they were system-level fonts.

As far as I can see the only one font with the name "Courier" is this
one. So eager or not there is no alternative. 


-- 
Ulrike Fischer 



More information about the XeTeX mailing list