Lines Matching refs:fontFamilies
692 static int append_system_font_families(SkTDArray<FontFamily*>& fontFamilies, in append_system_font_families() argument
695 int initialCount = fontFamilies.count(); in append_system_font_families()
696 int version = parse_config_file(LMP_SYSTEM_FONTS_FILE, fontFamilies, basePath, false); in append_system_font_families()
697 if (version < 0 || fontFamilies.count() == initialCount) { in append_system_font_families()
698 version = parse_config_file(OLD_SYSTEM_FONTS_FILE, fontFamilies, basePath, false); in append_system_font_families()
790 void SkFontMgr_Android_Parser::GetSystemFontFamilies(SkTDArray<FontFamily*>& fontFamilies) { in GetSystemFontFamilies() argument
795 if (append_system_font_families(fontFamilies, basePath) >= 21) { in GetSystemFontFamilies()
803 fontFamilies.append(fallbackFonts.count(), fallbackFonts.begin()); in GetSystemFontFamilies()
806 void SkFontMgr_Android_Parser::GetCustomFontFamilies(SkTDArray<FontFamily*>& fontFamilies, in GetCustomFontFamilies() argument
813 parse_config_file(fontsXml, fontFamilies, basePath, false); in GetCustomFontFamilies()
816 parse_config_file(fallbackFontsXml, fontFamilies, basePath, true); in GetCustomFontFamilies()
819 append_fallback_font_families_for_locale(fontFamilies, in GetCustomFontFamilies()