You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ensure lcd filter padding is applied to cbox when rasterizing glyphs with FreeType
This resolves Gecko bug https://bugzilla.mozilla.org/show_bug.cgi?id=1508163
We don't apply the lcd filter padding when querying the cbox to rasterize the glyph, even though we apply the padding when querying the bounds. This causes subpixel AA text to get shifted by the amount of the padding due to the padding not being accounted for in the offset.
The solution is to apply the padding in both cases so it properly cancels out.
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/webrender/3432)
<!-- Reviewable:end -->
0 commit comments