Home | History | Annotate | Download | only in ports

Lines Matching full:font

181 // Match the font name against a whilelist of fonts, returning the equivalence
186 // replacement is a "strong" match (that is, an equivalent font) or
320 // Normally we only return exactly the font asked for. In last-resort
321 // cases, the request either doesn't specify a font or is one of the
322 // basic font names like "Sans", "Serif" or "Monospace". This function
352 // Find matching font from |font_set| for the given font family.
392 // Retrieves |is_bold|, |is_italic| and |font_family| properties from |font|.
393 SkTypeface::Style GetFontStyle(FcPattern* font) {
395 if (FcPatternGetInteger(font, FC_WEIGHT, 0, &resulting_bold))
399 if (FcPatternGetInteger(font, FC_SLANT, 0, &resulting_italic))
402 // If we ask for an italic font, fontconfig might take a roman font and set
404 // that the font is italic or oblique. So, if we see a matrix, we don't
407 const bool have_matrix = FcPatternGet(font, FC_MATRIX, 0, &matrix) == 0;
409 // If we ask for an italic font, fontconfig might take a roman font and set
412 const bool have_embolden = FcPatternGet(font, FC_EMBOLDEN, 0, &embolden) == 0;
470 // Font matching:
472 // font-family: a, b, c, serif;
473 // However, fontconfig will always do its best to find *a* font when asked
491 // and for a missing font:
501 font
631 // Font matching:
633 // font-family: a, b, c, serif;
634 // However, fontconfig will always do its best to find *a* font when asked
652 // and for a missing font: