Home
last modified time | relevance | path

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

1234

/external/chromium_org/third_party/WebKit/Source/platform/fonts/
DSimpleFontData.cpp42 SimpleFontData::SimpleFontData(const FontPlatformData& platformData, PassRefPtr<CustomFontData> cus… in SimpleFontData() function in WebCore::SimpleFontData
66 SimpleFontData::SimpleFontData(PassRefPtr<CustomFontData> customData, float fontSize, bool syntheti… in SimpleFontData() function in WebCore::SimpleFontData
82 void SimpleFontData::initCharWidths() in initCharWidths()
102 void SimpleFontData::platformGlyphInit() in platformGlyphInit()
145 SimpleFontData::~SimpleFontData() in ~SimpleFontData()
156 const SimpleFontData* SimpleFontData::fontDataForCharacter(UChar32) const in fontDataForCharacter()
161 Glyph SimpleFontData::glyphForCharacter(UChar32 character) const in glyphForCharacter()
167 bool SimpleFontData::isSegmented() const in isSegmented()
172 PassRefPtr<SimpleFontData> SimpleFontData::verticalRightOrientationFontData() const in verticalRightOrientationFontData()
184 PassRefPtr<SimpleFontData> SimpleFontData::uprightOrientationFontData() const in uprightOrientationFontData()
[all …]
DSimpleFontData.h57 class PLATFORM_EXPORT SimpleFontData : public FontData {
60 …static PassRefPtr<SimpleFontData> create(const FontPlatformData& platformData, PassRefPtr<CustomFo…
62 return adoptRef(new SimpleFontData(platformData, customData, isTextOrientationFallback));
66 …static PassRefPtr<SimpleFontData> create(PassRefPtr<CustomFontData> customData, float fontSize, bo… in create()
68 return adoptRef(new SimpleFontData(customData, fontSize, syntheticBold, syntheticItalic)); in create()
71 virtual ~SimpleFontData();
73 …static const SimpleFontData* systemFallback() { return reinterpret_cast<const SimpleFontData*>(-1)… in systemFallback()
80 PassRefPtr<SimpleFontData> smallCapsFontData(const FontDescription&) const;
81 PassRefPtr<SimpleFontData> emphasisMarkFontData(const FontDescription&) const;
82 PassRefPtr<SimpleFontData> brokenIdeographFontData() const;
[all …]
DGlyphPage.h43 class SimpleFontData; variable
49 GlyphData(Glyph g = 0, const SimpleFontData* f = 0)
55 const SimpleFontData* fontData;
75 void* slot = fastMalloc(sizeof(GlyphPage) + sizeof(SimpleFontData*) * GlyphPage::size); in createForMixedFontData()
79 …RefPtr<GlyphPage> createForSingleFontData(GlyphPageTreeNode* owner, const SimpleFontData* fontData) in createForSingleFontData()
90 … memcpy(page->m_perGlyphFontData, m_perGlyphFontData, sizeof(SimpleFontData*) * GlyphPage::size); in createCopiedSystemFallbackPage()
129 ALWAYS_INLINE const SimpleFontData* fontDataForCharacter(UChar32 c) const in fontDataForCharacter()
137 void setGlyphDataForCharacter(UChar32 c, Glyph g, const SimpleFontData* f) in setGlyphDataForCharacter()
142 void setGlyphDataForIndex(unsigned index, Glyph glyph, const SimpleFontData* fontData) in setGlyphDataForIndex()
162 void removeFontDataFromSystemFallbackPage(const SimpleFontData* fontData) in removeFontDataFromSystemFallbackPage()
[all …]
DFontCache.h62 class SimpleFontData; variable
74 void releaseFontData(const SimpleFontData*);
78 …PassRefPtr<SimpleFontData> platformFallbackForCharacter(const FontDescription&, UChar32, const Sim…
83 …PassRefPtr<SimpleFontData> getFontData(const FontDescription&, const AtomicString&, bool checkingA…
84 …PassRefPtr<SimpleFontData> getLastResortFallbackFont(const FontDescription&, ShouldRetain = Retain…
85 SimpleFontData* getNonRetainedLastResortFallbackFont(const FontDescription&);
95 …PassRefPtr<SimpleFontData> fontDataFromDescriptionAndLogFont(const FontDescription&, ShouldRetain,…
142 …PassRefPtr<SimpleFontData> fontDataFromFontPlatformData(const FontPlatformData*, ShouldRetain = Re…
155 friend class SimpleFontData; // For fontDataFromFontPlatformData variable
DFontDataCache.cpp48 PassRefPtr<SimpleFontData> FontDataCache::get(const FontPlatformData* platformData, ShouldRetain sh… in get()
55 …pair<RefPtr<SimpleFontData>, unsigned> newValue(SimpleFontData::create(*platformData), shouldRetai… in get()
83 void FontDataCache::release(const SimpleFontData* fontData) in release()
128 Vector<RefPtr<SimpleFontData>, 20> fontDataToDelete; in purgeLeastRecentlyUsed()
129 ListHashSet<RefPtr<SimpleFontData> >::iterator end = m_inactiveFontData.end(); in purgeLeastRecentlyUsed()
130 ListHashSet<RefPtr<SimpleFontData> >::iterator it = m_inactiveFontData.begin(); in purgeLeastRecentlyUsed()
132 RefPtr<SimpleFontData>& fontData = *it.get(); in purgeLeastRecentlyUsed()
DFontDataCache.h41 class SimpleFontData; variable
77 PassRefPtr<SimpleFontData> get(const FontPlatformData*, ShouldRetain = Retain);
79 void release(const SimpleFontData*);
92 …typedef HashMap<FontPlatformData, pair<RefPtr<SimpleFontData>, unsigned>, FontDataCacheKeyHash, Fo…
94 ListHashSet<RefPtr<SimpleFontData> > m_inactiveFontData;
DSegmentedFontData.h35 class SimpleFontData; variable
38 FontDataRange(UChar32 from, UChar32 to, PassRefPtr<SimpleFontData> fontData) in FontDataRange()
48 PassRefPtr<SimpleFontData> fontData() const { return m_fontData; } in fontData()
53 RefPtr<SimpleFontData> m_fontData;
73 virtual const SimpleFontData* fontDataForCharacter(UChar32) const OVERRIDE;
DGlyphBuffer.h44 class SimpleFontData; variable
82 const SimpleFontData* fontDataAt(unsigned index) const { return m_fontData[index]; } in fontDataAt()
94 void add(Glyph glyph, const SimpleFontData* font, float width) in add()
107 void add(Glyph glyph, const SimpleFontData* font, GlyphBufferAdvance advance) in add()
130 const SimpleFontData* f = m_fontData[index1]; in swap()
143 Vector<const SimpleFontData*, 2048> m_fontData;
DFont.h104 …float width(const TextRun&, HashSet<const SimpleFontData*>* fallbackFonts = 0, GlyphOverflow* = 0)…
109 …static float width(TextLayout&, unsigned from, unsigned len, HashSet<const SimpleFontData*>* fallb…
137 float tabWidth(const SimpleFontData&, unsigned tabSize, float position) const;
144 const SimpleFontData* primaryFont() const;
151 …const SimpleFontData* fontDataForCombiningCharacterSequence(const UChar*, size_t length, FontDataV…
177 …void drawGlyphs(GraphicsContext*, const SimpleFontData*, const GlyphBuffer&, unsigned from, unsign…
180 …float floatWidthForSimpleText(const TextRun&, HashSet<const SimpleFontData*>* fallbackFonts = 0, G…
193 …float floatWidthForComplexText(const TextRun&, HashSet<const SimpleFontData*>* fallbackFonts = 0, …
301 inline const SimpleFontData* Font::primaryFont() const in primaryFont()
324 inline float Font::tabWidth(const SimpleFontData& fontData, unsigned tabSize, float position) const in tabWidth()
DCustomFontData.h35 class SimpleFontData; variable
52 virtual void initializeFontData(SimpleFontData*, float) { } in initializeFontData() argument
54 …SVGGlyphPage(GlyphPage*, unsigned, unsigned, UChar*, unsigned, const SimpleFontData*) const { retu… in fillSVGGlyphPage() argument
DGlyphPageTreeNode.h48 class SimpleFontData; variable
79 static void pruneTreeFontData(const SimpleFontData*);
82 void pruneFontData(const SimpleFontData*, unsigned level = 0);
DFontFastPath.cpp133 RefPtr<SimpleFontData> uprightFontData = data.fontData->uprightOrientationFontData(); in glyphDataAndPageForNonCJKCharacterWithGlyphOrientation()
147 … RefPtr<SimpleFontData> verticalRightFontData = data.fontData->verticalRightOrientationFontData(); in glyphDataAndPageForNonCJKCharacterWithGlyphOrientation()
238 …RefPtr<SimpleFontData> variantFontData = data.fontData->variantFontData(m_fontDescription, variant… in glyphDataAndPageForCharacter()
280 …const SimpleFontData* fontDataToSubstitute = fontDataAt(0)->fontDataForCharacter(characterToRender… in glyphDataAndPageForCharacter()
281 …RefPtr<SimpleFontData> characterFontData = FontCache::fontCache()->platformFallbackForCharacter(m_… in glyphDataAndPageForCharacter()
357 const SimpleFontData* markFontData = markGlyphData.fontData; in emphasisMarkAscent()
373 const SimpleFontData* markFontData = markGlyphData.fontData; in emphasisMarkDescent()
389 const SimpleFontData* markFontData = markGlyphData.fontData; in emphasisMarkHeight()
455 const SimpleFontData* fontData = glyphBuffer.fontDataAt(0); in drawGlyphBuffer()
464 const SimpleFontData* nextFontData = glyphBuffer.fontDataAt(nextGlyph); in drawGlyphBuffer()
[all …]
DWidthIterator.h37 class SimpleFontData; variable
44 …WidthIterator(const Font*, const TextRun&, HashSet<const SimpleFontData*>* fallbackFonts = 0, bool…
93 HashSet<const SimpleFontData*>* m_fallbackFonts;
DFontData.h39 class SimpleFontData; variable
51 virtual const SimpleFontData* fontDataForCharacter(UChar32) const = 0;
/external/chromium_org/third_party/WebKit/Source/platform/fonts/win/
DSimpleFontDataWin.cpp49 void SimpleFontData::platformInit() in platformInit()
102 void SimpleFontData::platformCharWidthInit() in platformCharWidthInit()
107 void SimpleFontData::platformDestroy() in platformDestroy()
111 PassRefPtr<SimpleFontData> SimpleFontData::platformCreateScaledFontData(const FontDescription& font… in platformCreateScaledFontData()
118 …return SimpleFontData::create(FontPlatformData(hfont, scaledSize, m_platformData.orientation()), i… in platformCreateScaledFontData()
121 bool SimpleFontData::containsCharacters(const UChar* characters, int length) const in containsCharacters()
128 void SimpleFontData::determinePitch() in determinePitch()
133 FloatRect SimpleFontData::platformBoundsForGlyph(Glyph glyph) const in platformBoundsForGlyph()
157 float SimpleFontData::platformWidthForGlyph(Glyph glyph) const in platformWidthForGlyph()
DGlyphPageTreeNodeWin.cpp84 const SimpleFontData* fontData) in fillBMPGlyphs()
161 const SimpleFontData* glyphFontData = fontData; in fillBMPGlyphs()
210 const SimpleFontData* fontData) in fillNonBMPGlyphs()
241 unsigned bufferLength, const SimpleFontData* fontData) in fill()
/external/chromium_org/third_party/WebKit/Source/platform/fonts/mac/
DComplexTextController.h45 class SimpleFontData; variable
54 … TextRun&, bool mayUseNaturalWritingDirection = false, HashSet<const SimpleFontData*>* fallbackFon…
57 …ffer* = 0, GlyphIterationStyle = IncludePartialGlyphs, HashSet<const SimpleFontData*>* fallbackFon…
77 …static PassRefPtr<ComplexTextRun> create(CTRunRef ctRun, const SimpleFontData* fontData, const UCh… in create()
82 …static PassRefPtr<ComplexTextRun> create(const SimpleFontData* fontData, const UChar* characters, … in create()
88 const SimpleFontData* fontData() const { return m_fontData; } in fontData()
103 …ComplexTextRun(CTRunRef, const SimpleFontData*, const UChar* characters, unsigned stringLocation, …
104 …ComplexTextRun(const SimpleFontData*, const UChar* characters, unsigned stringLocation, size_t str…
107 const SimpleFontData* m_fontData;
129 …xtRunsForCharacters(const UChar*, unsigned length, unsigned stringLocation, const SimpleFontData*);
[all …]
DFontComplexTextMac.cpp130 float Font::floatWidthForComplexText(const TextRun& run, HashSet<const SimpleFontData*>* fallbackFo… in floatWidthForComplexText()
158 const SimpleFontData* Font::fontDataForCombiningCharacterSequence(const UChar* characters, size_t l… in fontDataForCombiningCharacterSequence()
176 const SimpleFontData* simpleFontData = fontData->fontDataForCharacter(baseCharacter); in fontDataForCombiningCharacterSequence()
183SimpleFontData* verticalRightFontData = simpleFontData->verticalRightOrientationFontData().get(); in fontDataForCombiningCharacterSequence()
188SimpleFontData* uprightFontData = simpleFontData->uprightOrientationFontData().get(); in fontDataForCombiningCharacterSequence()
195 …if (const SimpleFontData* variantFontData = simpleFontData->variantFontData(m_fontDescription, var… in fontDataForCombiningCharacterSequence()
209 return SimpleFontData::systemFallback(); in fontDataForCombiningCharacterSequence()
DSimpleFontDataMac.mm28 #import "platform/fonts/SimpleFontData.h"
95 static bool initFontData(SimpleFontData* fontData)
109 const SimpleFontData* SimpleFontData::getCompositeFontReferenceFontData(NSFont *key) const
117 …const SimpleFontData* found = static_cast<const SimpleFontData*>(CFDictionaryGetValue(m_derivedFon…
130SimpleFontData* value = new SimpleFontData(substitutePlatform, isCustomFont() ? CustomFontData::cr…
140 void SimpleFontData::platformInit()
263 void SimpleFontData::platformCharWidthInit()
290 void SimpleFontData::platformDestroy()
302 PassRefPtr<SimpleFontData> SimpleFontData::platformCreateScaledFontData(const FontDescription& font…
307 return SimpleFontData::create(scaledFontData, CustomFontData::create(false));
[all …]
/external/chromium_org/third_party/WebKit/Source/platform/fonts/skia/
DSimpleFontDataSkia.cpp53 void SimpleFontData::platformInit() in platformInit()
172 void SimpleFontData::platformCharWidthInit() in platformCharWidthInit()
177 void SimpleFontData::platformDestroy() in platformDestroy()
181 PassRefPtr<SimpleFontData> SimpleFontData::platformCreateScaledFontData(const FontDescription& font… in platformCreateScaledFontData()
184 …return SimpleFontData::create(FontPlatformData(m_platformData, scaledSize), isCustomFont() ? Custo… in platformCreateScaledFontData()
187 bool SimpleFontData::containsCharacters(const UChar* characters, int length) const in containsCharacters()
213 void SimpleFontData::determinePitch() in determinePitch()
239 FloatRect SimpleFontData::platformBoundsForGlyph(Glyph glyph) const in platformBoundsForGlyph()
254 float SimpleFontData::platformWidthForGlyph(Glyph glyph) const in platformWidthForGlyph()
273 bool SimpleFontData::canRenderCombiningCharacterSequence(const UChar* characters, size_t length) co… in canRenderCombiningCharacterSequence()
/external/chromium_org/third_party/WebKit/Source/core/css/
DCSSFontFaceSource.cpp72 SimpleFontData* fontData = it->value.get(); in pruneTable()
129 PassRefPtr<SimpleFontData> CSSFontFaceSource::getFontData(const FontDescription& fontDescription) in getFontData()
138 …RefPtr<SimpleFontData> fontData = FontCache::fontCache()->getFontData(fontDescription, m_string, t… in getFontData()
147 RefPtr<SimpleFontData>& fontData = m_fontDataTable.add(key.hash(), 0).iterator->value; in getFontData()
188 fontData = SimpleFontData::create( in getFontData()
201 fontData = SimpleFontData::create( in getFontData()
210 fontData = SimpleFontData::create( in getFontData()
221SimpleFontData* temporaryFont = FontCache::fontCache()->getNonRetainedLastResortFallbackFont(fontD… in getFontData()
224 fontData = SimpleFontData::create(temporaryFont->platformData(), cssFontData); in getFontData()
DCSSFontFaceSource.h40 class SimpleFontData; variable
63 PassRefPtr<SimpleFontData> getFontData(const FontDescription&);
77 …typedef HashMap<unsigned, RefPtr<SimpleFontData> > FontDataTable; // The hash key is composed of s…
/external/chromium_org/third_party/WebKit/Source/core/svg/
DSVGFontData.h29 class SimpleFontData; variable
43 virtual void initializeFontData(SimpleFontData*, float fontSize) OVERRIDE;
45 …offset, unsigned length, UChar* buffer, unsigned bufferLength, const SimpleFontData*) const OVERRI…
62 …ement*, GlyphPage* , unsigned offset, unsigned length, UChar* buffer, const SimpleFontData*) const;
63 …ement*, GlyphPage* , unsigned offset, unsigned length, UChar* buffer, const SimpleFontData*) const;
/external/chromium_org/third_party/WebKit/Source/platform/fonts/opentype/
DOpenTypeVerticalData.h41 class SimpleFontData; variable
52 float advanceHeight(const SimpleFontData*, Glyph) const;
53 …void getVerticalTranslationsForGlyphs(const SimpleFontData*, const Glyph*, size_t, float* outXYArr…
54 …void substituteWithVerticalGlyphs(const SimpleFontData*, GlyphPage*, unsigned offset, unsigned len…
/external/chromium_org/third_party/WebKit/Source/platform/fonts/harfbuzz/
DHarfBuzzShaper.h47 class SimpleFontData; variable
71 …static PassOwnPtr<HarfBuzzRun> create(const SimpleFontData* fontData, unsigned startIndex, unsigne… in create()
84 const SimpleFontData* fontData() { return m_fontData; } in fontData()
97 …HarfBuzzRun(const SimpleFontData*, unsigned startIndex, unsigned numCharacters, TextDirection, hb_…
99 const SimpleFontData* m_fontData;

1234