W3C home > Mailing lists > Public > www-font@w3.org > July to September 2011

Re: SVG Fonts inside of OpenType fonts? [Cross-post from www-font@w3.org]

From: Tal Leming <tal@typesupply.com>
Date: Fri, 1 Jul 2011 13:43:39 -0400
Message-Id: <BED2B325-5612-492C-9467-77E2BB110AEC@typesupply.com>
To: www-font <www-font@w3.org>
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
Received on Friday, 1 July 2011 17:44:02 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:37:36 UTC