Commit 67c7ec61 authored by Matthias Clasen's avatar Matthias Clasen
Browse files

Rewrite process_item

This is not an entire rewrite, the basic approach
to fitting items is still the same. The main difference
here is that we shape and measure a possible breakpoint
before accepting it as candidate for breaking. This
is necessary to ensure that we have accurate width
information when making decisions about this
breakpoint - the width we are calculating based on
log widths is only an approximation (due to things
like clusters, hyphens, final spaces, etc).

To avoid excessive shaping, we only do this extra
work when we are close to the end of the line.
parent 3eae7170
Pipeline #333643 failed with stages
in 6 minutes and 42 seconds
This diff is collapsed.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment