[XeTeX] fontspec example

Jonathan Kew jonathan_kew at sil.org
Mon Nov 1 20:24:28 CET 2004


OK, I'm not Will, but I may have an answer: are you running an old 
version of XeTeX? If you aren't using at least version 0.85 or so (I 
forget the precise history; it's on the web site), LaTeX/NFSS will have 
trouble with font names containing spaces.

JK

On 1 Nov 2004, at 7:01 pm, Michael Erlewine wrote:

> Will,
>
> I'm trying to get a document to work with fontspec, but I'm afraid I 
> might have gotten the syntax wrong... some sample documents would be 
> helpful with your package, btw. But if you could check what I have 
> here really quick, it would be greatly appreciated.
>
> %&program=xelatex
> %&encoding=UTF-8 Unicode
>
> \documentclass[12pt]{report}
> \usepackage{fontspec}
>
> \setromanfont{Lucida Grande}
>
> \begin{document}
>
> \fontspec{Lucida Grande}
>
> blah blah blah
>
> \end{document}
>
> When I try to run this through, I get the following error:
>
> ! Font \testfont=Lucida Grande/B at 10.0pt not loadable: ATSUI font 
> not found.
> \zf at make@aat at feature@string ... at macname " at 10pt
> \edef \zf at this@featurename...
> l.10 \setromanfont{Lucida Grande}
>
> ?
>
> Is there a problem with the way I'm referencing the font?
>
> Thanks,
>
> mitcho
>
> -- 
> mitcho (Michael Erlewine)
> mitcho at mitcho.com
> Departments of Mathematics and Linguistics
> University of Chicago
>
> _______________________________________________
> XeTeX mailing list
> postmaster at tug.org
> http://tug.org/mailman/listinfo/xetex



More information about the XeTeX mailing list