HomeSort by relevance Sort by last modified time
    Searched refs:FontDescription (Results 26 - 50 of 89) sorted by null

12 3 4

  /external/chromium_org/third_party/WebKit/Source/core/css/
CSSFontSelector.cpp 166 static AtomicString familyNameFromSettings(const GenericFontFamilySettings& settings, const FontDescription& fontDescription, const AtomicString& genericFamilyName)
168 UScriptCode script = fontDescription.script();
171 if (fontDescription.genericFamily() == FontDescription::StandardFamily && !fontDescription.isSpecifiedFont())
177 if (fontDescription.genericFamily() == FontDescription::StandardFamily && !fontDescription.isSpecifiedFont())
197 PassRefPtr<FontData> CSSFontSelector::getFontData(const FontDescription& fontDescription, const AtomicString& familyName
    [all...]
CSSFontFace.h 40 class FontDescription;
69 PassRefPtr<SimpleFontData> getFontData(const FontDescription&);
99 void willUseFontData(const FontDescription&);
CSSSegmentedFontFace.cpp 32 #include "platform/fonts/FontDescription.h"
118 PassRefPtr<FontData> CSSSegmentedFontFace::getFontData(const FontDescription& fontDescription)
123 FontTraitsMask desiredTraitsMask = fontDescription.traitsMask();
125 FontCacheKey key = fontDescription.cacheKey(emptyFontFamily, desiredTraitsMask);
134 FontDescription requestedFontDescription(fontDescription);
179 void CSSSegmentedFontFace::willUseFontData(const FontDescription& fontDescription)
183 m_fontFaces[i]->willUseFontData(fontDescription);
    [all...]
CSSFontFace.cpp 136 PassRefPtr<SimpleFontData> CSSFontFace::getFontData(const FontDescription& fontDescription)
144 if (RefPtr<SimpleFontData> result = m_sources[i]->getFontData(fontDescription)) {
161 void CSSFontFace::willUseFontData(const FontDescription& fontDescription)
179 if (!m_sources[i]->isValid() || (m_sources[i]->isLocal() && !m_sources[i]->isLocalFontAvailable(fontDescription)))
  /external/chromium_org/third_party/WebKit/Source/platform/fonts/skia/
FontCacheSkia.cpp 38 #include "platform/fonts/FontDescription.h"
52 PassRefPtr<SimpleFontData> FontCache::platformFallbackForCharacter(const FontDescription& fontDescription, UChar32 c, const SimpleFontData*, bool)
61 // Changes weight and/or italic of given FontDescription depends on
66 FontDescription description(fontDescription);
91 PassRefPtr<SimpleFontData> FontCache::getLastResortFallbackFont(const FontDescription& description, ShouldRetain shouldRetain)
108 PassRefPtr<SkTypeface> FontCache::createTypeface(const FontDescription& fontDescription, const AtomicString& family, CString& name)
113 name = getFallbackFontFamily(fontDescription).string().utf8()
    [all...]
FontCacheSkiaWin.cpp 38 #include "platform/fonts/FontDescription.h"
79 PassRefPtr<SimpleFontData> FontCache::platformFallbackForCharacter(const FontDescription& fontDescription, UChar32 character, const SimpleFontData*, bool)
81 // FIXME: Consider passing fontDescription.dominantScript()
85 fontDescription.genericFamily(),
89 data = getFontPlatformData(fontDescription, AtomicString(family, wcslen(family)));
148 data = getFontPlatformData(fontDescription, AtomicString(family, wcslen(family)));
193 FontPlatformData* FontCache::createFontPlatformData(const FontDescription& fontDescription, const AtomicString& family, float fontSize)
196 RefPtr<SkTypeface> tf = createTypeface(fontDescription, family, name)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/platform/fonts/
FontDescription.h 68 class PLATFORM_EXPORT FontDescription {
77 FontDescription()
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
Font.h 29 #include "platform/fonts/FontDescription.h"
82 Font(const FontDescription&, float letterSpacing, float wordSpacing);
93 const FontDescription& fontDescription() const { return m_fontDescription; }
95 int pixelSize() const { return fontDescription().computedPixelSize(); }
96 float size() const { return fontDescription().computedSize(); }
263 case FontDescription::NoneKerning:
266 case FontDescription::NormalKerning:
269 case FontDescription::AutoKerning:
274 case FontDescription::DisabledLigaturesState
    [all...]
FontFallbackList.cpp 34 #include "platform/fonts/FontDescription.h"
79 void FontFallbackList::determinePitch(const FontDescription& fontDescription) const
81 const FontData* fontData = primaryFontData(fontDescription);
109 const FontData* FontFallbackList::primaryFontData(const FontDescription& fontDescription) const
112 const FontData* fontData = fontDataAt(fontDescription, fontIndex);
116 return fontDataAt(fontDescription, 0);
133 PassRefPtr<FontData> FontFallbackList::getFontData(const FontDescription& fontDescription, int& familyIndex) cons
    [all...]
SimpleFontData.h 50 class FontDescription;
80 PassRefPtr<SimpleFontData> smallCapsFontData(const FontDescription&) const;
81 PassRefPtr<SimpleFontData> emphasisMarkFontData(const FontDescription&) const;
84 PassRefPtr<SimpleFontData> variantFontData(const FontDescription& description, FontDataVariant variant) const
191 PassRefPtr<SimpleFontData> createScaledFontData(const FontDescription&, float scaleFactor) const;
192 PassRefPtr<SimpleFontData> platformCreateScaledFontData(const FontDescription&, float scaleFactor) const;
FontCache.cpp 39 #include "platform/fonts/FontDescription.h"
73 FontPlatformData* FontCache::getFontPlatformData(const FontDescription& fontDescription,
91 FontCacheKey key = fontDescription.cacheKey(familyName);
96 result = createFontPlatformData(fontDescription, familyName, fontDescription.effectiveFontSize());
109 result = getFontPlatformData(fontDescription, alternateName, true);
143 PassRefPtr<SimpleFontData> FontCache::getFontData(const FontDescription& fontDescription, const AtomicString& family, bool checkingAlternateName, ShouldRetain shouldRetain)
145 if (FontPlatformData* platformData = getFontPlatformData(fontDescription, adjustFamilyNameToAvoidUnsupportedFonts(family), checkingAlternateName)
    [all...]
FontPlatformData.h 71 class FontDescription;
87 FontPlatformData(const FontDescription&, const AtomicString& family);
SimpleFontData.cpp 193 PassRefPtr<SimpleFontData> SimpleFontData::smallCapsFontData(const FontDescription& fontDescription) const
198 m_derivedFontData->smallCaps = createScaledFontData(fontDescription, smallCapsFontSizeMultiplier);
203 PassRefPtr<SimpleFontData> SimpleFontData::emphasisMarkFontData(const FontDescription& fontDescription) const
208 m_derivedFontData->emphasisMark = createScaledFontData(fontDescription, emphasisMarkFontSizeMultiplier);
258 PassRefPtr<SimpleFontData> SimpleFontData::createScaledFontData(const FontDescription& fontDescription, float scaleFactor) const
264 return platformCreateScaledFontData(fontDescription, scaleFactor);
  /external/chromium_org/third_party/WebKit/Source/platform/fonts/android/
FontCacheAndroid.cpp 36 #include "platform/fonts/FontDescription.h"
72 PassRefPtr<SimpleFontData> FontCache::platformFallbackForCharacter(const FontDescription& fontDescription, UChar32 c, const SimpleFontData*, bool)
74 AtomicString familyName = getFamilyNameForCharacter(c, fontDescription.script());
76 return getLastResortFallbackFont(fontDescription, DoNotRetain);
77 return fontDataFromFontPlatformData(getFontPlatformData(fontDescription, familyName), DoNotRetain);
  /external/chromium_org/third_party/WebKit/Source/platform/fonts/win/
FontCacheWin.cpp 35 #include "platform/fonts/FontDescription.h"
321 PassRefPtr<SimpleFontData> FontCache::fontDataFromDescriptionAndLogFont(const FontDescription& fontDescription, ShouldRetain shouldRetain, const LOGFONT& font, wchar_t* outFontFamilyName)
323 RefPtr<SimpleFontData> fontData = getFontData(fontDescription, font.lfFaceName, false, shouldRetain);
345 static void FillLogFont(const FontDescription& fontDescription, LOGFONT* winfont)
350 winfont->lfHeight = -fontDescription.computedPixelSize();
360 winfont->lfItalic = fontDescription.italic();
361 winfont->lfWeight = toGDIFontWeight(fontDescription.weight());
365 GetLastResortFallbackFontProcData(FontCache* fontCache, const FontDescription* fontDescription, FontCache::ShouldRetain shouldRetain, wchar_t* fontName
    [all...]
FontFallbackWin.cpp 243 // - Support generic families (from FontDescription)
254 FontDescription::GenericFamilyType generic)
277 FontDescription::GenericFamilyType generic,
328 FontDescription::GenericFamilyType generic)
  /external/chromium_org/third_party/WebKit/Source/platform/fonts/harfbuzz/
FontPlatformDataHarfBuzz.h 36 #include "platform/fonts/FontDescription.h"
70 FontPlatformData(PassRefPtr<SkTypeface>, const char* name, float textSize, bool fakeBold, bool fakeItalic, FontOrientation = Horizontal, bool subpixelTextPosition = FontDescription::subpixelPositioning());
  /external/chromium_org/third_party/WebKit/Source/core/platform/mac/
ThemeMac.mm 109 static NSControlSize controlSizeForFont(const FontDescription& fontDescription)
111 int fontSize = fontDescription.computedPixelSize();
132 static LengthSize sizeFromFont(const FontDescription& fontDescription, const LengthSize& zoomedSize, float zoomFactor, const IntSize* sizes)
134 return sizeFromNSControlSize(controlSizeForFont(fontDescription), zoomedSize, zoomFactor, sizes);
244 static LengthSize checkboxSize(const FontDescription& fontDescription, const LengthSize& zoomedSize, float zoomFactor)
251 return sizeFromFont(fontDescription, zoomedSize, zoomFactor, checkboxSizes());
328 static LengthSize radioSize(const FontDescription& fontDescription, const LengthSize& zoomedSize, float zoomFactor
    [all...]
  /external/chromium_org/third_party/WebKit/Source/platform/fonts/mac/
FontCacheMac.mm 34 #import "platform/fonts/FontDescription.h"
93 PassRefPtr<SimpleFontData> FontCache::platformFallbackForCharacter(const FontDescription& fontDescription, UChar32 character, const SimpleFontData* fontDataToSubstitute, bool disallowSynthetics)
147 traits = fontDescription.italic() ? NSFontItalicTrait : 0;
148 weight = toAppKitFontWeight(fontDescription.weight());
149 size = fontDescription.computedPixelSize();
163 substituteFont = fontDescription.usePrinterFont() ? [substituteFont printerFont] : [substituteFont screenFont];
176 PassRefPtr<SimpleFontData> FontCache::getLastResortFallbackFont(const FontDescription& fontDescription, ShouldRetain shouldRetain)
182 RefPtr<SimpleFontData> simpleFontData = getFontData(fontDescription, timesStr, false, shouldRetain)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/css/resolver/
StyleResolverState.h 41 class FontDescription;
119 const FontDescription& parentFontDescription() { return m_parentStyle->fontDescription(); }
  /frameworks/base/libs/hwui/font/
Font.cpp 43 Font::Font(FontRenderer* state, const Font::FontDescription& desc) :
47 Font::FontDescription::FontDescription(const SkPaint* paint, const mat4& matrix) {
76 hash_t Font::FontDescription::hash() const {
91 int Font::FontDescription::compare(const Font::FontDescription& lhs,
92 const Font::FontDescription& rhs) {
478 FontDescription description(paint, matrix);
  /external/chromium_org/third_party/WebKit/Source/web/
WebFontImpl.cpp 38 #include "platform/fonts/FontDescription.h"
54 WebFontImpl::WebFontImpl(const FontDescription& desc, float letterSpacing, float wordSpacing)
60 WebFontDescription WebFontImpl::fontDescription() const
62 return WebFontDescription(m_font.fontDescription(), m_font.letterSpacing(), m_font.wordSpacing());
  /external/chromium_org/third_party/WebKit/Source/core/platform/
DragImage.cpp 31 #include "platform/fonts/FontDescription.h"
110 static Font deriveDragLabelFont(int size, FontWeight fontWeight, const FontDescription& systemFont)
112 FontDescription description = systemFont;
121 PassOwnPtr<DragImage> DragImage::create(const KURL& url, const String& inLabel, const FontDescription& systemFont, float deviceScaleFactor)
  /external/chromium_org/third_party/WebKit/Source/core/rendering/
RenderCombineText.cpp 100 FontDescription description = originalFont().fontDescription();
132 shouldUpdateFont = style()->setFontDescription(originalFont().fontDescription());
RenderThemeChromiumSkia.h 68 virtual void systemFont(CSSValueID, FontDescription&) const;

Completed in 830 milliseconds

12 3 4