summaryrefslogtreecommitdiff
path: root/utils/viewer-render.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-11-11 19:58:21 -0500
committerMatthias Clasen <mclasen@redhat.com>2021-11-11 20:23:47 -0500
commit401237f4f19690771b5383a08dd71a638f77b2a0 (patch)
treeb39cd51dd5ac0892348f9c014587d5d7d45bf279 /utils/viewer-render.c
parent0c80c6d0b80cce4443e9a18fad2b4bccabaf4325 (diff)
downloadpango-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 'utils/viewer-render.c')
0 files changed, 0 insertions, 0 deletions