You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the new bar spacing algorithm, bar spacing calculations at end of line should be made with nextenddifference = 0, otherwise the spacings will render poorly. This is the case for manual end of lines, but not automatic ones.
See for instance the difference at the end of line 2 in tex-output/fix-845 test between the fixed version and the wrong version.
The solution to this problem is to use a discretionary, with the normal version when no line break occurs, and the version with nextenddifference = 0 when a linebreak occurs.
As this discretionary must have a specific penalty, this means that it will work only in recent LuaTeX where bug 928 has been fixed (or rather implemented), so at least TeXLive 2016. Although it may just work with prior versions, as the penalty is the same as our current discretionary...
What do you think?
The text was updated successfully, but these errors were encountered:
With the new bar spacing algorithm, bar spacing calculations at end of line should be made with
nextenddifference
= 0, otherwise the spacings will render poorly. This is the case for manual end of lines, but not automatic ones.See for instance the difference at the end of line 2 in
tex-output/fix-845
test between the fixed version and the wrong version.The solution to this problem is to use a discretionary, with the normal version when no line break occurs, and the version with
nextenddifference
= 0 when a linebreak occurs.As this discretionary must have a specific penalty, this means that it will work only in recent LuaTeX where bug 928 has been fixed (or rather implemented), so at least TeXLive 2016. Although it may just work with prior versions, as the penalty is the same as our current discretionary...
What do you think?
The text was updated successfully, but these errors were encountered: