Glyph SVGFontElement::missingGlyph() { ensureGlyphCache(); return m_missingGlyph; }
SVGGlyph SVGFontElement::svgGlyphForGlyph(Glyph glyph) { ensureGlyphCache(); return m_glyphMap.svgGlyphForGlyph(glyph); }
void SVGFontElement::collectGlyphsForString(const String& string, Vector<SVGGlyph>& glyphs) { ensureGlyphCache(); m_glyphMap.collectGlyphsForString(string, glyphs); }
void SVGFontElement::collectGlyphsForGlyphName(const String& glyphName, Vector<SVGGlyph>& glyphs) { ensureGlyphCache(); // FIXME: We only support glyphName -> single glyph mapping so far. glyphs.append(m_glyphMap.glyphIdentifierForGlyphName(glyphName)); }
void SVGFontElement::getGlyphIdentifiersForString(const String& string, Vector<SVGGlyphIdentifier>& glyphs) const { ensureGlyphCache(); m_glyphMap.get(string, glyphs); }