summaryrefslogtreecommitdiff
path: root/utils/test-color-run.markup
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-11-14 18:35:50 -0500
committerMatthias Clasen <mclasen@redhat.com>2021-11-14 18:55:09 -0500
commit51cfa45a14d0506d086ea90b3da4739402764542 (patch)
tree7e03e4493a346fbbf6b3dbfb1d318326727e6f08 /utils/test-color-run.markup
parent886c83d4ee94ebc1cd215ce3dbadf91c31d74dc0 (diff)
downloadpango-51cfa45a14d0506d086ea90b3da4739402764542.tar.gz
Fix line-break accounting more
When looking for breakpoints, we were assuming that there is no point to keep looking forward once we hit a spot where the broken off part is too long. But with hyphen insertion, that is no longer true, necessarily. Consider 'bli '. Breaking after 'bl' will insert 'bl-', which might be longer than 'bli', which is what will be inserted when we break after the i. To fix this, keep looking for breakpoints as long as there is still a chance to find one.
Diffstat (limited to 'utils/test-color-run.markup')
0 files changed, 0 insertions, 0 deletions