Hi,
have a look at http://de.wikibooks.org/wiki/SVG , there's an embedded SVG graphics. When I dowload this svg from
http://upload.wikimedia.org/wikibooks/de/7/72/SVG_Buch01.svg
I can use it with rsvg, but not with inkscape. inkscape just shows a completely empty canvas. (using inkscape 0.47.0 from ubuntu 10.04).
Is that a problem of inkscape or a problem of the svg file?
regards Hadmut
Reading the file in Google Chrome (just the file, not embedded in the site) leads to an error message :
This page contains the following errors: error on line 2 at column 2: Char 0x0 out of allowed range
It then renders the image up to the error, resulting in a blank image. Embedding the file in a page works fine (maybe due to some error tolerance).
The problem is however in filters, not with the file, actually. When you 'select all' in inkscape you will find that there is a filtered group in it. Repeating ungroup and remove filters operations will lead to the (somewhat modified) original image
On Thu, Jul 1, 2010 at 17:00, Hadmut Danisch <hadmut@...1280...> wrote:
Hi,
have a look at http://de.wikibooks.org/wiki/SVG , there's an embedded SVG graphics. When I dowload this svg from
http://upload.wikimedia.org/wikibooks/de/7/72/SVG_Buch01.svg
I can use it with rsvg, but not with inkscape. inkscape just shows a completely empty canvas. (using inkscape 0.47.0 from ubuntu 10.04).
Is that a problem of inkscape or a problem of the svg file?
regards Hadmut
This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Inkscape-user mailing list Inkscape-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-user
If your familiar with filters, open the svg in Inkscape.
Go to the filter editor and adjust the filter dimensions to something Inkscape likes for all filters. It will become visible.
-offsets to 0.1 -height & width to values from 1.2 up to a size that filters the whole object (start with 1.2)
Also, depending on how grouping and filters are applied, when you "un-group" you may lose some filtering and they will have to be re-applied. Sometimes it is hard to reproduce the same effect. good luck
imigital
--- On Thu, 7/1/10, Hadmut Danisch <hadmut@...1280...> wrote:
From: Hadmut Danisch <hadmut@...1280...> Subject: [Inkscape-user] Inkscape problem or broken svg ? To: inkscape-user@lists.sourceforge.net Date: Thursday, July 1, 2010, 10:00 AM Hi,
have a look at http://de.wikibooks.org/wiki/SVG , there's an embedded SVG graphics. When I dowload this svg from
http://upload.wikimedia.org/wikibooks/de/7/72/SVG_Buch01.svg
I can use it with rsvg, but not with inkscape. inkscape just shows a completely empty canvas. (using inkscape 0.47.0 from ubuntu 10.04).
Is that a problem of inkscape or a problem of the svg file?
regards Hadmut
This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Inkscape-user mailing list Inkscape-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-user
Hadmut Danisch wrote:
Hi,
have a look at http://de.wikibooks.org/wiki/SVG , there's an embedded SVG graphics. When I dowload this svg from
http://upload.wikimedia.org/wikibooks/de/7/72/SVG_Buch01.svg
I can use it with rsvg, but not with inkscape. inkscape just shows a completely empty canvas. (using inkscape 0.47.0 from ubuntu 10.04).
Is that a problem of inkscape or a problem of the svg file?
It could definitely be an Inkscape problem, if you can file a bug report for this that would be great: http://bugs.launchpad.net/inkscape/+filebug (The more specific the better.)
On Sat, Jul 03, 2010 at 12:36:58PM +0200, Jasper van de Gronde wrote:
It could definitely be an Inkscape problem, if you can file a bug report for this that would be great: http://bugs.launchpad.net/inkscape/+filebug (The more specific the better.)
I meanwhile found what cause the (main) problem. In the original svg I had to replace
<filter id="LichtUndSchatten" filterUnits="userSpaceOnUse" x="0" y="150" width="1000" height="700">
with
<filter id="LichtUndSchatten" filterUnits="objectBoundingBox" x="-50%" y="-50%" width="200%" height="200%">
inkscape then renders the image. However, the Ellipse still looks much worse compared with what rsvg generates.
I am still struggling with the fact, that inkscape recently changed the way it applies specular filters, I had to change all my svg files and modify some parameters. Comparing the output of inkscape and rsvg of this particular svg file shows that something goes wrong over here.
regards Hadmut
Hadmut Danisch wrote:
On Sat, Jul 03, 2010 at 12:36:58PM +0200, Jasper van de Gronde wrote:
It could definitely be an Inkscape problem, if you can file a bug report for this that would be great: http://bugs.launchpad.net/inkscape/+filebug (The more specific the better.)
I meanwhile found what cause the (main) problem. In the original svg I had to replace
<filter id="LichtUndSchatten" filterUnits="userSpaceOnUse" x="0" y="150" width="1000" height="700">
with
<filter id="LichtUndSchatten" filterUnits="objectBoundingBox" x="-50%" y="-50%" width="200%" height="200%">
Ah! This makes some sense, Inkscape did (and probably does) have some problems with userSpaceOnUse.
inkscape then renders the image. However, the Ellipse still looks much worse compared with what rsvg generates.
I am still struggling with the fact, that inkscape recently changed the way it applies specular filters, I had to change all my svg files and modify some parameters. Comparing the output of inkscape and rsvg of this particular svg file shows that something goes wrong over here.
If you can make a specific test case out of it that would be increadibly valuable. If you do, be sure to file a bug report (link still quoted above) and attach the test case. (And if you want you can mail me that you created it so I can have a look.)
On Fri, 2010-07-16 at 10:50 +0200, Jasper van de Gronde wrote:
Hadmut Danisch wrote:
I meanwhile found what cause the (main) problem. In the original svg I had to replace
<filter id="LichtUndSchatten" filterUnits="userSpaceOnUse" x="0" y="150" width="1000" height="700">
with
<filter id="LichtUndSchatten" filterUnits="objectBoundingBox" x="-50%" y="-50%" width="200%" height="200%">
Ah! This makes some sense, Inkscape did (and probably does) have some problems with userSpaceOnUse.
I've been investigating Inkscape's implementation of the feImage filter primitive. It has serious problems in using filterUnits as well as primitiveUnits. Other filter primitives probably have similar problems. The SVG spec is quite confusing in this area so this isn't too surprising (I will be working on clarifying the spec this week). Here's a new test that shows how broken Inkscape's implementation is:
http://dev.w3.org/SVG/profiles/1.1F2/test/svg/filters-image-03-f.svg
Tav
participants (5)
-
Hadmut Danisch
-
imigital
-
Jasper van de Gronde
-
Jozef Legény
-
Tavmjong Bah