Index: src/gpu/GrStencilAndCoverTextContext.cpp |
diff --git a/src/gpu/GrStencilAndCoverTextContext.cpp b/src/gpu/GrStencilAndCoverTextContext.cpp |
index c3c49f92bfd4579d25ec454800b67e00909fa895..0dc902928b0568abec3d296b4ba5d5c5f3c13860 100644 |
--- a/src/gpu/GrStencilAndCoverTextContext.cpp |
+++ b/src/gpu/GrStencilAndCoverTextContext.cpp |
@@ -378,6 +378,8 @@ void GrStencilAndCoverTextContext::TextRun::setText(const char text[], size_t by |
fy += SkFixedMul(glyph.fAdvanceY, fixedSizeRatio); |
} |
+ fDraw->loadGlyphPathsIfNeeded(); |
+ |
fFallbackTextBlob.reset(fallback.buildIfInitialized()); |
} |
@@ -416,6 +418,8 @@ void GrStencilAndCoverTextContext::TextRun::setPosText(const char text[], size_t |
pos += scalarsPerPosition; |
} |
+ fDraw->loadGlyphPathsIfNeeded(); |
+ |
fFallbackTextBlob.reset(fallback.buildIfInitialized()); |
} |