Home
last modified time | relevance | path

Searched refs:FontDescription (Results 1 – 25 of 88) sorted by relevance

1234

/external/chromium_org/third_party/WebKit/Source/core/css/resolver/
DFontBuilder.cpp48 void reset() { m_fontDescription = FontDescription(); } in reset()
49 void set(const FontDescription& fontDescription) { m_fontDescription = fontDescription; } in set()
50 FontDescription& fontDescription() { return m_fontDescription; } in fontDescription()
59 FontDescription m_fontDescription;
90 scope.fontDescription().setGenericFamily(FontDescription::StandardFamily); in setInitial()
101 void FontBuilder::inheritFrom(const FontDescription& fontDescription) in inheritFrom()
117 FontDescription fontDescription; in fromSystemFont()
140 FontDescription initialDesc = FontDescription(); in setFontFamilyInitial()
150 void FontBuilder::setFontFamilyInherit(const FontDescription& parentFontDescription) in setFontFamilyInherit()
172 scope.fontDescription().setGenericFamily(FontDescription::NoFamily); in setFontFamilyValue()
[all …]
DFontBuilder.h51 void inheritFrom(const FontDescription&);
55 void setFontFamilyInherit(const FontDescription&);
59 void setFontSizeInherit(const FontDescription&, float effectiveZoom);
67 void setFontVariantLigaturesInherit(const FontDescription&);
77 void setKerning(FontDescription::Kerning);
95 void setSize(FontDescription&, float effectiveZoom, float size);
101 …float getComputedSizeFromSpecifiedSize(FontDescription&, float effectiveZoom, float specifiedSize);
/external/chromium_org/third_party/WebKit/Source/platform/fonts/
DFontDescription.cpp48 COMPILE_ASSERT(sizeof(FontDescription) == sizeof(SameSizeAsFontDescription), FontDescription_should…
50 bool FontDescription::s_useSubpixelTextPositioning = false;
52 FontWeight FontDescription::lighterWeight(void) const in lighterWeight()
74 FontWeight FontDescription::bolderWeight(void) const in bolderWeight()
96 FontTraitsMask FontDescription::traitsMask() const in traitsMask()
104 void FontDescription::setTraitsMask(FontTraitsMask traitsMask) in setTraitsMask()
141 FontDescription FontDescription::makeNormalFeatureSettings() const in makeNormalFeatureSettings()
143 FontDescription normalDescription(*this); in makeNormalFeatureSettings()
148 float FontDescription::effectiveFontSize() const in effectiveFontSize()
159 FontCacheKey FontDescription::cacheKey(const AtomicString& familyName, FontTraitsMask desiredTraits… in cacheKey()
DFontCache.h59 class FontDescription; variable
78 …PassRefPtr<SimpleFontData> platformFallbackForCharacter(const FontDescription&, UChar32, const Sim…
83 …PassRefPtr<SimpleFontData> getFontData(const FontDescription&, const AtomicString&, bool checkingA…
84 …PassRefPtr<SimpleFontData> getLastResortFallbackFont(const FontDescription&, ShouldRetain = Retain…
85 SimpleFontData* getNonRetainedLastResortFallbackFont(const FontDescription&);
86 bool isPlatformFontAvailable(const FontDescription&, const AtomicString&);
95 …PassRefPtr<SimpleFontData> fontDataFromDescriptionAndLogFont(const FontDescription&, ShouldRetain,…
134 …FontPlatformData* getFontPlatformData(const FontDescription&, const AtomicString& family, bool che…
137 …FontPlatformData* createFontPlatformData(const FontDescription&, const AtomicString& family, float…
140 …PassRefPtr<SkTypeface> createTypeface(const FontDescription&, const AtomicString& family, CString&…
DFontFallbackList.h35 class FontDescription; variable
72 bool isFixedPitch(const FontDescription& fontDescription) const in isFixedPitch()
78 void determinePitch(const FontDescription&) const;
92 const SimpleFontData* primarySimpleFontData(const FontDescription& fontDescription) in primarySimpleFontData()
100 PassRefPtr<FontData> getFontData(const FontDescription&, int& familyIndex) const;
102 const FontData* primaryFontData(const FontDescription&) const;
103 const FontData* fontDataAt(const FontDescription&, unsigned index) const;
DAlternateFontFamily.h108 inline const AtomicString getFallbackFontFamily(const FontDescription& description) in getFallbackFontFamily()
117 case FontDescription::SansSerifFamily: in getFallbackFontFamily()
119 case FontDescription::SerifFamily: in getFallbackFontFamily()
121 case FontDescription::MonospaceFamily: in getFallbackFontFamily()
123 case FontDescription::CursiveFamily: in getFallbackFontFamily()
125 case FontDescription::FantasyFamily: in getFallbackFontFamily()
DFont.h82 Font(const FontDescription&, float letterSpacing, float wordSpacing);
93 const FontDescription& fontDescription() const { return m_fontDescription; } in fontDescription()
263 case FontDescription::NoneKerning: in computeTypesettingFeatures()
266 case FontDescription::NormalKerning: in computeTypesettingFeatures()
269 case FontDescription::AutoKerning: in computeTypesettingFeatures()
274 case FontDescription::DisabledLigaturesState: in computeTypesettingFeatures()
277 case FontDescription::EnabledLigaturesState: in computeTypesettingFeatures()
280 case FontDescription::NormalLigaturesState: in computeTypesettingFeatures()
289 FontDescription m_fontDescription;
DFontSelector.h36 class FontDescription; variable
42 …virtual PassRefPtr<FontData> getFontData(const FontDescription&, const AtomicString& familyName) =…
43 virtual void willUseFontData(const FontDescription&, const AtomicString& familyName) = 0;
DFontDescription.h68 class PLATFORM_EXPORT FontDescription {
77 FontDescription() in FontDescription() function
104 bool operator==(const FontDescription&) const;
105 bool operator!=(const FontDescription& other) const { return !(*this == other); }
140 FontDescription makeNormalFeatureSettings() const;
222 inline bool FontDescription::operator==(const FontDescription& other) const
DSimpleFontData.h50 class FontDescription; variable
80 PassRefPtr<SimpleFontData> smallCapsFontData(const FontDescription&) const;
81 PassRefPtr<SimpleFontData> emphasisMarkFontData(const FontDescription&) const;
84 …PassRefPtr<SimpleFontData> variantFontData(const FontDescription& description, FontDataVariant var… in variantFontData()
191 … PassRefPtr<SimpleFontData> createScaledFontData(const FontDescription&, float scaleFactor) const;
192 …PassRefPtr<SimpleFontData> platformCreateScaledFontData(const FontDescription&, float scaleFactor)…
DFontFallbackList.cpp79 void FontFallbackList::determinePitch(const FontDescription& fontDescription) const in determinePitch()
109 const FontData* FontFallbackList::primaryFontData(const FontDescription& fontDescription) const in primaryFontData()
133 PassRefPtr<FontData> FontFallbackList::getFontData(const FontDescription& fontDescription, int& fam… in getFontData()
174 const FontData* FontFallbackList::fontDataAt(const FontDescription& fontDescription, unsigned reali… in fontDataAt()
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderThemeChromiumFontProviderWin.cpp45 static FontDescription& smallSystemFont() in smallSystemFont()
47 DEFINE_STATIC_LOCAL(FontDescription, font, ()); in smallSystemFont()
51 static FontDescription& menuFont() in menuFont()
53 DEFINE_STATIC_LOCAL(FontDescription, font, ()); in menuFont()
57 static FontDescription& labelFont() in labelFont()
59 DEFINE_STATIC_LOCAL(FontDescription, font, ()); in labelFont()
122 void RenderThemeChromiumFontProvider::systemFont(CSSValueID valueID, FontDescription& fontDescripti… in systemFont()
125 FontDescription* cachedDesc = 0; in systemFont()
175 cachedDesc->setGenericFamily(FontDescription::NoFamily); in systemFont()
189 smallSystemFont() = menuFont() = labelFont() = FontDescription(); in setDefaultFontSize()
DRenderThemeChromiumFontProvider.h37 class FontDescription; variable
41 static void systemFont(CSSValueID, FontDescription&);
/external/chromium_org/third_party/WebKit/Source/core/platform/mac/
DThemeMac.h44 … virtual FontDescription controlFont(ControlPart, const FontDescription&, float zoomFactor) const;
46 …virtual LengthSize controlSize(ControlPart, const FontDescription&, const LengthSize&, float zoomF…
47 …virtual LengthSize minimumControlSize(ControlPart, const FontDescription&, float zoomFactor) const;
49 …virtual LengthBox controlPadding(ControlPart, const FontDescription&, const LengthBox& zoomedBox, …
50 …virtual LengthBox controlBorder(ControlPart, const FontDescription&, const LengthBox& zoomedBox, f…
/external/chromium_org/third_party/WebKit/Source/platform/
DTheme.h81 …virtual FontDescription controlFont(ControlPart, const FontDescription& fontDescription, float /*z… in controlFont()
84 …virtual LengthSize controlSize(ControlPart, const FontDescription&, const LengthSize& zoomedSize, … in controlSize() argument
87 …virtual LengthSize minimumControlSize(ControlPart, const FontDescription&, float /*zoomFactor*/) c… in minimumControlSize() argument
90 …virtual LengthBox controlPadding(ControlPart, const FontDescription&, const LengthBox& zoomedBox, …
91 …virtual LengthBox controlBorder(ControlPart, const FontDescription&, const LengthBox& zoomedBox, f…
/external/chromium_org/third_party/WebKit/Source/web/
DWebFontDescription.cpp40 WebFontDescription::WebFontDescription(const FontDescription& desc, in WebFontDescription()
54 WebFontDescription::operator WebCore::FontDescription() const in operator WebCore::FontDescription()
59 FontDescription desc; in operator WebCore::FontDescription()
61 desc.setGenericFamily(static_cast<FontDescription::GenericFamilyType>(genericFamily)); in operator WebCore::FontDescription()
/external/chromium_org/third_party/WebKit/Source/core/css/
DCSSSegmentedFontFace.h41 class FontDescription; variable
59 PassRefPtr<FontData> getFontData(const FontDescription&);
69 void loadFont(const FontDescription&, const String&, PassRefPtr<LoadFontCallback>);
71 void willUseFontData(const FontDescription&);
DCSSFontSelector.h45 class FontDescription; variable
75 virtual PassRefPtr<FontData> getFontData(const FontDescription&, const AtomicString&);
76 CSSSegmentedFontFace* getFontFace(const FontDescription&, const AtomicString& family);
77 virtual void willUseFontData(const FontDescription&, const AtomicString& family) OVERRIDE;
DCSSFontSelector.cpp166 …ilyNameFromSettings(const GenericFontFamilySettings& settings, const FontDescription& fontDescript… in familyNameFromSettings()
171 …if (fontDescription.genericFamily() == FontDescription::StandardFamily && !fontDescription.isSpeci… in familyNameFromSettings()
177 …if (fontDescription.genericFamily() == FontDescription::StandardFamily && !fontDescription.isSpeci… in familyNameFromSettings()
197 PassRefPtr<FontData> CSSFontSelector::getFontData(const FontDescription& fontDescription, const Ato… in getFontData()
210 CSSSegmentedFontFace* CSSFontSelector::getFontFace(const FontDescription& fontDescription, const At… in getFontFace()
215 void CSSFontSelector::willUseFontData(const FontDescription& fontDescription, const AtomicString& f… in willUseFontData()
DCSSFontFaceSource.h39 class FontDescription; variable
63 PassRefPtr<SimpleFontData> getFontData(const FontDescription&);
73 bool isLocalFontAvailable(const FontDescription&);
/external/chromium_org/third_party/WebKit/Source/platform/fonts/skia/
DFontCacheSkia.cpp52 PassRefPtr<SimpleFontData> FontCache::platformFallbackForCharacter(const FontDescription& fontDescr… in platformFallbackForCharacter()
66 FontDescription description(fontDescription); in platformFallbackForCharacter()
91 PassRefPtr<SimpleFontData> FontCache::getLastResortFallbackFont(const FontDescription& description,… in getLastResortFallbackFont()
108 PassRefPtr<SkTypeface> FontCache::createTypeface(const FontDescription& fontDescription, const Atom… in createTypeface()
135 FontPlatformData* FontCache::createFontPlatformData(const FontDescription& fontDescription, const A… in createFontPlatformData()
/external/chromium_org/third_party/WebKit/public/web/
DWebFontDescription.h37 namespace WebCore { class FontDescription; } variable
98 …WebFontDescription(const WebCore::FontDescription&, short fontLetterSpacing, short fontWordSpacing…
100 operator WebCore::FontDescription() const;
/external/chromium_org/third_party/WebKit/Source/platform/fonts/win/
DFontCacheWin.cpp321 PassRefPtr<SimpleFontData> FontCache::fontDataFromDescriptionAndLogFont(const FontDescription& font… in fontDataFromDescriptionAndLogFont()
345 static void FillLogFont(const FontDescription& fontDescription, LOGFONT* winfont) in FillLogFont()
365 …GetLastResortFallbackFontProcData(FontCache* fontCache, const FontDescription* fontDescription, Fo… in GetLastResortFallbackFontProcData()
375 const FontDescription* m_fontDescription;
395 PassRefPtr<SimpleFontData> FontCache::platformFallbackForCharacter(const FontDescription& fontDescr… in platformFallbackForCharacter()
412 FontDescription fontDescription = fontDescription; in platformFallbackForCharacter()
492 PassRefPtr<SimpleFontData> FontCache::getLastResortFallbackFont(const FontDescription& description,… in getLastResortFallbackFont()
494 FontDescription::GenericFamilyType generic = description.genericFamily(); in getLastResortFallbackFont()
504 if (generic == FontDescription::SansSerifFamily) in getLastResortFallbackFont()
506 else if (generic == FontDescription::MonospaceFamily) in getLastResortFallbackFont()
[all …]
DFontFallbackWin.h53 FontDescription::GenericFamilyType);
60 FontDescription::GenericFamilyType,
/external/chromium_org/third_party/WebKit/Source/platform/fonts/android/
DFontCacheAndroidTest.cpp19 FontDescription fontDescription; in TEST()
21 fontDescription.setGenericFamily(FontDescription::StandardFamily); in TEST()

1234