Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(661)

Unified Diff: src/pdf/SkPDFCanon.h

Issue 1401763002: SkPDF: fall back on paths for unembeddable fonts. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2015-10-12 (Monday) 15:54:45 EDT Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « resources/fonts/Roboto2-Regular_NoEmbed.ttf ('k') | src/pdf/SkPDFDevice.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/pdf/SkPDFCanon.h
diff --git a/src/pdf/SkPDFCanon.h b/src/pdf/SkPDFCanon.h
index a55024d611e7aa4ae69102360e4f6d2a6feac8c6..988b2855e11404b0242e924cf809c05815d8af60 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;
« no previous file with comments | « resources/fonts/Roboto2-Regular_NoEmbed.ttf ('k') | src/pdf/SkPDFDevice.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698