mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
17 lines
778 B
Diff
17 lines
778 B
Diff
|
diff --git i/gfx/skia/skia/src/ports/SkFontHost_cairo.cpp w/gfx/skia/skia/src/ports/SkFontHost_cairo.cpp
|
||
|
index 42da19280fce8235..2c221c32d097b462 100644
|
||
|
--- i/gfx/skia/skia/src/ports/SkFontHost_cairo.cpp
|
||
|
+++ w/gfx/skia/skia/src/ports/SkFontHost_cairo.cpp
|
||
|
@@ -666,10 +666,7 @@ void SkScalerContext_CairoFT::generateMetrics(SkGlyph* glyph)
|
||
|
glyph->fTop = -SkToS16(SkFDot6Floor(bbox.yMax));
|
||
|
glyph->fLeft = SkToS16(SkFDot6Floor(bbox.xMin));
|
||
|
|
||
|
- if (isLCD(fRec) &&
|
||
|
- gSetLcdFilter &&
|
||
|
- (fLcdFilter == FT_LCD_FILTER_DEFAULT ||
|
||
|
- fLcdFilter == FT_LCD_FILTER_LIGHT)) {
|
||
|
+ if (isLCD(fRec)) {
|
||
|
if (fRec.fFlags & kLCD_Vertical_Flag) {
|
||
|
glyph->fTop -= 1;
|
||
|
glyph->fHeight += 2;
|