Lines Matching defs:fontDescription
328 static SimpleFontData* fontDataFromDescriptionAndLogFont(FontCache* fontCache, const FontDescription& fontDescription, const LOGFONT& font, wchar_t* outFontFamilyName)
330 SimpleFontData* fontData = fontCache->getCachedFontData(fontDescription, font.lfFaceName);
352 static void FillLogFont(const FontDescription& fontDescription, LOGFONT* winfont)
357 winfont->lfHeight = -fontDescription.computedPixelSize();
367 winfont->lfItalic = fontDescription.italic();
368 fontDescription.weight());
403 GetLastResortFallbackFontProcData(FontCache* fontCache, const FontDescription* fontDescription, wchar_t* fontName)
405 , m_fontDescription(fontDescription)
412 const FontDescription* m_fontDescription;
433 // FIXME: Consider passing fontDescription.dominantScript()
435 FontDescription fontDescription = font.fontDescription();
439 fontDescription.genericFamily(), &c, &script);
442 data = getCachedFontPlatformData(font.fontDescription(), AtomicString(family, wcslen(family)), false);
502 data = getCachedFontPlatformData(font.fontDescription(), AtomicString(family, wcslen(family)));
521 SimpleFontData* FontCache::getLastResortFallbackFont(const FontDescription& description)
523 FontDescription::GenericFamilyType generic = description.genericFamily();
533 if (generic == FontDescription::SansSerifFamily)
535 else if (generic == FontDescription::MonospaceFamily)
610 FontPlatformData* FontCache::createFontPlatformData(const FontDescription& fontDescription, const AtomicString& family)
613 FillLogFont(fontDescription, &winfont);
641 fontDescription.computedPixelSize());