/external/webkit/Source/WebCore/css/ |
CSSFontFace.cpp | 32 #include "FontDescription.h" 101 SimpleFontData* CSSFontFace::getFontData(const FontDescription& fontDescription, bool syntheticBold, bool syntheticItalic) 112 if (SimpleFontData* result = m_sources[i]->getFontData(fontDescription, syntheticBold, syntheticItalic, fontSelector)) {
|
CSSSegmentedFontFace.cpp | 31 #include "FontDescription.h" 86 FontData* CSSSegmentedFontFace::getFontData(const FontDescription& fontDescription) 91 FontTraitsMask desiredTraitsMask = fontDescription.traitsMask(); 92 unsigned hashKey = ((fontDescription.computedPixelSize() + 1) << (FontTraitsMaskWidth + 1)) | ((fontDescription.orientation() == Vertical ? 1 : 0) << FontTraitsMaskWidth) | desiredTraitsMask; 107 if (const SimpleFontData* faceFontData = m_fontFaces[i]->getFontData(fontDescription, syntheticBold, syntheticItalic)) {
|
CSSFontFaceSource.cpp | 34 #include "FontDescription.h" 101 SimpleFontData* CSSFontFaceSource::getFontData(const FontDescription& fontDescription, bool syntheticBold, bool syntheticItalic, CSSFontSelector* fontSelector) 112 SimpleFontData* fontData = fontCache()->getCachedFontData(fontDescription, m_string); 119 unsigned hashKey = (fontDescription.computedPixelSize() + 1) << 6 | fontDescription.widthVariant() << 4 120 | (fontDescription.textOrientation() == TextOrientationUpright ? 8 : 0) | (fontDescription.orientation() == Vertical ? 4 : 0) | (syntheticBold ? 2 : 0) | (syntheticItalic ? 1 : 0); 158 fontData.set(new SimpleFontData(adoptPtr(new SVGFontData(fontFaceElement)), fontDescription.computedPixelSize(), syntheticBold, syntheticItalic)); 167 fontData.set(new SimpleFontData(m_font->platformDataFromCustomData(fontDescription.computedPixelSize(), syntheticBold, syntheticItalic, fontDescription.orientation() [all...] |
/external/webkit/Source/WebCore/platform/graphics/chromium/ |
FontPlatformDataLinux.h | 50 class FontDescription;
|
/external/webkit/Source/WebCore/platform/graphics/qt/ |
FontPlatformData.h | 27 #include "FontDescription.h" 73 FontPlatformData(const FontDescription&, const AtomicString& familyName, int wordSpacing = 0, int letterSpacing = 0);
|
FontPlatformDataQt.cpp | 63 FontPlatformData::FontPlatformData(const FontDescription& description, const AtomicString& familyName, int wordSpacing, int letterSpacing)
|
/external/webkit/Source/WebKit/chromium/src/ |
WebFontImpl.cpp | 35 #include "FontDescription.h" 54 WebFontImpl::WebFontImpl(const FontDescription& desc, short letterSpacing, short wordSpacing) 60 WebFontDescription WebFontImpl::fontDescription() const 62 return WebFontDescription(m_font.fontDescription(), m_font.letterSpacing(), m_font.wordSpacing());
|
AssertMatchingEnums.cpp | 44 #include "FontDescription.h" 280 COMPILE_ASSERT_MATCHING_ENUM(WebFontDescription::GenericFamilyNone, FontDescription::NoFamily); 281 COMPILE_ASSERT_MATCHING_ENUM(WebFontDescription::GenericFamilyStandard, FontDescription::StandardFamily); 282 COMPILE_ASSERT_MATCHING_ENUM(WebFontDescription::GenericFamilySerif, FontDescription::SerifFamily); 283 COMPILE_ASSERT_MATCHING_ENUM(WebFontDescription::GenericFamilySansSerif, FontDescription::SansSerifFamily); 284 COMPILE_ASSERT_MATCHING_ENUM(WebFontDescription::GenericFamilyMonospace, FontDescription::MonospaceFamily); 285 COMPILE_ASSERT_MATCHING_ENUM(WebFontDescription::GenericFamilyCursive, FontDescription::CursiveFamily); 286 COMPILE_ASSERT_MATCHING_ENUM(WebFontDescription::GenericFamilyFantasy, FontDescription::FantasyFamily);
|
/external/webkit/Source/WebCore/platform/graphics/ |
Font.h | 28 #include "FontDescription.h" 79 Font(const FontDescription&, short letterSpacing, short wordSpacing); 90 const FontDescription& fontDescription() const { return m_fontDescription; } 92 int pixelSize() const { return fontDescription().computedPixelSize(); } 93 float size() const { return fontDescription().computedSize(); } 242 FontDescription m_fontDescription;
|
/external/webkit/Source/WebCore/platform/graphics/win/ |
SimpleFontDataWin.cpp | 35 #include "FontDescription.h" 111 SimpleFontData* SimpleFontData::scaledFontData(const FontDescription& fontDescription, float scaleFactor) const 127 SimpleFontData* SimpleFontData::smallCapsFontData(const FontDescription& fontDescription) const 132 m_derivedFontData->smallCaps = scaledFontData(fontDescription, cSmallCapsFontSizeMultiplier); 137 SimpleFontData* SimpleFontData::emphasisMarkFontData(const FontDescription& fontDescription) const 142 m_derivedFontData->emphasisMark = scaledFontData(fontDescription, .5);
|
WebLayer.cpp | 117 FontDescription desc;
|
/external/webkit/Source/WebCore/platform/graphics/wince/ |
FontCacheWinCE.cpp | 305 FontDescription fontDescription(font.fontDescription()); 306 if (unicodeRange == cRangeThai && fontDescription.weight() > FontWeightNormal) 307 fontDescription.setWeight(FontWeightNormal); 309 FontPlatformData* result = getCachedFontPlatformData(fontDescription, familyName); 324 SimpleFontData* FontCache::getLastResortFallbackFont(const FontDescription& fontDesc) 331 FontPlatformData* FontCache::createFontPlatformData(const FontDescription& fontDescription, const AtomicString& family) 333 FontPlatformData* result = new FontPlatformData(fontDescription, family) [all...] |
FontPlatformData.cpp | 316 FontDescription m_fontDescription; 332 FontPlatformPrivateData(const FontDescription& fontDescription, const AtomicString& family) 334 , m_size(fontDescription.computedPixelSize()) 335 , m_fontDescription(fontDescription) 339 , m_disabled(!fontDescription.specifiedSize()) 341 m_rootFontData = FixedSizeFontData::create(family, toGDIFontWeight(fontDescription.weight()), fontDescription.italic()); 345 FontPlatformData::FontPlatformData(const FontDescription& fontDescription, const AtomicString& desiredFamily, bool useDefaultFontIfNotPresent [all...] |
/external/webkit/Source/WebCore/rendering/ |
RenderThemeSafari.cpp | 189 void RenderThemeSafari::systemFont(int propId, FontDescription& fontDescription) const 191 static FontDescription systemFont; 192 static FontDescription smallSystemFont; 193 static FontDescription menuFont; 194 static FontDescription labelFont; 195 static FontDescription miniControlFont; 196 static FontDescription smallControlFont; 197 static FontDescription controlFont; 199 FontDescription* cachedDesc [all...] |
RenderThemeWin.cpp | 283 static void fillFontDescription(FontDescription& fontDescription, LOGFONT& logFont, float fontSize) 285 fontDescription.setIsAbsoluteSize(true); 286 fontDescription.setGenericFamily(FontDescription::NoFamily); 287 fontDescription.firstFamily().setFamily(String(logFont.lfFaceName)); 288 fontDescription.setSpecifiedSize(fontSize); 289 fontDescription.setWeight(logFont.lfWeight >= 700 ? FontWeightBold : FontWeightNormal); // FIXME: Use real weight. 290 fontDescription.setItalic(logFont.lfItalic); 293 static void fillFontDescription(FontDescription& fontDescription, LOGFONT& logFont [all...] |
RenderCombineText.cpp | 97 FontDescription description = originalFont().fontDescription(); 127 shouldUpdateFont = style()->setFontDescription(originalFont().fontDescription());
|
RenderThemeChromiumSkia.h | 65 virtual void systemFont(int propId, FontDescription&) const;
|
RenderThemeChromiumWin.cpp | 151 static FontDescription smallSystemFont; 152 static FontDescription menuFont; 153 static FontDescription labelFont; 293 void RenderThemeChromiumWin::systemFont(int propId, FontDescription& fontDescription) const 296 FontDescription* cachedDesc = 0; 341 cachedDesc = &fontDescription; 346 cachedDesc->setGenericFamily(FontDescription::NoFamily); 351 fontDescription = *cachedDesc; 524 smallSystemFont = menuFont = labelFont = FontDescription(); [all...] |
RenderThemeSafari.h | 75 virtual void systemFont(int propId, FontDescription&) const;
|
RenderThemeWin.h | 66 virtual void systemFont(int propId, FontDescription&) const;
|
/external/webkit/Source/WebCore/platform/android/ |
RenderThemeAndroid.h | 73 virtual void systemFont(int, WebCore::FontDescription&) const {}
|
/external/webkit/Source/WebCore/platform/graphics/mac/ |
FontCacheMac.mm | 138 substituteFont = font.fontDescription().usePrinterFont() ? [substituteFont printerFont] : [substituteFont screenFont]; 156 const FontFamily* currFamily = &font.fontDescription().family(); 163 simpleFontData = getCachedFontData(font.fontDescription(), geezaStr); 171 SimpleFontData* FontCache::getLastResortFallbackFont(const FontDescription& fontDescription) 177 SimpleFontData* simpleFontData = getCachedFontData(fontDescription, timesStr); 186 return getCachedFontData(fontDescription, lucidaGrandeStr); 194 FontPlatformData* FontCache::createFontPlatformData(const FontDescription& fontDescription, const AtomicString& family) 196 NSFontTraitMask traits = fontDescription.italic() ? NSFontItalicTrait : 0 [all...] |
/external/webkit/Source/WebCore/platform/graphics/wx/ |
FontPlatformData.h | 32 #include "FontDescription.h" 94 FontPlatformData(const FontDescription&, const AtomicString&);
|
/external/webkit/Source/WebCore/platform/haiku/ |
RenderThemeHaiku.cpp | 105 void RenderThemeHaiku::systemFont(int propId, FontDescription&) const
|
/external/webkit/Source/WebKit2/WebProcess/WebCoreSupport/win/ |
WebPopupMenuWin.cpp | 63 FontDescription d = itemFont.fontDescription(); 126 FontDescription d = itemFont.fontDescription();
|