/external/chromium_org/third_party/WebKit/Source/platform/fonts/ |
FontDataCache.h | 35 #include "platform/fonts/FontPlatformData.h" 44 static unsigned hash(const FontPlatformData& platformData) 49 static bool equal(const FontPlatformData& a, const FontPlatformData& b) 57 struct FontDataCacheKeyTraits : WTF::GenericHashTraits<FontPlatformData> { 60 static const FontPlatformData& emptyValue() 62 DEFINE_STATIC_LOCAL(FontPlatformData, key, (0.f, false, false)); 65 static void constructDeletedValue(FontPlatformData& slot) 67 new (NotNull, &slot) FontPlatformData(WTF::HashTableDeletedValue); 69 static bool isDeletedValue(const FontPlatformData& value [all...] |
FontPlatformData.cpp | 22 #include "platform/fonts/FontPlatformData.h" 37 FontPlatformData::FontPlatformData(WTF::HashTableDeletedValueType) 51 FontPlatformData::FontPlatformData() 65 FontPlatformData::FontPlatformData(float size, bool syntheticBold, bool syntheticOblique, FontOrientation orientation, FontWidthVariant widthVariant) 80 FontPlatformData::FontPlatformData(CGFontRef cgFont, float size, bool syntheticBold, bool syntheticOblique, FontOrientation orientation, FontWidthVariant widthVariant) 94 FontPlatformData::FontPlatformData(const FontPlatformData& source [all...] |
FontPlatformData.h | 81 class PLATFORM_EXPORT FontPlatformData { 83 FontPlatformData(WTF::HashTableDeletedValueType); 84 FontPlatformData(); 85 FontPlatformData(const FontPlatformData&); 86 FontPlatformData(const FontDescription&, const AtomicString& family); 87 FontPlatformData(float size, bool syntheticBold, bool syntheticOblique, FontOrientation = Horizontal, FontWidthVariant = RegularWidth); 90 FontPlatformData(NSFont*, float size, bool syntheticBold = false, bool syntheticOblique = false, 92 FontPlatformData(CGFontRef, float size, bool syntheticBold, bool syntheticOblique, FontOrientation, FontWidthVariant); 95 ~FontPlatformData(); [all...] |
FontCustomPlatformData.h | 53 class FontPlatformData; 62 FontPlatformData fontPlatformData(float size, bool bold, bool italic, FontOrientation = Horizontal, FontWidthVariant = RegularWidth);
|
FontCache.h | 61 class FontPlatformData; 115 PassRefPtr<OpenTypeVerticalData> getVerticalData(const FontFileKey&, const FontPlatformData&); 146 FontPlatformData* getFontPlatformData(const FontDescription&, const AtomicString& family, bool checkingAlternateName = false); 149 FontPlatformData* createFontPlatformData(const FontDescription&, const AtomicString& family, float fontSize); 154 PassRefPtr<SimpleFontData> fontDataFromFontPlatformData(const FontPlatformData*, ShouldRetain = Retain);
|
FontCache.cpp | 42 #include "platform/fonts/FontPlatformData.h" 63 typedef HashMap<FontCacheKey, OwnPtr<FontPlatformData>, FontCacheKeyHash, FontCacheKeyTraits> FontPlatformDataCache; 79 FontPlatformData* FontCache::getFontPlatformData(const FontDescription& fontDescription, 98 FontPlatformData* result = 0; 117 gFontPlatformDataCache->set(key, adoptPtr(new FontPlatformData(*result))); // Cache the result under the old name. 132 PassRefPtr<OpenTypeVerticalData> FontCache::getVerticalData(const FontFileKey& key, const FontPlatformData& platformData) 151 if (FontPlatformData* platformData = getFontPlatformData(fontDescription, adjustFamilyNameToAvoidUnsupportedFonts(family), checkingAlternateName)) 157 PassRefPtr<SimpleFontData> FontCache::fontDataFromFontPlatformData(const FontPlatformData* platformData, ShouldRetain shouldRetain)
|
SimpleFontData.h | 32 #include "platform/fonts/FontPlatformData.h" 59 static PassRefPtr<SimpleFontData> create(const FontPlatformData& platformData, PassRefPtr<CustomFontData> customData = nullptr, bool isTextOrientationFallback = false) 74 const FontPlatformData& platformData() const { return m_platformData; } 175 SimpleFontData(const FontPlatformData&, PassRefPtr<CustomFontData> customData, bool isTextOrientationFallback = false); 194 FontPlatformData m_platformData;
|
FontDataCache.cpp | 48 PassRefPtr<SimpleFontData> FontDataCache::get(const FontPlatformData* platformData, ShouldRetain shouldRetain) 78 bool FontDataCache::contains(const FontPlatformData* fontPlatformData) const 80 return m_cache.contains(*fontPlatformData);
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/harfbuzz/ |
FontPlatformDataHarfBuzz.cpp | 40 FontPlatformData::FontPlatformData(WTF::HashTableDeletedValueType) 54 FontPlatformData::FontPlatformData() 68 FontPlatformData::FontPlatformData(float textSize, bool syntheticBold, bool syntheticItalic) 82 FontPlatformData::FontPlatformData(const FontPlatformData& src) 102 FontPlatformData::FontPlatformData(PassRefPtr<SkTypeface> tf, const char* family, float textSize, bool syntheticBol (…) [all...] |
FontPlatformDataHarfBuzz.h | 54 class PLATFORM_EXPORT FontPlatformData { 61 FontPlatformData(WTF::HashTableDeletedValueType); 62 FontPlatformData(); 63 FontPlatformData(float textSize, bool syntheticBold, bool syntheticItalic); 64 FontPlatformData(const FontPlatformData&); 65 FontPlatformData(PassRefPtr<SkTypeface>, const char* name, float textSize, bool syntheticBold, bool syntheticItalic, FontOrientation = Horizontal, bool subpixelTextPosition = defaultUseSubpixelPositioning()); 66 FontPlatformData(const FontPlatformData& src, float textSize); 67 ~FontPlatformData(); [all...] |
HarfBuzzFace.h | 43 class FontPlatformData; 50 static PassRefPtr<HarfBuzzFace> create(FontPlatformData* platformData, uint64_t uniqueID) 61 HarfBuzzFace(FontPlatformData*, uint64_t); 65 FontPlatformData* m_platformData;
|
HarfBuzzFaceCoreText.cpp | 34 #include "platform/fonts/FontPlatformData.h" 50 CTFontRef ctFont = reinterpret_cast<FontPlatformData*>(fontData)->ctFont(); 63 CTFontRef ctFont = reinterpret_cast<FontPlatformData*>(fontData)->ctFont(); 76 CTFontRef ctFont = reinterpret_cast<FontPlatformData*>(fontData)->ctFont();
|
/external/chromium_org/third_party/WebKit/Source/web/linux/ |
WebFontRendering.cpp | 35 #include "platform/fonts/FontPlatformData.h" 42 using WebCore::FontPlatformData; 49 FontPlatformData::setHinting(hinting); 55 FontPlatformData::setAutoHint(useAutoHint); 61 FontPlatformData::setUseBitmaps(useBitmaps); 67 FontPlatformData::setAntiAlias(useAntiAlias); 73 FontPlatformData::setSubpixelRendering(useSubpixelRendering);
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/opentype/ |
OpenTypeVerticalData.h | 39 class FontPlatformData; 45 static PassRefPtr<OpenTypeVerticalData> create(const FontPlatformData& platformData) 60 explicit OpenTypeVerticalData(const FontPlatformData&); 62 void loadMetrics(const FontPlatformData&); 63 void loadVerticalGlyphSubstitutions(const FontPlatformData&);
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/skia/ |
FontPlatformDataSkia.cpp | 32 #include "platform/fonts/FontPlatformData.h" 41 unsigned FontPlatformData::hash() const 59 PassRefPtr<OpenTypeVerticalData> FontPlatformData::verticalData() const 64 PassRefPtr<SharedBuffer> FontPlatformData::openTypeTable(uint32_t table) const
|
FontCacheSkia.cpp | 80 FontPlatformData* substitutePlatformData = getFontPlatformData(description, atomicFamily); 83 FontPlatformData platformData = FontPlatformData(*substitutePlatformData); 94 const FontPlatformData* fontPlatformData = getFontPlatformData(description, fallbackFontFamily); 97 if (!fontPlatformData) { 99 fontPlatformData = getFontPlatformData(description, sansStr); 101 if (!fontPlatformData) { 103 fontPlatformData = getFontPlatformData(description, arialStr); 107 if (!fontPlatformData) { [all...] |
FontCustomPlatformDataSkia.cpp | 39 #include "platform/fonts/FontPlatformData.h" 56 FontPlatformData FontCustomPlatformData::fontPlatformData(float size, bool bold, bool italic, FontOrientation orientation, FontWidthVariant) 83 return FontPlatformData(typeface.release(), "", size, syntheticBold, syntheticItalic, orientation); 87 return FontPlatformData(m_typeface.get(), "", size, bold && !m_typeface->isBold(), italic && !m_typeface->isItalic(), orientation);
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/linux/ |
FontPlatformDataLinuxHarfBuzz.cpp | 50 void FontPlatformData::setHinting(SkPaint::Hinting hinting) 55 void FontPlatformData::setAutoHint(bool useAutoHint) 60 void FontPlatformData::setUseBitmaps(bool useBitmaps) 65 void FontPlatformData::setAntiAlias(bool useAntiAlias) 70 void FontPlatformData::setSubpixelRendering(bool useSubpixelRendering) 75 void FontPlatformData::setupPaint(SkPaint* paint, GraphicsContext*) const 118 void FontPlatformData::querySystemForRenderStyle(bool useSkiaSubpixelPositioning) 146 bool FontPlatformData::defaultUseSubpixelPositioning()
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/cocoa/ |
FontPlatformDataCocoa.mm | 25 #import "platform/fonts/FontPlatformData.h" 41 FontPlatformData::FontPlatformData(NSFont *nsFont, float size, bool syntheticBold, bool syntheticOblique, FontOrientation orientation, FontWidthVariant widthVariant) 74 FontPlatformData:: ~FontPlatformData() 80 void FontPlatformData::platformDataInit(const FontPlatformData& f) 94 const FontPlatformData& FontPlatformData::platformDataAssign(const FontPlatformData& f [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/fonts/win/ |
FontPlatformDataWin.cpp | 33 #include "platform/fonts/FontPlatformData.h" 47 void FontPlatformData::setupPaint(SkPaint* paint, GraphicsContext* context) const 144 void FontPlatformData::querySystemForRenderStyle(bool) 149 bool FontPlatformData::defaultUseSubpixelPositioning()
|
FontCacheSkiaWin.cpp | 75 static bool fontContainsCharacter(const FontPlatformData* fontData, const wchar_t* family, UChar32 character) 97 FontPlatformData* data = 0; 204 FontPlatformData* FontCache::createFontPlatformData(const FontDescription& fontDescription, const AtomicString& family, float fontSize) 220 FontPlatformData* result = new FontPlatformData(tf,
|
/external/chromium_org/third_party/WebKit/Source/core/fetch/ |
FontResource.h | 40 class FontPlatformData; 61 FontPlatformData platformDataFromCustomData(float size, bool bold, bool italic, FontOrientation = Horizontal, FontWidthVariant = RegularWidth);
|
FontResource.cpp | 35 #include "platform/fonts/FontPlatformData.h" 133 FontPlatformData FontResource::platformDataFromCustomData(float size, bool bold, bool italic, FontOrientation orientation, FontWidthVariant widthVariant) 137 return FontPlatformData(size, bold, italic); 140 return m_fontData->fontPlatformData(size, bold, italic, orientation, widthVariant);
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/mac/ |
FontCustomPlatformDataMac.cpp | 25 #include "platform/fonts/FontPlatformData.h" 45 FontPlatformData FontCustomPlatformData::fontPlatformData(float size, bool bold, bool italic, FontOrientation orientation, FontWidthVariant widthVariant) 47 return FontPlatformData(m_cgFont.get(), size, bold, italic, orientation, widthVariant);
|
FontCacheMac.mm | 37 #import "platform/fonts/FontPlatformData.h" 118 const FontPlatformData& platformData = fontDataToSubstitute->platformData(); 178 FontPlatformData alternateFont(substituteFont, platformData.size(), 204 FontPlatformData* FontCache::createFontPlatformData(const FontDescription& fontDescription, const AtomicString& family, float fontSize) 224 // FontPlatformData::font() can be null for the case of Chromium out-of-process font loading. 226 OwnPtr<FontPlatformData> platformData = adoptPtr(new FontPlatformData(platformFont, size, syntheticBold, syntheticOblique, fontDescription.orientation(), fontDescription.widthVariant()));
|