Home
last modified time | relevance | path

Searched refs:font_set (Results 1 – 3 of 3) sorted by relevance

/external/skia/src/ports/
DSkFontConfigInterface_direct.cpp547 FcPattern* SkFontConfigInterfaceDirect::MatchFont(FcFontSet* font_set, in MatchFont() argument
553 for (int i = 0; i < font_set->nfont; ++i) { in MatchFont()
554 FcPattern* current = font_set->fonts[i]; in MatchFont()
646 FcFontSet* font_set = FcFontSort(nullptr, pattern, 0, nullptr, &result); in matchFamilyName() local
647 if (!font_set) { in matchFamilyName()
652 FcPattern* match = this->MatchFont(font_set, post_config_family, familyStr); in matchFamilyName()
655 FcFontSetDestroy(font_set); in matchFamilyName()
665 FcFontSetDestroy(font_set); in matchFamilyName()
671 FcFontSetDestroy(font_set); in matchFamilyName()
677 FcFontSetDestroy(font_set); in matchFamilyName()
DSkFontConfigInterface_direct.h32 FcPattern* MatchFont(FcFontSet* font_set, const char* post_config_family,
/external/ImageMagick/MagickCore/
Dtype.c751 *font_set; in LoadFontConfigFonts() local
780 font_set=(FcFontSet *) NULL; in LoadFontConfigFonts()
788 font_set=FcFontList(0,pattern,object_set); in LoadFontConfigFonts()
793 if (font_set == (FcFontSet *) NULL) in LoadFontConfigFonts()
798 for (i=0; i < (ssize_t) font_set->nfont; i++) in LoadFontConfigFonts()
800 status=FcPatternGetString(font_set->fonts[i],FC_FAMILY,0,&family); in LoadFontConfigFonts()
803 status=FcPatternGetString(font_set->fonts[i],FC_FILE,0,&file); in LoadFontConfigFonts()
817 status=FcPatternGetString(font_set->fonts[i],FC_FULLNAME,0,&fullname); in LoadFontConfigFonts()
824 status=FcPatternGetString(font_set->fonts[i],FC_STYLE,0,&style); in LoadFontConfigFonts()
836 status=FcPatternGetInteger(font_set->fonts[i],FC_SLANT,0,&slant); in LoadFontConfigFonts()
[all …]