Home | History | Annotate | Download | only in svg

Lines Matching refs:fontData

64 void SVGFontData::initializeFontData(SimpleFontData* fontData, float fontSize)
66 ASSERT(fontData);
73 missingGlyphData.fontData = fontData;
75 fontData->setMissingGlyphData(missingGlyphData);
77 fontData->setZeroWidthSpaceGlyph(0);
78 fontData->determinePitch();
87 GlyphPage* glyphPageZero = GlyphPageTreeNode::getRootChild(fontData, 0)->page();
92 xHeight = letterXGlyph ? fontData->widthForGlyph(letterXGlyph) : 2 * ascent / 3;
95 FontMetrics& fontMetrics = fontData->fontMetrics();
104 fontData->setSpaceGlyph(0);
105 fontData->setSpaceWidth(0);
106 fontData->setAvgCharWidth(0);
107 fontData->setMaxCharWidth(ascent);
113 fontData->setSpaceGlyph(spaceGlyph);
114 fontData->setSpaceWidth(fontData->widthForGlyph(spaceGlyph));
118 fontData->setAvgCharWidth(numeralZeroGlyph ? fontData->widthForGlyph(numeralZeroGlyph) : fontData->spaceWidth());
122 fontData->setMaxCharWidth(letterWGlyph ? fontData->widthForGlyph(letterWGlyph) : ascent);
236 bool SVGFontData::fillSVGGlyphPage(GlyphPage* pageToFill, unsigned offset, unsigned length, UChar* buffer, unsigned bufferLength, const SimpleFontData* fontData) const
238 ASSERT(fontData->isCustomFont());
239 ASSERT(fontData->isSVGFont());
246 return fillBMPGlyphs(fontElement, pageToFill, offset, length, buffer, fontData);
249 return fillNonBMPGlyphs(fontElement, pageToFill, offset, length, buffer, fontData);
252 bool SVGFontData::fillBMPGlyphs(SVGFontElement* fontElement, GlyphPage* pageToFill, unsigned offset, unsigned length, UChar* buffer, const SimpleFontData* fontData) const
267 pageToFill->setGlyphDataForIndex(offset + i, glyphs.first().tableEntry, fontData);
274 bool SVGFontData::fillNonBMPGlyphs(SVGFontElement* fontElement, GlyphPage* pageToFill, unsigned offset, unsigned length, UChar* buffer, const SimpleFontData* fontData) const
290 pageToFill->setGlyphDataForIndex(offset + i, glyphs.first().tableEntry, fontData);