HomeSort by relevance Sort by last modified time
    Searched refs:fontCache (Results 1 - 15 of 15) sorted by null

  /external/chromium_org/third_party/WebKit/Source/platform/fonts/android/
FontCacheAndroidTest.cpp 6 #include "platform/fonts/FontCache.h"
23 FontCache* fontCache = FontCache::fontCache();
24 ASSERT_TRUE(fontCache);
25 RefPtr<SimpleFontData> fontData = fontCache->fallbackFontForCharacter(fontDescription, testChar, 0);
  /external/chromium_org/third_party/WebKit/Source/platform/fonts/
FontCacheTest.cpp 6 #include "platform/fonts/FontCache.h"
22 TEST(FontCache, getLastResortFallbackFont)
24 FontCache* fontCache = FontCache::fontCache();
25 ASSERT_TRUE(fontCache);
36 RefPtr<SimpleFontData> fontData = fontCache->getLastResortFallbackFont(fontDescription, Retain);
40 fontData = fontCache->getLastResortFallbackFont(fontDescription, Retain);
FontFallbackList.cpp 33 #include "platform/fonts/FontCache.h"
46 , m_generation(FontCache::fontCache()->generation())
64 m_generation = FontCache::fontCache()->generation();
74 FontCache::fontCache()->releaseFontData(static_cast<const SimpleFontData*>(m_fontList[i].get()));
132 SimpleFontData* lastResortFallback = FontCache::fontCache()->getLastResortFallbackFont(fontDescription).get();
172 result = FontCache::fontCache()->getFontData(fontDescription, currFamily->family())
    [all...]
FontCache.h 70 class PLATFORM_EXPORT FontCache {
73 WTF_MAKE_NONCOPYABLE(FontCache); WTF_MAKE_FAST_ALLOCATED;
75 static FontCache* fontCache();
132 FontCache();
133 ~FontCache();
176 FontCachePurgePreventer() { FontCache::fontCache()->disablePurging(); }
177 ~FontCachePurgePreventer() { FontCache::fontCache()->enablePurging();
    [all...]
FontCache.cpp 31 #include "platform/fonts/FontCache.h"
57 FontCache::FontCache()
68 bool FontCache::s_useDirectWrite = false;
69 IDWriteFactory* FontCache::s_directWriteFactory = 0;
70 bool FontCache::s_useSubpixelPositioning = false;
73 FontCache* FontCache::fontCache()
75 DEFINE_STATIC_LOCAL(FontCache, globalFontCache, ())
    [all...]
Font.cpp 29 #include "platform/fonts/FontCache.h"
514 RefPtr<SimpleFontData> characterFontData = FontCache::fontCache()->fallbackFontForCharacter(m_fontDescription, characterToRender, fontDataToSubstitute);
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/css/
LocalFontFaceSource.cpp 8 #include "platform/fonts/FontCache.h"
17 return FontCache::fontCache()->isPlatformFontAvailable(fontDescription, m_fontName);
23 RefPtr<SimpleFontData> fontData = FontCache::fontCache()->getFontData(fontDescription, m_fontName, true);
CSSFontSelector.cpp 40 #include "platform/fonts/FontCache.h"
57 FontCache::fontCache()->addClient(this);
65 FontCache::fontCache()->removeClient(this);
105 return FontCache::getGenericFamilyNameForScript(FontFamilyNames::webkit_standard, script);
108 return FontCache::getGenericFamilyNameForScript(genericFamilyName, script);
140 return FontCache::fontCache()->getFontData(fontDescription, settingsFamilyName);
155 return FontCache::fontCache()->isPlatformFontAvailable(fontDescription, family)
    [all...]
RemoteFontFaceSource.cpp 11 #include "platform/fonts/FontCache.h"
111 SimpleFontData* temporaryFont = FontCache::fontCache()->getNonRetainedLastResortFallbackFont(fontDescription);
  /external/chromium_org/third_party/WebKit/Source/platform/fonts/skia/
FontPlatformDataSkia.cpp 36 #include "platform/fonts/FontCache.h"
61 return FontCache::fontCache()->getVerticalData(typeface()->uniqueID(), *this);
FontCustomPlatformDataSkia.cpp 38 #include "platform/fonts/FontCache.h"
60 if (!FontCache::useDirectWrite()) {
80 RefPtr<SkTypeface> typeface = adoptRef(FontCache::fontCache()->fontManager()->legacyCreateTypeface(name.c_str(), static_cast<SkTypeface::Style>(style)));
102 RefPtr<SkTypeface> typeface = adoptRef(FontCache::fontCache()->fontManager()->createFromStream(stream.get()));
  /external/chromium_org/third_party/WebKit/Source/platform/fonts/win/
FontPlatformDataWin.cpp 37 #include "platform/fonts/FontCache.h"
151 return FontCache::fontCache()->useSubpixelPositioning();
  /external/chromium_org/third_party/WebKit/Source/platform/fonts/mac/
FontCacheMac.mm 31 #import "platform/fonts/FontCache.h"
59 FontCache::fontCache()->invalidate();
64 ASSERT_UNUSED(observer, observer == FontCache::fontCache());
77 void FontCache::platformInit()
103 PassRefPtr<SimpleFontData> FontCache::fallbackFontForCharacter(const FontDescription& fontDescription, UChar32 character, const SimpleFontData* fontDataToSubstitute)
186 PassRefPtr<SimpleFontData> FontCache::getLastResortFallbackFont(const FontDescription& fontDescription, ShouldRetain shouldRetain)
204 FontPlatformData* FontCache::createFontPlatformData(const FontDescription& fontDescription, const AtomicString& family, float fontSize)
SimpleFontDataMac.mm 38 #import "platform/fonts/FontCache.h"
309 FontCache::fontCache()->releaseFontData(m_derivedFontData->smallCaps.get());
312 FontCache::fontCache()->releaseFontData(m_derivedFontData->emphasisMark.get());
345 return FontCache::fontCache()->fontDataFromFontPlatformData(&scaledFontData);
ComplexTextControllerCoreText.mm 30 #include "platform/fonts/FontCache.h"
65 // FontData, so this loop does not hit the FontCache.
278 runFontData = FontCache::fontCache()->getFontData(m_font.fontDescription(), fontName.get(), false, DoNotRetain).get();
283 runFontData = FontCache::fontCache()->fontDataFromFontPlatformData(&runFontPlatformData, DoNotRetain).get();

Completed in 258 milliseconds