Index: src/ports/SkFontConfigInterface_android.cpp |
diff --git a/src/ports/SkFontConfigInterface_android.cpp b/src/ports/SkFontConfigInterface_android.cpp |
index fee896ae0bdeeb5909ce280984647fac2e7af6ba..facc5fe77bcefab75ae6c258ec87d6c1b1821201 100644 |
--- a/src/ports/SkFontConfigInterface_android.cpp |
+++ b/src/ports/SkFontConfigInterface_android.cpp |
@@ -382,7 +382,8 @@ bool SkFontConfigInterfaceAndroid::matchFamilyName(const char familyName[], |
FamilyRecID familyRecID = INVALID_FAMILY_REC_ID; |
if (NULL != familyName) { |
- if (fFamilyNameDict.find(familyName, &familyRecID)) { |
+ SkAutoAsciiToLC tolc(familyName); |
+ if (fFamilyNameDict.find(tolc.lc(), &familyRecID)) { |
exactNameMatch = true; |
} |
} else { |