lastnodetype=7 ?
![](https://secure.gravatar.com/avatar/72c2868ffed6dbe9c8ab1cc9709ef4ac.jpg?s=120&d=mm&r=g)
Hi, \lastnodetype doesn't give the expected result for ligature nodes (7), registering them as char nodes (0) instead. This happens for both legacy and opentype fonts: \font\x=cmr12 \x \setbox0\hbox{fl} \unhbox0 \the\lastnodetype \ifdefined\directlua \input luaotfload.sty \font\x=[lmroman12-regular.otf]:script=latn;+trep;+tlig;%mode=base; \x \setbox0\hbox{fl} \unhbox0 \the\lastnodetype \fi \bye It seems to work fine with the other node types (but I haven't tested all of them ...). Best, -- Robert
![](https://secure.gravatar.com/avatar/386a116d129cdc597f2bb6210bbaff7a.jpg?s=120&d=mm&r=g)
On Tue, Apr 21, 2020 at 1:45 AM Robert
Hi,
\lastnodetype doesn't give the expected result for ligature nodes (7), registering them as char nodes (0) instead. This happens for both legacy and opentype fonts:
\font\x=cmr12 \x \setbox0\hbox{fl} \unhbox0 \the\lastnodetype
\ifdefined\directlua \input luaotfload.sty \font\x=[lmroman12-regular.otf]:script=latn;+trep;+tlig;%mode=base; \x \setbox0\hbox{fl} \unhbox0 \the\lastnodetype \fi \bye
It seems to work fine with the other node types (but I haven't tested all of them ...).
Fixed in revision 7359. -- luigi
participants (2)
-
luigi scarso
-
Robert