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: Robert O'Callahan <robert@ocallahan.org>
Date: Mon, 4 Jul 2011 10:08:28 +1200
Message-ID: <CAOp6jLaG59evwmawuCeT=mtOLWg4V2pU3pommpY1xzZY2-yfbA@mail.gmail.com>
To: Stuart Gill <stuartg@google.com>
Cc: "www-font@w3.org" <www-font@w3.org>, list.adam@twardoch.com, www-svg@w3.org, "www-style@w3.org" <www-style@w3.org>, "public-webfonts-wg@w3.org" <public-webfonts-wg@w3.org>, OpenType List <opentype-migration-list@indx.co.uk>
On Sat, Jul 2, 2011 at 10:16 AM, Stuart Gill <stuartg@google.com> wrote:

> 1) Allow overlap of SVG and TT glyph ids
> This option would enable font creators to have both an SVG glyph and a TT
> outline glyph with the same id. So, software that doesn't understand the SVG
> extension would be able to use the font and only see the TT glyphs. Software
> that understands the SVG extension would look at the SVG glyphs first (or
> based on user settings) and use those glyphs if they exist and if not fall
> back through to the TT glyphs. The interaction between the glyphs could be
> controlled as is now with all of the existing OT features but there would be
> no way to allow features to select between TT and SVG glyphs.

Yes there would. You allow the SVG and TT glyphs IDs to overlap, but don't
require it, so text shaping can choose a glyph that has only a TT version
(or only an SVG version) if you want to. This is simple and flexible. I
can't see a reason to do it any other way.

"If we claim to be without sin, we deceive ourselves and the truth is not in
us. If we confess our sins, he is faithful and just and will forgive us our
sins and purify us from all unrighteousness. If we claim we have not sinned,
we make him out to be a liar and his word is not in us." [1 John 1:8-10]
Received on Sunday, 3 July 2011 22:09:02 UTC

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