[XeTeX] Font sizes in footnotes, and dashes

Jonathan Kew jonathan_kew at sil.org
Fri May 20 20:28:29 CEST 2005


On 20 May 2005, at 6:36 pm, Tara Andrews wrote:

> this command, which as far as I can tell is the correct syntax:
>
>
>>     \newfontinstance\armfont{Mshtakan}
>>
>
> generates the error:
>
> ! Font \zf at fonttwo=Mshtakan/B at 10.0pt not loadable: ATSUI font not 
> found.
> \ifEqFonts ...fi \font \zf at fonttwo = "#2" at 10pt
>                                                   \edef \@tempb 
> {\fontname \...
> l.6 \newfontinstance\armfont{Mshtakan}
>
> This obviously confuses me a bit, as loading it via \font gives no 
> error at all.  I've tried it with and without the quotes.

Without quotes is correct for fontspec, BTW. And what you were loading 
via \font was only the regular face; the difference here is that 
\newfontinstance is trying to set up styled faces as well, in case you 
use \armfont in a bold or italic context.

It seems that the four faces of Mshtakan are not properly recognized as 
making up a family, by the Apple Type Services functions that XeTeX 
uses to find the associated styles. I'm not sure why this is; I've seen 
a similar problem with some Korean fonts, but never got to the bottom 
of it. I'll look into this again when I get a chance.

Meanwhile, you can work around the problem by telling \newfontinstance 
the exact names of the styled versions of Mshtakan, rather than relying 
on it to find them automatically:

\newfontinstance\armfont[Bold=Mshtakan Bold,Italic=Mshtakan 
Oblique,BoldItalic=Mshtakan BoldOblique]{Mshtakan}

This should work (at least it doesn't give me an error any longer).

JK



More information about the XeTeX mailing list