[Dev-luatex] lastnodetype=7 ?

luigi scarso luigi.scarso at gmail.com
Mon Apr 27 12:14:54 CEST 2020


On Tue, Apr 21, 2020 at 1:45 AM Robert <w.m.l at gmx.net> wrote:

> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/dev-luatex/attachments/20200427/4ea659b6/attachment.htm>


More information about the dev-luatex mailing list