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

Unified Diff: src/pdf/SkPDFDevice.h

Issue 2330503002: work in progress (Closed)
Patch Set: Created 4 years, 3 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 344fcb5e4607bef7543e60ddcc449b2388f16060..d1df24d7d4b905e65f17e18f4187bd0e5b84f8d9 100644
--- a/src/pdf/SkPDFDevice.h
+++ b/src/pdf/SkPDFDevice.h
@@ -171,12 +171,12 @@ public:
int fShaderIndex;
int fGraphicStateIndex;
- // We may change the font (i.e. for Type1 support) within a
- // ContentEntry. This is the one currently in effect, or nullptr if none.
- SkPDFFont* fFont;
- // In PDF, text size has no default value. It is only valid if fFont is
- // not nullptr.
- SkScalar fTextSize;
+ // // We may change the font (i.e. for Type1 support) within a
+ // // ContentEntry. This is the one currently in effect, or nullptr if none.
+ // SkPDFFont* fFont;
+ // // In PDF, text size has no default value. It is only valid if fFont is
+ // // not nullptr.
+ // SkScalar fTextSize;
};
protected:
@@ -279,11 +279,11 @@ private:
int addGraphicStateResource(SkPDFObject* gs);
int addXObjectResource(SkPDFObject* xObject);
- // returns nullptr when a valid SkFont can not be produced
- SkPDFFont* updateFont(SkTypeface* typeface,
- SkScalar textSize,
- uint16_t glyphID,
- ContentEntry* contentEntry);
+// // returns nullptr when a valid SkFont can not be produced
+// SkPDFFont* updateFont(SkTypeface* typeface,
+// SkScalar textSize,
+// uint16_t glyphID,
+// ContentEntry* contentEntry);
int getFontResourceIndex(SkTypeface* typeface, uint16_t glyphID);
« 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