/external/chromium_org/third_party/WebKit/Source/platform/fonts/ |
Glyph.h | 35 typedef unsigned short Glyph;
|
SimpleFontData.h | 117 FloatRect boundsForGlyph(Glyph) const; 118 float widthForGlyph(Glyph glyph) const; 119 FloatRect platformBoundsForGlyph(Glyph) const; 120 float platformWidthForGlyph(Glyph) const; 130 Glyph spaceGlyph() const { return m_spaceGlyph; } 131 void setSpaceGlyph(Glyph spaceGlyph) { m_spaceGlyph = spaceGlyph; } 132 Glyph zeroWidthSpaceGlyph() const { return m_zeroWidthSpaceGlyph; } 133 void setZeroWidthSpaceGlyph(Glyph spaceGlyph) { m_zeroWidthSpaceGlyph = spaceGlyph; } 134 bool isZeroWidthSpaceGlyph(Glyph glyph) const { return glyph == m_zeroWidthSpaceGlyph && glyph; [all...] |
GlyphPage.h | 34 #include "platform/fonts/Glyph.h" 46 // Holds the glyph index and the corresponding SimpleFontData information for a given 49 GlyphData(Glyph g = 0, const SimpleFontData* f = 0) 50 : glyph(g) 54 Glyph glyph; member in struct:WebCore::GlyphData 112 Glyph glyph = m_glyphs[index]; 114 return GlyphData(glyph, m_perGlyphFontData[index]); 115 return GlyphData(glyph, glyph ? m_fontDataForAllGlyphs : 0) [all...] |
GlyphMetricsMap.h | 32 #include "platform/fonts/Glyph.h" 48 T metricsForGlyph(Glyph glyph) 50 return locatePage(glyph / GlyphMetricsPage::size)->metricsForGlyph(glyph); 53 void setMetricsForGlyph(Glyph glyph, const T& metrics) 55 locatePage(glyph / GlyphMetricsPage::size)->setMetricsForGlyph(glyph, metrics); 63 T metricsForGlyph(Glyph glyph) const { return m_metrics[glyph % size]; [all...] |
CustomFontData.h | 25 #include "platform/fonts/Glyph.h" 53 virtual float widthForSVGGlyph(Glyph, float) const { return 0.0f; }
|
GlyphBuffer.h | 33 #include "platform/fonts/Glyph.h" 46 typedef Glyph GlyphBufferGlyph; 84 Glyph glyphAt(unsigned index) const 94 void add(Glyph glyph, const SimpleFontData* font, float width) 97 m_glyphs.append(glyph); 107 void add(Glyph glyph, const SimpleFontData* font, GlyphBufferAdvance advance) 110 m_glyphs.append(glyph);
|
SVGGlyph.h | 28 #include "platform/fonts/Glyph.h" 37 // Describe a glyph from a SVG Font. 95 Glyph tableEntry;
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/ |
SVGTextLayoutEngineSpacing.h | 37 float calculateSVGKerning(bool isVerticalText, const SVGTextMetrics::Glyph& currentGlyph); 45 SVGTextMetrics::Glyph m_lastGlyph;
|
SVGTextMetrics.h | 52 struct Glyph { 53 Glyph() 64 const Glyph& glyph() const { return m_glyph; } function in class:WebCore::SVGTextMetrics 72 Glyph m_glyph;
|
SVGTextLayoutEngineSpacing.cpp | 42 float SVGTextLayoutEngineSpacing::calculateSVGKerning(bool isVerticalText, const SVGTextMetrics::Glyph& currentGlyph)
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/opentype/ |
OpenTypeVerticalData.h | 31 #include "platform/fonts/Glyph.h" 52 float advanceHeight(const SimpleFontData*, Glyph) const; 53 void getVerticalTranslationsForGlyphs(const SimpleFontData*, const Glyph*, size_t, float* outXYArray) const; 66 HashMap<Glyph, Glyph> m_verticalGlyphMap; 71 HashMap<Glyph, int16_t> m_vertOriginY;
|
OpenTypeVerticalData.cpp | 152 bool getSubstitutions(HashMap<Glyph, Glyph>* map, const SharedBuffer& buffer) const 229 bool getGlyphSubstitutions(const LookupList* lookups, HashMap<Glyph, Glyph>* map, const SharedBuffer& buffer) const 386 bool getVerticalGlyphSubstitutions(HashMap<Glyph, Glyph>* map, const SharedBuffer& buffer) const 500 float OpenTypeVerticalData::advanceHeight(const SimpleFontData* font, Glyph glyph) const 504 uint16_t advanceFUnit = m_advanceHeights[glyph < countHeights ? glyph : countHeights - 1] 524 Glyph glyph = *glyphs; local 563 Glyph glyph = glyphPage->glyphAt(index); local [all...] |
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/table/truetype/ |
glyph_table.h | 39 class Glyph : public SubTable { 76 virtual ~Glyph(); 77 static CALLER_ATTACH Glyph* GetGlyph(GlyphTable* table, 96 Glyph(ReadableFontData* data, int32_t glyph_type); 107 }; // class GlyphTable::Glyph 108 typedef Ptr<GlyphTable::Glyph::Builder> GlyphBuilderPtr; 124 // Gets the List of glyph builders for the glyph table builder. These may be 126 // the final glyph table produced. 127 // If there is no current data for the glyph builder or the glyph builder [all...] |
glyph_table.cc | 54 GlyphTable::Glyph* GlyphTable::GetGlyph(int32_t offset, int32_t length) { 55 return GlyphTable::Glyph::GetGlyph(this, this->data_, offset, length); 112 CALLER_ATTACH GlyphTable::Glyph::Builder* 114 return Glyph::Builder::GetBuilder(this, data); 172 Glyph::Builder::GetBuilder(this, 187 "Loca values not set - unable to parse glyph data."); 203 * GlyphTable::Glyph class 205 GlyphTable::Glyph::~Glyph() {} 207 CALLER_ATTACH GlyphTable::Glyph* 214 GlyphPtr glyph; local [all...] |
/external/sfntly/cpp/src/sfntly/table/truetype/ |
glyph_table.h | 39 class Glyph : public SubTable { 76 virtual ~Glyph(); 77 static CALLER_ATTACH Glyph* GetGlyph(GlyphTable* table, 96 Glyph(ReadableFontData* data, int32_t glyph_type); 107 }; // class GlyphTable::Glyph 108 typedef Ptr<GlyphTable::Glyph::Builder> GlyphBuilderPtr; 124 // Gets the List of glyph builders for the glyph table builder. These may be 126 // the final glyph table produced. 127 // If there is no current data for the glyph builder or the glyph builder [all...] |
glyph_table.cc | 54 GlyphTable::Glyph* GlyphTable::GetGlyph(int32_t offset, int32_t length) { 55 return GlyphTable::Glyph::GetGlyph(this, this->data_, offset, length); 112 CALLER_ATTACH GlyphTable::Glyph::Builder* 114 return Glyph::Builder::GetBuilder(this, data); 172 Glyph::Builder::GetBuilder(this, 187 "Loca values not set - unable to parse glyph data."); 203 * GlyphTable::Glyph class 205 GlyphTable::Glyph::~Glyph() {} 207 CALLER_ATTACH GlyphTable::Glyph* 214 GlyphPtr glyph; local [all...] |
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
SVGFontElement.h | 68 SVGGlyph svgGlyphForGlyph(Glyph); 69 Glyph missingGlyph(); 88 Glyph m_missingGlyph;
|
SVGFontData.h | 44 virtual float widthForSVGGlyph(Glyph, float fontSize) const OVERRIDE;
|
SVGFontData.cpp | 70 missingGlyphData.glyph = svgFontElement->missingGlyph(); 87 Glyph letterXGlyph = glyphPageZero->glyphForCharacter('x'); 108 Glyph spaceGlyph = glyphPageZero->glyphForCharacter(' '); 113 Glyph numeralZeroGlyph = glyphPageZero->glyphForCharacter('0'); 117 Glyph letterWGlyph = glyphPageZero->glyphForCharacter('W'); 121 float SVGFontData::widthForSVGGlyph(Glyph glyph, float fontSize) const 129 SVGGlyph svgGlyph = associatedFontElement->svgGlyphForGlyph(glyph); 198 // Later code will fail if we do not do this and the glyph is incompatible. 202 glyphData.glyph = svgGlyph.tableEntry [all...] |
SVGGlyphMap.h | 52 void addGlyph(const String& glyphName, const String& unicodeString, SVGGlyph glyph) 58 // Register named glyph in the named glyph map and in the glyph table. 60 appendToGlyphTable(glyph); 61 m_namedGlyphs.add(glyphName, glyph.tableEntry); 78 // Register glyph associated with an unicode string into the glyph map. 79 node->glyphs.append(glyph); 84 // If the glyph is named, also add it to the named glyph name, and to the glyph table in both cases [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/fonts/win/ |
GlyphPageTreeNodeWin.cpp | 53 // Convert characters to glyph ids by GetGlyphIndices(), during which, we 64 WTF_LOG_ERROR("Unable to get the glyph indices after second attempt"); 69 // Initializes space glyph 70 static bool initSpaceGlyph(HFONT font, HDC dc, Glyph* spaceGlyph) 111 // + If the font has a glyph available for the character, 117 // + If the font has a glyph available for the character, 121 // (Windows automatically assigns the glyph for a box character to 124 // tells WebKit whether or not the all glyph indices for the given 125 // characters are 0x80 (i.e. a possibly-invalid glyph) and let it 133 // because the corresponding glyph index is set as 0x20 when current fon 160 Glyph glyph = localGlyphBuffer[i]; local 226 WORD glyph = state.firstGlyphForCharacter(i * 2); local [all...] |
SimpleFontDataWin.cpp | 133 FloatRect SimpleFontData::platformBoundsForGlyph(Glyph glyph) const 141 if (GetGlyphOutline(hdc, glyph, GGO_METRICS | GGO_GLYPH_INDEX, &gdiMetrics, 0, 0, &identity) == -1) { 146 if (GetGlyphOutline(hdc, glyph, GGO_METRICS | GGO_GLYPH_INDEX, &gdiMetrics, 0, 0, &identity) == -1) 147 WTF_LOG_ERROR("Unable to get the glyph metrics after second attempt"); 157 float SimpleFontData::platformWidthForGlyph(Glyph glyph) const 166 if (!GetCharWidthI(dc, glyph, 1, 0, &width)) { 171 if (!GetCharWidthI(dc, glyph, 1, 0, &width))
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/skia/ |
SimpleFontDataSkia.cpp | 98 // of the glyph may be truncated when displayed in a 'overflow: hidden' container. 155 const Glyph xGlyph = glyphPageZero->glyphForCharacter(xChar); 203 return false; // missing glyph 218 static inline void getSkiaBoundsForGlyph(SkPaint& paint, Glyph glyph, SkRect& bounds) 223 paint.getTextPath(&glyph, sizeof(glyph), 0, 0, &path); 230 paint.measureText(&glyph, 2, &bounds); 239 FloatRect SimpleFontData::platformBoundsForGlyph(Glyph glyph) cons [all...] |
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/table/bitmap/ |
ebdt_table.h | 54 // Gets the List of glyph builders for the glyph table builder. These may be 56 // the final glyph table produced. 57 // If there is no current data for the glyph builder or the glyph builders 58 // have not been previously set then this will return an empty glyph builder 61 // empty glyph builder List will be returned. 62 // @return the list of glyph builders 65 // Replace the internal glyph builders with the one provided. The provided 67 // This call is only required if the entire set of glyphs in the glyph [all...] |
/external/sfntly/cpp/src/sfntly/table/bitmap/ |
ebdt_table.h | 54 // Gets the List of glyph builders for the glyph table builder. These may be 56 // the final glyph table produced. 57 // If there is no current data for the glyph builder or the glyph builders 58 // have not been previously set then this will return an empty glyph builder 61 // empty glyph builder List will be returned. 62 // @return the list of glyph builders 65 // Replace the internal glyph builders with the one provided. The provided 67 // This call is only required if the entire set of glyphs in the glyph [all...] |