Re: Request for onGlyphFailed Event

"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 UTC