Change large glyph check back to > threshold.
Using >= misses some Chromium test cases that are still
being rendered as paths.
BUG=chromium:467569
Review URL: https://codereview.chromium.org/1202433002
diff --git a/gm/mixedtextblobs.cpp b/gm/mixedtextblobs.cpp
index fb1b632..ab7beb9 100644
--- a/gm/mixedtextblobs.cpp
+++ b/gm/mixedtextblobs.cpp
@@ -54,7 +54,7 @@
// make textblob
// Text so large we draw as paths
SkPaint paint;
- paint.setTextSize(384);
+ paint.setTextSize(385);
const char* text = "O";
sk_tool_utils::set_portable_typeface(&paint);
diff --git a/src/gpu/GrAtlasTextContext.cpp b/src/gpu/GrAtlasTextContext.cpp
index aa51cd2..c25ddd2 100644
--- a/src/gpu/GrAtlasTextContext.cpp
+++ b/src/gpu/GrAtlasTextContext.cpp
@@ -442,7 +442,7 @@
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;
}