Index: src/ports/SkFontHost_FreeType_common.cpp |
diff --git a/src/ports/SkFontHost_FreeType_common.cpp b/src/ports/SkFontHost_FreeType_common.cpp |
index a0863c1fe850144d3ae68811a86e605799da19b9..5afe70a668e5bb62ec233b7fc528966d192f5718 100644 |
--- a/src/ports/SkFontHost_FreeType_common.cpp |
+++ b/src/ports/SkFontHost_FreeType_common.cpp |
@@ -463,7 +463,7 @@ void SkScalerContext_FreeType_Base::generateGlyphImage(FT_Face face, const SkGly |
canvas.scale(SkIntToScalar(glyph.fWidth) / SkIntToScalar(face->glyph->bitmap.width), |
SkIntToScalar(glyph.fHeight) / SkIntToScalar(face->glyph->bitmap.rows)); |
SkPaint paint; |
- paint.setFilterLevel(SkPaint::kMedium_FilterLevel); |
+ paint.setFilterQuality(kMedium_SkFilterQuality); |
canvas.drawBitmap(unscaledBitmap, 0, 0, &paint); |
// If the destination is BW or LCD, convert from A8. |