| Index: src/pdf/SkPDFFont.h
|
| diff --git a/src/pdf/SkPDFFont.h b/src/pdf/SkPDFFont.h
|
| index acf9bf87ee453606c0e246bdfd7569a35a5aac61..c2e34e44e44ab2af6eacd141bf96ab3b539b2b31 100644
|
| --- a/src/pdf/SkPDFFont.h
|
| +++ b/src/pdf/SkPDFFont.h
|
| @@ -106,7 +106,12 @@ public:
|
| * @param numGlyphs The number of input glyphs.
|
| * @return Returns the number of glyphs consumed.
|
| */
|
| - int glyphsToPDFFontEncoding(uint16_t* glyphIDs, int numGlyphs);
|
| + int glyphsToPDFFontEncoding(SkGlyphID* glyphIDs, int numGlyphs) const;
|
| + /**
|
| + * Like above, but does not modify glyphIDs array.
|
| + */
|
| + int glyphsToPDFFontEncodingCount(const SkGlyphID* glyphIDs,
|
| + int numGlyphs) const;
|
|
|
| /** Get the font resource for the passed typeface and glyphID. The
|
| * reference count of the object is incremented and it is the caller's
|
|
|