GNOME Bugzilla – Bug 588260
nicer card backs and jokers for the default card theme
Last modified: 2021-06-02 11:38:11 UTC
Please describe the problem: The current card back graphics sports a GNOME foot. I think it's desirable to get rid of that logo and replace it with something that looks more like actual playing cards. Mads recently sent me some really neat graphics for this and it looks amazing. Steps to reproduce: Actual results: Expected results: Does this happen every time? Other information:
Created attachment 138206 [details] current look
Created attachment 138207 [details] Screenshot up updated graphics
Created attachment 138220 [details] gnomangelo_bitmap with new back artwork I've created a version of gnomangelo_bitmap with the new back artwork. Though there seems to be a problem with the border of the card back (can't figure it out!). Not sure if this is a problem too, but the size has gone up and is now at 764,4 KB! Might be essential for some distributions to keep the same size in order to fit everything on a LiveCD. I've included the jokers from David Bellot's SVG cards (http://david.bellot.free.fr/svg-cards/).
Looks very nice; thanks! Removing the Gnome foot was also suggested in bug 586560 comment 3; I'm all for it. The size increase is probably due to having edited the file using inkscape or sodipodi. The gnomangelo_bitmap.svg origin file was specially treated to remove all the cruft these editors add. To fix that, you should first run xmllint on the new file, then create a copy of the old file and just copypaste the definitions of the back and the jokers from the new file into the copy, in a _text editor_. Finally, remove any extra sodipodi or inkscape tags/attributes from the new cards, if any. The "JOKER" text uses Bitstream Vera Serif; this should probably be changed to DejaVu Serif. I compared the rendering times between the old and the new back; they seem pretty close together, so there shouldn't be a problem there.
Created attachment 138247 [details] card back svg
Christian Persch -> Thanks for the reply. I must be honest and admit that I have no idea what you are talking about regarding the fix. Would you/someone care to make the necessary adjustments? I'm just learning Inkscape (and Linux).
Created attachment 138300 [details] [review] updated file Using the method in my comment above, I get this new file. It's still twice the size of the old file, almost solely due to the detailed back graphics. (Gzip'd it's a bit smaller than the old un-gzip'd one.) Since the back graphics has obvious repetitions, I think the size could be greately reduced if you just made a <g> for one of the elements, and then used <use> to create the 5 rows of 3 columns of the element? That would reduce it to 1/15th of the size increase without increasing the rendering time. That would take the increase due to the #back card to about 30k, which would be totally fine.
Deferring this due to the size increase. Comment 7 explains how the size increase can be limited to acceptable levels.
Created attachment 237914 [details] [review] Replace GNOME foot on card artwork This adds a new design for the card back artwork and replaces the jokers with those from David Bellot's SVG cards. Update to master.
Now that we use svgz by default and the zipped version of the deck is approximately the same as before I think we should consider putting this in.
Comment on attachment 237914 [details] [review] Replace GNOME foot on card artwork Committed this one to git, but that doesn't do anything for all the other themes that still have the foot (esp. the default one which is 'bonded' right now).
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/aisleriot/-/issues/122.