[Freeciv-tickets] [freeciv] #44953: canvas_put_sprite_full_scaled()

Zurück zum Archiv-Index
OSDN Ticket System norep****@osdn*****
Sun Jun 26 21:08:16 JST 2022


#44953: canvas_put_sprite_full_scaled()

  Open Date: 2022-06-26 15:00
Last Update: 2022-06-26 15:08

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:08 Updated by: cazfi
 * Milestone Update from (None) to 3.2.0
 * Component Update from (None) to Client common


---------------------------------------------------------------------
Ticket Status:

      Reporter: cazfi
         Owner: (None)
          Type: Patches
        Status: Open
      Priority: 5 - Medium
     MileStone: 3.2.0
     Component: Client common
      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



More information about the Freeciv-tickets mailing list
Zurück zum Archiv-Index