Commits on Source (2)
-
Allan Sandfeld Jensen authored
Change-Id: I54b6571549d3c646e359df8ecda85af27f2ea7e2 Reviewed-by:
Joerg Bornemann <joerg.bornemann@qt.io>
78c96f83 -
Allan Sandfeld Jensen authored
Skia has for some time assumed that when using FT_Render_Glyph with one of the LCD render modes that one extra pixel would be applied to each side of the resulting bitmap. FreieType has changed to make this more conservative when possible, so the pre-allocated SkMask and the generated FT_Bitmap may no longer agree on the size and origin. This change ensures the SkMask and FT_Bitmap are the same size and their origins align. This is not an ideal long term fix, but is both simple and localized for easy and quick back-porting, should that become necessary. BUG=skia:6663 Reviewed-on: https://skia-review.googlesource.com/20327 BUG=chromium:726631 Change-Id: Idbf6235c1fe1d46c5becd5b3ab2dde12df0bfcaf Approval: https://crbug.com/726631#c69 Reviewed-on: https://skia-review.googlesource.com/28185 Reviewed-by:
Joerg Bornemann <joerg.bornemann@qt.io>
02fb09fe
Showing