[luatex] How to access fonts from TeX

Taco Hoekwater taco at elvenkind.com
Mon Sep 21 10:03:13 CEST 2009


Patrick Gundlach wrote:
> Sorry for my continuous questions...
> 
> when I use font.define() to define a font, can I access this font from 
> the TeX side? Similar to \font\myfont=... ?

Not directly, because there is no command name attached (the situation
is a bit like the \font\preloaded= statements in plain.tex). But you
can use tex.definefont() to create that mapping.

Best wishes,
Taco


More information about the luatex mailing list