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

Unified Diff: src/pdf/SkPDFDevice.h

Issue 2112943002: SkPDF: Glyph Useage Map improvements (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 6 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 | « no previous file | src/pdf/SkPDFDevice.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/pdf/SkPDFDevice.h
diff --git a/src/pdf/SkPDFDevice.h b/src/pdf/SkPDFDevice.h
index 4dded7316c785042384e1c15e9e612cdd751d5e5..7c7ddf43cbe93520fef281bbfc9d184ee4dca6f1 100644
--- a/src/pdf/SkPDFDevice.h
+++ b/src/pdf/SkPDFDevice.h
@@ -30,7 +30,6 @@ class SkPDFDocument;
class SkPDFDict;
class SkPDFFont;
class SkPDFFormXObject;
-class SkPDFGlyphSetMap;
class SkPDFObject;
class SkRRect;
@@ -159,13 +158,6 @@ public:
return fInitialTransform;
}
- /** Returns a SkPDFGlyphSetMap which represents glyph usage of every font
- * that shows on this device.
- */
- const SkPDFGlyphSetMap& getFontGlyphUsage() const {
- return *(fFontGlyphUsage.get());
- }
-
SkPDFCanon* getCanon() const;
// It is important to not confuse GraphicStateEntry with SkPDFGraphicState, the
@@ -265,9 +257,6 @@ private:
const SkClipStack* fClipStack;
- // Glyph ids used for each font on this device.
- std::unique_ptr<SkPDFGlyphSetMap> fFontGlyphUsage;
-
SkScalar fRasterDpi;
SkBitmap fLegacyBitmap;
@@ -283,7 +272,7 @@ private:
SkBaseDevice* onCreateDevice(const CreateInfo&, const SkPaint*) override;
void init();
- void cleanUp(bool clearFontUsage);
+ void cleanUp();
SkPDFFormXObject* createFormXObjectFromDevice();
void drawFormXObjectWithMask(int xObjectIndex,
« no previous file with comments | « no previous file | src/pdf/SkPDFDevice.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698