[BZ#771176] LibRSVG should support embedded fonts
Submitted by Shane
The SVG spec allows for two primary ways to embed fonts into an SVG document:
- Via an SVG tag: https://www.w3.org/TR/SVG/fonts.html#FontElement
- Via a CSS @font-face: https://www.w3.org/TR/2011/WD-css3-fonts-20111004/#font-face-rule. Note that the font can be embedded via a data URI.
For comparison, Batik, the browsers, and Adobe Illustrator all support at least one of the two font methods, but as far as I can tell, librsvg doesn't appear to support either one. librsvg seems to require that the user have the fonts installed in their system folder.