Home
last modified time | relevance | path

Searched refs:SimpleFontData (Results 1 – 25 of 104) sorted by relevance

12345

/external/webkit/WebCore/platform/graphics/wx/
DSimpleFontDataWx.cpp46 void SimpleFontData::platformInit() in platformInit()
60 void SimpleFontData::platformCharWidthInit() in platformCharWidthInit()
67 void SimpleFontData::platformDestroy() in platformDestroy()
72 SimpleFontData* SimpleFontData::smallCapsFontData(const FontDescription& fontDescription) const in smallCapsFontData()
78 m_smallCapsFontData = new SimpleFontData(*pdata); in smallCapsFontData()
83 bool SimpleFontData::containsCharacters(const UChar* characters, int length) const in containsCharacters()
89 void SimpleFontData::determinePitch() in determinePitch()
97 float SimpleFontData::platformWidthForGlyph(Glyph glyph) const in platformWidthForGlyph()
DFontCacheWx.cpp42 const SimpleFontData* FontCache::getFontDataForCharacters(const Font& font, const UChar* characters… in getFontDataForCharacters()
44 SimpleFontData* fontData = 0; in getFontDataForCharacters()
45 fontData = new SimpleFontData(FontPlatformData(font.fontDescription(), font.family().family())); in getFontDataForCharacters()
/external/webkit/WebCore/platform/graphics/gtk/
DSimpleFontDataGtk.cpp48 void SimpleFontData::platformInit() in platformInit()
71 void SimpleFontData::platformCharWidthInit() in platformCharWidthInit()
78 void SimpleFontData::platformDestroy() in platformDestroy()
84 SimpleFontData* SimpleFontData::smallCapsFontData(const FontDescription& fontDescription) const in smallCapsFontData()
90 m_smallCapsFontData = new SimpleFontData(*pdata); in smallCapsFontData()
95 bool SimpleFontData::containsCharacters(const UChar* characters, int length) const in containsCharacters()
114 void SimpleFontData::determinePitch() in determinePitch()
119 float SimpleFontData::platformWidthForGlyph(Glyph glyph) const in platformWidthForGlyph()
133 void SimpleFontData::setFont(cairo_t* cr) const in setFont()
DSimpleFontDataPango.cpp47 void SimpleFontData::platformInit() in platformInit()
70 void SimpleFontData::platformCharWidthInit() in platformCharWidthInit()
77 void SimpleFontData::platformDestroy() in platformDestroy()
83 SimpleFontData* SimpleFontData::smallCapsFontData(const FontDescription& fontDescription) const in smallCapsFontData()
89 m_smallCapsFontData = new SimpleFontData(*pdata); in smallCapsFontData()
94 bool SimpleFontData::containsCharacters(const UChar* characters, int length) const in containsCharacters()
112 void SimpleFontData::determinePitch() in determinePitch()
122 float SimpleFontData::platformWidthForGlyph(Glyph glyph) const in platformWidthForGlyph()
136 void SimpleFontData::setFont(cairo_t* cr) const in setFont()
/external/webkit/WebCore/platform/graphics/android/
DFontDataAndroid.cpp46 void SimpleFontData::platformInit() in platformInit()
67 void SimpleFontData::platformCharWidthInit() in platformCharWidthInit()
74 void SimpleFontData::platformDestroy() in platformDestroy()
79 SimpleFontData* SimpleFontData::smallCapsFontData(const FontDescription& fontDescription) const in smallCapsFontData()
82 …m_smallCapsFontData = new SimpleFontData(FontPlatformData(m_platformData, fontDescription.computed… in smallCapsFontData()
89 bool SimpleFontData::containsCharacters(const UChar* characters, int length) const in containsCharacters()
113 void SimpleFontData::determinePitch() in determinePitch()
118 float SimpleFontData::platformWidthForGlyph(Glyph glyph) const in platformWidthForGlyph()
/external/webkit/WebCore/platform/graphics/win/
DSimpleFontDataWin.cpp56 void SimpleFontData::setShouldApplyMacAscentHack(bool b) in setShouldApplyMacAscentHack()
61 bool SimpleFontData::shouldApplyMacAscentHack() in shouldApplyMacAscentHack()
66 void SimpleFontData::initGDIFont() in initGDIFont()
95 void SimpleFontData::platformDestroy() in platformDestroy()
105 SimpleFontData* SimpleFontData::smallCapsFontData(const FontDescription& fontDescription) const in smallCapsFontData()
112 m_smallCapsFontData = new SimpleFontData(smallCapsFontData, true, false); in smallCapsFontData()
118 …m_smallCapsFontData = new SimpleFontData(FontPlatformData(hfont, smallCapsHeight, m_platformData.s… in smallCapsFontData()
124 bool SimpleFontData::containsCharacters(const UChar* characters, int length) const in containsCharacters()
160 void SimpleFontData::determinePitch() in determinePitch()
182 float SimpleFontData::widthForGDIGlyph(Glyph glyph) const in widthForGDIGlyph()
[all …]
DUniscribeController.h41 …UniscribeController(const Font*, const TextRun&, HashSet<const SimpleFontData*>* fallbackFonts = 0…
55 void itemizeShapeAndPlace(const UChar*, unsigned length, const SimpleFontData*, GlyphBuffer*);
56 bool shapeAndPlaceItem(const UChar*, unsigned index, const SimpleFontData*, GlyphBuffer*);
57 bool shape(const UChar* str, int len, SCRIPT_ITEM item, const SimpleFontData* fontData,
63 HashSet<const SimpleFontData*>* m_fallbackFonts;
DSimpleFontDataCairoWin.cpp45 void SimpleFontData::platformInit() in platformInit()
94 void SimpleFontData::platformCharWidthInit() in platformCharWidthInit()
99 float SimpleFontData::platformWidthForGlyph(Glyph glyph) const in platformWidthForGlyph()
122 void SimpleFontData::setFont(cairo_t* cr) const in setFont()
/external/webkit/WebCore/platform/graphics/wince/
DSimpleFontDataWince.cpp46 void SimpleFontData::platformInit() in platformInit()
61 void SimpleFontData::platformDestroy() in platformDestroy()
67 SimpleFontData* SimpleFontData::smallCapsFontData(const FontDescription& fontDescription) const in smallCapsFontData()
76 m_smallCapsFontData = new SimpleFontData(*result); in smallCapsFontData()
83 bool SimpleFontData::containsCharacters(const UChar* characters, int length) const in containsCharacters()
122 void SimpleFontData::determinePitch() in determinePitch()
134 float SimpleFontData::platformWidthForGlyph(Glyph glyph) const in platformWidthForGlyph()
151 void SimpleFontData::platformCharWidthInit() in platformCharWidthInit()
/external/webkit/WebCore/css/
DCSSFontFaceSource.cpp71 HashMap<unsigned, SimpleFontData*>::iterator end = m_fontDataTable.end(); in pruneTable()
72 for (HashMap<unsigned, SimpleFontData*>::iterator it = m_fontDataTable.begin(); it != end; ++it) in pruneTable()
99 SimpleFontData* CSSFontFaceSource::getFontData(const FontDescription& fontDescription, bool synthet… in getFontData()
111 SimpleFontData* fontData = fontCache()->getCachedFontData(data); in getFontData()
119 if (SimpleFontData* cachedData = m_fontDataTable.get(hashKey)) in getFontData()
122 OwnPtr<SimpleFontData> fontData; in getFontData()
157 …fontData.set(new SimpleFontData(m_font->platformDataFromCustomData(fontDescription.computedPixelSi… in getFontData()
166 …fontData.set(new SimpleFontData(m_font->platformDataFromCustomData(fontDescription.computedPixelSi… in getFontData()
173 …fontData.set(new SimpleFontData(FontPlatformData(fontDescription.computedPixelSize(), syntheticBol… in getFontData()
185 fontData.set(new SimpleFontData(*tempData, true, true)); in getFontData()
DCSSFontFaceSource.h44 class SimpleFontData; variable
60SimpleFontData* getFontData(const FontDescription&, bool syntheticBold, bool syntheticItalic, CSSF…
73 …HashMap<unsigned, SimpleFontData*> m_fontDataTable; // The hash key is composed of size synthetic …
/external/webkit/WebCore/platform/graphics/
DSimpleFontData.cpp50 SimpleFontData::SimpleFontData(const FontPlatformData& f, bool customFont, bool loading, SVGFontDat… in SimpleFontData() function in WebCore::SimpleFontData
108 void SimpleFontData::initCharWidths() in initCharWidths()
128 void SimpleFontData::platformGlyphInit() in platformGlyphInit()
169 SimpleFontData::~SimpleFontData() in ~SimpleFontData()
183 const SimpleFontData* SimpleFontData::fontDataForCharacter(UChar32) const in fontDataForCharacter()
188 bool SimpleFontData::isSegmented() const in isSegmented()
194 String SimpleFontData::description() const in description()
DGlyphPageTreeNode.h47 class SimpleFontData; variable
54 GlyphData(Glyph g = 0, const SimpleFontData* f = 0)
60 const SimpleFontData* fontData;
99 const SimpleFontData* fontDataForCharacter(UChar32 c) const in fontDataForCharacter()
104 void setGlyphDataForCharacter(UChar32 c, Glyph g, const SimpleFontData* f) in setGlyphDataForCharacter()
108 void setGlyphDataForIndex(unsigned index, Glyph g, const SimpleFontData* f) in setGlyphDataForIndex()
134 …ned offset, unsigned length, UChar* characterBuffer, unsigned bufferLength, const SimpleFontData*);
144 const SimpleFontData* m_glyphFontData[size];
194 static void pruneTreeFontData(const SimpleFontData*);
197 void pruneFontData(const SimpleFontData*, unsigned level = 0);
DSegmentedFontData.h34 class SimpleFontData; variable
37 FontDataRange(UChar32 from, UChar32 to, const SimpleFontData* fontData) in FontDataRange()
46 const SimpleFontData* fontData() const { return m_fontData; } in fontData()
51 const SimpleFontData* m_fontData;
67 virtual const SimpleFontData* fontDataForCharacter(UChar32) const;
DFontCache.h50 class SimpleFontData; variable
57 void releaseFontData(const SimpleFontData*);
61 … const SimpleFontData* getFontDataForCharacters(const Font&, const UChar* characters, int length);
73 SimpleFontData* getCachedFontData(const FontPlatformData*);
94 friend class SimpleFontData; variable
DSimpleFontData.h58 class SimpleFontData : public FontData {
60SimpleFontData(const FontPlatformData&, bool customFont = false, bool loading = false, SVGFontData…
61 virtual ~SimpleFontData();
65 SimpleFontData* smallCapsFontData(const FontDescription& fontDescription) const;
89 virtual const SimpleFontData* fontDataForCharacter(UChar32) const;
196 mutable SimpleFontData* m_smallCapsFontData;
234 ALWAYS_INLINE float SimpleFontData::widthForGlyph(Glyph glyph) const in widthForGlyph()
DFontCache.cpp252 typedef HashMap<FontPlatformData, pair<SimpleFontData*, unsigned>, FontDataCacheKeyHash, FontDataCa…
258 static ListHashSet<const SimpleFontData*>* gInactiveFontData = 0;
260 SimpleFontData* FontCache::getCachedFontData(const FontPlatformData* platformData) in getCachedFontData()
267 gInactiveFontData = new ListHashSet<const SimpleFontData*>; in getCachedFontData()
272 pair<SimpleFontData*, unsigned> newValue(new SimpleFontData(*platformData), 1); in getCachedFontData()
284 void FontCache::releaseFontData(const SimpleFontData* fontData) in releaseFontData()
310 Vector<const SimpleFontData*, 20> fontDataToDelete; in purgeInactiveFontData()
311 ListHashSet<const SimpleFontData*>::iterator end = gInactiveFontData->end(); in purgeInactiveFontData()
312 ListHashSet<const SimpleFontData*>::iterator it = gInactiveFontData->begin(); in purgeInactiveFontData()
314 const SimpleFontData* fontData = *it.get(); in purgeInactiveFontData()
DGlyphBuffer.h48 class SimpleFontData; variable
91 const SimpleFontData* fontDataAt(int index) const { return m_fontData[index]; } in fontDataAt()
95 const SimpleFontData* f = m_fontData[index1]; in swap()
144 void add(Glyph glyph, const SimpleFontData* font, float width, const FloatSize* offset = 0)
176 void add(Glyph glyph, const SimpleFontData* font, GlyphBufferAdvance advance) in add()
192 Vector<const SimpleFontData*, 2048> m_fontData;
DFont.h81 …int width(const TextRun& run, HashSet<const SimpleFontData*>* fallbackFonts = 0) const { return lr…
82 float floatWidth(const TextRun&, HashSet<const SimpleFontData*>* fallbackFonts = 0) const;
118 const SimpleFontData* primaryFont() const;
143 …void drawGlyphs(GraphicsContext*, const SimpleFontData*, const GlyphBuffer&, int from, int to, con…
145 …float floatWidthForSimpleText(const TextRun&, GlyphBuffer*, HashSet<const SimpleFontData*>* fallba…
153 …float floatWidthForComplexText(const TextRun&, HashSet<const SimpleFontData*>* fallbackFonts = 0) …
DWidthIterator.h32 class SimpleFontData; variable
36 WidthIterator(const Font*, const TextRun&, HashSet<const SimpleFontData*>* fallbackFonts = 0);
54 HashSet<const SimpleFontData*>* m_fallbackFonts;
/external/webkit/WebCore/platform/graphics/chromium/
DSimpleFontDataChromiumWin.cpp54 void SimpleFontData::platformInit() in platformInit()
94 void SimpleFontData::platformCharWidthInit() in platformCharWidthInit()
99 void SimpleFontData::platformDestroy() in platformDestroy()
106 SimpleFontData* SimpleFontData::smallCapsFontData(const FontDescription& fontDescription) const in smallCapsFontData()
117 new SimpleFontData(FontPlatformData(hfont, smallCapsSize)); in smallCapsFontData()
122 bool SimpleFontData::containsCharacters(const UChar* characters, int length) const in containsCharacters()
129 void SimpleFontData::determinePitch() in determinePitch()
154 float SimpleFontData::platformWidthForGlyph(Glyph glyph) const in platformWidthForGlyph()
DSimpleFontDataLinux.cpp54 void SimpleFontData::platformInit() in platformInit()
123 void SimpleFontData::platformCharWidthInit() in platformCharWidthInit()
128 void SimpleFontData::platformDestroy() in platformDestroy()
134 SimpleFontData* SimpleFontData::smallCapsFontData(const FontDescription& fontDescription) const in smallCapsFontData()
138 m_smallCapsFontData = new SimpleFontData(FontPlatformData(m_platformData, smallCapsSize)); in smallCapsFontData()
144 bool SimpleFontData::containsCharacters(const UChar* characters, int length) const in containsCharacters()
170 void SimpleFontData::determinePitch() in determinePitch()
175 float SimpleFontData::platformWidthForGlyph(Glyph glyph) const in platformWidthForGlyph()
/external/webkit/WebCore/platform/graphics/qt/
DSimpleFontDataQt.cpp31 void SimpleFontData::determinePitch() in determinePitch()
36 bool SimpleFontData::containsCharacters(const UChar*, int length) const in containsCharacters()
41 void SimpleFontData::platformInit() in platformInit()
53 void SimpleFontData::platformGlyphInit() in platformGlyphInit()
62 void SimpleFontData::platformCharWidthInit() in platformCharWidthInit()
69 void SimpleFontData::platformDestroy() in platformDestroy()
DFontCacheQt.cpp194 typedef HashMap<FontPlatformDataCacheKey, std::pair<SimpleFontData*, unsigned>, FontPlatformDataCac…
201 static ListHashSet<const SimpleFontData*>* gInactiveFontDataSet = 0;
203 SimpleFontData* FontCache::getCachedFontData(const FontPlatformData* fontPlatformData) in getCachedFontData()
207 gInactiveFontDataSet = new ListHashSet<const SimpleFontData*>; in getCachedFontData()
213 SimpleFontData* fontData = new SimpleFontData(*fontPlatformData); in getCachedFontData()
214 gFontDataCache->add(key, std::pair<SimpleFontData*, unsigned>(fontData, 1)); in getCachedFontData()
229 void FontCache::releaseFontData(const WebCore::SimpleFontData* fontData) in releaseFontData()
252 ListHashSet<const SimpleFontData*>::iterator it = gInactiveFontDataSet->begin(); in purgeInactiveFontData()
253 ListHashSet<const SimpleFontData*>::iterator end = gInactiveFontDataSet->end(); in purgeInactiveFontData()
256 pair<SimpleFontData*, unsigned> fontDataPair = gFontDataCache->take(key); in purgeInactiveFontData()
/external/webkit/WebCore/platform/graphics/mac/
DCoreTextController.h40 … TextRun&, bool mayUseNaturalWritingDirection = false, HashSet<const SimpleFontData*>* fallbackFon…
59 …CoreTextRun(CTRunRef, const SimpleFontData*, const UChar* characters, unsigned stringLocation, siz…
60 …CoreTextRun(const SimpleFontData*, const UChar* characters, unsigned stringLocation, size_t string…
64 const SimpleFontData* fontData() const { return m_fontData; } in fontData()
73 const SimpleFontData* m_fontData;
83 …xtRunsForCharacters(const UChar*, unsigned length, unsigned stringLocation, const SimpleFontData*);
109 HashSet<const SimpleFontData*>* m_fallbackFonts;

12345