[webkit-dev] Line box tree converting from int -> float

David Hyatt hyatt at apple.com
Tue Feb 15 11:21:30 PST 2011


A patch is on its way that is going to be converting the line box tree from being int-based to being float-based.  All of the rounding hacks for word rounding and run rounding when measuring and drawing text will be eliminated.

The unfortunate side effect of such a patch, however, is that many many layout test results are changing on Mac (and I will be updating those test results).  The effects on ports that use integer advances for glyphs should be minimal.  If your platform has been returning non-integral values for advances, however, then expect many test results on your platform to change because of the improved precision.

(hyatt at apple.com)

More information about the webkit-dev mailing list