# Herkunft der Flaggen

**33 Flaggen sind handgezeichnet** und gehören zum Projekt: `at, au, be, bg, ca, ch,
cy, cz, de, dk, ee, es, fi, fr, gb, gr, hr, hu, ie, it, lt, lu, lv, mt, nl, no, pl,
pt, ro, se, si, sk, us`. Dazu `int.svg`, das Planetensymbol für „International".
Diese Dateien wurden **nicht** ersetzt.

**201 Flaggen stammen aus [flag-icons](https://github.com/lipis/flag-icons)**
(Version 7.2.3, MIT-Lizenz), Variante `4x3`. Sie wurden beim Übernehmen:

- vom XML-Prolog und den Kommentaren befreit,
- im Leerraum zusammengefasst,
- um die reine Deko-`id` `flag-icons-xx` gekürzt,
- mit `preserveAspectRatio="none"` versehen.

Der letzte Punkt ist der wichtige: Die Quelle ist 4:3, die Kachel im Popup ist
20×14 px. Ohne diese Angabe würde die Flagge in die Kachel *eingepasst* statt sie
zu füllen, und jede Zeile bekäme unterschiedlich breite Ränder. Mit ihr füllt sie
die Kachel exakt aus — um den Preis von rund 7 % horizontaler Streckung, die bei
20 px Breite nicht sichtbar ist.

## Wenn du eine Flagge ersetzen willst

Einfach die Datei unter `<kleincode>.svg` überschreiben. Der Code liest nichts
weiter als den Dateinamen — es gibt keine Liste zu pflegen. `npm run test:country`
prüft danach automatisch mit, dass sie lädt und 20×14 px misst.

## Lizenz

flag-icons steht unter der MIT-Lizenz:

> Copyright (c) 2013 Panayiotis Lipiridis
>
> Permission is hereby granted, free of charge, to any person obtaining a copy of
> this software and associated documentation files (the "Software"), to deal in
> the Software without restriction, including without limitation the rights to
> use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
> of the Software, and to permit persons to whom the Software is furnished to do
> so, subject to the following conditions:
>
> The above copyright notice and this permission notice shall be included in all
> copies or substantial portions of the Software.
>
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
> SOFTWARE.
