Index: src/gpu/GrBitmapTextContext.cpp |
diff --git a/src/gpu/GrBitmapTextContext.cpp b/src/gpu/GrBitmapTextContext.cpp |
index d389ed65d29f3745b6cab2211809c5441e9de432..433eda148a5b993c7303765cb4bfbc34e1d88cb1 100755 |
--- a/src/gpu/GrBitmapTextContext.cpp |
+++ b/src/gpu/GrBitmapTextContext.cpp |
@@ -123,7 +123,11 @@ void GrBitmapTextContext::drawPackedGlyph(GrGlyph::PackedID packed, |
return; |
} |
if (NULL == fStrike) { |
+#if SK_DISTANCEFIELD_FONTS |
+ fStrike = fContext->getFontCache()->getStrike(scaler, true); |
+#else |
fStrike = fContext->getFontCache()->getStrike(scaler); |
+#endif |
} |
GrGlyph* glyph = fStrike->getGlyph(packed, scaler); |