# Twemoji Country Flags — source and licence

`twemoji-country-flags.v1.woff2` (next to this file) is the colour font that draws
the country flags (regional-indicator pairs such as 🇨🇭) on every system, including
Windows, which ships no flag glyphs. It is **self-hosted**: the browser loads it
from our own origin, never from a CDN or another third-party host. Both names
carry a version (`.v1.`) because everything under `/fonts/` is served
`immutable` (`next.config.ts`): a changed file gets a new name.

- **Source:** `dist/TwemojiCountryFlags.woff2` of the npm package
  `country-flag-emoji-polyfill` **0.1.10** (TalkJS, published 2026-08-02),
  sha256 `9f04f14429bb6a9f415c7a4dd902a918d7e81a4f7526c415496fdb063954e3b8`,
  78 292 bytes.
- **What it is based on:** „Twemoji Mozilla“ 0.6.0 — Mozilla's conversion of
  the Twemoji graphics into one COLR colour font (project twemoji-colr,
  https://github.com/mozilla/twemoji-colr; the font Firefox uses for emoji on
  Windows). TalkJS cut that font down to the 258 country and region flags plus
  the England, Scotland and Wales tag sequences (fontTools `pyftsubset`); the
  colour format stays Mozilla's COLR/CPAL version 0 (colour layers), which
  Chrome, Edge, Firefox and Safari all render. We use it only for
  U+1F1E6–1F1FF (`unicode-range` in `app/globals.css`).
- **Flag graphics:** Twemoji, © Twitter, Inc. and other contributors,
  licensed under **CC BY 4.0** — https://creativecommons.org/licenses/by/4.0/
  (project: https://github.com/twitter/twemoji).
- **Changes:** Mozilla converted Twemoji into a COLR font; TalkJS reduced that
  font to the flags. We changed one
  metric and nothing else: `OS/2.sxHeight` 0 → 266 (0.52 em), so that the
  page's `font-size-adjust: 0.52` (body, `app/globals.css`) draws a flag at
  1 em instead of shrinking it to 0.59 em (Chromium reads a missing x-height as
  0.875 em). Every other table is unchanged (fontTools 4.68, re-encoded as
  WOFF2; `head.checkSumAdjustment` follows). The drawings are untouched.
  Shipped file: sha256
  `b0a8741a41c0c50a26d07dce9918b9693703a19f34c5220ee1fcf8d9c713643f`,
  78 136 bytes.
- **Attribution shown to users:** imprint page, section „Flaggen-Nachweis“
  (`/{locale}/imprint#flaggen-nachweis`).
- **Checked by:** `npm run verify:flag-font`.

The licence text of the package, verbatim:

---

## License for the Code (MIT)

Copyright (c) 2022 TalkJS

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.

## License for the Visual Design

The Emoji art in the "Twemoji Country Flags" font comes from [Twemoji](https://twitter.github.io/twemoji),
and is used and redistributed under the CC-BY-4.0 [license terms](https://github.com/twitter/twemoji#license)
offered by the Twemoji project.

### Creative Commons Attribution 4.0 International (CC BY 4.0)
https://creativecommons.org/licenses/by/4.0/legalcode
or for the human readable summary: https://creativecommons.org/licenses/by/4.0/


#### You are free to:
**Share** — copy and redistribute the material in any medium or format

**Adapt** — remix, transform, and build upon the material for any purpose, even commercially.

The licensor cannot revoke these freedoms as long as you follow the license terms.


#### Under the following terms:    
**Attribution** — You must give appropriate credit, provide a link to the license,
and indicate if changes were made.
You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.

**No additional restrictions** — You may not apply legal terms or **technological measures**
that legally restrict others from doing anything the license permits.

#### Notices:
You do not have to comply with the license for elements of the material in the public domain
or where your use is permitted by an applicable exception or limitation. No warranties are given.
The license may not give you all of the permissions necessary for your intended use.
For example, other rights such as publicity, privacy, or moral rights may limit how you use the material.
