Lines Matching refs:fontFamilies
694 static int append_system_font_families(SkTDArray<FontFamily*>& fontFamilies, in append_system_font_families() argument
697 int initialCount = fontFamilies.count(); in append_system_font_families()
698 int version = parse_config_file(LMP_SYSTEM_FONTS_FILE, fontFamilies, basePath, false); in append_system_font_families()
699 if (version < 0 || fontFamilies.count() == initialCount) { in append_system_font_families()
700 version = parse_config_file(OLD_SYSTEM_FONTS_FILE, fontFamilies, basePath, false); in append_system_font_families()
792 void SkFontMgr_Android_Parser::GetSystemFontFamilies(SkTDArray<FontFamily*>& fontFamilies) { in GetSystemFontFamilies() argument
797 if (append_system_font_families(fontFamilies, basePath) >= 21) { in GetSystemFontFamilies()
805 fontFamilies.append(fallbackFonts.count(), fallbackFonts.begin()); in GetSystemFontFamilies()
808 void SkFontMgr_Android_Parser::GetCustomFontFamilies(SkTDArray<FontFamily*>& fontFamilies, in GetCustomFontFamilies() argument
815 parse_config_file(fontsXml, fontFamilies, basePath, false); in GetCustomFontFamilies()
818 parse_config_file(fallbackFontsXml, fontFamilies, basePath, true); in GetCustomFontFamilies()
821 append_fallback_font_families_for_locale(fontFamilies, in GetCustomFontFamilies()