Index: src/gpu/GrAtlasTextContext.cpp |
diff --git a/src/gpu/GrAtlasTextContext.cpp b/src/gpu/GrAtlasTextContext.cpp |
index aa51cd2c30bd1be2e707d3f558ea40be000fd2af..c25ddd25e2d7774733f4ff1d2cafb4d713abca65 100644 |
--- a/src/gpu/GrAtlasTextContext.cpp |
+++ b/src/gpu/GrAtlasTextContext.cpp |
@@ -442,7 +442,7 @@ inline bool GrAtlasTextContext::canDrawAsDistanceFields(const SkPaint& skPaint, |
SkScalar scaledTextSize = maxScale*skPaint.getTextSize(); |
// Hinted text looks far better at small resolutions |
// Scaling up beyond 2x yields undesireable artifacts |
- if (scaledTextSize < kMinDFFontSize || scaledTextSize >= kLargeDFFontLimit) { |
+ if (scaledTextSize < kMinDFFontSize || scaledTextSize > kLargeDFFontLimit) { |
return false; |
} |