HomeSort by relevance Sort by last modified time
    Searched refs:SimpleFontData (Results 1 - 25 of 86) sorted by null

1 2 3 4

  /external/chromium_org/third_party/WebKit/Source/core/css/
CSSFontFaceSource.h 37 class SimpleFontData;
51 PassRefPtr<SimpleFontData> getFontData(const FontDescription&);
63 virtual PassRefPtr<SimpleFontData> createFontData(const FontDescription&) = 0;
65 typedef HashMap<unsigned, RefPtr<SimpleFontData> > FontDataTable; // The hash key is composed of size synthetic styles.
BinaryDataFontFaceSource.cpp 11 #include "platform/fonts/SimpleFontData.h"
29 PassRefPtr<SimpleFontData> BinaryDataFontFaceSource::createFontData(const FontDescription& fontDescription)
31 return SimpleFontData::create(
LocalFontFaceSource.cpp 10 #include "platform/fonts/SimpleFontData.h"
20 PassRefPtr<SimpleFontData> LocalFontFaceSource::createFontData(const FontDescription& fontDescription)
23 RefPtr<SimpleFontData> fontData = FontCache::fontCache()->getFontData(fontDescription, m_fontName, true);
CSSFontFaceSource.cpp 33 #include "platform/fonts/SimpleFontData.h"
46 PassRefPtr<SimpleFontData> CSSFontFaceSource::getFontData(const FontDescription& fontDescription)
53 // We're local. Just return a SimpleFontData from the normal cache.
60 RefPtr<SimpleFontData>& fontData = m_fontDataTable.add(key.hash(), nullptr).storedValue->value;
BinaryDataFontFaceSource.h 23 virtual PassRefPtr<SimpleFontData> createFontData(const FontDescription&) OVERRIDE;
LocalFontFaceSource.h 20 virtual PassRefPtr<SimpleFontData> createFontData(const FontDescription&) OVERRIDE;
  /external/chromium_org/third_party/WebKit/Source/platform/fonts/
FontDataCache.h 41 class SimpleFontData;
77 PassRefPtr<SimpleFontData> get(const FontPlatformData*, ShouldRetain = Retain);
79 void release(const SimpleFontData*);
92 typedef HashMap<FontPlatformData, pair<RefPtr<SimpleFontData>, unsigned>, FontDataCacheKeyHash, FontDataCacheKeyTraits> Cache;
94 ListHashSet<RefPtr<SimpleFontData> > m_inactiveFontData;
SimpleFontData.h 53 class PLATFORM_EXPORT SimpleFontData : public FontData {
56 static PassRefPtr<SimpleFontData> create(const FontPlatformData& platformData, PassRefPtr<CustomFontData> customData = nullptr, bool isTextOrientationFallback = false)
58 return adoptRef(new SimpleFontData(platformData, customData, isTextOrientationFallback));
62 static PassRefPtr<SimpleFontData> create(PassRefPtr<CustomFontData> customData, float fontSize, bool syntheticBold, bool syntheticItalic)
64 return adoptRef(new SimpleFontData(customData, fontSize, syntheticBold, syntheticItalic));
67 virtual ~SimpleFontData();
69 static const SimpleFontData* systemFallback() { return reinterpret_cast<const SimpleFontData*>(-1); }
76 PassRefPtr<SimpleFontData> smallCapsFontData(const FontDescription&) const;
77 PassRefPtr<SimpleFontData> emphasisMarkFontData(const FontDescription&) const
    [all...]
SimpleFontData.cpp 31 #include "platform/fonts/SimpleFontData.h"
40 SimpleFontData::SimpleFontData(const FontPlatformData& platformData, PassRefPtr<CustomFontData> customData, bool isTextOrientationFallback)
64 SimpleFontData::SimpleFontData(PassRefPtr<CustomFontData> customData, float fontSize, bool syntheticBold, bool syntheticItalic)
80 void SimpleFontData::initCharWidths()
100 void SimpleFontData::platformGlyphInit()
140 SimpleFontData::~SimpleFontData()
151 const SimpleFontData* SimpleFontData::fontDataForCharacter(UChar32) cons
    [all...]
FontCache.h 65 class SimpleFontData;
77 void releaseFontData(const SimpleFontData*);
81 PassRefPtr<SimpleFontData> fallbackFontForCharacter(const FontDescription&, UChar32, const SimpleFontData* fontDataToSubstitute);
86 PassRefPtr<SimpleFontData> getFontData(const FontDescription&, const AtomicString&, bool checkingAlternateName = false, ShouldRetain = Retain);
87 PassRefPtr<SimpleFontData> getLastResortFallbackFont(const FontDescription&, ShouldRetain = Retain);
88 SimpleFontData* getNonRetainedLastResortFallbackFont(const FontDescription&);
100 PassRefPtr<SimpleFontData> fontDataFromDescriptionAndLogFont(const FontDescription&, ShouldRetain, const LOGFONT&, wchar_t* outFontFamilyName);
157 PassRefPtr<SimpleFontData> fontDataFromFontPlatformData(const FontPlatformData*, ShouldRetain = Retain);
158 PassRefPtr<SimpleFontData> fallbackOnStandardFontStyle(const FontDescription&, UChar32)
    [all...]
WidthIterator.h 37 class SimpleFontData;
44 WidthIterator(const Font*, const TextRun&, HashSet<const SimpleFontData*>* fallbackFonts = 0, bool accountForGlyphBounds = false, bool forTextEmphasis = false);
84 void cacheFallbackFont(const SimpleFontData*, const SimpleFontData* primaryFont);
85 float adjustSpacing(float, const CharacterData&, const SimpleFontData&, GlyphBuffer*);
91 HashSet<const SimpleFontData*>* m_fallbackFonts;
GlyphPage.h 44 class SimpleFontData;
47 // Holds the glyph index and the corresponding SimpleFontData information for a given
50 GlyphData(Glyph g = 0, const SimpleFontData* f = 0)
56 const SimpleFontData* fontData;
76 void* slot = fastMalloc(sizeof(GlyphPage) + sizeof(SimpleFontData*) * GlyphPage::size);
80 static PassRefPtr<GlyphPage> createForSingleFontData(GlyphPageTreeNode* owner, const SimpleFontData* fontData)
91 memcpy(page->m_perGlyphFontData, m_perGlyphFontData, sizeof(SimpleFontData*) * GlyphPage::size);
135 void setGlyphDataForCharacter(UChar32 c, Glyph g, const SimpleFontData* f)
140 void setGlyphDataForIndex(unsigned index, Glyph glyph, const SimpleFontData* fontData)
176 void removeFontDataFromSystemFallbackPage(const SimpleFontData* fontData
    [all...]
GlyphBuffer.h 40 class SimpleFontData;
62 const SimpleFontData* fontDataAt(unsigned index) const { return m_fontData[index]; }
74 void add(Glyph glyph, const SimpleFontData* font, float width)
81 void add(Glyph glyph, const SimpleFontData* font, const FloatSize& advance)
110 Vector<const SimpleFontData*, 2048> m_fontData;
SegmentedFontData.h 35 class SimpleFontData;
38 FontDataRange(UChar32 from, UChar32 to, PassRefPtr<SimpleFontData> fontData)
48 PassRefPtr<SimpleFontData> fontData() const { return m_fontData; }
53 RefPtr<SimpleFontData> m_fontData;
70 virtual const SimpleFontData* fontDataForCharacter(UChar32) const OVERRIDE;
CustomFontData.h 34 class SimpleFontData;
50 virtual void initializeFontData(SimpleFontData*, float) { }
52 virtual bool fillSVGGlyphPage(GlyphPage*, unsigned, unsigned, UChar*, unsigned, const SimpleFontData*) const { return false; }
FontData.h 39 class SimpleFontData;
51 virtual const SimpleFontData* fontDataForCharacter(UChar32) const = 0;
GlyphBufferTest.cpp 8 #include "platform/fonts/SimpleFontData.h"
19 class TestSimpleFontData : public SimpleFontData {
27 TestSimpleFontData() : SimpleFontData(nullptr, 10, false, false) { }
44 RefPtr<SimpleFontData> font1 = TestSimpleFontData::create();
45 RefPtr<SimpleFontData> font2 = TestSimpleFontData::create();
67 RefPtr<SimpleFontData> font1 = TestSimpleFontData::create();
68 RefPtr<SimpleFontData> font2 = TestSimpleFontData::create();
90 RefPtr<SimpleFontData> font1 = TestSimpleFontData::create();
91 RefPtr<SimpleFontData> font2 = TestSimpleFontData::create();
108 RefPtr<SimpleFontData> font1 = TestSimpleFontData::create()
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/rendering/line/
WordMeasurement.h 27 #include "platform/fonts/SimpleFontData.h"
48 HashSet<const SimpleFontData*> fallbackFonts;
  /external/chromium_org/third_party/WebKit/Source/platform/fonts/opentype/
OpenTypeVerticalData.h 41 class SimpleFontData;
52 float advanceHeight(const SimpleFontData*, Glyph) const;
53 void getVerticalTranslationsForGlyphs(const SimpleFontData*, const Glyph*, size_t, float* outXYArray) const;
54 void substituteWithVerticalGlyphs(const SimpleFontData*, GlyphPage*, unsigned offset, unsigned length) const;
  /external/chromium_org/third_party/WebKit/Source/core/svg/
SVGFontFaceSource.cpp 13 #include "platform/fonts/SimpleFontData.h"
22 PassRefPtr<SimpleFontData> SVGFontFaceSource::createFontData(const FontDescription& fontDescription)
24 return SimpleFontData::create(
SVGFontData.h 30 class SimpleFontData;
45 virtual void initializeFontData(SimpleFontData*, float fontSize) OVERRIDE;
47 virtual bool fillSVGGlyphPage(GlyphPage*, unsigned offset, unsigned length, UChar* buffer, unsigned bufferLength, const SimpleFontData*) const OVERRIDE;
63 bool fillBMPGlyphs(SVGFontElement*, GlyphPage* , unsigned offset, unsigned length, UChar* buffer, const SimpleFontData*) const;
64 bool fillNonBMPGlyphs(SVGFontElement*, GlyphPage* , unsigned offset, unsigned length, UChar* buffer, const SimpleFontData*) const;
SVGFontFaceSource.h 23 virtual PassRefPtr<SimpleFontData> createFontData(const FontDescription&) OVERRIDE;
  /external/chromium_org/third_party/WebKit/Source/core/rendering/
RenderBR.h 41 virtual float width(unsigned /*from*/, unsigned /*len*/, const Font&, float /*xPos*/, TextDirection, HashSet<const SimpleFontData*>* = 0 /*fallbackFonts*/ , GlyphOverflow* = 0) const OVERRIDE { return 0; }
42 virtual float width(unsigned /*from*/, unsigned /*len*/, float /*xpos*/, TextDirection, bool = false /*firstLine*/, HashSet<const SimpleFontData*>* = 0 /*fallbackFonts*/, GlyphOverflow* = 0) const OVERRIDE { return 0; }
  /external/chromium_org/third_party/WebKit/Source/platform/fonts/harfbuzz/
HarfBuzzShaper.h 50 class SimpleFontData;
59 HarfBuzzShaper(const Font*, const TextRun&, ForTextEmphasisOrNot = NotForTextEmphasis, HashSet<const SimpleFontData*>* fallbackFonts = 0);
75 static PassOwnPtr<HarfBuzzRun> create(const SimpleFontData* fontData, unsigned startIndex, unsigned numCharacters, hb_direction_t direction, hb_script_t script)
87 const SimpleFontData* fontData() { return m_fontData; }
108 HarfBuzzRun(const SimpleFontData*, unsigned startIndex, unsigned numCharacters, hb_direction_t, hb_script_t);
110 const SimpleFontData* m_fontData;
136 void addHarfBuzzRun(unsigned startCharacter, unsigned endCharacter, const SimpleFontData*, UScriptCode);
161 HashSet<const SimpleFontData*>* m_fallbackFonts;
  /external/chromium_org/third_party/WebKit/Source/platform/fonts/mac/
ComplexTextController.h 46 class SimpleFontData;
55 ComplexTextController(const Font*, const TextRun&, bool mayUseNaturalWritingDirection = false, HashSet<const SimpleFontData*>* fallbackFonts = 0, bool forTextEmphasis = false);
58 void advance(unsigned to, GlyphBuffer* = 0, GlyphIterationStyle = IncludePartialGlyphs, HashSet<const SimpleFontData*>* fallbackFonts = 0);
76 static PassRefPtr<ComplexTextRun> create(CTRunRef ctRun, const SimpleFontData* fontData, const UChar* characters, unsigned stringLocation, size_t stringLength, CFRange runRange)
81 static PassRefPtr<ComplexTextRun> create(const SimpleFontData* fontData, const UChar* characters, unsigned stringLocation, size_t stringLength, bool ltr)
87 const SimpleFontData* fontData() const { return m_fontData; }
102 ComplexTextRun(CTRunRef, const SimpleFontData*, const UChar* characters, unsigned stringLocation, size_t stringLength, CFRange runRange);
103 ComplexTextRun(const SimpleFontData*, const UChar* characters, unsigned stringLocation, size_t stringLength, bool ltr);
106 const SimpleFontData* m_fontData;
128 void collectComplexTextRunsForCharacters(const UChar*, unsigned length, unsigned stringLocation, const SimpleFontData*);
    [all...]

Completed in 664 milliseconds

1 2 3 4