[luatex] tex.fontidentifier vs. \pdftracingfonts

Robert w.m.l at gmx.net
Sun Apr 3 18:10:03 CEST 2016


Hi,

tex.fontidentifier is supposed to return the csname of a font, but if 
\pdftracingsfonts=1, it will additionally include the fontname, which is 
not what I would expect:

\input luaotfload.sty
\font\x = "Latin Modern Roman" \x
\pdftracingfonts1
\directlua{texio.write_nl(tex.fontidentifier(font.current()))}
\bye

yields `\x ("Latin Modern Roman")' instead of `\x'.

(This is with luatex 0.80.)

Best,
-- 
  Robert



More information about the luatex mailing list