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

Unified Diff: src/pdf/SkPDFFontImpl.h

Issue 944643002: PDF: Now threadsafe! (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: TODO=DONE Created 5 years, 10 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 | « src/pdf/SkPDFFont.cpp ('k') | src/pdf/SkPDFGraphicState.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/pdf/SkPDFFontImpl.h
diff --git a/src/pdf/SkPDFFontImpl.h b/src/pdf/SkPDFFontImpl.h
index eaec8f90028d741ae98150d424b430441ea2e38f..255682235e4001feacfcf2b7e9e38a3951966396 100644
--- a/src/pdf/SkPDFFontImpl.h
+++ b/src/pdf/SkPDFFontImpl.h
@@ -28,7 +28,9 @@ private:
typedef SkPDFDict INHERITED;
#endif
- SkPDFType0Font(const SkAdvancedTypefaceMetrics* info, SkTypeface* typeface);
+ SkPDFType0Font(SkPDFCanon* canon,
+ const SkAdvancedTypefaceMetrics* info,
+ SkTypeface* typeface);
bool populate(const SkPDFGlyphSet* subset);
};
@@ -41,7 +43,9 @@ public:
private:
friend class SkPDFType0Font; // to access the constructor
- SkPDFCIDFont(const SkAdvancedTypefaceMetrics* info, SkTypeface* typeface,
+ SkPDFCIDFont(SkPDFCanon* canon,
+ const SkAdvancedTypefaceMetrics* info,
+ SkTypeface* typeface,
const SkPDFGlyphSet* subset);
bool populate(const SkPDFGlyphSet* subset);
@@ -57,8 +61,11 @@ public:
private:
friend class SkPDFFont; // to access the constructor
- SkPDFType1Font(const SkAdvancedTypefaceMetrics* info, SkTypeface* typeface,
- uint16_t glyphID, SkPDFDict* relatedFontDescriptor);
+ SkPDFType1Font(SkPDFCanon* canon,
+ const SkAdvancedTypefaceMetrics* info,
+ SkTypeface* typeface,
+ uint16_t glyphID,
+ SkPDFDict* relatedFontDescriptor);
bool populate(int16_t glyphID);
bool addFontDescriptor(int16_t defaultWidth);
@@ -74,8 +81,10 @@ public:
private:
friend class SkPDFFont; // to access the constructor
- SkPDFType3Font(const SkAdvancedTypefaceMetrics* info,
- SkTypeface* typeface, uint16_t glyphID);
+ SkPDFType3Font(SkPDFCanon* canon,
+ const SkAdvancedTypefaceMetrics* info,
+ SkTypeface* typeface,
+ uint16_t glyphID);
bool populate(uint16_t glyphID);
};
« no previous file with comments | « src/pdf/SkPDFFont.cpp ('k') | src/pdf/SkPDFGraphicState.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698