After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 598151 - Incorrect rendering of svg file
Incorrect rendering of svg file
Status: RESOLVED FIXED
Product: librsvg
Classification: Core
Component: general
2.26.x
Other All
: Normal normal
: ---
Assigned To: GIMP Bugs
GIMP Bugs
Depends on: 564544
Blocks:
 
 
Reported: 2009-10-12 11:19 UTC by Antonio Roberts
Modified: 2010-04-08 12:03 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Circle 1 has crisp edges, circle 2 is antialiased (3.53 KB, image/svg+xml)
2009-10-12 11:19 UTC, Antonio Roberts
  Details
Fix (1008 bytes, patch)
2010-04-07 11:31 UTC, Hiroyuki Ikezoe
committed Details | Review

Description Antonio Roberts 2009-10-12 11:19:56 UTC
Created attachment 145275 [details]
Circle 1 has crisp edges, circle 2 is antialiased

I've created a file (see attached file) in Inkscape and set the shape-rendering
property to crispEdges which should suppress antialiasing when imported into
GIMP. However, when it is imported it is antialiased.

To test this try loading the attached svg into Firefox. The top circle should
have crisp edges.
Comment 1 Sven Neumann 2009-10-12 11:45:38 UTC
Please report this against librsvg then. You can do so by reassigning your bug report to the librsvg product and specifying the version of librsvg that you are using.
Comment 2 Mike Lewis 2009-12-02 02:17:45 UTC
Hi, this is very similar to the bug I posted (601865).  I found a workaround (and proposed a proper fix).  The workaround is just using optimizeSpeed instead of crispEdges when rendering in librsvg.
Comment 3 Hiroyuki Ikezoe 2010-04-07 11:31:32 UTC
Created attachment 158110 [details] [review]
Fix

Current librsvg supports "shape-rendering" only in style property, this patch handles "shape-rendering" as property too.