Hello,
I noticed a change between the versions LuaHBTeX 1.22.0 (TeX Live 2025)Β
and LuaHBTeX 1.24.0 (TeX Live 2026).
When I try to process this file by OpTeX:
-----------------
\fontfam[lm]
\tracingfonts=1
\setbox0=\hbox{$efff, {\_itletters efff}$}
\showbox0
\bye
-----------------
then I get following log with version 1.22.0:
-----------------
This is LuaHBTeX, Version 1.22.0 (TeX Live 2025) (format=optex
2025.4.3)Β 16 JUN 2026 16:59
Β restricted system commands enabled.
...
> \box0=
\hbox(7.05+2.05)x46.76657, direction TLT
.\mathon
.\_mF ([latinmodern-math]:mode=base;ssty=0;mathsize=1;script=math;@10.0pt) π
.\_mF ([latinmodern-math]:mode=base;ssty=0;mathsize=1;script=math;@10.0pt) π
.\kern0.9 (italic)
.\_mF ([latinmodern-math]:mode=base;ssty=0;mathsize=1;script=math;@10.0pt) π
.\kern0.9 (italic)
.\_mF ([latinmodern-math]:mode=base;ssty=0;mathsize=1;script=math;@10.0pt) π
.\kern0.9 (italic)
.\_mF ([latinmodern-math]:mode=base;ssty=0;mathsize=1;script=math;@10.0pt) ,
.\glue(\thinmuskip) 1.66663
.\hbox(7.05+2.05)x20.25998, direction TLT
..\_mF
([latinmodern-math]:mode=base;ssty=0;mathsize=1;script=latn;@10.0pt) π
..\_mF
([latinmodern-math]:mode=base;ssty=0;mathsize=1;script=latn;@10.0pt) π
..\_mF
([latinmodern-math]:mode=base;ssty=0;mathsize=1;script=latn;@10.0pt) π
..\_mF
([latinmodern-math]:mode=base;ssty=0;mathsize=1;script=latn;@10.0pt) π
..\kern0.9 (italic)
.\mathoff
-------------------
But when I do the same with version 1.24.0, I get:
--------------------
This is LuaHBTeX, Version 1.24.0 (TeX Live 2026) (format=optex
2026.6.4)Β 16 JUN 2026 17:01
Β restricted system commands enabled.
...
> \box0=
\hbox(7.05+2.05)x48.56656, direction TLT
.\mathon
.\_mF ([latinmodern-math]:mode=base;ssty=0;mathsize=1;script=math;@10.0pt) π
.\_mF ([latinmodern-math]:mode=base;ssty=0;mathsize=1;script=math;@10.0pt) π
.\kern0.9 (italic)
.\_mF ([latinmodern-math]:mode=base;ssty=0;mathsize=1;script=math;@10.0pt) π
.\kern0.9 (italic)
.\_mF ([latinmodern-math]:mode=base;ssty=0;mathsize=1;script=math;@10.0pt) π
.\kern0.9 (italic)
.\_mF ([latinmodern-math]:mode=base;ssty=0;mathsize=1;script=math;@10.0pt) ,
.\glue(\thinmuskip) 1.66663
.\hbox(7.05+2.05)x22.05997, direction TLT
..\_mF
([latinmodern-math]:mode=base;ssty=0;mathsize=1;script=latn;@10.0pt) π
..\_mF
([latinmodern-math]:mode=base;ssty=0;mathsize=1;script=latn;@10.0pt) π
..\kern0.9 (italic)
..\_mF
([latinmodern-math]:mode=base;ssty=0;mathsize=1;script=latn;@10.0pt) π
..\kern0.9 (italic)
..\_mF
([latinmodern-math]:mode=base;ssty=0;mathsize=1;script=latn;@10.0pt) π
..\kern0.9 (italic)
.\mathoff
--------------------
It means that the font with script=latn behaves equally as the font with
sript=math, the italic corrections are inserted after each character if
they are defined in the font. The older version 1.22.0 enabled me to
switch off the inserting of italic corrections when script=latn.
OK, maybe it is desired behavior. If so, then I am finding a solution of
my problem: how to suppress italic correction between letters of math
font in math mode?
Best regards
Petr OlΕ‘Γ‘k