Index: src/ports/SkFontMgr_android.cpp |
diff --git a/src/ports/SkFontMgr_android.cpp b/src/ports/SkFontMgr_android.cpp |
index 2fee7356f1ea08c0f26cfe3c4f903d545898d804..5e93bf8a6208522c600bedca95d02529a3f7f570 100644 |
--- a/src/ports/SkFontMgr_android.cpp |
+++ b/src/ports/SkFontMgr_android.cpp |
@@ -81,6 +81,7 @@ public: |
SkASSERT(serialize); |
desc->setFamilyName(fFamilyName.c_str()); |
desc->setFontFileName(fPathName.c_str()); |
+ desc->setFontIndex(fIndex); |
*serialize = false; |
} |
virtual SkStream* onOpenStream(int* ttcIndex) const SK_OVERRIDE { |