[XeTeX] An example of the use of \x="[filename]"

Jonathan Kew jonathan_kew at sil.org
Fri Aug 18 11:32:52 CEST 2006

On 18 Aug 2006, at 9:35 am, Stephen Moye wrote:

> In the name of sanity, I simplified the experiment. The font file
> (OTF) is now in the same directory as the TeX file.
> The TeX file:
> ---------
> \font\x="[SabonNextLT-Black]" at 12pt \x
> This is fun
> \bye
> PS The font I used yesterday was an OTF font converted hastily from
> an LWFN font using FontLab, thus the misleading name.

BTW, I would suggest using the full filename (with extension), as in:

> \font\x="[SabonNextLT-Black.otf]" at 12pt \x

Currently, the search does try appending extensions, so you can get  
away without it, but I'm not sure that's really a good idea (and  
maybe it'll change at some point).


More information about the XeTeX mailing list