Home | Installation | Quick Start | Documentation | Cookbook
Does XeTeX support user-selectable Graphite font features and how are they accessed?
Yes. They're accessed by adding the feature names and settings required to the font name, just like AAT features (and unlike OpenType features, which don't have names, only tags). So for example, as a plain XeTeX font declaration, you might say:
\font\charis = "Charis SIL/GR:
Uppercase Eng alternates=Capital N with tail;
Literacy alternates=True" at 12pt
...
\charis This is some sample text....
to load and use Charis with a couple of specific features. For ptx2pdf, you'd simply include the feature settings in the font name defined for \regular, \bold, etc.
To find out the names of the features supported by a font, you can consult the font's documentation, look in the user interface of an application that provides full Graphite feature support, or run the "feature-info.tex" file through XeTeX, editing it to specify the font you want to know about. This will generate a PDF that reports the font's available feature names and settings.
Updated on Jan 6, 2012 by Jeff Klassen (Version 3)