[Dev-luatex] Font id from csname?
Taco Hoekwater
taco at elvenkind.com
Sun Dec 13 13:36:07 CET 2009
Taco Hoekwater wrote:
> But actually, it is possible to get the id for a font:
>
> \directlua {local id = token.create("tenrm")[2]}
>
> This does not (currently) work when you ask for the recent \font and
> that font has never been selected yet as 'currently active' font
Never mind that, it works always. I confused myself with a bad test.
Best wishes,
Taco
More information about the dev-luatex
mailing list