Path: blob/main/files/en-us/web/svg/element/glyph/index.md
6581 views
------{{SVGRef}}{{deprecated_header}}
A <glyph> defines a single glyph in an SVG font.
Usage context
{{svginfo}}
Attributes
Global attributes
{{SVGAttr("class")}}
{{SVGAttr("style")}}
Specific attributes
{{SVGAttr("d")}} {{Deprecated_Inline}}
{{SVGAttr("horiz-adv-x")}} {{Deprecated_Inline}}
{{SVGAttr("vert-origin-x")}} {{Deprecated_Inline}}
{{SVGAttr("vert-origin-y")}} {{Deprecated_Inline}}
{{SVGAttr("vert-adv-y")}} {{Deprecated_Inline}}
{{SVGAttr("unicode")}} {{Deprecated_Inline}}
{{SVGAttr("glyph-name")}} {{Deprecated_Inline}}
{{SVGAttr("orientation")}} {{Deprecated_Inline}}
{{SVGAttr("arabic-form")}} {{Deprecated_Inline}}
{{SVGAttr("lang")}} {{Deprecated_Inline}}
DOM Interface
This element implements the {{domxref("SVGGlyphElement")}} interface.
Example
SVG
Result
{{EmbedLiveSample("Example", 400, 300)}}
Specifications
{{Specifications}}
Browser compatibility
{{Compat}}
See also
{{SVGElement("font")}}
{{SVGElement("missing-glyph")}}