Brandon DeRosier 6b147dc9c3 [Impeller] Fix text glyph bounds on Android. (flutter/engine#43919)
Resolves https://github.com/flutter/flutter/issues/128624.

It turns out that `SkFont::getBounds()` snaps results to integers on
Android, but not iOS. By scaling the font up and scaling the resulting
per-glyph bounds back down, we can ensure that the results are always
precise enough.

I also found errors with our usage of the computed bounds, but those
were comparatively minor fixes.
2023-07-22 14:28:29 -07:00
..