Index: src/pdf/SkPDFDevice.h |
diff --git a/src/pdf/SkPDFDevice.h b/src/pdf/SkPDFDevice.h |
index 74047521c5a4d7bb90950279cac59df30aa568dd..f38dfcbc6696ae339ec9582ea6796a55d921438b 100644 |
--- a/src/pdf/SkPDFDevice.h |
+++ b/src/pdf/SkPDFDevice.h |
@@ -291,7 +291,8 @@ private: |
int addGraphicStateResource(SkPDFObject* gs); |
int addXObjectResource(SkPDFObject* xObject); |
- void updateFont(const SkPaint& paint, uint16_t glyphID, ContentEntry* contentEntry); |
+ // returns false when a valid SkFont can not be produced |
+ bool updateFont(const SkPaint& paint, uint16_t glyphID, ContentEntry* contentEntry); |
int getFontResourceIndex(SkTypeface* typeface, uint16_t glyphID); |
void internalDrawPaint(const SkPaint& paint, ContentEntry* contentEntry); |