https://issues.apache.org/bugzilla/show_bug.cgi?id=46238
--- Comment #2 from Helder Magalhães <[EMAIL PROTECTED]> 2008-11-19 07:13:47
PST ---
(In reply to comment #0)
The mailing list seems more appropriate for general troubleshooting of things
which are not certain to be bugs... ;-)
> @font-face { font-family:Arial}
[...]
> I'm not sure what the intention is, or if this is valid CSS.
By reading the applicable specification [1], it sounds like (it's not clear to
me) that font face should always need a "src" attribute. So for your sample, as
it seems that you are intending a locally available font, a "local" URL seemed
reasonable. This should make the NPE go away, although I haven't tested for
sure.
> The following patch allows the SVG to be displayed, but I'm not claiming that
> it's a proper fix:
I'm not sure if the developers want to proceed with the fix: while I believe
that Batik shouldn't break with invalid content, it seems that Batik is
standards compliant so it should avoid rendering invalid content - maybe
throwing an exception would be more coherent?
[1] http://www.w3.org/TR/CSS2/fonts.html#font-descriptions
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]