Re: [luatex] Spacing issue
On Sat, 21 Feb 2026 at 10:34, David Carlisle wrote: > Yes thanks Hans, Luigi and anyone else involved. > > This reached texlive pretest and the overprinting seems fixed. > > David > ok. -- luigi
Re: [luatex] Spacing issue
Yes thanks Hans, Luigi and anyone else involved.
This reached texlive pretest and the overprinting seems fixed.
David
On Thu, 19 Feb 2026 at 05:03, Mikael Sundqvist wrote:
> Den ons 18 feb. 2026 21:13luigi scarso skrev:
>
>>
>>
>> On Sat, 14 Feb 2026 at 01:00, David Carlisle
>> wrote:
>>
>>> or in plain
>>>
>>> \input luaotfload.sty
>>>
>>> \font\lm="[latinmodern-math.otf]:mode=base;script=math;language=dflt; at
>>> 10.0pt]"
>>> \font\lms="[latinmodern-math.otf]:mode=base;script=math;language=dflt;
>>> at 7.0pt]"
>>> \font\lmss="[latinmodern-math.otf]:mode=base;script=math;language=dflt;
>>> at 5.0pt]"
>>>
>>>
>>> \textfont0=\lm
>>> \scriptfont0=\lms
>>> \scriptscriptfont0=\lmss
>>>
>>> \textfont1=\lm
>>> \scriptfont1=\lms
>>> \scriptscriptfont1=\lmss
>>>
>>> \textfont2=\lm
>>> \scriptfont2=\lms
>>> \scriptscriptfont2=\lmss
>>>
>>> \textfont3=\lm
>>> \scriptfont3=\lms
>>> \scriptscriptfont3=\lmss
>>>
>>> \Umathchardef\int 1 3 "222B
>>>
>>>
>>>
>>> $$
>>> \int\limits_{hmm}\int\limits_{hmm}
>>> $$
>>> \bye
>>>
>>>
>>>
>> I have just committed Revision: 77944
>> the relevant part is
>> Modified: trunk/Build/source/texk/web2c/luatexdir/tex/mlist.c
>> ===
>> --- trunk/Build/source/texk/web2c/luatexdir/tex/mlist.c 2026-02-18
>> 16:11:12 UTC (rev 77943)
>> +++ trunk/Build/source/texk/web2c/luatexdir/tex/mlist.c 2026-02-18
>> 20:01:50 UTC (rev 77944)
>> @@ -3292,10 +3292,10 @@
>> /*tex v is the still empty target */
>> height(v) = height(y);
>> depth(v) = depth(y);
>> - if (opentype) {
>> - width(v) -= delta;
>> - // delta = 0;
>> - }
>> + //if (opentype) {
>> +// width(v) -= delta;
>> +// // delta = 0;
>> + //}
>> /*tex
>>
>> Attach the limits to |y| and adjust |height(v)|, |depth(v)|
>> to
>>
>> Following Hans, it's almost certainly a partial fix, and needs more
>> testing.
>>
>> (and as per TeX Live 2026 Plan:
>> 21feb: Code freeze for final build, major bug fixes only.)
>>
>
> Thank you Hans for the quick fix!
>
> First of all, sorry to push you into this ic mess of ours again, and sorry
> that we did not test the changes from March 2025 earlier. Maybe we need a
> better setup for testing during the year.
>
> Since code freeze for TL26 is so soon, we will now speed up the testing.
> Our big set of regression tests will likely(hopefully) catch any remaining
> problematic cases.
>
> Also, I hope that these changes do not introduce any problems for you with
> context mkiv. Sorry if they do, since I understand that you are more keen
> to work on mkxl.
>
> Again, thanks for spending time again on luatex, that we are so dependent
> on.
>
>>
Re: [luatex] Spacing issue
Den ons 18 feb. 2026 21:13luigi scarso skrev:
>
>
> On Sat, 14 Feb 2026 at 01:00, David Carlisle
> wrote:
>
>> or in plain
>>
>> \input luaotfload.sty
>>
>> \font\lm="[latinmodern-math.otf]:mode=base;script=math;language=dflt; at
>> 10.0pt]"
>> \font\lms="[latinmodern-math.otf]:mode=base;script=math;language=dflt; at
>> 7.0pt]"
>> \font\lmss="[latinmodern-math.otf]:mode=base;script=math;language=dflt;
>> at 5.0pt]"
>>
>>
>> \textfont0=\lm
>> \scriptfont0=\lms
>> \scriptscriptfont0=\lmss
>>
>> \textfont1=\lm
>> \scriptfont1=\lms
>> \scriptscriptfont1=\lmss
>>
>> \textfont2=\lm
>> \scriptfont2=\lms
>> \scriptscriptfont2=\lmss
>>
>> \textfont3=\lm
>> \scriptfont3=\lms
>> \scriptscriptfont3=\lmss
>>
>> \Umathchardef\int 1 3 "222B
>>
>>
>>
>> $$
>> \int\limits_{hmm}\int\limits_{hmm}
>> $$
>> \bye
>>
>>
>>
> I have just committed Revision: 77944
> the relevant part is
> Modified: trunk/Build/source/texk/web2c/luatexdir/tex/mlist.c
> ===
> --- trunk/Build/source/texk/web2c/luatexdir/tex/mlist.c 2026-02-18
> 16:11:12 UTC (rev 77943)
> +++ trunk/Build/source/texk/web2c/luatexdir/tex/mlist.c 2026-02-18
> 20:01:50 UTC (rev 77944)
> @@ -3292,10 +3292,10 @@
> /*tex v is the still empty target */
> height(v) = height(y);
> depth(v) = depth(y);
> - if (opentype) {
> - width(v) -= delta;
> - // delta = 0;
> - }
> + //if (opentype) {
> +// width(v) -= delta;
> +// // delta = 0;
> + //}
> /*tex
>
> Attach the limits to |y| and adjust |height(v)|, |depth(v)| to
>
> Following Hans, it's almost certainly a partial fix, and needs more
> testing.
>
> (and as per TeX Live 2026 Plan:
> 21feb: Code freeze for final build, major bug fixes only.)
>
Thank you Hans for the quick fix!
First of all, sorry to push you into this ic mess of ours again, and sorry
that we did not test the changes from March 2025 earlier. Maybe we need a
better setup for testing during the year.
Since code freeze for TL26 is so soon, we will now speed up the testing.
Our big set of regression tests will likely(hopefully) catch any remaining
problematic cases.
Also, I hope that these changes do not introduce any problems for you with
context mkiv. Sorry if they do, since I understand that you are more keen
to work on mkxl.
Again, thanks for spending time again on luatex, that we are so dependent
on.
>
Re: [luatex] Spacing issue
Hi Frank, David, On Wed, 2026-02-18 at 22:20 +0100, Frank Mittelbach wrote: > > (and as per TeX Live 2026 Plan: > > 21feb: Code freeze for final build, major bug fixes only.) > > but sudden overprinting in math formulas surely constitute a major bug, > no? At least in my opinion it would make it one. On Wed, 2026-02-18 at 23:07 +, David Carlisle wrote: > > I have just committed Revision: 77944 > > > and as per TeX Live 2026 Plan: 21feb: Code freeze for final build, major > > bug fixes only.) > > Luigi, thanks, but I'm not sure of the flow here: does that commit mean > that it will be in tl2026 before the final builds?, I'd be happy to do some > tests as soon as it gets to the texlive pretest, however as Frank just said > I think overprinting with no warning isn't something that can be left until > 2027. Yes, this commit should make it into the pretest---77944 is a TL SVN revision number, while LuaTeX's upstream repository uses Git (so it would be a sha1 in that case). You can see the completed build in the main TL repo here: https://github.com/TeX-Live/texlive-source/actions/runs/22155656534 Thanks, -- Max
Re: [luatex] Spacing issue
> I have just committed Revision: 77944 > and as per TeX Live 2026 Plan: 21feb: Code freeze for final build, major bug fixes only.) Luigi, thanks, but I'm not sure of the flow here: does that commit mean that it will be in tl2026 before the final builds?, I'd be happy to do some tests as soon as it gets to the texlive pretest, however as Frank just said I think overprinting with no warning isn't something that can be left until 2027. David
Re: [luatex] Spacing issue
Hi Luigi (and as per TeX Live 2026 Plan: 21feb: Code freeze for final build, major bug fixes only.) but sudden overprinting in math formulas surely constitute a major bug, no? At least in my opinion it would make it one. regards frank
Re: [luatex] Spacing issue
On Sat, 14 Feb 2026 at 01:00, David Carlisle wrote:
> or in plain
>
> \input luaotfload.sty
>
> \font\lm="[latinmodern-math.otf]:mode=base;script=math;language=dflt; at
> 10.0pt]"
> \font\lms="[latinmodern-math.otf]:mode=base;script=math;language=dflt; at
> 7.0pt]"
> \font\lmss="[latinmodern-math.otf]:mode=base;script=math;language=dflt; at
> 5.0pt]"
>
>
> \textfont0=\lm
> \scriptfont0=\lms
> \scriptscriptfont0=\lmss
>
> \textfont1=\lm
> \scriptfont1=\lms
> \scriptscriptfont1=\lmss
>
> \textfont2=\lm
> \scriptfont2=\lms
> \scriptscriptfont2=\lmss
>
> \textfont3=\lm
> \scriptfont3=\lms
> \scriptscriptfont3=\lmss
>
> \Umathchardef\int 1 3 "222B
>
>
>
> $$
> \int\limits_{hmm}\int\limits_{hmm}
> $$
> \bye
>
>
>
I have just committed Revision: 77944
the relevant part is
Modified: trunk/Build/source/texk/web2c/luatexdir/tex/mlist.c
===
--- trunk/Build/source/texk/web2c/luatexdir/tex/mlist.c 2026-02-18 16:11:12
UTC (rev 77943)
+++ trunk/Build/source/texk/web2c/luatexdir/tex/mlist.c 2026-02-18 20:01:50
UTC (rev 77944)
@@ -3292,10 +3292,10 @@
/*tex v is the still empty target */
height(v) = height(y);
depth(v) = depth(y);
- if (opentype) {
- width(v) -= delta;
- // delta = 0;
- }
+ //if (opentype) {
+// width(v) -= delta;
+// // delta = 0;
+ //}
/*tex
Attach the limits to |y| and adjust |height(v)|, |depth(v)| to
Following Hans, it's almost certainly a partial fix, and needs more testing.
(and as per TeX Live 2026 Plan:
21feb: Code freeze for final build, major bug fixes only.)
--
luigi
>
Re: [luatex] Spacing issue
On Sat, 14 Feb 2026 at 01:03, luigi scarso wrote: > > > On Sat, 14 Feb 2026 at 00:21, David Carlisle > wrote: > >> >> It seems to see most of the subscript width but always allows some >> over-shoot >> >> > checking > > (still checking) as far as I can see it's been there from tag 1.23.0 , commit 65159571fbd11adfae5c66d2ac3c64a81d97f486 (tag: 1.23.0) Author: Luigi Scarso Date: Tue Mar 18 17:36:34 2025 +0100 LuaTeX 1.23.0 -- luigi >
Re: [luatex] Spacing issue
On Sat, 14 Feb 2026 at 00:21, David Carlisle wrote: > > It seems to see most of the subscript width but always allows some > over-shoot > > checking -- luigi >
Re: [luatex] Spacing issue
or in plain
\input luaotfload.sty
\font\lm="[latinmodern-math.otf]:mode=base;script=math;language=dflt; at
10.0pt]"
\font\lms="[latinmodern-math.otf]:mode=base;script=math;language=dflt; at
7.0pt]"
\font\lmss="[latinmodern-math.otf]:mode=base;script=math;language=dflt; at
5.0pt]"
\textfont0=\lm
\scriptfont0=\lms
\scriptscriptfont0=\lmss
\textfont1=\lm
\scriptfont1=\lms
\scriptscriptfont1=\lmss
\textfont2=\lm
\scriptfont2=\lms
\scriptscriptfont2=\lmss
\textfont3=\lm
\scriptfont3=\lms
\scriptscriptfont3=\lmss
\Umathchardef\int 1 3 "222B
$$
\int\limits_{hmm}\int\limits_{hmm}
$$
\bye
On Fri, 13 Feb 2026 at 23:20, David Carlisle wrote:
>
> It seems to see most of the subscript width but always allows some
> over-shoot
>
> a simpler example is
>
> \documentclass{article}
>
> \usepackage{unicode-math}
>
> \begin{document}
>
> \[
> \int\limits_{hmm}\int\limits_{hmm}
> \]
>
>
> \end{document}
>
>
> [image: image.png]
>
> which previously gave
>
> [image: image.png]
>
>
> David
>
>
> On Fri, 13 Feb 2026 at 20:37, Max Hullmann <
> [email protected]> wrote:
>
>> Hello together,
>>
>>
>>
>> there seems to be a spacing issue with the recent lualatex version (This
>> is LuaHBTeX, Version 1.24.0 (MiKTeX 26.1) (format=lualatex 2026.2.13) 13
>> FEB 2026 20:31):
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> Code:
>>
>>
>>
>> \documentclass{*scrartcl*}
>>
>>
>>
>> \usepackage{unicode-math}
>>
>> \setmathfont{*Latin* Modern *Math*}[math-style=TeX]
>>
>>
>>
>> \begin{document}
>>
>> \begin{equation}
>>
>> \int\limits_{-b/2}^{b/2} \int\limits_{-b/2}^{b/2}
>>
>> \end{equation}
>>
>>
>>
>> \end{document}
>>
>>
>>
>>
>>
>> Maybe someone can resolve this.
>>
>>
>>
>> Kind regards,
>>
>> Max
>>
>
Re: [luatex] Spacing issue
It seems to see most of the subscript width but always allows some
over-shoot
a simpler example is
\documentclass{article}
\usepackage{unicode-math}
\begin{document}
\[
\int\limits_{hmm}\int\limits_{hmm}
\]
\end{document}
[image: image.png]
which previously gave
[image: image.png]
David
On Fri, 13 Feb 2026 at 20:37, Max Hullmann
wrote:
> Hello together,
>
>
>
> there seems to be a spacing issue with the recent lualatex version (This
> is LuaHBTeX, Version 1.24.0 (MiKTeX 26.1) (format=lualatex 2026.2.13) 13
> FEB 2026 20:31):
>
>
>
>
>
>
>
>
>
> Code:
>
>
>
> \documentclass{*scrartcl*}
>
>
>
> \usepackage{unicode-math}
>
> \setmathfont{*Latin* Modern *Math*}[math-style=TeX]
>
>
>
> \begin{document}
>
> \begin{equation}
>
> \int\limits_{-b/2}^{b/2} \int\limits_{-b/2}^{b/2}
>
> \end{equation}
>
>
>
> \end{document}
>
>
>
>
>
> Maybe someone can resolve this.
>
>
>
> Kind regards,
>
> Max
>
