Lines Matching defs:fontDescription
91 FontPlatformData alternateFontData(fallbackPattern.get(), font.fontDescription());
99 FontPlatformData alternateFontData(resultPattern.get(), font.fontDescription());
108 SimpleFontData* FontCache::getLastResortFallbackFont(const FontDescription& fontDescription)
113 return getCachedFontData(fontDescription, timesStr);
120 static String getFamilyNameStringFromFontDescriptionAndFamily(const FontDescription& fontDescription, const AtomicString& family)
127 switch (fontDescription.genericFamily()) {
172 FontPlatformData* FontCache::createFontPlatformData(const FontDescription& fontDescription, const AtomicString& family)
178 String familyNameString(getFamilyNameStringFromFontDescriptionAndFamily(fontDescription, family));
182 bool italic = fontDescription.italic();
185 if (!FcPatternAddInteger(pattern.get(), FC_WEIGHT, fontWeightToFontconfigWeight(fontDescription.weight())))
187 if (!FcPatternAddDouble(pattern.get(), FC_PIXEL_SIZE, fontDescription.computedPixelSize()))
223 FontPlatformData* platformData = new FontPlatformData(resultPattern.get(), fontDescription);