Qwerasd ffc6fe8686 Improve CoreText "Quantization" (#7876)
The old math didn't allow fractional pixels on the left and bottom, and
stretched glyphs vertically since the height was always rounded up. At
very small font sizes this looked good, but at medium and even large
sizes this just made things inconsistent and janky.

These new calculations are practically pixel-identical to whatever
CoreText is doing in 99% of cases, and the remaining cases seem to be
some sort of auto-hinting since it's internal features of the glyph
getting repositioned.

Over all, I still prefer this to CoreText's quantize option, but if this
causes further issues we should probably just revert the whole thing and
go ahead and add an extra pixel of padding to the bottom and left...
2025-07-09 10:52:57 -06:00
..
2025-05-26 21:50:14 -06:00
2025-05-26 21:50:14 -06:00
2025-03-11 14:39:04 -07:00