#44953: canvas_put_sprite_full_scaled() Open Date: 2022-06-26 15:00 Last Update: 2022-06-26 15:00 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/44953 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=44953 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2022-06-26 15:00 Updated by: cazfi * New Ticket "canvas_put_sprite_full_scaled()" created --------------------------------------------------------------------- Ticket Status: Reporter: cazfi Owner: (None) Type: Patches Status: Open Priority: 5 - Medium MileStone: (None) Component: (None) Severity: 5 - Medium Resolution: None --------------------------------------------------------------------- Ticket details: We need canvas_put_sprite_full_scaled() in the gui API to make better .svg support (regardless of the exact form of that support, and .svg in theory meaning any vector format). Existing canvas_put_sprite_full() gets the canvas size from the source sprite, not scaling in any way. The most easily reproducible problem with canvas_put_sprite_full() and .svg is making the client prefer .svg over .png, ant to use flags.spec (not flags-large.spec - then the expected file names would not match the .svg files we have), found a city. Depending on your nation -> the image size defined for the .svg, you get either half, or all of, your screen filled with the map. -- Ticket information of Freeciv project Freeciv Project is hosted on OSDN Project URL: https://osdn.net/projects/freeciv/ OSDN: https://osdn.net URL for this Ticket: https://osdn.net/projects/freeciv/ticket/44953 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=44953