Index: src/ports/SkTypeface_win_dw.cpp |
diff --git a/src/ports/SkTypeface_win_dw.cpp b/src/ports/SkTypeface_win_dw.cpp |
index 25de1b6578e34e96c14968896837c3f299db66f9..cf45c16b8098a6d14c531f3f2a8e3cbf232c583e 100644 |
--- a/src/ports/SkTypeface_win_dw.cpp |
+++ b/src/ports/SkTypeface_win_dw.cpp |
@@ -42,6 +42,7 @@ |
sk_get_locale_string(familyNames.get(), NULL/*fMgr->fLocaleName.get()*/, &utf8FamilyName); |
desc->setFamilyName(utf8FamilyName.c_str()); |
+ desc->setFontIndex(fDWriteFontFace->GetIndex()); |
*isLocalStream = SkToBool(fDWriteFontFileLoader.get()); |
} |