[luatex] From glyph node to font to glyph width

Taco Hoekwater taco at elvenkind.com
Wed Jan 21 13:32:29 CET 2009



Yannis Haralambous wrote:
> Could you please tell me how to access the font of a glyph?
> 
> When traversing a horizontal node list I get nodes of type glyph, if t
> is such a node then t.font gives me an identifier. How do I get the font
> with that identifier?
> I have tried font[t.font] but it didn't worked. The goal is to obtain
> the TeX dimensions of the glyph.

font.fonts[t.font]

Best wishes,
Taco


More information about the luatex mailing list