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 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/