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); |