[luatex] From glyph node to font to glyph width

Yannis Haralambous yannis.haralambous at telecom-bretagne.eu
Wed Jan 21 13:21:18 CET 2009


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.

thanks in advance

Yannis
--
+ 
-----------------------------------------------------------------------+
| Yannis Haralambous, Ph.D.      yannis.haralambous at telecom- 
bretagne.eu |
| Directeur d'Études                      http://omega.enstb.org/ 
yannis |
|                                             Tel. +33  
(0)2.29.00.14.27 |
|                                             Fax  +33  
(0)2.29.00.12.82 |
| Département  
Informatique                                              |
| TELECOM  
Bretagne                                                      |
| Technopôle de Brest Iroise, CS 83818, 29238 Brest CEDEX 3,  
France     |
| Coordonnées Google-Earth : 48°21'31.57"N  
4°34'16.76"W                 |
+ 
-----------------------------------------------------------------------+
                             ...pour distinguer l'extérieur d'un  
aquarium,
                                            mieux vaut n'être pas  
poisson

                            ...the ball I threw while playing in the  
park
                                           has not yet reached the  
ground

               Es gab eine Zeit, wo ich nur ungern über Schubert  
sprechen,
            nur Nächtens den Bäumen und Sternen von ihm vorerzählen  
mögen.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/luatex/attachments/20090121/3a67fa04/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Yannis Haralambous.vcf
Type: text/directory
Size: 508 bytes
Desc: not available
Url : http://tug.org/pipermail/luatex/attachments/20090121/3a67fa04/attachment.bin 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/luatex/attachments/20090121/3a67fa04/attachment-0001.html 


More information about the luatex mailing list