[XeTeX] glyph index

Adam Twardoch list.adam at twardoch.com
Tue Jan 20 15:50:18 CET 2009


> On 20 Jan 2009, at 12:42, franÿffffe7ois franc wrote:
>> in the xetex process I'm trying to substitute a glyph1 by glyph2 if  
>> the glyph1 occurred in a certain context, and I want that this  
>> contextual analysis to be independent of the font engine. So, I  
>> think that I should process in native_word_node, and I should get  
>> the glyph1 ID and replace it by glyph2 ID.

The most obvious solution that comes to my mind would be to add a "calt"
(contextual alternates) OpenType Layout feature to the font.

A.


-- 

Adam Twardoch
| Language Typography Unicode Fonts OpenType
| twardoch.com | silesian.com | fontlab.net

I hate to advocate drugs, alcohol, violence, or
insanity to anyone, but they've always worked for me.
(Hunter S. Thompson)


More information about the XeTeX mailing list