3 ms·
Looking at the SVG2 spec it seems that support of embedded fonts is mandatory [1]. I'm not sure about the story in SVG. It's been supported wherever I've needed
by aidos 10y ago
Looking at the SVG2 spec it seems that support of embedded fonts is mandatory [1]. I'm not sure about the story in SVG. It's been supported wherever I've needed it and when parsing svg files myself I extract the fonts (which is easy enough with a simple grep / cut)
[1] http://www.w3.org/TR/SVG2/styling.html#RequiredCSSFeatures http://www.w3.org/TR/SVG2/styling.html#RequiredCSSFeatures
- p0nce 10y agoI've needed it in Adobe Illustrator SVG import, and did not wanted to exercise such CSS stuff. Now that I think of it, it may actually work.
- aidos 10y agoNot sure what support is like in illustrator but the generation is super simple. You can base64 the font and embed it inline in a style tag.