[Dev-luatex] Font id from csname?

Hans Hagen pragma at wxs.nl
Sun Dec 13 11:52:29 CET 2009


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())}


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the dev-luatex mailing list