1
0
Fork 0
mirror of https://github.com/matomo-org/matomo-icons.git synced 2024-09-16 13:33:45 +02:00

simpler unknown flag and placeholder for missing flags

This commit is contained in:
Lukas Winkler 2017-02-21 14:33:30 +01:00
parent 78f2668d00
commit 5167dc5724
25 changed files with 18 additions and 24 deletions

BIN
dist/flags/a1.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 434 B

BIN
dist/flags/a2.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 434 B

BIN
dist/flags/ac.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 434 B

BIN
dist/flags/an.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 434 B

BIN
dist/flags/ap.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 434 B

BIN
dist/flags/bu.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 434 B

BIN
dist/flags/cat.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 434 B

BIN
dist/flags/cp.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 434 B

BIN
dist/flags/cs.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 434 B

BIN
dist/flags/dg.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 434 B

BIN
dist/flags/ea.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 434 B

BIN
dist/flags/fx.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 434 B

BIN
dist/flags/ic.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 434 B

BIN
dist/flags/nt.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 434 B

BIN
dist/flags/o1.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 434 B

BIN
dist/flags/sf.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 434 B

BIN
dist/flags/su.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 434 B

BIN
dist/flags/ta.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 434 B

BIN
dist/flags/tp.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 434 B

BIN
dist/flags/uk.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 434 B

BIN
dist/flags/xx.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 412 B

After

Width:  |  Height:  |  Size: 434 B

BIN
dist/flags/yu.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 434 B

BIN
dist/flags/zr.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 434 B

View file

@ -10,7 +10,7 @@ fi
for i in src/flags/*.svg; do
echo "$i"
origFilename=$(basename "$i")
code=${origFilename%.*}
code="${origFilename%.*}"
distFile="${targetDir}/${code}.png"
echo "$distFile"
inkscape -f "$i" -h $height -e "$distFile"
@ -21,3 +21,13 @@ inkscape -f "unk.flag.svg" -h $height -e "dist/flags/xx.png"
pngquant -f --ext .png -s 1 --skip-if-larger --quality 70-95 "dist/flags/xx.png"
inkscape -f "ti.flag.svg" -h $height -e "dist//flags/ti.png"
pngquant -f --ext .png -s 1 --skip-if-larger --quality 70-95 "dist//flags/ti.png"
for i in ac cp dg ea eu fx ic su ta uk an bu cs nt sf tp yu zr a1 a2 ap o1 cat
do
icon="${targetDir}/${i}.png"
if [ ! -f "$icon" ]
then
echo -e "\033[31mWarning: No flag for $i, using default\033[0m"
cp "dist/flags/xx.png" "$icon"
fi
done

View file

@ -12,7 +12,7 @@
viewBox="0 0 640 480"
version="1.1"
id="svg8"
sodipodi:docname="unk.svg"
sodipodi:docname="unk.flag.svg"
inkscape:version="0.92.0 r15299">
<metadata
id="metadata14">
@ -22,7 +22,7 @@
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
<dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
@ -38,34 +38,18 @@
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1920"
inkscape:window-height="1019"
inkscape:window-height="1015"
id="namedview10"
showgrid="false"
inkscape:zoom="0.49166667"
inkscape:cx="326.10169"
inkscape:cy="-237.06272"
inkscape:cx="-158.98305"
inkscape:cy="-239.09662"
inkscape:window-x="0"
inkscape:window-y="27"
inkscape:window-y="36"
inkscape:window-maximized="1"
inkscape:current-layer="svg8" />
<path
d="M0 0h640v160H0z"
fill="red"
id="path2"
style="fill:#999999" />
<path
d="M0 160h640v160H0z"
id="path4"
fill="#00f"
style="fill:#ececec" />
<path
d="M0 320h640v160H0z"
fill="orange"
id="path6"
style="fill:#cccccc" />
<g
aria-label="?
"
aria-label="? "
transform="matrix(1.3499623,0,0,1.3499623,-97.048349,116.0369)"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:133.33332825px;line-height:25px;font-family:'TeX Gyre Termes';-inkscape-font-specification:'TeX Gyre Termes';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
id="flowRoot832">

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB