[gcompris/gcomprixogoo] Normalized flags and the display of flags in the config menu.
- From: Bruno Coudoin <bcoudoin src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gcompris/gcomprixogoo] Normalized flags and the display of flags in the config menu.
- Date: Sat, 26 Dec 2009 22:15:24 +0000 (UTC)
commit fa8c4e53fca302b00ec827b03e46309eb8f61c8f
Author: Bruno Coudoin <bruno coudoin free fr>
Date: Sat Dec 26 23:12:38 2009 +0100
Normalized flags and the display of flags in the config menu.
The flags in svg had a different size and the rendering quality was
poor in GCompris.
Now they are based on a 210 pixel width.
boards/flags/af.svgz | Bin 458 -> 1045 bytes
boards/flags/am.svgz | Bin 923 -> 1300 bytes
boards/flags/ar.svgz | Bin 19189 -> 15020 bytes
boards/flags/ar_TN.svgz | Bin 504 -> 1367 bytes
boards/flags/az.svgz | Bin 637 -> 1077 bytes
boards/flags/be.svgz | Bin 362 -> 841 bytes
boards/flags/bg.svgz | Bin 333 -> 832 bytes
boards/flags/br.svgz | Bin 1765 -> 2959 bytes
boards/flags/ca.svgz | Bin 327 -> 937 bytes
boards/flags/ch.svgz | Bin 367 -> 883 bytes
boards/flags/cs.svgz | Bin 414 -> 934 bytes
boards/flags/da.svgz | Bin 300 -> 874 bytes
boards/flags/de.svgz | Bin 317 -> 848 bytes
boards/flags/dk.svgz | Bin 300 -> 0 bytes
boards/flags/dz.svgz | Bin 25021 -> 21813 bytes
boards/flags/el.svgz | Bin 942 -> 949 bytes
boards/flags/en.svgz | Bin 1276 -> 1762 bytes
boards/flags/en_CA.svgz | Bin 833 -> 1451 bytes
boards/flags/en_GB.svgz | Bin 623 -> 1203 bytes
boards/flags/es.svgz | Bin 53228 -> 41730 bytes
boards/flags/eu.svgz | Bin 957 -> 1042 bytes
boards/flags/fa.svgz | Bin 723 -> 1499 bytes
boards/flags/fi.svgz | Bin 311 -> 839 bytes
boards/flags/fr.svgz | Bin 292 -> 797 bytes
boards/flags/ga.svgz | Bin 734 -> 799 bytes
boards/flags/gu.svgz | Bin 3410 -> 3728 bytes
boards/flags/he.svgz | Bin 974 -> 1528 bytes
boards/flags/hi.svgz | Bin 3410 -> 3725 bytes
boards/flags/hr.svgz | Bin 17577 -> 12605 bytes
boards/flags/hu.svgz | Bin 221 -> 763 bytes
boards/flags/id.svgz | Bin 176 -> 747 bytes
boards/flags/it.svgz | Bin 201 -> 798 bytes
boards/flags/ja.svgz | Bin 263 -> 823 bytes
boards/flags/ka.svgz | Bin 529 -> 1211 bytes
boards/flags/ko.svgz | Bin 467 -> 1161 bytes
boards/flags/lt.svgz | Bin 206 -> 818 bytes
boards/flags/mk.svgz | Bin 581 -> 1191 bytes
boards/flags/ml.svgz | Bin 3410 -> 3727 bytes
boards/flags/mr.svgz | Bin 3410 -> 3722 bytes
boards/flags/ms.svgz | Bin 884 -> 1358 bytes
boards/flags/nb.svgz | Bin 274 -> 824 bytes
boards/flags/ne.svgz | Bin 835 -> 1810 bytes
boards/flags/nl.svgz | Bin 329 -> 847 bytes
boards/flags/nn.svgz | Bin 274 -> 831 bytes
boards/flags/oc.svgz | Bin 2864 -> 2831 bytes
boards/flags/pa.svgz | Bin 3410 -> 3725 bytes
boards/flags/pl.svgz | Bin 263 -> 763 bytes
boards/flags/pt.svgz | Bin 45791 -> 32765 bytes
boards/flags/pt_BR.svgz | Bin 1768 -> 2963 bytes
boards/flags/qc.svgz | Bin 20485 -> 0 bytes
boards/flags/ro.svgz | Bin 213 -> 760 bytes
boards/flags/ru.svgz | Bin 294 -> 811 bytes
boards/flags/rw.svgz | Bin 808 -> 1190 bytes
boards/flags/sk.svgz | Bin 1769 -> 2146 bytes
boards/flags/sl.svgz | Bin 3384 -> 3010 bytes
boards/flags/so.svgz | Bin 301 -> 829 bytes
boards/flags/sq.svgz | Bin 5616 -> 5203 bytes
boards/flags/sr.svgz | Bin 190777 -> 165971 bytes
boards/flags/sv.svgz | Bin 249 -> 772 bytes
boards/flags/ta.svgz | Bin 3410 -> 3728 bytes
boards/flags/th.svgz | Bin 361 -> 869 bytes
boards/flags/tr.svgz | Bin 485 -> 1262 bytes
boards/flags/uk.svgz | Bin 258 -> 758 bytes
boards/flags/ur.svgz | Bin 443 -> 1210 bytes
boards/flags/vi.svgz | Bin 434 -> 1038 bytes
boards/flags/wa.svgz | Bin 7599 -> 8450 bytes
boards/flags/zh.svgz | Bin 1138 -> 1246 bytes
src/gcompris/config.c | 4 +++-
68 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/boards/flags/af.svgz b/boards/flags/af.svgz
index 33f4c5c..0ee2c2f 100644
Binary files a/boards/flags/af.svgz and b/boards/flags/af.svgz differ
diff --git a/boards/flags/am.svgz b/boards/flags/am.svgz
index 313099a..ad014cf 100644
Binary files a/boards/flags/am.svgz and b/boards/flags/am.svgz differ
diff --git a/boards/flags/ar.svgz b/boards/flags/ar.svgz
index 19d7649..c434a4a 100644
Binary files a/boards/flags/ar.svgz and b/boards/flags/ar.svgz differ
diff --git a/boards/flags/ar_TN.svgz b/boards/flags/ar_TN.svgz
index 83f62ec..552c3e6 100644
Binary files a/boards/flags/ar_TN.svgz and b/boards/flags/ar_TN.svgz differ
diff --git a/boards/flags/az.svgz b/boards/flags/az.svgz
index f7b97e9..887325a 100644
Binary files a/boards/flags/az.svgz and b/boards/flags/az.svgz differ
diff --git a/boards/flags/be.svgz b/boards/flags/be.svgz
index b66c852..b7bc182 100644
Binary files a/boards/flags/be.svgz and b/boards/flags/be.svgz differ
diff --git a/boards/flags/bg.svgz b/boards/flags/bg.svgz
index 8671800..556a2bf 100644
Binary files a/boards/flags/bg.svgz and b/boards/flags/bg.svgz differ
diff --git a/boards/flags/br.svgz b/boards/flags/br.svgz
index a2f5091..8e8e856 100644
Binary files a/boards/flags/br.svgz and b/boards/flags/br.svgz differ
diff --git a/boards/flags/ca.svgz b/boards/flags/ca.svgz
index 8707901..cd32e71 100644
Binary files a/boards/flags/ca.svgz and b/boards/flags/ca.svgz differ
diff --git a/boards/flags/ch.svgz b/boards/flags/ch.svgz
index 14c9d8b..e27d504 100644
Binary files a/boards/flags/ch.svgz and b/boards/flags/ch.svgz differ
diff --git a/boards/flags/cs.svgz b/boards/flags/cs.svgz
index 1ddd007..5ca024d 100644
Binary files a/boards/flags/cs.svgz and b/boards/flags/cs.svgz differ
diff --git a/boards/flags/da.svgz b/boards/flags/da.svgz
index edaaf8c..3fe469d 100644
Binary files a/boards/flags/da.svgz and b/boards/flags/da.svgz differ
diff --git a/boards/flags/de.svgz b/boards/flags/de.svgz
index e8bd78e..42fcf1c 100644
Binary files a/boards/flags/de.svgz and b/boards/flags/de.svgz differ
diff --git a/boards/flags/dz.svgz b/boards/flags/dz.svgz
index b149aac..9c620df 100644
Binary files a/boards/flags/dz.svgz and b/boards/flags/dz.svgz differ
diff --git a/boards/flags/el.svgz b/boards/flags/el.svgz
index ebf7c68..01f3869 100644
Binary files a/boards/flags/el.svgz and b/boards/flags/el.svgz differ
diff --git a/boards/flags/en.svgz b/boards/flags/en.svgz
index 15a24f2..4c531d4 100644
Binary files a/boards/flags/en.svgz and b/boards/flags/en.svgz differ
diff --git a/boards/flags/en_CA.svgz b/boards/flags/en_CA.svgz
index bb26948..8025e05 100644
Binary files a/boards/flags/en_CA.svgz and b/boards/flags/en_CA.svgz differ
diff --git a/boards/flags/en_GB.svgz b/boards/flags/en_GB.svgz
index 818a2dd..f47795f 100644
Binary files a/boards/flags/en_GB.svgz and b/boards/flags/en_GB.svgz differ
diff --git a/boards/flags/es.svgz b/boards/flags/es.svgz
index 6ec9c29..a681fa0 100644
Binary files a/boards/flags/es.svgz and b/boards/flags/es.svgz differ
diff --git a/boards/flags/eu.svgz b/boards/flags/eu.svgz
index fdb2928..06d998d 100644
Binary files a/boards/flags/eu.svgz and b/boards/flags/eu.svgz differ
diff --git a/boards/flags/fa.svgz b/boards/flags/fa.svgz
index de96e2a..e27cd18 100644
Binary files a/boards/flags/fa.svgz and b/boards/flags/fa.svgz differ
diff --git a/boards/flags/fi.svgz b/boards/flags/fi.svgz
index 2c14016..5a5fbc8 100644
Binary files a/boards/flags/fi.svgz and b/boards/flags/fi.svgz differ
diff --git a/boards/flags/fr.svgz b/boards/flags/fr.svgz
index 7101787..e8ba360 100644
Binary files a/boards/flags/fr.svgz and b/boards/flags/fr.svgz differ
diff --git a/boards/flags/ga.svgz b/boards/flags/ga.svgz
index 3740f2e..1eaad82 100644
Binary files a/boards/flags/ga.svgz and b/boards/flags/ga.svgz differ
diff --git a/boards/flags/gu.svgz b/boards/flags/gu.svgz
index 8a36e7d..c23904e 100644
Binary files a/boards/flags/gu.svgz and b/boards/flags/gu.svgz differ
diff --git a/boards/flags/he.svgz b/boards/flags/he.svgz
index 7282dd1..3c77a5b 100644
Binary files a/boards/flags/he.svgz and b/boards/flags/he.svgz differ
diff --git a/boards/flags/hi.svgz b/boards/flags/hi.svgz
index 8a36e7d..630209f 100644
Binary files a/boards/flags/hi.svgz and b/boards/flags/hi.svgz differ
diff --git a/boards/flags/hr.svgz b/boards/flags/hr.svgz
index 19c5a6e..0c4e82e 100644
Binary files a/boards/flags/hr.svgz and b/boards/flags/hr.svgz differ
diff --git a/boards/flags/hu.svgz b/boards/flags/hu.svgz
index 47b96af..9f071f7 100644
Binary files a/boards/flags/hu.svgz and b/boards/flags/hu.svgz differ
diff --git a/boards/flags/id.svgz b/boards/flags/id.svgz
index a92bb9b..160cd99 100644
Binary files a/boards/flags/id.svgz and b/boards/flags/id.svgz differ
diff --git a/boards/flags/it.svgz b/boards/flags/it.svgz
index 67a67b1..7400178 100644
Binary files a/boards/flags/it.svgz and b/boards/flags/it.svgz differ
diff --git a/boards/flags/ja.svgz b/boards/flags/ja.svgz
index f61e9a6..4bdb7ef 100644
Binary files a/boards/flags/ja.svgz and b/boards/flags/ja.svgz differ
diff --git a/boards/flags/ka.svgz b/boards/flags/ka.svgz
index fab65fb..a6c384f 100644
Binary files a/boards/flags/ka.svgz and b/boards/flags/ka.svgz differ
diff --git a/boards/flags/ko.svgz b/boards/flags/ko.svgz
index 74f5942..84afe61 100644
Binary files a/boards/flags/ko.svgz and b/boards/flags/ko.svgz differ
diff --git a/boards/flags/lt.svgz b/boards/flags/lt.svgz
index 3595717..66feeee 100644
Binary files a/boards/flags/lt.svgz and b/boards/flags/lt.svgz differ
diff --git a/boards/flags/mk.svgz b/boards/flags/mk.svgz
index da5f37a..67bc9ea 100644
Binary files a/boards/flags/mk.svgz and b/boards/flags/mk.svgz differ
diff --git a/boards/flags/ml.svgz b/boards/flags/ml.svgz
index 8a36e7d..1fb4a0e 100644
Binary files a/boards/flags/ml.svgz and b/boards/flags/ml.svgz differ
diff --git a/boards/flags/mr.svgz b/boards/flags/mr.svgz
index 8a36e7d..dcf91ae 100644
Binary files a/boards/flags/mr.svgz and b/boards/flags/mr.svgz differ
diff --git a/boards/flags/ms.svgz b/boards/flags/ms.svgz
index 88f9c5f..57d01fc 100644
Binary files a/boards/flags/ms.svgz and b/boards/flags/ms.svgz differ
diff --git a/boards/flags/nb.svgz b/boards/flags/nb.svgz
index e2038f4..6d11e86 100644
Binary files a/boards/flags/nb.svgz and b/boards/flags/nb.svgz differ
diff --git a/boards/flags/ne.svgz b/boards/flags/ne.svgz
index 2b91643..fd82208 100644
Binary files a/boards/flags/ne.svgz and b/boards/flags/ne.svgz differ
diff --git a/boards/flags/nl.svgz b/boards/flags/nl.svgz
index d4c5be9..233ed73 100644
Binary files a/boards/flags/nl.svgz and b/boards/flags/nl.svgz differ
diff --git a/boards/flags/nn.svgz b/boards/flags/nn.svgz
index e2038f4..c2719fa 100644
Binary files a/boards/flags/nn.svgz and b/boards/flags/nn.svgz differ
diff --git a/boards/flags/oc.svgz b/boards/flags/oc.svgz
index 71764a8..0582ea6 100644
Binary files a/boards/flags/oc.svgz and b/boards/flags/oc.svgz differ
diff --git a/boards/flags/pa.svgz b/boards/flags/pa.svgz
index 8a36e7d..0f08ac9 100644
Binary files a/boards/flags/pa.svgz and b/boards/flags/pa.svgz differ
diff --git a/boards/flags/pl.svgz b/boards/flags/pl.svgz
index 8df22b2..af7ecc8 100644
Binary files a/boards/flags/pl.svgz and b/boards/flags/pl.svgz differ
diff --git a/boards/flags/pt.svgz b/boards/flags/pt.svgz
index babfc1e..09b3010 100644
Binary files a/boards/flags/pt.svgz and b/boards/flags/pt.svgz differ
diff --git a/boards/flags/pt_BR.svgz b/boards/flags/pt_BR.svgz
index f0edef9..46f0ca8 100644
Binary files a/boards/flags/pt_BR.svgz and b/boards/flags/pt_BR.svgz differ
diff --git a/boards/flags/ro.svgz b/boards/flags/ro.svgz
index 6cba659..abedd1a 100644
Binary files a/boards/flags/ro.svgz and b/boards/flags/ro.svgz differ
diff --git a/boards/flags/ru.svgz b/boards/flags/ru.svgz
index 10b0e2e..858f7a6 100644
Binary files a/boards/flags/ru.svgz and b/boards/flags/ru.svgz differ
diff --git a/boards/flags/rw.svgz b/boards/flags/rw.svgz
index 2329f5d..6fe6f07 100644
Binary files a/boards/flags/rw.svgz and b/boards/flags/rw.svgz differ
diff --git a/boards/flags/sk.svgz b/boards/flags/sk.svgz
index 1cfaf7d..24c3de0 100644
Binary files a/boards/flags/sk.svgz and b/boards/flags/sk.svgz differ
diff --git a/boards/flags/sl.svgz b/boards/flags/sl.svgz
index a94ffe2..82ad82c 100644
Binary files a/boards/flags/sl.svgz and b/boards/flags/sl.svgz differ
diff --git a/boards/flags/so.svgz b/boards/flags/so.svgz
index a89c60e..b845c2e 100644
Binary files a/boards/flags/so.svgz and b/boards/flags/so.svgz differ
diff --git a/boards/flags/sq.svgz b/boards/flags/sq.svgz
index 6145952..8416e73 100644
Binary files a/boards/flags/sq.svgz and b/boards/flags/sq.svgz differ
diff --git a/boards/flags/sr.svgz b/boards/flags/sr.svgz
index 2fcceaa..d50041e 100644
Binary files a/boards/flags/sr.svgz and b/boards/flags/sr.svgz differ
diff --git a/boards/flags/sv.svgz b/boards/flags/sv.svgz
index d7dae36..a81d437 100644
Binary files a/boards/flags/sv.svgz and b/boards/flags/sv.svgz differ
diff --git a/boards/flags/ta.svgz b/boards/flags/ta.svgz
index 8a36e7d..322b977 100644
Binary files a/boards/flags/ta.svgz and b/boards/flags/ta.svgz differ
diff --git a/boards/flags/th.svgz b/boards/flags/th.svgz
index 226c58d..91f4ede 100644
Binary files a/boards/flags/th.svgz and b/boards/flags/th.svgz differ
diff --git a/boards/flags/tr.svgz b/boards/flags/tr.svgz
index 4c7e3f5..2c917c7 100644
Binary files a/boards/flags/tr.svgz and b/boards/flags/tr.svgz differ
diff --git a/boards/flags/uk.svgz b/boards/flags/uk.svgz
index 86cb697..afc455b 100644
Binary files a/boards/flags/uk.svgz and b/boards/flags/uk.svgz differ
diff --git a/boards/flags/ur.svgz b/boards/flags/ur.svgz
index 68436d1..4ba8702 100644
Binary files a/boards/flags/ur.svgz and b/boards/flags/ur.svgz differ
diff --git a/boards/flags/vi.svgz b/boards/flags/vi.svgz
index 8ddd340..e035b77 100644
Binary files a/boards/flags/vi.svgz and b/boards/flags/vi.svgz differ
diff --git a/boards/flags/wa.svgz b/boards/flags/wa.svgz
index bb6a6c6..de1de0a 100644
Binary files a/boards/flags/wa.svgz and b/boards/flags/wa.svgz differ
diff --git a/boards/flags/zh.svgz b/boards/flags/zh.svgz
index c971be0..b36940e 100644
Binary files a/boards/flags/zh.svgz and b/boards/flags/zh.svgz differ
diff --git a/src/gcompris/config.c b/src/gcompris/config.c
index 13986a0..dfd3bfe 100644
--- a/src/gcompris/config.c
+++ b/src/gcompris/config.c
@@ -541,7 +541,9 @@ set_locale_flag(gchar *locale)
rsvg_handle_get_dimensions(svg_handle, &dimension);
/* Calc the ratio to display it */
- double xratio = 200.0 / dimension.width;
+ double xratio = 210.0 / dimension.width;
+ double yratio = 160.0 / dimension.height;
+ xratio = MIN(xratio, yratio);
goo_canvas_item_set_transform(item_locale_flag, NULL);
goo_canvas_item_scale(item_locale_flag,
xratio, xratio);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]