W3C home > Mailing lists > Public > www-svg@w3.org > June 2003

Re: Request for onGlyphFailed Event

From: Jim Ley <jim@jibbering.com>
Date: Wed, 4 Jun 2003 08:10:05 -0000
Message-ID: <00d701c32a70$b4ffc2b0$428f9bd9@Snork>
To: <www-svg@w3.org>

"Dean Jackson" <dean@w3.org>
> Can I try rewording it?

I'd hope so!  If it got put in straight like that, I'm sure I'd have lots to
moan about.

> You want the UA to fire an event before (or as) it draws any missing
glyph.
> I assume you don't want it constantly firing, so it would just be on first
> processing. What happens if I change the font-family property on the text,
> does it fire again (unless the glyph is found this time)?

I'm really not sure, I've just got a problem I want to solve :-)  It may
need to be constantly firing for each glyph so I can construct a list of
what I need to get.

Changing font-family should probably have it fire again, unless there's an
alternative idea where it fires once for any missing glyph and then which
glyphs in the document have failed can be obtained from another property.

> One problem might be that a few SVG viewers hand off all that complicated
> text rubbish to a platform text library. I'm not sure if they can always
> get this information back.

Well, with getBBox we can sort of infer it now, so they could have a hack
approach, but I agree it could be problematical.

Jim.
Received on Wednesday, 4 June 2003 04:12:38 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:25 GMT