HomeSort by relevance Sort by last modified time
    Searched full:fontcache (Results 1 - 25 of 76) sorted by null

1 2 3 4

  /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);
33 RefPtr<SimpleFontData> fontData = fontCache->getLastResortFallbackFont(fontDescription, Retain);
37 fontData = fontCache->getLastResortFallbackFont(fontDescription, Retain);
FontCache.cpp 31 #include "platform/fonts/FontCache.h"
58 FontCache::FontCache()
69 bool FontCache::s_useDirectWrite = false;
70 IDWriteFactory* FontCache::s_directWriteFactory = 0;
71 bool FontCache::s_useSubpixelPositioning = false;
72 float FontCache::s_deviceScaleFactor = 1.0;
75 FontCache* FontCache::fontCache()
    [all...]
FontFallbackList.cpp 33 #include "platform/fonts/FontCache.h"
47 , m_generation(FontCache::fontCache()->generation())
65 m_generation = FontCache::fontCache()->generation();
75 FontCache::fontCache()->releaseFontData(toSimpleFontData(m_fontList[i]));
146 SimpleFontData* lastResortFallback = FontCache::fontCache()->getLastResortFallbackFont(fontDescription).get();
197 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();
135 FontCache();
136 ~FontCache();
181 FontCachePurgePreventer() { FontCache::fontCache()->disablePurging(); }
182 ~FontCachePurgePreventer() { FontCache::fontCache()->enablePurging();
    [all...]
  /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);
FontCacheAndroid.cpp 32 #include "platform/fonts/FontCache.h"
64 PassRefPtr<SimpleFontData> FontCache::fallbackFontForCharacter(const FontDescription& fontDescription, UChar32 c, const SimpleFontData*)
73 AtomicString FontCache::getGenericFamilyNameForScript(const AtomicString& familyName, const FontDescription& fontDescription)
  /external/chromium_org/third_party/WebKit/Source/web/win/
WebFontRendering.cpp 8 #include "platform/fonts/FontCache.h"
15 blink::FontCache::setUseDirectWrite(useDirectWrite);
21 blink::FontCache::setDirectWriteFactory(factory);
27 blink::FontCache::setDeviceScaleFactor(deviceScaleFactor);
33 blink::FontCache::setUseSubpixelPositioning(useSubpixelPositioning);
39 blink::FontCache::addSideloadedFontForTesting(typeface);
  /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);
103 return FontCache::getGenericFamilyNameForScript(FontFamilyNames::webkit_standard, fontDescription);
106 return FontCache::getGenericFamilyNameForScript(genericFamilyName, fontDescription);
139 return FontCache::fontCache()->getFontData(fontDescription, settingsFamilyName);
154 return FontCache::fontCache()->isPlatformFontAvailable(fontDescription, family)
    [all...]
RemoteFontFaceSource.cpp 11 #include "platform/fonts/FontCache.h"
111 SimpleFontData* temporaryFont = FontCache::fontCache()->getNonRetainedLastResortFallbackFont(fontDescription);
CSSFontFaceSrcValue.cpp 37 #include "platform/fonts/FontCache.h"
69 || !FontCache::useDirectWrite()
  /external/chromium_org/content/common/
