[XeTeX] Error in recognizing fonts

Jonathan Kew jonathan at jfkew.plus.com
Tue Jan 6 11:53:04 CET 2009


On 6 Jan 2009, at 09:26, Alan Jones wrote:

> Hi:
>
> I am just trying these examples in XeTeX. I have Hoefler Text
> installed, when I use
> \setmainfont{Heofler Text} things work but, when I use
>
> \font\hoefler="Hoefler Text/B:Letter Case=Small Caps" at 12pt
> \hoefler This is the AAT font Hoefler Text in bold with small caps

Did you copy/paste this from your file, or type it directly into the  
mail message? I suspect the latter, because it doesn't quite match  
what appears in the error you quote below:

>
> This in the text body. I get this error.
>
> (/usr/share/texmf-texlive/tex/latex/base/fixltx2e.sty))
> (./sample1.aux)kpathsea: Illegal fontname ```Hoefler': contains '`'
>
> ! Font \hoefler=``Hoefler not loadable: Metric (TFM) file or  
> installed font not
> found.
> <to be read again>
>                   T
> l.11 \font\hoefler=``Hoefler T
>                              ext/B:Letter Case=Small Caps'' at 12pt
> ?

Look at the quote marks there. I suspect you're using an editor that  
is replacing " with `` as you type.

JK



More information about the XeTeX mailing list