Index: include/ports/SkTypeface_mac.h |
diff --git a/include/ports/SkTypeface_mac.h b/include/ports/SkTypeface_mac.h |
index 0166ee57eaca38a425f5b8e97374017c326c1811..ce960eeeae2ab8ffcaf25ac359e2516f28c8fa62 100644 |
--- a/include/ports/SkTypeface_mac.h |
+++ b/include/ports/SkTypeface_mac.h |
@@ -23,7 +23,9 @@ |
* Like the other Typeface create methods, this returns a new reference to the |
* corresponding typeface for the specified CTFontRef. The caller must call |
* unref() when it is finished. |
+ * Set isLocalStream to true if font is creread dynamically by the caller and should |
+ * be serialized entirely (with glyphs), rather than by storing just font name. |
*/ |
-SK_API extern SkTypeface* SkCreateTypefaceFromCTFont(CTFontRef); |
+SK_API extern SkTypeface* SkCreateTypefaceFromCTFont(CTFontRef, bool isLocalStream = false); |
#endif |