diff options
author | halcanary <halcanary@google.com> | 2015-10-12 13:05:04 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-10-12 13:05:04 -0700 |
commit | 66a82f3872abf4ebb98b3915b2a9ecc73ad352c5 (patch) | |
tree | e8bafe893fcce8e95d9d8b20f0c7f12d80ea8e0e /src/pdf/SkPDFCanon.h | |
parent | 88d064d0e481949184305c7b1d6b282dddffac39 (diff) |
SkPDF: fall back on paths for unembeddable fonts.
Add GM, SkPDFFont::CanEmbedTypeface
BUG=skia:3866
Review URL: https://codereview.chromium.org/1401763002
Diffstat (limited to 'src/pdf/SkPDFCanon.h')
-rw-r--r-- | src/pdf/SkPDFCanon.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pdf/SkPDFCanon.h b/src/pdf/SkPDFCanon.h index a55024d611..988b2855e1 100644 --- a/src/pdf/SkPDFCanon.h +++ b/src/pdf/SkPDFCanon.h @@ -78,6 +78,8 @@ public: void addPDFBitmap(uint32_t imageUniqueID, SkPDFObject*); const SkImage* bitmapToImage(const SkBitmap&); + SkTHashMap<uint32_t, bool> fCanEmbedTypeface; + private: struct FontRec { SkPDFFont* fFont; |