A character can be displayed in a document in many ways. They can be varied by setting the font of the document. A font is a set of glyphs. The glyph determines how a character is visually represented. This is where SVG comes into picture.

XML uses the Scalable Vector Graphics (SVG)  to define pictures, animations …etc. They are scalable and can be reduced or enlarged in size without losing quality. The text inside SVG can be edited. It is a W3C recommendation and it integrates with other W3C standards such as DOM, XSL... SVG images can be created and edited in any text editor and viewed in any modern browser.

Basic example of SVG based font definition in XML

 

›› go to examples ››