Home
last modified time | relevance | path

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

12

/external/chromium_org/third_party/WebKit/Source/platform/fonts/harfbuzz/
DFontPlatformDataHarfBuzz.cpp55 void FontPlatformData::setHinting(SkPaint::Hinting hinting) in setHinting()
60 void FontPlatformData::setAutoHint(bool useAutoHint) in setAutoHint()
65 void FontPlatformData::setUseBitmaps(bool useBitmaps) in setUseBitmaps()
70 void FontPlatformData::setAntiAlias(bool useAntiAlias) in setAntiAlias()
75 void FontPlatformData::setSubpixelRendering(bool useSubpixelRendering) in setSubpixelRendering()
80 FontPlatformData::FontPlatformData(WTF::HashTableDeletedValueType) in FontPlatformData() function in WebCore::FontPlatformData
90 FontPlatformData::FontPlatformData() in FontPlatformData() function in WebCore::FontPlatformData
100 FontPlatformData::FontPlatformData(float textSize, bool fakeBold, bool fakeItalic) in FontPlatformData() function in WebCore::FontPlatformData
110 FontPlatformData::FontPlatformData(const FontPlatformData& src) in FontPlatformData() function in WebCore::FontPlatformData
124 FontPlatformData::FontPlatformData(PassRefPtr<SkTypeface> tf, const char* family, float textSize, b… in FontPlatformData() function in WebCore::FontPlatformData
[all …]
DFontPlatformDataHarfBuzz.h59 class PLATFORM_EXPORT FontPlatformData {
66 FontPlatformData(WTF::HashTableDeletedValueType);
67 FontPlatformData();
68 FontPlatformData(float textSize, bool fakeBold, bool fakeItalic);
69 FontPlatformData(const FontPlatformData&);
70FontPlatformData(PassRefPtr<SkTypeface>, const char* name, float textSize, bool fakeBold, bool fak…
71 FontPlatformData(const FontPlatformData& src, float textSize);
72 ~FontPlatformData();
102 bool operator==(const FontPlatformData&) const;
103 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
54 FontPlatformData::FontPlatformData() in FontPlatformData() function in WebCore::FontPlatformData
71 FontPlatformData::FontPlatformData(float size, bool syntheticBold, bool syntheticOblique, FontOrien… in FontPlatformData() function in WebCore::FontPlatformData
89 FontPlatformData::FontPlatformData(CGFontRef cgFont, float size, bool syntheticBold, bool synthetic… in FontPlatformData() function in WebCore::FontPlatformData
104 FontPlatformData::FontPlatformData(const FontPlatformData& source) in FontPlatformData() function in WebCore::FontPlatformData
119 const FontPlatformData& FontPlatformData::operator=(const FontPlatformData& other) in operator =()
DFontPlatformData.h82 class PLATFORM_EXPORT FontPlatformData {
84 FontPlatformData(WTF::HashTableDeletedValueType);
85 FontPlatformData();
86 FontPlatformData(const FontPlatformData&);
87 FontPlatformData(const FontDescription&, const AtomicString& family);
88FontPlatformData(float size, bool syntheticBold, bool syntheticOblique, FontOrientation = Horizont…
91FontPlatformData(NSFont*, float size, bool isPrinterFont = false, bool syntheticBold = false, bool…
93FontPlatformData(CGFontRef, float size, bool syntheticBold, bool syntheticOblique, FontOrientation…
96 ~FontPlatformData();
140 const FontPlatformData& operator=(const FontPlatformData&);
[all …]
DFontCache.h57 class FontPlatformData; variable
105 PassRefPtr<OpenTypeVerticalData> getVerticalData(const FontFileKey&, const FontPlatformData&);
134FontPlatformData* getFontPlatformData(const FontDescription&, const AtomicString& family, bool che…
137FontPlatformData* createFontPlatformData(const FontDescription&, const AtomicString& family, float…
142 …PassRefPtr<SimpleFontData> fontDataFromFontPlatformData(const FontPlatformData*, ShouldRetain = Re…
DFontCache.cpp63 typedef HashMap<FontCacheKey, OwnPtr<FontPlatformData>, FontCacheKeyHash, FontCacheKeyTraits> FontP…
73 FontPlatformData* FontCache::getFontPlatformData(const FontDescription& fontDescription, in getFontPlatformData()
92 FontPlatformData* result = 0; in getFontPlatformData()
111 …gFontPlatformDataCache->set(key, adoptPtr(new FontPlatformData(*result))); // Cache the result und… in getFontPlatformData()
126 …ticalData> FontCache::getVerticalData(const FontFileKey& key, const FontPlatformData& platformData) in getVerticalData()
145 …if (FontPlatformData* platformData = getFontPlatformData(fontDescription, adjustFamilyNameToAvoidU… in getFontData()
151 PassRefPtr<SimpleFontData> FontCache::fontDataFromFontPlatformData(const FontPlatformData* platform… in fontDataFromFontPlatformData()
DFontCustomPlatformData.h59 class FontPlatformData; variable
68FontPlatformData fontPlatformData(float size, bool bold, bool italic, FontOrientation = Horizontal…
/external/chromium_org/third_party/WebKit/Source/platform/fonts/win/
DFontPlatformDataWin.cpp53 void FontPlatformData::setupPaint(SkPaint* paint, GraphicsContext* context) const in setupPaint()
170 FontPlatformData::FontPlatformData(WTF::HashTableDeletedValueType) in FontPlatformData() function in WebCore::FontPlatformData
186 FontPlatformData::FontPlatformData() in FontPlatformData() function in WebCore::FontPlatformData
203 FontPlatformData::FontPlatformData(HFONT font, float size, FontOrientation orientation) in FontPlatformData() function in WebCore::FontPlatformData
218 FontPlatformData::FontPlatformData(float size, bool bold, bool oblique) in FontPlatformData() function in WebCore::FontPlatformData
234 FontPlatformData::FontPlatformData(const FontPlatformData& data) in FontPlatformData() function in WebCore::FontPlatformData
250 FontPlatformData::FontPlatformData(const FontPlatformData& data, float textSize) in FontPlatformData() function in WebCore::FontPlatformData
266 FontPlatformData::FontPlatformData(PassRefPtr<SkTypeface> tf, const char* family, in FontPlatformData() function in WebCore::FontPlatformData
291 FontPlatformData& FontPlatformData::operator=(const FontPlatformData& data) in operator =()
312 FontPlatformData::~FontPlatformData() in ~FontPlatformData()
[all …]
DFontPlatformDataWin.h63 class PLATFORM_EXPORT FontPlatformData {
70 FontPlatformData(WTF::HashTableDeletedValueType);
71 FontPlatformData();
74 FontPlatformData(HFONT, float size, FontOrientation);
76 FontPlatformData(float size, bool bold, bool oblique);
77 FontPlatformData(const FontPlatformData&);
78 FontPlatformData(const FontPlatformData&, float textSize);
79FontPlatformData(PassRefPtr<SkTypeface>, const char* name, float textSize, bool fakeBold, bool fak…
83 FontPlatformData& operator=(const FontPlatformData&);
87 ~FontPlatformData();
[all …]
DSimpleFontDataWin.cpp63 if (FontPlatformData::ensureFontLoaded(m_platformData.hfont())) { in platformInit()
118 …return SimpleFontData::create(FontPlatformData(hfont, scaledSize, m_platformData.orientation()), i… in platformCreateScaledFontData()
142 if (FontPlatformData::ensureFontLoaded(m_platformData.hfont())) { in platformBoundsForGlyph()
168 if (FontPlatformData::ensureFontLoaded(m_platformData.hfont())) { in platformWidthForGlyph()
DFontCustomPlatformDataWin.cpp75 FontPlatformData FontCustomPlatformData::fontPlatformData(float size, bool bold, bool italic, FontO… in fontPlatformData()
85 return FontPlatformData(); in fontPlatformData()
106 return FontPlatformData(hfont, size, orientation); in fontPlatformData()
/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/cocoa/
DFontPlatformDataCocoa.mm25 #import "platform/fonts/FontPlatformData.h"
40 FontPlatformData::FontPlatformData(NSFont *nsFont, float size, bool isPrinterFont, bool syntheticBo…
74 FontPlatformData:: ~FontPlatformData()
80 void FontPlatformData::platformDataInit(const FontPlatformData& f)
93 const FontPlatformData& FontPlatformData::platformDataAssign(const FontPlatformData& f)
111 bool FontPlatformData::platformIsEqual(const FontPlatformData& other) const
118 void FontPlatformData::setFont(NSFont *font)
159 bool FontPlatformData::roundsGlyphAdvances() const
164 bool FontPlatformData::allowsLigatures() const
237 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 platformFallbackForCharacter()
83 FontPlatformData platformData = FontPlatformData(*substitutePlatformData); in platformFallbackForCharacter()
94 const FontPlatformData* fontPlatformData = 0; in getLastResortFallbackFont()
135 FontPlatformData* FontCache::createFontPlatformData(const FontDescription& fontDescription, const A… in createFontPlatformData()
142 FontPlatformData* result = new FontPlatformData(tf, in createFontPlatformData()
DSkiaFontWin.h42 class FontPlatformData; variable
48 const FontPlatformData&,
62 const FontPlatformData&,
DFontCacheSkiaWin.cpp66 static bool fontContainsCharacter(const FontPlatformData* fontData, const wchar_t* family, UChar32 … in fontContainsCharacter()
87 FontPlatformData* data = 0; in platformFallbackForCharacter()
193 FontPlatformData* FontCache::createFontPlatformData(const FontDescription& fontDescription, const A… in createFontPlatformData()
209 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()
79 …return FontPlatformData(typeface.release(), "", size, syntheticBold, syntheticItalic, orientation); in fontPlatformData()
82 …return FontPlatformData(m_typeface.get(), "", size, bold && !m_typeface->isBold(), italic && !m_ty… in fontPlatformData()
DSkiaFontWin.cpp89 const FontPlatformData& data, in paintSkiaText()
149 const FontPlatformData& data, in paintSkiaText()
162 const FontPlatformData& data, in paintSkiaText()
176 FontPlatformData::ensureFontLoaded(hfont); in paintSkiaText()
/external/chromium_org/third_party/WebKit/Source/core/fetch/
DFontResource.h38 class FontPlatformData; variable
59FontPlatformData platformDataFromCustomData(float size, bool bold, bool italic, FontOrientation = …
/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()

12