texlive[65175] Build/source/texk/web2c/luatexdir: Track last node in
commits+lscarso at tug.org
commits+lscarso at tug.org
Sat Dec 3 12:53:48 CET 2022
Revision: 65175
http://tug.org/svn/texlive?view=revision&revision=65175
Author: lscarso
Date: 2022-12-03 12:53:48 +0100 (Sat, 03 Dec 2022)
Log Message:
-----------
Track last node in ligature handling (M.Kruger)
Modified Paths:
--------------
trunk/Build/source/texk/web2c/luatexdir/ChangeLog
trunk/Build/source/texk/web2c/luatexdir/font/luafont.c
trunk/Build/source/texk/web2c/luatexdir/luatex_svnversion.h
Modified: trunk/Build/source/texk/web2c/luatexdir/ChangeLog
===================================================================
--- trunk/Build/source/texk/web2c/luatexdir/ChangeLog 2022-12-03 11:09:48 UTC (rev 65174)
+++ trunk/Build/source/texk/web2c/luatexdir/ChangeLog 2022-12-03 11:53:48 UTC (rev 65175)
@@ -1,4 +1,7 @@
2022-12-03 Luigi Scarso <luigi.scarso at gmail.com>
+ * Track last node in ligature handling (M.Krüger)
+
+2022-12-03 Luigi Scarso <luigi.scarso at gmail.com>
* Make disc node prev. pointers more uniform (M.Krüger)
2022-11-20 Luigi Scarso <luigi.scarso at gmail.com>
Modified: trunk/Build/source/texk/web2c/luatexdir/font/luafont.c
===================================================================
--- trunk/Build/source/texk/web2c/luatexdir/font/luafont.c 2022-12-03 11:09:48 UTC (rev 65174)
+++ trunk/Build/source/texk/web2c/luatexdir/font/luafont.c 2022-12-03 11:53:48 UTC (rev 65175)
@@ -2242,6 +2242,7 @@
static halfword handle_lig_word(halfword cur)
{
halfword right = null;
+ halfword last = null;
if (type(cur) == boundary_node) {
halfword prev = alink(cur);
halfword fwd = vlink(cur);
@@ -2481,9 +2482,10 @@
} else {
/*tex We have glyph nor disc. */
- return cur;
+ return last;
}
/*tex Goto the next node, where |\par| allows |vlink(cur)| to be NULL. */
+ last = cur;
cur = vlink(cur);
}
return cur;
Modified: trunk/Build/source/texk/web2c/luatexdir/luatex_svnversion.h
===================================================================
--- trunk/Build/source/texk/web2c/luatexdir/luatex_svnversion.h 2022-12-03 11:09:48 UTC (rev 65174)
+++ trunk/Build/source/texk/web2c/luatexdir/luatex_svnversion.h 2022-12-03 11:53:48 UTC (rev 65175)
@@ -1,4 +1,4 @@
#ifndef luatex_svn_revision_h
#define luatex_svn_revision_h
-#define luatex_svn_revision 7551
+#define luatex_svn_revision 7552
#endif
More information about the tex-live-commits
mailing list.