summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-11-14 17:04:29 -0500
committerMatthias Clasen <mclasen@redhat.com>2021-11-14 18:55:09 -0500
commitf7e1c6338eba0d775c55d9f4ea7f1ef86b95adc8 (patch)
treee603198efaba2e725bbe25bdfe072d6dc351117a /tests
parent320b0750e8c6d167e298cbb0ab7855a1e22a2c8a (diff)
downloadpango-f7e1c6338eba0d775c55d9f4ea7f1ef86b95adc8.tar.gz
layout: Simplify things one more time
The key insight here is that if we find a broken item does not fit, we are only interested in finding an *earlier* breakpoint - the later ones aren't going to produce a shorter run. So we can just keep track of the last char we want to allow breaking at. This fixes the case of finding the minimum width with wrap mode PANGO_WRAP_WORD.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions