<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 18, 2016 at 4:10 AM, Robert <span dir="ltr"><<a href="mailto:w.m.l@gmx.net" target="_blank">w.m.l@gmx.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 03.04.16 18:10, I wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
tex.fontidentifier is supposed to return the csname of a font, but if<br>
\pdftracingsfonts=1, it will additionally include the fontname, which is<br>
not what I would expect:<br>
<br>
\input luaotfload.sty<br>
\font\x = "Latin Modern Roman" \x<br>
\pdftracingfonts1<br>
\directlua{texio.write_nl(tex.fontidentifier(font.current()))}<br>
\bye<br>
<br>
yields `\x ("Latin Modern Roman")' instead of `\x'.<br>
<br>
(This is with luatex 0.80.)<br>
</blockquote>
<br></span>
...and still with 0.95, where \pdftracingfonts has been renamed to \tracingfonts (which, BTW, conflicts with the tracefnt package).<br>
<br>
Furthermore, somewhat related, with \tracingoutput=1, the log file does not contain any info about font expansion:<br>
<br>
\ifx\directlua\undefined<br>
 \font\x = cmr10 at 12pt\x<br>
 \pdftracingfonts1<br>
 \pdfadjustspacing2<br>
 \pdffontexpand\x 20 20 1 autoexpand<br>
\else<br>
 \input luaotfload.sty<br>
 \font\x = "Latin Modern Roman" at 12pt \x<br>
 \tracingfonts1<br>
 \adjustspacing2<br>
 \expandglyphsinfont\x 20 20 1 autoexpand<br>
\fi<br>
 \tracingoutput1<br>
 \showboxdepth\maxdimen<br>
 \showboxbreadth\maxdimen<br>
 \hsize=1pt<br>
Test<br>
 \bye<br>
<br>
With pdftex, this will yield lines like:<br>
<br>
| ...\x (cmr10-20@12.0pt) T<br>
<br>
(font, expansion value, size),<br>
whereas with luatex, it's just:<br>
<br>
|...\x ("Latin Modern Roman") T<br>
<br>
(no expansion value, no step).<br>
<br>
Best,<span class="HOEnZb"><font color="#888888"><br>
-- <br>
 Robert<br>
<br>
</font></span></blockquote></div><div class="gmail_extra"><br></div>ok, thank you for the report. We will see it asap.<br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">luigi<br></div>
</div></div>