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

Here are my opinions on your questions:

On Wed, Jun 29, 2011 at 7:35 AM, Laurence Penney <lorp@lorp.org> wrote:

> When used on the web, should an sfnt-SVG font become a full participant in
> the DOM? Or should its structure be shielded from the DOM, like normal
> fonts?
>

The latter. Like SVG images, the font DOM would be a private anonymous
document not accessible to the page. This prevents all kinds of problems.
With scripting disabled as well, most of your questions become non-issues.

Should glyphs in sfnt-SVG fonts reflect styling set up by the document's CSS
> that affects inline SVG?
>

Given the above answer, definitely not, since a document's CSS only affects
that document.

How might a cache work? Would it be practical to use multiple planes of the
> existing greyscale cache to represent 32-bit images? Does it make sense to
> talk of a cache with animated glyphs?
>

Implementation detail, don't worry about it. Some kind of image cache would
work.

When does an animation start, on page-load or when the glyph appears?


On font load completion.


> Should all glyphs in a document be synchronized?


Yes, since they're in the same document they get the same SMIL timeline.


> What happens when the text changes? Does the animation for the changed text
> restart?


No.


> Without a diff operator how does the DOM know just which characters have
> changed?


Implementation detail, but yes the UA can track which glyphs have changed
the same way it tracks updates to redraw on the screen.


> When glyph animations are used for useful content, users will want to
> start, stop, scrub, rewind - how might this be presented?


Not supported. If you want these features, use real SVG, not a font.

Should animation support be optional for a client?


Yes.


> Do animated glyphs need a static counterpart?
>

No, you can ignore the animation and use the initial state.

Rob
-- 
"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 Tuesday, 28 June 2011 22:04:29 UTC