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

Jonathan Kew jonathan_kew at sil.org
Thu May 20 10:13:29 CEST 2004


Yes, that's probably the reason the CM fonts don't render for Nicholas;  
if the installer fails to locate your texmf.cnf file and add the  
appropriate OTFFONTS entry, then xdv2pdf (the tool that actually  
creates the final PDF file) won't be able to find the .otf files, and  
you'll see this kind of problem.

I've been working with the teTeX (gwTeX) installation available through  
i-Installer, and I'm aware that with different TeX installations there  
may be differences that confuse the current XeTeX installer. I hope to  
get a chance to examine other TeX setups and make things more flexible  
and robust, and it's helpful to hear what happens for other people:  
both what fails, and how you work around the problems (if possible).

As for kpsewhich: you're correct, it doesn't know anything about .otf  
files. At this point, the use of .otf files, and the whole  
$TEXMF/fonts/otf/ directory, is only known to the XeTeX package. I  
haven't tried to extend kpsewhich to know about .otf; this wouldn't be  
hard, but I've tried to interfere as little as possible with existing  
parts of the TeX setup.

If you're technically inclined, you can use tracing features to  
troubleshoot problems like this, running the tools at the command line.  
Use the "-no-pdf" flag with xetex, and you'll get a .xdv (extended DVI)  
file instead of a .pdf; then you can run xdv2pdf with the "-v"  
(verbose) and/or "-d #" (kpathsearch debug options; use "-d -1" for  
maximum output) flags.

In this particular case, it sounds like lack of an OTFFONTS entry in  
texmf.cnf is the most likely explanation.


On 20 May 2004, at 5:04 am, Chanop Silpa-Anan wrote:

> Hi Nicholas,
> By no mean a XeTeX expert, I have recently had XeTeX installed on
> Panther; I had the same error message when I hacked the installer
> package -- which I ended up manually install the files -- to play  
> nicely
> with my tetex installation from darwinport. One point that might have
> biten you:
>  1. Check texmf.cnf (mine lives in /usr/local/share/texmf/web2c) that
>     you have OTFFONTS = .;$TEXMF/fonts/otf// .
> My question to developper is that whether kpsewhich show *.otf; mine  
> does
> not.
> Cheers,
> Chanop
> On a good day of Wed, May 19, 2004 at 09:55:43PM -0500, Nicholas Riley  
> wrote
>> Hi,
>> I've just started playing with XeTeX.  I've got it installed, and all
>> the samples render (well, I didn't wait for 800 variants of Skia :)
>> except for those which use Computer Modern.
>> With CM-test.tex, I get:
>>     This is XeTeX, Version 3.14159-2.1-0.7 (Web2C 7.5.2)
>>     entering extended mode
>>     (./CM-test.tex [1]
>>     *** font cmti10 (CMTI10: file 'cmti10') not found
>>     *** font cmbx10 (CMBX10: file 'cmbx10') not found
>>     *** font cmsl10 (CMSL10: file 'cmsl10') not found
>>     *** font cmr10 (CMR10: file 'cmr10') not found
>>     *** font cmex10 (CMEX10: file 'cmex10') not found
>>     *** font cmsy7 (CMSY7: file 'cmsy7') not found
>>     *** font cmmi10 (CMMI10: file 'cmmi10') not found
>>     *** font cmmi7 (CMMI7: file 'cmmi7') not found
>>     *** font cmr5 (CMR5: file 'cmr5') not found
>>     *** font cmr7 (CMR7: file 'cmr7') not found
>>     *** font cmsy10 (CMSY10: file 'cmsy10') not found  )
>>     Output written on CM-test.pdf (1 page).
>>     Transcript written on CM-test.log.
>> Any idea why the CM fonts aren't being found?  Do I need to convert
>> them somehow?  I have no problem if I use pdfTeX instead.
> --  
> ,---------------------------------------------------------------------- 
> -------.
> | Chanop Silpa-Anan                          <chanop at debian.org>        
>        |
> | Australian National University                                        
>        |
> | got sparetime ?                                                       
>        |
> | http://thai.anu.edu.au/                                               
>        |
> |      Debian GNU/Linux      GPG http://thai.anu.edu.au/chanop.asc      
>        |
> `---------------------------------------------------------------------- 
> -------'
> _______________________________________________
> XeTeX mailing list
> postmaster at tug.org
> http://tug.org/mailman/listinfo/xetex

More information about the XeTeX mailing list