Searched refs:traitsMask (Results 1 – 8 of 8) sorted by relevance
361 fontDescription.setTraitsMask(static_cast<FontTraitsMask>(traitsMask())); in load()386 unsigned FontFace::traitsMask() const in traitsMask() function in WebCore::FontFace388 unsigned traitsMask = 0; in traitsMask() local396 traitsMask |= FontStyleNormalMask; in traitsMask()400 traitsMask |= FontStyleItalicMask; in traitsMask()406 traitsMask |= FontStyleNormalMask; in traitsMask()416 traitsMask |= FontWeight700Mask; in traitsMask()420 traitsMask |= FontWeight400Mask; in traitsMask()423 traitsMask |= FontWeight900Mask; in traitsMask()426 traitsMask |= FontWeight800Mask; in traitsMask()[all …]
63 …RefPtr<CSSSegmentedFontFace>& segmentedFontFace = familyFontFaces->add(fontFace->traitsMask(), 0).… in add()65 …CSSSegmentedFontFace::create(cssFontSelector, static_cast<FontTraitsMask>(fontFace->traitsMask())); in add()84 …tsMap::iterator familyFontFacesIter = familyFontFaces->find(cssFontFace->fontFace()->traitsMask()); in remove()102 FontTraitsMask firstTraitsMask = first->traitsMask(); in compareFontFaces()103 FontTraitsMask secondTraitsMask = second->traitsMask(); in compareFontFaces()190 FontTraitsMask traitsMask = fontDescription.traitsMask(); in get() local192 RefPtr<CSSSegmentedFontFace>& face = segmentedFontFaceCache->add(traitsMask, 0).iterator->value; in get()196 unsigned candidateTraitsMask = candidate->traitsMask(); in get()197 if ((traitsMask & FontStyleNormalMask) && !(candidateTraitsMask & FontStyleNormalMask)) in get()199 … if ((traitsMask & FontVariantNormalMask) && !(candidateTraitsMask & FontVariantNormalMask)) in get()[all …]
47 …FontSelector* selector, FontTraitsMask traitsMask) { return adoptRef(new CSSSegmentedFontFace(sele… in create() argument51 FontTraitsMask traitsMask() const { return m_traitsMask; } in traitsMask() function
49 unsigned traitsMask = fontFace->traitsMask(); in createFromStyleRule() local50 if (!traitsMask) in createFromStyleRule()
38 CSSSegmentedFontFace::CSSSegmentedFontFace(CSSFontSelector* fontSelector, FontTraitsMask traitsMask) in CSSSegmentedFontFace() argument40 , m_traitsMask(traitsMask) in CSSSegmentedFontFace()123 FontTraitsMask desiredTraitsMask = fontDescription.traitsMask(); in getFontData()
85 unsigned traitsMask() const;
96 FontTraitsMask FontDescription::traitsMask() const in traitsMask() function in WebCore::FontDescription104 void FontDescription::setTraitsMask(FontTraitsMask traitsMask) in setTraitsMask() argument106 switch (traitsMask & FontWeightMask) { in setTraitsMask()137 setItalic((traitsMask & FontStyleItalicMask) ? FontItalicOn : FontItalicOff); in setTraitsMask()138 setSmallCaps((traitsMask & FontVariantSmallCapsMask) ? FontSmallCapsOn : FontSmallCapsOff); in setTraitsMask()163 : traitsMask(); in cacheKey()
134 FontTraitsMask traitsMask() const;