[XeTeX] graphite-info.tex

Lorna Evans lorna_evans at sil.org
Thu Jun 16 04:17:07 CEST 2016


Thank you both. I learned something today!
On Jun 15, 2016 6:34 PM, "Jonathan Kew" <jfkthame at gmail.com> wrote:

> On 15/6/16 20:38, Lorna Evans wrote:
>
>> Is there a graphite-info.tex to find out what the feature names are in a
>> Graphite font?
>>
>> I've haven't been able to find it and it would be useful. Or, is there
>> some other way to display all the Graphite features in a font.
>>
>
> If I remember aright, the graphite feature support in xetex shares the
> same commands as the AAT feature support, so you should be able to run the
> AAT-info.tex file and just change the font names appropriately. (You'll
> need to change the Mac-specific fonts it uses to annotate the output, as
> well as the name of the actual target font.)
>
>
>> My actual problem is that I have a font where the feature name is "Long
>> U with Yayit, long UU with Hato". I'm able to access all other features
>> in the font except this one. I wonder if XeTeX thinks it's too long or
>> if it doesn't like the comma in the feature name. Would it concatenate
>> the feature name in that case?
>>
>>
> I'm pretty sure the comma is the problem; the "micro-syntax" xetex parses
> in the font name string will treat comma as separating two successive
> values for the same feature name. That is, it's intended to let you say
> things like:
>
>   \font\x = "MyFont:Ligatures=Common,Rare,Historical"
>
> as a shorthand for:
>
>   \font\x = "MyFont:Ligatures=Common;Ligatures=Rare;Ligatures=Historical"
>
> To work around this, I _think_ it also lets you specify features by ID
> (like for OpenType fonts), so you should be able to do
>
>   \font\x = "Padauk:+ulon"
>
> as suggested by Andrew in the reply I just saw arrive. :)
>
> JK
>
>
>
> --------------------------------------------------
> Subscriptions, Archive, and List information, etc.:
>  http://tug.org/mailman/listinfo/xetex
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/xetex/attachments/20160615/f48c858b/attachment.html>


More information about the XeTeX mailing list