font_cache_dispatcher_win.cc 19 class FontCache {
21 static FontCache* GetInstance() {
22 return Singleton<FontCache>::get();
26 typedef std::map<base::string16, FontCache::CacheElement> FontNameToElement;
71 typedef std::map<base::string16, FontCache::CacheElement> FontNameToElement;
123 friend struct DefaultSingletonTraits<FontCache>;
125 FontCache() {
132 DISALLOW_COPY_AND_ASSIGN(FontCache);
185 FontCache::GetInstance()->PreCacheFont(font, this);
191 FontCache::GetInstance()->ReleaseCachedFonts(this)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/platform/fonts/skia/
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()));
FontCacheSkia.cpp 41 #include "platform/fonts/FontCache.h"
64 void FontCache::platformInit()
68 PassRefPtr<SimpleFontData> FontCache::fallbackOnStandardFontStyle(
88 PassRefPtr<SimpleFontData> FontCache::fallbackFontForCharacter(const FontDescription& fontDescription, UChar32 c, const SimpleFontData*)
99 FontCache::PlatformFallbackFont fallbackFont;
100 FontCache::getFontForCharacter(c, fontDescription.locale().ascii().data(), &fallbackFont);
137 PassRefPtr<SimpleFontData> FontCache::getLastResortFallbackFont(const FontDescription& description, ShouldRetain shouldRetain)
186 PassRefPtr<SkTypeface> FontCache::createTypeface(const FontDescription& fontDescription, const FontFaceCreationParams& creationParams, CString& name)
243 FontPlatformData* FontCache::createFontPlatformData(const FontDescription& fontDescription, const FontFaceCreationParams& creationParams, float fontSize)
FontPlatformDataSkia.cpp 36 #include "platform/fonts/FontCache.h"
72 return FontCache::fontCache()->getVerticalData(typeface()->uniqueID(), *this);
  /external/chromium_org/third_party/WebKit/Source/platform/fonts/mac/
FontCacheMac.mm 31 #import "platform/fonts/FontCache.h"
60 FontCache::fontCache()->invalidate();
65 ASSERT_UNUSED(observer, observer == FontCache::fontCache());
78 void FontCache::platformInit()
104 PassRefPtr<SimpleFontData> FontCache::fallbackFontForCharacter(const FontDescription& fontDescription, UChar32 character, const SimpleFontData* fontDataToSubstitute)
187 PassRefPtr<SimpleFontData> FontCache::getLastResortFallbackFont(const FontDescription& fontDescription, ShouldRetain shouldRetain)
205 FontPlatformData* FontCache::createFontPlatformData(const FontDescription& fontDescription, const FontFaceCreationParams& creationParams, float fontSize)
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();
SimpleFontDataMac.mm 38 #import "platform/fonts/FontCache.h"
307 FontCache::fontCache()->releaseFontData(m_derivedFontData->smallCaps.get());
310 FontCache::fontCache()->releaseFontData(m_derivedFontData->emphasisMark.get());
343 return FontCache::fontCache()->fontDataFromFontPlatformData(&scaledFontData);
  /external/chromium_org/third_party/WebKit/Source/platform/fonts/linux/
FontCacheLinux.cpp 27 #include "platform/fonts/FontCache.h"
37 void FontCache::getFontForCharacter(UChar32 c, const char* preferredLocale, FontCache::PlatformFallbackFont* fallbackFont)
  /external/chromium_org/third_party/WebKit/Source/platform/fonts/win/
FontPlatformDataWin.cpp 37 #include "platform/fonts/FontCache.h"
72 || FontCache::fontCache()->deviceScaleFactor() >= 1.5)
165 return FontCache::fontCache()->useSubpixelPositioning();
FontCacheSkiaWin.cpp 33 #include "platform/fonts/FontCache.h"
46 HashMap<String, RefPtr<SkTypeface> >* FontCache::s_sideloadedFonts = 0;
49 void FontCache::addSideloadedFontForTesting(SkTypeface* typeface)
58 FontCache::FontCache()
79 PassRefPtr<SimpleFontData> FontCache::fallbackFontForCharacter(
296 FontPlatformData* FontCache::createFontPlatformData(const FontDescription& fontDescription, const FontFaceCreationParams& creationParams, float fontSize)
  /external/chromium_org/third_party/skia/expectations/gm/
ignored-tests.txt 37 fontcache
  /external/chromium_org/third_party/WebKit/Source/platform/fonts/opentype/
OpenTypeVerticalData.h 73 bool m_inFontCache; // for mark & sweep in FontCache::purgeInactiveFontData()
  /external/chromium_org/third_party/skia/gm/
fontcache.cpp 51 return SkString("fontcache");
  /external/skia/gm/
fontcache.cpp 51 return SkString("fontcache");

Completed in 307 milliseconds

1 2 3 4