| Index: src/core/SkFontDescriptor.h
|
| diff --git a/src/core/SkFontDescriptor.h b/src/core/SkFontDescriptor.h
|
| index 5febfd81a3f36dd1af26154bd0672dd74c465f76..09bbfa3e156f9b5d085449b9e3275dcef6fba002 100644
|
| --- a/src/core/SkFontDescriptor.h
|
| +++ b/src/core/SkFontDescriptor.h
|
| @@ -28,17 +28,20 @@ public:
|
| const char* getFullName() { return fFullName.c_str(); }
|
| const char* getPostscriptName() { return fPostscriptName.c_str(); }
|
| const char* getFontFileName() { return fFontFileName.c_str(); }
|
| + int getFontFileIndex() { return fFontFileIndex; }
|
|
|
| void setFamilyName(const char* name) { fFamilyName.set(name); }
|
| void setFullName(const char* name) { fFullName.set(name); }
|
| void setPostscriptName(const char* name) { fPostscriptName.set(name); }
|
| void setFontFileName(const char* name) { fFontFileName.set(name); }
|
| + void setFontFileIndex(int index) { fFontFileIndex = index; }
|
|
|
| private:
|
| SkString fFamilyName;
|
| SkString fFullName;
|
| SkString fPostscriptName;
|
| SkString fFontFileName;
|
| + int fFontFileIndex;
|
|
|
| SkTypeface::Style fStyle;
|
| };
|
|
|