Chromium Code Reviews| Index: src/ports/SkFontConfigParser_android.cpp |
| diff --git a/src/ports/SkFontConfigParser_android.cpp b/src/ports/SkFontConfigParser_android.cpp |
| index ffc60427f47a0d841288f8c9ff997e057f793385..3770c3d7876eab20caacbe59f59bc2c4b3e5b1e1 100644 |
| --- a/src/ports/SkFontConfigParser_android.cpp |
| +++ b/src/ports/SkFontConfigParser_android.cpp |
| @@ -163,6 +163,10 @@ static void font_element_handler(FamilyData* self, FontFileInfo* file, const cha |
| if (!parse_non_negative_integer(value, &file->fIndex)) { |
| SkDebugf("---- Font index %s (INVALID)", value); |
| } |
| + } else if (MEMEQ("axis", name, nameLen)) { |
|
bungeman-skia
2015/04/01 20:38:28
Need support for multiple axes. By index, id (four
|
| + if (!parse_non_negative_integer(value, &file->fAxes.push_back())) { |
| + SkDebugf("---- Font axis %s (INVALID)", value); |
| + } |
| } |
| } |
| XML_SetCharacterDataHandler(self->fParser, font_file_name_handler); |