[luatex] Problems with LuaTeX 1.0.8

luigi scarso luigi.scarso at gmail.com
Mon Feb 11 17:06:08 CET 2019


On Mon, Feb 11, 2019 at 3:00 PM Jeremie Knuesel <knuesel at gmail.com> wrote:

> > I get differences also without luaotfload and with
> >
> > \font\tenrm=phvr8t at 10bp
>
> Hi, I did more tests with Patrick's font expansion example and the
> phvr8t font, and it seems that this other change of behavior indeed
> comes from revision 6844 from the experimental branch. More precisely,
> the following change is responsible:
>
> diff -wu source/texk/web2c/luatexdir/tex/_linebreak.w
> source/texk/web2c/luatexdir/tex/linebreak.c
>
> [... lots of changes...]
> @@ -1319,55 +1579,67 @@
>                      shortfall -= (total_font_stretch +
> margin_kern_stretch);
>              } else if ((shortfall < 0) && ((total_font_shrink +
> margin_kern_shrink) > 0)) {
>                  if ((total_font_shrink + margin_kern_shrink) > -shortfall)
> -                    shortfall = -((total_font_shrink +
> margin_kern_shrink) / (max_shrink_ratio / cur_font_step)) / 2;
> +                    shortfall -= ((total_font_shrink +
> margin_kern_shrink) / (max_shrink_ratio / cur_font_step)) / 2;
>                  else
>                      shortfall += (total_font_shrink + margin_kern_shrink);
>              }
>          }
>
> Manually reverting this particular change brings back the old behavior.
>
> Jeremie
>

Committed revision  7080, thank you very much.

-- 
luigi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/luatex/attachments/20190211/b47b800b/attachment.html>


More information about the luatex mailing list