Re: SVG Fonts inside of OpenType fonts? [Cross-post from [email protected]]
Tal Leming <[email protected]> Fri, 1 Jul 2011 13:43:39 -0400
| Newsgroups | gmane.comp.web.fonts |
|---|---|
| Message-ID | <[email protected]> |
All of this talk about SVG inside of SFNT has made me curious about the current state of SVG glyph support. Are there any UAs and/or SVG viewers that support glyphs defined with child-elements instead of the the d (path data) attribute? I've been able to get this to work: <glyph glyph-name="B" horiz-adv-x="550" unicode="B" d="M 0 0 L 0 500 L 500 500 L 500 0 z M 50 50 L 450 50 L 450 450 L 50 450 z" /> But not this: <glyph glyph-name="A" horiz-adv-x="550" unicode="A"> <path d="M 0 0 L 0 500 L 500 500 L 500 0 z" fill="red" /> <path d="M 50 50 L 50 450 L 450 450 L 450 50 z" fill="yellow" /> </glyph> Tal