<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Feb 11, 2019 at 3:00 PM Jeremie Knuesel <<a href="mailto:knuesel@gmail.com">knuesel@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">> I get differences also without luaotfload and with<br>
><br>
> \font\tenrm=phvr8t at 10bp<br>
<br>
Hi, I did more tests with Patrick's font expansion example and the<br>
phvr8t font, and it seems that this other change of behavior indeed<br>
comes from revision 6844 from the experimental branch. More precisely,<br>
the following change is responsible:<br>
<br>
diff -wu source/texk/web2c/luatexdir/tex/_linebreak.w<br>
source/texk/web2c/luatexdir/tex/linebreak.c<br>
<br>
[... lots of changes...]<br>
@@ -1319,55 +1579,67 @@<br>
                     shortfall -= (total_font_stretch + margin_kern_stretch);<br>
             } else if ((shortfall < 0) && ((total_font_shrink +<br>
margin_kern_shrink) > 0)) {<br>
                 if ((total_font_shrink + margin_kern_shrink) > -shortfall)<br>
-                    shortfall = -((total_font_shrink +<br>
margin_kern_shrink) / (max_shrink_ratio / cur_font_step)) / 2;<br>
+                    shortfall -= ((total_font_shrink +<br>
margin_kern_shrink) / (max_shrink_ratio / cur_font_step)) / 2;<br>
                 else<br>
                     shortfall += (total_font_shrink + margin_kern_shrink);<br>
             }<br>
         }<br>
<br>
Manually reverting this particular change brings back the old behavior.<br>
<br>
Jeremie<br>
</blockquote></div><div><br></div>Committed revision  7080, thank you very much.<br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature">luigi<br></div></div>