[kde-artists] Fwd: Unusual SVG file
Kevin Connor Arpe <[email protected]> Mon, 29 Jul 2013 23:56:57 +0800
| Newsgroups | gmane.comp.kde.artists |
|---|---|
| Message-ID | <CAFMYRRPs98njmd+ftfjUxoBNwOjJTQYQ9XEK2HAiQOaeum=TPw@mail.gmail.com> |
Hello,
I got this e-mail address from the Oxygen Icons homepage:
http://www.oxygen-icons.org/?page_id=3
I have a general question about SVG, but I'm not sure where to ask about
it. I am such an SVG newb; forgive me if this question is dumb or
misguided.
I am a big fan of KDE4's very nice default icon set called Oxygen. The
package includes an SVG file for each icon. I wish to load this SVG via
Apache Batik library (in Java) and "render" an icon on the screen.
It works for many, many files. However, I noticed some files fail on this
particular SVG node:
<circle
sodipodi:ry="36"
sodipodi:rx="36"
sodipodi:cy="92"
sodipodi:cx="343.99899"
style="fill:url(#linearGradient5167);fill-opacity:1" <-- problem
here
r="36"
rx="8.0010004"
cx="343.99899"
cy="92"
ry="8.0010004"
id="circle5165" />
It seems the ID "linearGradient5167" is not found the SVG file. I have
attached one of the files as an example. (Format is GZip'd to reduce email
size. You may need to gunzip to view the SVG XML.) I notice many other
linearGradients are defined at the top, but 5167 is conspicuously missing.
In the "actions" folder, I see quite a few SVG files will this same
"undefined" linearGradient.
It gets weirder: Both Firefox 22.0 (Linux) and KDE Konqueror 4.4.5 render
this file without complaint. Again, forgive my naivete if "without
complaint" bothers you, the reader. Obviously, the file may, in fact, be
rubbish, and the interpreter in Firefox and Konq are
ignore/overriding/compensatings/etc.
What do you advise on this issue?
Kindly,
Kevin Connor ARPE
Hongkong
______________________________________________________________________________
[email protected] | https://mail.kde.org/mailman/listinfo/kde-artists
window-close.svgz
(application/octet-stream, 2.6 KB) - not displayed