diff options
author | bptato <nincsnevem662@gmail.com> | 2024-02-28 01:50:18 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2024-02-28 01:50:48 +0100 |
commit | 11267020c1bb85d9c27548d13182f889e5444909 (patch) | |
tree | a63d35e66ba85dcf87eb21581a00c62a4ca7bb58 /doc | |
parent | cc8d4b154aed19689aedae904cfde2832a3a165c (diff) | |
download | chawan-11267020c1bb85d9c27548d13182f889e5444909.tar.gz |
layout: improve/simplify line box error correction
The previous retrofitting of the old renderdocument error correction usually worked, but it still had a horrible flaw in that it assumed that all line boxes are of equal height. So if error was lower for some line than another, it would move *all* lines by a somewhat lower error, and that resulted in overlapping lines. Now we do something much simpler: in flushLine, round each line's height downwards before moving on to the next line. This gets rid of any blanks inbetween lines, and also works much better with cleared floats.
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions