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 153646 - Card rendering in aisleriot is horrible
Card rendering in aisleriot is horrible
Status: RESOLVED FIXED
Product: gnome-games-superseded
Classification: Deprecated
Component: general
2.7.x
Other Linux
: Normal normal
: ---
Assigned To: Rosanna Yuen
GNOME Games maintainers
: 162934 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2004-09-24 14:24 UTC by Simon Howard
Modified: 2012-01-31 23:14 UTC
See Also:
GNOME target: ---
GNOME version: 2.7/2.8


Attachments
Screenshot of aisleriot rendering SVG cards at high resolution (207.21 KB, image/png)
2004-09-24 14:26 UTC, Simon Howard
Details
Bad card rendering at high resolutions (188.39 KB, image/png)
2004-12-14 10:29 UTC, Simon Howard
Details

Description Simon Howard 2004-09-24 14:24:32 UTC
The cards in Aisleriot are rendered blurry even for SVG card packs.  It seems
that Aisleriot is rendering SVG files into bitmaps and then scaling the bitmaps,
rather than simply rendering to the correct size.

To reproduce, scale the window really really large (I scaled my window so it was
several times larger than my screen and I could only see the top left corner).

Please fix the SVG rendering, the cards are so ugly I'm actually put off playing
solitaire.
Comment 1 Simon Howard 2004-09-24 14:26:07 UTC
Created attachment 31907 [details]
Screenshot of aisleriot rendering SVG cards at high resolution
Comment 2 Simon Howard 2004-09-24 18:43:32 UTC
This affects Mahjongg as well, although the effect is less noticable.  Note that
this makes rendering of small images bad as well as large images.
Comment 3 Callum McKenzie 2004-09-27 07:56:00 UTC
I'm getting OK quality for small images, but there is definitely a problem with
big images. I have been given a patch to change the way that SVGs are rendered
and this should give both a quality and a performance boost. However I haven't
had the chance to go over it fully yet. Hopefully in the next week.
Comment 4 Callum McKenzie 2004-10-11 09:47:40 UTC
This now fixed in CVS thanks to Richard Hoelscher. Of course it doesn't help
with PNG based card sets, but the SVG based ones (paris, bellot and the numbers
and suits of dondorf) now look good.
Comment 5 Simon Howard 2004-12-14 10:26:56 UTC
I checked out a version from CVS after this was fixed, and it looked okay.
However, I'm using Aisleriot 2.9.2.1 and this problem still seems to be here (or
has returned?).  These are the packages from Ubuntu Hoary.
Comment 6 Simon Howard 2004-12-14 10:29:35 UTC
Created attachment 34825 [details]
Bad card rendering at high resolutions
Comment 7 Richard Hoelscher 2004-12-14 13:52:43 UTC
Without a doubt, Ubuntu is not using CVS librsvg. Nor should they be, really.

I'll nag the librsvg maintainer, Dom's been considering a tiny change for the 
librsvg-2.8.2 release that could fix this... It's really not a high priority, 
as AFAIK gnome-games and Gtk+ are the only packages using the image scalability 
flag, and both of them are currently unstable.
Comment 8 Richard Hoelscher 2004-12-15 12:43:50 UTC
Setting back to resolved, as everything works with the latest unstable gnome-
games and gtk+ with CVS librsvg. I've checked, and there will also be a librsvg-
2.8.2 release soon that would also fix this. You may want to keep your eye out 
for it and eventually file a request at Ubuntu to add that version of librsvg 
to Hoary.
Comment 9 Richard Hoelscher 2005-01-04 18:59:15 UTC
*** Bug 162934 has been marked as a duplicate of this bug. ***
Comment 10 Robert Ancell 2012-01-31 23:14:59 UTC
This bug is being reassigned to the "general" component so we can close the aisleriot bugzilla component.  Apologies for the mass email!