diff options
Diffstat (limited to 'src/pdf/SkPDFFont.h')
-rw-r--r-- | src/pdf/SkPDFFont.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/pdf/SkPDFFont.h b/src/pdf/SkPDFFont.h index 404e8b7621..ca0a51fca4 100644 --- a/src/pdf/SkPDFFont.h +++ b/src/pdf/SkPDFFont.h @@ -149,6 +149,12 @@ public: uint32_t searchFontID, uint16_t searchGlyphID); + /** + * Return false iff the typeface has its NotEmbeddable flag set. + * If typeface is NULL, the default typeface is checked. + */ + static bool CanEmbedTypeface(SkTypeface*, SkPDFCanon*); + protected: // Common constructor to handle common members. SkPDFFont(const SkAdvancedTypefaceMetrics* fontInfo, |