Index: src/gpu/GrAtlasTextContext.cpp |
diff --git a/src/gpu/GrAtlasTextContext.cpp b/src/gpu/GrAtlasTextContext.cpp |
index 1006d4e8632f9442a53b733b4fd3476d23c78d9d..75aaf047b5d274ba0711e4f84daf18f230b0eec6 100644 |
--- a/src/gpu/GrAtlasTextContext.cpp |
+++ b/src/gpu/GrAtlasTextContext.cpp |
@@ -56,6 +56,8 @@ static const int kMediumDFFontLimit = 72; |
static const int kLargeDFFontSize = 162; |
static const int kLargeDFFontLimit = 2 * kLargeDFFontSize; |
+static const int kLargeGlyphLimit = 192; |
+ |
SkDEBUGCODE(static const int kExpectedDistanceAdjustTableSize = 8;) |
static const int kDistanceAdjustLumShift = 5; |
@@ -453,7 +455,7 @@ inline bool GrAtlasTextContext::canDrawAsDistanceFields(const SkPaint& skPaint, |
} |
if (!fEnableDFRendering && !skPaint.isDistanceFieldTextTEMP() && |
- scaledTextSize < kLargeDFFontSize) { |
+ scaledTextSize < kLargeGlyphLimit) { |
return false; |
} |