Commit graph

27 commits

Author SHA1 Message Date
BruebachL
03229db0bd
Fix cn and ss flags losing stars and clamp svg render sizes (#7168)
cn.svg and ss.svg defined their star polygons with coordinates around
plus/minus 5e5 compensated by tiny scale transforms. Qt drops shapes whose
device space bounds exceed its rasterizer coordinate limit, so both flags
silently lost their stars when rendered wider than roughly 76px. That
threshold was always exceeded because loadSvg with expandOnly renders at
the declared 640x480 native size before scaling down to the icon size.

Fold the scale transforms into the polygon coordinates so the geometry is
unchanged while bounds stay small at every render size.

Also cap expandOnly and usericon render canvases at four times the
requested size to bound memory use and keep pathological theme svgs away
from the rasterizer limit.

Took 8 minutes

Took 57 seconds


Took 3 minutes

Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
2026-08-23 20:13:14 +02:00
Jeremy Letto
4899b6cfef
add kosovo flag (#4597)
* add kosovo flag

* add xk and eu flags to cockatrice

Co-authored-by: Jeremy Letto <jeremy.letto@datasite.com>
Co-authored-by: ebbit1q <ebbit1q@gmail.com>
2022-03-19 20:07:40 -05:00
tooomm
1cb3d88e35 flag updates (#2804) 2017-07-14 21:30:27 -04:00
Jaeic Lee
b7dd64d333 Flag images for 249 countries with ISO 3166 codes
From https://github.com/joielechong/iso-country-flags-svg-collection.
(States that flag images are public domain)
2015-01-28 00:08:14 +09:00
Zach H
627624a9c9 adding more flags 2015-01-26 11:57:28 -05:00
Jaeic Lee
ab2aeee138 Added Korean flag and some translated strings
Added translation of some new strings and svg file of South Korean flag.

Flag of South Korea is from
http://commons.wikimedia.org/wiki/File:Flag_of_South_Korea.svg
2015-01-13 13:36:07 +09:00
Max-Wilhelm Bruker
89ae29aaf0 added Georgia to countries 2013-01-19 16:14:47 +01:00
Max-Wilhelm Bruker
ba5669652c added Dominican Republic 2012-07-24 20:20:41 +02:00
Max-Wilhelm Bruker
03cef19783 added New Zealand 2012-07-22 18:15:49 +02:00
Max-Wilhelm Bruker
e17751ccdf added Croatia to countries 2012-06-27 13:30:24 +02:00
Max-Wilhelm Bruker
2a5050fdc4 added Chile to countries 2012-06-03 18:26:50 +02:00
Max-Wilhelm Bruker
551fdb464e added Venezuela to countries 2012-06-03 18:22:56 +02:00
Max-Wilhelm Bruker
4bdb9e1ddc added Guatemala 2011-09-30 19:02:33 +02:00
Max-Wilhelm Bruker
47d63ad551 added some countries and zonebgs 2011-09-15 18:15:45 +02:00
unknown
1d2a007fba added Slovenia 2011-08-25 17:45:27 +02:00
Max-Wilhelm Bruker
ef42c7518a added argentina to countries 2011-07-05 12:44:39 +02:00
Max-Wilhelm Bruker
731d6bc4d1 added flags for Malaysia and Romania 2011-05-16 14:28:45 +02:00
Max-Wilhelm Bruker
bd5a687816 added SG and ZA to countries 2011-05-10 04:06:54 +02:00
Max-Wilhelm Bruker
5fa2f019d0 added SK and CZ flags 2011-05-01 14:58:36 +02:00
Max-Wilhelm Bruker
ed719090af added NPH to sets, added Belarus to countries 2011-04-30 03:08:45 +02:00
Max-Wilhelm Bruker
0b22f73095 added ukraine to countries 2011-04-06 15:03:21 +02:00
Max-Wilhelm Bruker
0440fb2eff changed brazilian flag 2010-12-10 15:44:54 +01:00
Max-Wilhelm Bruker
f2473be502 added flag for philippines 2010-12-06 01:43:14 +01:00
Max-Wilhelm Bruker
2d8c58e682 added portugese flag 2010-12-01 18:24:12 +01:00
Max-Wilhelm Bruker
3f1177f65f added norwegian flag 2010-12-01 17:59:34 +01:00
unknown
76512a0870 Text rendering fix 2010-10-15 18:08:59 +02:00
Max-Wilhelm Bruker
f9446f9822 generalized user information 2010-09-18 21:05:28 +02:00