Index: src/gpu/GrDistanceFieldTextContext.cpp |
diff --git a/src/gpu/GrDistanceFieldTextContext.cpp b/src/gpu/GrDistanceFieldTextContext.cpp |
index 1a422c682a7d56f924aae5e39b7210bc07aec6d0..0582aae7b17d18c70857221c2aa9a47a70cd5fd3 100755 |
--- a/src/gpu/GrDistanceFieldTextContext.cpp |
+++ b/src/gpu/GrDistanceFieldTextContext.cpp |
@@ -83,8 +83,9 @@ void GrDistanceFieldTextContext::flushGlyphs() { |
// This effect could be stored with one of the cache objects (atlas?) |
SkISize size = fStrike->getAtlasSize(); |
drawState->addCoverageEffect( |
- GrDistanceFieldTextureEffect::Create(fCurrTexture, params, size), |
- kGlyphCoordsAttributeIndex)->unref(); |
+ GrDistanceFieldTextureEffect::Create(fCurrTexture, params, size, |
+ fContext->getMatrix().isSimilarity()), |
+ kGlyphCoordsAttributeIndex)->unref(); |
if (!GrPixelConfigIsAlphaOnly(fCurrTexture->config())) { |
if (kOne_GrBlendCoeff != fPaint.getSrcBlendCoeff() || |