[XeTeX] fontspec and XeTeX svn rev. 375

Jonathan Kew jonathan_kew at sil.org
Thu Sep 28 14:32:09 CEST 2006


On 28 Sep 2006, at 1:13 pm, Pablo Rodríguez wrote:

> I have just downloaded the rev. 375 of XeTeX and I get this warning  
> if I
> invoke fontspec:
>
> (/usr/local/share/texmf/tex/xelatex/euenc/lm/eu1lmr.fd)
> ! Font EU1/lmr/m/n/10=[lmroman10-regular] at 10.0pt not loadable:  
> Metric
> (TFM)
> file or installed font not found.
> <to be read again>
>                    relax
> l.100 \fontencoding\encodingdefault\selectfont
>
> I guess this is because my teTeX distribution doesn't have the Latin
> Modern fonts installed, isn't it? (Wouldn't be a way to switch it  
> off?)

Yes, sounds like it.

Will, how about modifying fontspec slightly so that it doesn't change  
the fonts by default (i.e., merely saying \usepackage{fontspec} by  
itself has no immediate effect), and providing a [latinmodern]  
package option to request the CM->LM replacement?

> I experience other error that must be caused by changes in fontspec.
> ....
> \setlength\footmarksep{0.75em}

This seems fragile, as (if I understand correctly) it is setting a  
fixed length based on whatever happens to be the current font at this  
point while your preamble is being processed -- not necessarily the  
font you'll actually be using for the main text, or for the footnote.  
So it might be affected in unexpected ways by the packages you're  
loading, their relative order, etc.

Don't know if that's your problem in this case, but it might be worth  
thinking about.

JK





More information about the XeTeX mailing list