Home
last modified time | relevance | path

Searched refs:FontPlatformData (Results 1 – 25 of 39) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/platform/fonts/harfbuzz/
DFontPlatformDataHarfBuzz.cpp40 FontPlatformData::FontPlatformData(WTF::HashTableDeletedValueType) in FontPlatformData() function in WebCore::FontPlatformData
54 FontPlatformData::FontPlatformData() in FontPlatformData() function in WebCore::FontPlatformData
68 FontPlatformData::FontPlatformData(float textSize, bool syntheticBold, bool syntheticItalic) in FontPlatformData() function in WebCore::FontPlatformData
82 FontPlatformData::FontPlatformData(const FontPlatformData& src) in FontPlatformData() function in WebCore::FontPlatformData
102 FontPlatformData::FontPlatformData(PassRefPtr<SkTypeface> tf, const char* family, float textSize, b… in FontPlatformData() function in WebCore::FontPlatformData
121 FontPlatformData::FontPlatformData(const FontPlatformData& src, float textSize) in FontPlatformData() function in WebCore::FontPlatformData
141 FontPlatformData::~FontPlatformData() in ~FontPlatformData()
145 FontPlatformData& FontPlatformData::operator=(const FontPlatformData& src) in operator =()
167 String FontPlatformData::description() const in description()
173 SkFontID FontPlatformData::uniqueID() const in uniqueID()
[all …]
DFontPlatformDataHarfBuzz.h54 class PLATFORM_EXPORT FontPlatformData {
61 FontPlatformData(WTF::HashTableDeletedValueType);
62 FontPlatformData();
63 FontPlatformData(float textSize, bool syntheticBold, bool syntheticItalic);
64 FontPlatformData(const FontPlatformData&);
65FontPlatformData(PassRefPtr<SkTypeface>, const char* name, float textSize, bool syntheticBold, boo…
66 FontPlatformData(const FontPlatformData& src, float textSize);
67 ~FontPlatformData();
82 bool operator==(const FontPlatformData&) const;
83 FontPlatformData& operator=(const FontPlatformData&);
DHarfBuzzFace.h43 class FontPlatformData; variable
50 static PassRefPtr<HarfBuzzFace> create(FontPlatformData* platformData, uint64_t uniqueID) in create()
61 HarfBuzzFace(FontPlatformData*, uint64_t);
65 FontPlatformData* m_platformData;
DHarfBuzzFaceCoreText.cpp50 CTFontRef ctFont = reinterpret_cast<FontPlatformData*>(fontData)->ctFont(); in getGlyph()
63 CTFontRef ctFont = reinterpret_cast<FontPlatformData*>(fontData)->ctFont(); in getGlyphHorizontalAdvance()
76 CTFontRef ctFont = reinterpret_cast<FontPlatformData*>(fontData)->ctFont(); in getGlyphExtents()
/external/chromium_org/third_party/WebKit/Source/platform/fonts/
DFontDataCache.h44 static unsigned hash(const FontPlatformData& platformData) in hash()
49 static bool equal(const FontPlatformData& a, const FontPlatformData& b) in equal()
57 struct FontDataCacheKeyTraits : WTF::GenericHashTraits<FontPlatformData> {
60 static const FontPlatformData& emptyValue() in emptyValue()
62 DEFINE_STATIC_LOCAL(FontPlatformData, key, (0.f, false, false)); in emptyValue()
65 static void constructDeletedValue(FontPlatformData& slot) in constructDeletedValue()
67 new (NotNull, &slot) FontPlatformData(WTF::HashTableDeletedValue); in constructDeletedValue()
69 static bool isDeletedValue(const FontPlatformData& value) in isDeletedValue()
77 PassRefPtr<SimpleFontData> get(const FontPlatformData*, ShouldRetain = Retain);
78 bool contains(const FontPlatformData*) const;
[all …]
DFontPlatformData.cpp37 FontPlatformData::FontPlatformData(WTF::HashTableDeletedValueType) in FontPlatformData() function in WebCore::FontPlatformData
51 FontPlatformData::FontPlatformData() in FontPlatformData() function in WebCore::FontPlatformData
65 FontPlatformData::FontPlatformData(float size, bool syntheticBold, bool syntheticOblique, FontOrien… in FontPlatformData() function in WebCore::FontPlatformData
80 FontPlatformData::FontPlatformData(CGFontRef cgFont, float size, bool syntheticBold, bool synthetic… in FontPlatformData() function in WebCore::FontPlatformData
94 FontPlatformData::FontPlatformData(const FontPlatformData& source) in FontPlatformData() function in WebCore::FontPlatformData
106 const FontPlatformData& FontPlatformData::operator=(const FontPlatformData& other) in operator =()
DFontPlatformData.h81 class PLATFORM_EXPORT FontPlatformData {
83 FontPlatformData(WTF::HashTableDeletedValueType);
84 FontPlatformData();
85 FontPlatformData(const FontPlatformData&);
86 FontPlatformData(const FontDescription&, const AtomicString& family);
87FontPlatformData(float size, bool syntheticBold, bool syntheticOblique, FontOrientation = Horizont…
90 FontPlatformData(NSFont*, float size, bool syntheticBold = false, bool syntheticOblique = false,
92FontPlatformData(CGFontRef, float size, bool syntheticBold, bool syntheticOblique, FontOrientation…
95 ~FontPlatformData();
138 const FontPlatformData& operator=(const FontPlatformData&);
[all …]
DFontCache.h61 class FontPlatformData; variable
115 PassRefPtr<OpenTypeVerticalData> getVerticalData(const FontFileKey&, const FontPlatformData&);
146FontPlatformData* getFontPlatformData(const FontDescription&, const AtomicString& family, bool che…
149FontPlatformData* createFontPlatformData(const FontDescription&, const AtomicString& family, float…
154 …PassRefPtr<SimpleFontData> fontDataFromFontPlatformData(const FontPlatformData*, ShouldRetain = Re…
DFontCache.cpp63 typedef HashMap<FontCacheKey, OwnPtr<FontPlatformData>, FontCacheKeyHash, FontCacheKeyTraits> FontP…
79 FontPlatformData* FontCache::getFontPlatformData(const FontDescription& fontDescription, in getFontPlatformData()
98 FontPlatformData* result = 0; in getFontPlatformData()
117 …gFontPlatformDataCache->set(key, adoptPtr(new FontPlatformData(*result))); // Cache the result und… in getFontPlatformData()
132 …ticalData> FontCache::getVerticalData(const FontFileKey& key, const FontPlatformData& platformData) in getVerticalData()
151 …if (FontPlatformData* platformData = getFontPlatformData(fontDescription, adjustFamilyNameToAvoidU… in getFontData()
157 PassRefPtr<SimpleFontData> FontCache::fontDataFromFontPlatformData(const FontPlatformData* platform… in fontDataFromFontPlatformData()
DFontCustomPlatformData.h53 class FontPlatformData; variable
62FontPlatformData fontPlatformData(float size, bool bold, bool italic, FontOrientation = Horizontal…
DSimpleFontData.h59 …static PassRefPtr<SimpleFontData> create(const FontPlatformData& platformData, PassRefPtr<CustomFo…
74 const FontPlatformData& platformData() const { return m_platformData; } in platformData()
175 …SimpleFontData(const FontPlatformData&, PassRefPtr<CustomFontData> customData, bool isTextOrientat…
194 FontPlatformData m_platformData;
DSimpleFontData.cpp42 SimpleFontData::SimpleFontData(const FontPlatformData& platformData, PassRefPtr<CustomFontData> cus… in SimpleFontData()
67 : m_platformData(FontPlatformData(fontSize, syntheticBold, syntheticItalic)) in SimpleFontData()
178 FontPlatformData verticalRightPlatformData(m_platformData); in verticalRightOrientationFontData()
DFontDataCache.cpp48 PassRefPtr<SimpleFontData> FontDataCache::get(const FontPlatformData* platformData, ShouldRetain sh… in get()
78 bool FontDataCache::contains(const FontPlatformData* fontPlatformData) const in contains()
/external/chromium_org/third_party/WebKit/Source/web/linux/
DWebFontRendering.cpp42 using WebCore::FontPlatformData;
49 FontPlatformData::setHinting(hinting); in setHinting()
55 FontPlatformData::setAutoHint(useAutoHint); in setAutoHint()
61 FontPlatformData::setUseBitmaps(useBitmaps); in setUseBitmaps()
67 FontPlatformData::setAntiAlias(useAntiAlias); in setAntiAlias()
73 FontPlatformData::setSubpixelRendering(useSubpixelRendering); in setSubpixelRendering()
/external/chromium_org/third_party/WebKit/Source/platform/fonts/linux/
DFontPlatformDataLinuxHarfBuzz.cpp50 void FontPlatformData::setHinting(SkPaint::Hinting hinting) in setHinting()
55 void FontPlatformData::setAutoHint(bool useAutoHint) in setAutoHint()
60 void FontPlatformData::setUseBitmaps(bool useBitmaps) in setUseBitmaps()
65 void FontPlatformData::setAntiAlias(bool useAntiAlias) in setAntiAlias()
70 void FontPlatformData::setSubpixelRendering(bool useSubpixelRendering) in setSubpixelRendering()
75 void FontPlatformData::setupPaint(SkPaint* paint, GraphicsContext*) const in setupPaint()
118 void FontPlatformData::querySystemForRenderStyle(bool useSkiaSubpixelPositioning) in querySystemForRenderStyle()
146 bool FontPlatformData::defaultUseSubpixelPositioning() in defaultUseSubpixelPositioning()
/external/chromium_org/third_party/WebKit/Source/platform/fonts/cocoa/
DFontPlatformDataCocoa.mm25 #import "platform/fonts/FontPlatformData.h"
41 FontPlatformData::FontPlatformData(NSFont *nsFont, float size, bool syntheticBold, bool syntheticOb…
74 FontPlatformData:: ~FontPlatformData()
80 void FontPlatformData::platformDataInit(const FontPlatformData& f)
94 const FontPlatformData& FontPlatformData::platformDataAssign(const FontPlatformData& f)
113 bool FontPlatformData::platformIsEqual(const FontPlatformData& other) const
120 void FontPlatformData::setFont(NSFont *font)
161 bool FontPlatformData::roundsGlyphAdvances() const
166 bool FontPlatformData::allowsLigatures() const
239 String FontPlatformData::fontFamilyName() const
[all …]
/external/chromium_org/third_party/WebKit/Source/platform/fonts/opentype/
DOpenTypeVerticalData.h39 class FontPlatformData; variable
45 static PassRefPtr<OpenTypeVerticalData> create(const FontPlatformData& platformData) in create()
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/
DFontCacheSkia.cpp80 FontPlatformData* substitutePlatformData = getFontPlatformData(description, atomicFamily); in fallbackFontForCharacter()
83 FontPlatformData platformData = FontPlatformData(*substitutePlatformData); in fallbackFontForCharacter()
94 const FontPlatformData* fontPlatformData = getFontPlatformData(description, fallbackFontFamily); in getLastResortFallbackFont()
154 FontPlatformData* FontCache::createFontPlatformData(const FontDescription& fontDescription, const A… in createFontPlatformData()
161 FontPlatformData* result = new FontPlatformData(tf, in createFontPlatformData()
DFontPlatformDataSkia.cpp41 unsigned FontPlatformData::hash() const in hash()
59 PassRefPtr<OpenTypeVerticalData> FontPlatformData::verticalData() const in verticalData()
64 PassRefPtr<SharedBuffer> FontPlatformData::openTypeTable(uint32_t table) const in openTypeTable()
DFontCustomPlatformDataSkia.cpp56 FontPlatformData FontCustomPlatformData::fontPlatformData(float size, bool bold, bool italic, FontO… in fontPlatformData()
83 …return FontPlatformData(typeface.release(), "", size, syntheticBold, syntheticItalic, orientation); in fontPlatformData()
87 …return FontPlatformData(m_typeface.get(), "", size, bold && !m_typeface->isBold(), italic && !m_ty… in fontPlatformData()
/external/chromium_org/third_party/WebKit/Source/platform/fonts/win/
DFontCacheSkiaWin.cpp75 static bool fontContainsCharacter(const FontPlatformData* fontData, const wchar_t* family, UChar32 … in fontContainsCharacter()
97 FontPlatformData* data = 0; in fallbackFontForCharacter()
204 FontPlatformData* FontCache::createFontPlatformData(const FontDescription& fontDescription, const A… in createFontPlatformData()
220 FontPlatformData* result = new FontPlatformData(tf, in createFontPlatformData()
DFontPlatformDataWin.cpp47 void FontPlatformData::setupPaint(SkPaint* paint, GraphicsContext* context) const in setupPaint()
144 void FontPlatformData::querySystemForRenderStyle(bool) in querySystemForRenderStyle()
149 bool FontPlatformData::defaultUseSubpixelPositioning() in defaultUseSubpixelPositioning()
/external/chromium_org/third_party/WebKit/Source/platform/fonts/mac/
DFontCustomPlatformDataMac.cpp45 FontPlatformData FontCustomPlatformData::fontPlatformData(float size, bool bold, bool italic, FontO… in fontPlatformData()
47 return FontPlatformData(m_cgFont.get(), size, bold, italic, orientation, widthVariant); in fontPlatformData()
DFontCacheMac.mm37 #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 A…
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, syntheti…
/external/chromium_org/third_party/WebKit/Source/core/fetch/
DFontResource.h40 class FontPlatformData; variable
61FontPlatformData platformDataFromCustomData(float size, bool bold, bool italic, FontOrientation = …

12