[XeTeX] Can't get CM to render with XeTeX

Bruno Voisin bvoisin at mac.com
Thu May 20 23:16:38 CEST 2004


Le 20 mai 04, à 21:26, Jonathan Kew a écrit :

> Do you have Textures installed on your system, by any chance? Or  
> Postscript versions of the CM fonts in Mac suitcase/LWFN format  
> installed somewhere? Or even Truetype versions from somewhere? (The  
> Classic "System Folder:Fonts" location is a possibility, as well as  
> the system-wide and user OS X Fonts folders.)
>
> It sounds to me like it is finding PS or TT versions of the fonts and  
> trying to use those instead of the .otf-converted ones that XeTeX  
> installs, but the fonts it's finding lack the proper glyph name table.  
> And this means that xdv2pdf can't correctly resolve the encoding that  
> it reads from the .enc file, and so can't find the right glyphs in the  
> fonts.
>
> [...]
>
> Looking for and removing (at least temporarily, as a test) older  
> versions of CM fonts, in either PS or TT format, may help. If not,  
> please try running:
> 	xetex -no-pdf CM-test.tex
> 	xdv2pdf -v CM-test.xdv
> to get some additional trace output showing what font files xdv2pdf is  
> loading.

In case that helps: I have Textures CM fonts in FFIL/LWFN format  
installed in the Classic "Dossier Système:Polices" location, but that  
does not cause problems with XeTeX 0.7. I just tried the above  
commands, the included fonts are indeed the OTF ones:

Portable-de-Bruno:~/Desktop brunovoisin$ xdv2pdf -v CM-test.xdv
[1
{fontmap:  
/usr/local/teTeX/share/texmf.local/fonts/map/dvips/updmap/psfonts.map}
{activated:  
/usr/local/teTeX/share/texmf.local/fonts/otf/xetex/bluesky/cm/ 
cmti10.otf}
{encoding: /usr/local/teTeX/share/texmf.tetex/dvips/tetex/74afc74c.enc}
{activated:  
/usr/local/teTeX/share/texmf.local/fonts/otf/xetex/bluesky/cm/ 
cmbx10.otf}
{encoding: /usr/local/teTeX/share/texmf.tetex/dvips/tetex/f7b6d320.enc}
{activated:  
/usr/local/teTeX/share/texmf.local/fonts/otf/xetex/bluesky/cm/ 
cmsl10.otf}
{activated:  
/usr/local/teTeX/share/texmf.local/fonts/otf/xetex/bluesky/cm/ 
cmr10.otf}
{activated:  
/usr/local/teTeX/share/texmf.local/fonts/otf/xetex/bluesky/cm/ 
cmex10.otf}
{activated:  
/usr/local/teTeX/share/texmf.local/fonts/otf/xetex/bluesky/cm/ 
cmsy7.otf}
{encoding: /usr/local/teTeX/share/texmf.tetex/dvips/tetex/bbad153f.enc}
{activated:  
/usr/local/teTeX/share/texmf.local/fonts/otf/xetex/bluesky/cm/ 
cmmi10.otf}
{encoding: /usr/local/teTeX/share/texmf.tetex/dvips/tetex/aae443f0.enc}
{activated:  
/usr/local/teTeX/share/texmf.local/fonts/otf/xetex/bluesky/cm/ 
cmmi7.otf}
{activated:  
/usr/local/teTeX/share/texmf.local/fonts/otf/xetex/bluesky/cm/cmr5.otf}
{encoding: /usr/local/teTeX/share/texmf.tetex/dvips/tetex/0ef0afca.enc}
{activated:  
/usr/local/teTeX/share/texmf.local/fonts/otf/xetex/bluesky/cm/cmr7.otf}
{activated:  
/usr/local/teTeX/share/texmf.local/fonts/otf/xetex/bluesky/cm/ 
cmsy10.otf} ]

I did the install from the OS X installer package.

Regarding the original poster, could it be a malformed psfonts.map, or  
a custom one in ~/texmf, or one not at the proper location, since XeTeX  
seems to be using the encodings selected in psfonts.map?

Bruno



More information about the XeTeX mailing list