Index: src/ports/SkFontHost_FreeType.cpp |
diff --git a/src/ports/SkFontHost_FreeType.cpp b/src/ports/SkFontHost_FreeType.cpp |
index 4a1f12babe2adc07a876657ddfb9e5c1a5c17cf2..e093bf04e701ad8dd028c0078c03b308157e8b56 100644 |
--- a/src/ports/SkFontHost_FreeType.cpp |
+++ b/src/ports/SkFontHost_FreeType.cpp |
@@ -1696,9 +1696,9 @@ bool SkTypeface_FreeType::Scanner::scanFont( |
{ "standard", SkFontStyle::kNormal_Weight }, |
{ "thin", SkFontStyle::kThin_Weight }, |
{ "ultra", SkFontStyle::kExtraBold_Weight }, |
- { "ultrablack", 1000 }, |
+ { "ultrablack", SkFontStyle::kExtraBlack_Weight }, |
{ "ultrabold", SkFontStyle::kExtraBold_Weight }, |
- { "ultraheavy", 1000 }, |
+ { "ultraheavy", SkFontStyle::kExtraBlack_Weight }, |
{ "ultralight", SkFontStyle::kExtraLight_Weight }, |
}; |
int const index = SkStrLCSearch(&commonWeights[0].name, SK_ARRAY_COUNT(commonWeights), |