[Dev-luatex] Font id from csname?

Khaled Hosny khaledhosny at eglug.org
Sun Dec 13 12:12:40 CET 2009


On Sun, Dec 13, 2009 at 11:52:29AM +0100, Hans Hagen wrote:
> Khaled Hosny wrote:
> >Is there a way to retrieve internal font id from its csname, either using
> >lua or some tex hackary?
> 
> {\somefont \directlua{tex.write(font.current())}

Yup, I know about font.current(), but this means I've to activate the
font first which is not some thing I can do (I need this for fontspec;
I want to access the font table of a certain defined font that I only
know it csname).

Regards,
 Khaled


-- 
 Khaled Hosny
 Arabic localiser and member of Arabeyes.org team
 Free font developer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://www.ntg.nl/mailman/private/dev-luatex/attachments/20091213/71ef6fc2/attachment.pgp>


More information about the dev-luatex mailing list