Adobe acknowledges that there is a bug in ASV3 where it does not implement the 'font-family' property correctly when a list of fonts are provided (or presumed). The CSS2 spec says that you are supposed to look for a matching glyph in each of the fonts specified in the 'font-family' property (and presumably include at one generic font as a fallback font even if it isn't listed), but ASV3 uses a simplified and incorrect approach where it picks a single font for any text run and does not do per-glyph checks as required by the CSS2 spec. It is almost certain that Adobe will not issue a dot release of ASV3 to fix this bug. Any fixes in this area would only come as part of a major new release if/when such a major new release were issued.
Jon Ferraiolo Adobe At 07:07 AM 6/26/2005, Thomas DeWeese wrote: >Hi Cameron, Phillipe, > >Cameron McCormack wrote: > > Philippe Lhoste: > > > >>After some experimentation, it seems that ASV needs a missing-glyph > >>element inside the font one. > >>After I added one, it works fine, but of course (?), the glyphs E, L and > >>O are rendered with the missing-glyph, not with the sans-serif font. > > > > > > Thanks Philippe, this fixed the problem! > > > > > >>I don't know the spec. enough to say if this is the required behavior or > >>not. > > This is not conformant behavior from the CSS 2 spec (15.5 step 7): > > If there is a matching font face, but it doesn't contain > glyph(s) for the current character(s), and if there is a next > alternative 'font-family' in the font sets, then repeat from > step 2 with the next alternative 'font-family'. > > > <text font-family="test, serif">hi</text> > > > > my guess is that the 'h' and 'i' should be rendered with serif's glyphs, > > rather than with test's missing-glyph. At least, that is what Batik > > does. And it seems sensible. But in ASV it will use the missing-glyph. > > Batik's behavior is the correct behavior ASV's is not conformant >to the CSS 2 specification. > > >----- >To unsubscribe send a message to: [EMAIL PROTECTED] >-or- >visit http://groups.yahoo.com/group/svg-developers and click "edit my >membership" >---- >Yahoo! Groups Links > > > > ----- To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click "edit my membership" ---- Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

