| Index: include/core/SkTypeface.h
|
| diff --git a/include/core/SkTypeface.h b/include/core/SkTypeface.h
|
| index 1df467a0e528f61080b10d7495c34a1201e1cc61..cb87a6a6fc7716e69adfe68acdc775b1a26705d0 100644
|
| --- a/include/core/SkTypeface.h
|
| +++ b/include/core/SkTypeface.h
|
| @@ -114,13 +114,13 @@ public:
|
| /** Return a new typeface given a file. If the file does not exist, or is
|
| not a valid font file, returns null.
|
| */
|
| - static SkTypeface* CreateFromFile(const char path[]);
|
| + static SkTypeface* CreateFromFile(const char path[], int index = 0);
|
|
|
| /** Return a new typeface given a stream. If the stream is
|
| not a valid font file, returns null. Ownership of the stream is
|
| transferred, so the caller must not reference it again.
|
| */
|
| - static SkTypeface* CreateFromStream(SkStream* stream);
|
| + static SkTypeface* CreateFromStream(SkStream* stream, int index = 0);
|
|
|
| /** Write a unique signature to a stream, sufficient to reconstruct a
|
| typeface referencing the same font when Deserialize is called.
|
|
|