[luatex] First question: Retrieve *family* name of a font / the three main families

Ulrike Fischer luatex at nililand.de
Sun Jan 21 21:29:53 CET 2018


Am Sat, 20 Jan 2018 14:29:04 -0500 schrieb Br. Samuel Springuel:

> When Urs says he wants the font family, then, he's looking for that 
> primary name which would allow a "dumb" program to select the normal, 
> bold, italic, etc. font varieties from that same family.

Then he should probably inspect the definition of 
\csname TU/\rmdefault/m/n\endcsname

and extract the font name "Arial" from the output:

> \TU/Arial(0)/m/n=macro:
->\<->"Arial:mode=node;script=latn;language=DFLT;+tlig;" .


-- 
Ulrike Fischer 
http://www.troubleshooting-tex.de/



More information about the luatex mailing list