Home | History | Annotate | Download | only in ports

Lines Matching refs:custom

263     SkFontMgr_Android(const SkFontMgr_Android_CustomFonts* custom) {
265 if (custom && SkFontMgr_Android_CustomFonts::kPreferSystem != custom->fSystemFontUse) {
266 SkString base(custom->fBasePath);
268 families, base, custom->fFontsXml, custom->fFallbackFontsXml);
270 if (!custom ||
271 (custom && SkFontMgr_Android_CustomFonts::kOnlyCustom != custom->fSystemFontUse))
275 if (custom && SkFontMgr_Android_CustomFonts::kPreferSystem == custom->fSystemFontUse) {
276 SkString base(custom->fBasePath);
278 families, base, custom->fFontsXml, custom->fFallbackFontsXml);
280 this->buildNameToFamilyMap(families, custom ? custom->fIsolated : false);
541 sk_sp<SkFontMgr> SkFontMgr_New_Android(const SkFontMgr_Android_CustomFonts* custom) {
542 if (custom) {
543 SkASSERT(0 <= custom->fSystemFontUse);
544 SkASSERT(custom->fSystemFontUse < SK_ARRAY_COUNT(gSystemFontUseStrings));
546 gSystemFontUseStrings[custom->fSystemFontUse],
547 custom->fBasePath,
548 custom->fFontsXml,
549 custom->fFallbackFontsXml));
551 return sk_make_sp<SkFontMgr_Android>(custom);