Home
last modified time | relevance | path

Searched refs:face_match (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/ports/
DSkFontHost_fontconfig.cpp120 FcPattern* face_match = NULL; in CreateTypeface() local
141 face_match = FontMatch(FC_FILE, FcTypeString, i->second.c_str(), NULL); in CreateTypeface()
142 if (!face_match) { in CreateTypeface()
147 if (FcPatternGetString(face_match, FC_FAMILY, 0, &family)) { in CreateTypeface()
148 FcPatternDestroy(face_match); in CreateTypeface()
174 if (face_match) in CreateTypeface()
175 FcPatternDestroy(face_match); in CreateTypeface()
/external/skia/legacy/src/ports/
DSkFontHost_fontconfig.cpp215 FcPattern* face_match = NULL; in CreateTypeface() local
235 face_match = FontMatch(FC_FILE, FcTypeString, i->second.c_str(), in CreateTypeface()
238 if (!face_match) in CreateTypeface()
241 if (FcPatternGetString(face_match, FC_FAMILY, 0, &family)) { in CreateTypeface()
242 FcPatternDestroy(face_match); in CreateTypeface()
266 if (face_match) in CreateTypeface()
267 FcPatternDestroy(face_match); in CreateTypeface()