GNOME Bugzilla – Bug 153646
Card rendering in aisleriot is horrible
Last modified: 2012-01-31 23:14:59 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.
Created attachment 31907 [details] Screenshot of aisleriot rendering SVG cards at high resolution
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.
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.
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.
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.
Created attachment 34825 [details] Bad card rendering at high resolutions
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.
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.
*** Bug 162934 has been marked as a duplicate of this bug. ***
This bug is being reassigned to the "general" component so we can close the aisleriot bugzilla component. Apologies for the mass email!