Lines Matching refs:fontFamilies
656 static int append_system_font_families(SkTDArray<FontFamily*>& fontFamilies, in append_system_font_families() argument
659 int initialCount = fontFamilies.count(); in append_system_font_families()
660 int version = parse_config_file(LMP_SYSTEM_FONTS_FILE, fontFamilies, basePath, false); in append_system_font_families()
661 if (version < 0 || fontFamilies.count() == initialCount) { in append_system_font_families()
662 version = parse_config_file(OLD_SYSTEM_FONTS_FILE, fontFamilies, basePath, false); in append_system_font_families()
758 void SkFontMgr_Android_Parser::GetSystemFontFamilies(SkTDArray<FontFamily*>& fontFamilies) { in GetSystemFontFamilies() argument
763 if (append_system_font_families(fontFamilies, basePath) >= 21) { in GetSystemFontFamilies()
771 fontFamilies.append(fallbackFonts.count(), fallbackFonts.begin()); in GetSystemFontFamilies()
774 void SkFontMgr_Android_Parser::GetCustomFontFamilies(SkTDArray<FontFamily*>& fontFamilies, in GetCustomFontFamilies() argument
781 parse_config_file(fontsXml, fontFamilies, basePath, false); in GetCustomFontFamilies()
784 parse_config_file(fallbackFontsXml, fontFamilies, basePath, true); in GetCustomFontFamilies()
787 append_fallback_font_families_for_locale(fontFamilies, in GetCustomFontFamilies()