Index: include/core/SkTypeface.h |
diff --git a/include/core/SkTypeface.h b/include/core/SkTypeface.h |
index c3ff3641b71b4a49561dee69861361ed54d1eca4..c2aa543ab2748003f018e7f5fe4ea5019da44b38 100644 |
--- a/include/core/SkTypeface.h |
+++ b/include/core/SkTypeface.h |
@@ -137,6 +137,10 @@ public: |
*/ |
void serialize(SkWStream*) const; |
+ /** Like serialize, but write the whole font (not just a signature) if possible. |
+ */ |
+ void serializeForcingEmbedding(SkWStream*) const; |
+ |
/** Given the data previously written by serialize(), return a new instance |
to a typeface referring to the same font. If that font is not available, |
return null. If an instance is returned, the caller is responsible for |