[XeTeX] Fontspec bug?

Jonathan Kew jonathan_kew at sil.org
Wed May 17 20:07:43 CEST 2006


On 17 May 2006, at 6:17 pm, Bruno Voisin wrote:

> I just tried to convert a document of mine using bare-bones XeLaTeX
> font selection of the form:
> [snip]
> to font selection using the fontspec package:
> [snip]
> No need to emphasize the convenience of the second approach!
>
> However, looking more closely I noticed numbers in math formulae are
> typeset in Hoefler Text as intended in the first case (thanks to the
> redefinition of the operators font, see \DeclareMathSymbol{0}
> {\mathalpha}{operators}{`0} etc. in /usr/local/teTeX/share/
> texmf.tetex/tex/latex/base/fontmath.ltx), but in Computer Modern when
> using fontspec (v1.9).

I'll reply to this as Will has probably quit for the day (night)!

This is a bug in fontspec 1.9 -- I know Will is aware of it and it'll  
be fixed in the next version he releases.

> It seems the culprit is line 936 of fontspec.sty, which instead of
>
>      \ifzf at math@lucida
>
> should read
>
>      \ifzf at math@lucida\else

Yes, that's the line that needs to be corrected, according to WR.

JK



More information about the XeTeX mailing list