diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-11-11 19:58:21 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2021-11-11 20:23:47 -0500 |
commit | 401237f4f19690771b5383a08dd71a638f77b2a0 (patch) | |
tree | b39cd51dd5ac0892348f9c014587d5d7d45bf279 /pango/pango-break.h | |
parent | 0c80c6d0b80cce4443e9a18fad2b4bccabaf4325 (diff) | |
download | pango-401237f4f19690771b5383a08dd71a638f77b2a0.tar.gz |
Try harder to not produce overlong linesavoid-overlong-lines
Our accounting for run lengths is imperfect (mainly
due to log widths for clusters being evenly distributed),
so it can happen that after reshaping the split item,
we find that it does not actually fit in the remaining
width. Previously, we would just use the split run
at that point and produce an overlong line. Instead,
undo the split, disable the breakpoint we used, and
try again.
Diffstat (limited to 'pango/pango-break.h')
0 files changed, 0 insertions, 0 deletions