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 563933 - corrupted rendering of a card in 'Paris' aisleriot card theme
corrupted rendering of a card in 'Paris' aisleriot card theme
Status: RESOLVED FIXED
Product: librsvg
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: librsvg maintainers
librsvg maintainers
Depends on:
Blocks: 580998
 
 
Reported: 2008-12-10 00:10 UTC by Christian Persch
Modified: 2011-04-16 20:02 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix (1.58 KB, patch)
2010-04-02 10:20 UTC, Hiroyuki Ikezoe
committed Details | Review

Description Christian Persch 2008-12-10 00:10:48 UTC
This happens with gnome 2.24's rsvg version (on ubuntu intrepid), and also with rsvg trunk + cairo git.

Steps to repro:
$ wget http://svn.gnome.org/svn/gnome-games-extra-data/trunk/cards/paris.svg
$ rsvg-view paris.svg

Actual results:
The ace of clubs is corrupted; see screenshot @ http://www.gnome.org/~chpe/images/rsvg-paris-bug.png . 

Expected results:
http://www.gnome.org/~chpe/images/club-1.png . That image was obtained using gnome 2.20's rsvg version, IIRC.
Comment 1 Christian Persch 2008-12-10 00:24:33 UTC
Bisected and traced to SVN r1167:

219a49ecf9e86303689d9b378f6f16c5b92406a8 is first bad commit
commit 219a49ecf9e86303689d9b378f6f16c5b92406a8
Author: doml <doml@9d609ba2-e625-0410-b65f-fb066500c85b>
Date:   Thu Aug 21 19:34:39 2008 +0000

    2008-08-21  Dominic Lachowicz <domlachowicz@gmail.com>
    
            * rsvg-path.c: Bug #548494 - bad rendering for some wacko
            SVG path data
    
    
    
    git-svn-id: svn+ssh://svn.gnome.org/svn/librsvg/trunk@1167 9d609ba2-e625-0410-b65f-fb066500c85b
Comment 2 Christian Persch 2008-12-10 14:13:34 UTC
Minimal testcase:
$ rsvg-view --id "#clubart" paris.svg
Comment 3 Christian Persch 2010-03-11 13:51:49 UTC
Ping? Any chance to at get the offending commit reverted?
Comment 4 Hiroyuki Ikezoe 2010-04-02 10:20:23 UTC
Created attachment 157741 [details] [review]
Fix

Both attachments of this bug and bug 548494 work well with this fix.
Comment 5 Hiroyuki Ikezoe 2010-04-11 02:04:45 UTC
Pushed with test cases for this bug and bug 548494.

http://git.gnome.org/browse/librsvg/commit/?id=966a269f1235a17feb082c949ec8f7b2700eb330