Index: src/core/SkScalerContext.h |
diff --git a/src/core/SkScalerContext.h b/src/core/SkScalerContext.h |
index be5d3b555eb51ebae1681e69e126db22c8ad910c..e2207fefe2acba34d1ee2d3030330c60de6fec4a 100644 |
--- a/src/core/SkScalerContext.h |
+++ b/src/core/SkScalerContext.h |
@@ -266,6 +266,11 @@ protected: |
*/ |
virtual SkUnichar generateGlyphToChar(uint16_t glyphId); |
+ /** In case of Bitmap font like Colored Emoji font we need to disable |
+ * fGenerateImageFromPath as generating image from path is not possible. |
+ */ |
+ void updateImageFromPath(bool value) { fGenerateImageFromPath = value; } |
reed1
2014/09/05 13:29:42
can we combine these two, and only have one method
h.joshi
2014/09/05 14:06:31
Done.
|
+ |
void forceGenerateImageFromPath() { fGenerateImageFromPath = true; } |
private: |