art: Schriften für 3× — Press Start 2P und Pirata One, BMFont-Export

Der 8×10-Satz lässt sich nicht auf 24 px hochziehen: 3-px-Stamm bei 24 px
Zelle ist 1:8, ein gezeichneter Satz hat 1:4. Deshalb zwei freie Schriften.

- entschieden: Fließtext/UI Press Start 2P @24, Titel/Namensschild
  Pirata One @36 (final/Font/ttf/, OFL 1.1, Lizenzhinweis in ttf/README.md)
- tools/font_ttf.py: TTF rastern (Schwelle 50 %, Versatz je Zeichen)
- tools/font_ttf_export.py: BMFont + Atlas, 1× und 2×, Prüfung ohne Godot
  (116 Zeichen aus den Metriken gesetzt und pixelgleich verglichen)
- final/Font/: pressstart2p_24 + pirataone_36 als .fnt/_atlas, ×2
- prep/font24/: Kandidatenvergleich (Fließtext und Titel getrennt), Skalierung
  als verworfener Weg, Belegbilder aus der .fnt
This commit is contained in:
torsten 2026-11-15 07:35:51 +01:00
parent 0a0bdc307f
commit 7e453d6554
52 changed files with 2576 additions and 0 deletions

View file

@ -24,6 +24,9 @@ hierher exportiert.
| `font8_10_atlas_2x.png` | 256×120 | dasselbe nearest-verdoppelt |
| `font8_10_2x.fnt` | — | BMFont für die 2×-Textur (Vorschub 16, Zeile 24, Basis 16) |
Dazu die beiden TTF-Schriften als BMFont — Dateien und Maße im Abschnitt
[„Die TTF-Schriften als Engine-Font"](#die-ttf-schriften-als-engine-font-bmfont).
Alle Glyphen sind weiß; gefärbt wird in der Engine über `modulate`. Ein eigener
Satz pro Farbe wäre vierzehnmal dieselbe Textur.
@ -64,6 +67,83 @@ und skaliert das ganze Bild (`docs/engine.md` E1). Die 2×-Fassung bleibt
Reserve, falls später eine UI-Ebene außerhalb des Viewports dazukommt; beides
ist derselbe Satz, kein Umbau.
## 3×-Raster: Press Start 2P und Pirata One (entschieden 15.11.2026)
Für die 3×-Basis (1920×1080) wird der 8×10-Satz **nicht** hochgezogen — bei
24 px Zelle sind 3-px-Stämme zu dünn (Messung und Belege:
[`../../prep/font24/README.md`](../../prep/font24/README.md)). Statt dessen
zwei freie Schriften, beide **SIL Open Font License 1.1**:
| Datei | Rolle | Größe | Warum |
|---|---|---|---|
| `ttf/PressStart2P-Regular.ttf` | **UI- und Fließtext** | **24 px** | Vorschub 24 und 46 Zeichen je Zeile — dasselbe Layout wie `font8` bei 3× |
| `ttf/PirataOne-Regular.ttf` | **Titel und Namensschild** | **36 px** | Blackletter, trägt als Titel; bei 28 px noch lesbar, darunter nicht mehr |
**Lizenz (Pflicht für kommerzielle Nutzung):** beide Schriften stehen unter
SIL OFL 1.1. Copyright-Zeile und Lizenztext müssen **mit der Schrift
ausgeliefert** werden — also `OFL-pressstart2p.txt` und `OFL-pirataone.txt` in
das Paket, das beim Spieler landet, nicht nur ins Repo. Das gilt auch für eine
gerasterte BMFont-Fassung (Ableitung). Beide haben einen **Reserved Font Name**
(„Press Start 2P", „Pirata"): unverändert benutzt ist das kein Problem, nach
Glyphenänderungen muss die Fassung umbenannt werden. Details:
[`ttf/README.md`](ttf/README.md).
Rastern: `pixelize`-Äquivalent ist [`../../tools/font_ttf.py`](../../tools/font_ttf.py)
— FreeType mit Kantenglättung, dann Schwelle bei 50 %, plus der Versatz jedes
Zeichens zur Grundlinie. Nur auf der Designgröße rastern, sonst fächert die
Rasterung.
```bash
python3 tools/font_ttf.py final/Font/ttf/PressStart2P-Regular.ttf --size 24
python3 tools/font_ttf.py final/Font/ttf/PirataOne-Regular.ttf --size 36
```
Im Bildschirm verbaut: [`../../prep/map-mock-3x/_mock_stadt_1920x1080.png`](../../prep/map-mock-3x/_mock_stadt_1920x1080.png)
(Namensschild „WACHE" in Pirata One, Dialog und MENU in Press Start 2P).
**Offen:** ein BMFont-Export aus `font_ttf`, analog zu `font_export.py` — Atlas
plus `.fnt` aus gerasterten Glyphen. Bis dahin läuft die Engine-Fassung weiter
über `font8`; die beiden TTFs sind die Fassung für den 3×-Weg.
## Die TTF-Schriften als Engine-Font (BMFont)
Seit 15.11.2026 liegen neben dem 8×10-Satz zwei Schriften als **fertige
BMFont-Dateien** — derselbe Weg wie oben, nur wird nicht aus `font8` gelesen,
sondern aus der TTF gerastert ([`../../tools/font_ttf_export.py`](../../tools/font_ttf_export.py)):
| Datei | Schrift | Größe | Zeichen | Zeile | Vorschub (M) |
|---|---|---|---|---|---|
| `pressstart2p_24.fnt` + `_atlas.png` | Press Start 2P | 24 px | 116 | 36 | 24 |
| `pressstart2p_24_2x.fnt` + `_atlas_2x.png` | dieselbe, 2× | 48 px | 116 | 72 | 48 |
| `pirataone_36.fnt` + `_atlas.png` | Pirata One | 36 px | 116 | 54 | 23 |
| `pirataone_36_2x.fnt` + `_atlas_2x.png` | dieselbe, 2× | 72 px | 116 | 108 | 46 |
Der Zeichensatz ist größer als bei `font8` (102 → **116**): ASCII, `ÄÖÜäöüß`
**und** die deutschen Satzzeichen, die ASCII nicht kennt — `„ “ ” ‚ ‘ ’ – — …
· ° € « »`. Gerade `—` und `…` fehlten in Dialogen sonst als `?`; das fiel im
Belegbild sofort auf.
```bash
python3 ../../tools/font_ttf_export.py \
--font ttf/PressStart2P-Regular.ttf --size 24 # schreiben + prüfen
python3 ../../tools/font_ttf_export.py --check # beide, nur prüfen
```
Geprüft wird wie beim 8×10-Satz **ohne Godot**: `--check` liest die `.fnt`
mit demselben Parser aus `font_export.py`, setzt alle 116 Zeichen nur aus
Metriken und Textur zusammen und vergleicht Pixel für Pixel mit
`font_ttf.Font.draw_text` — in 1× **und** 2×. Belegbilder:
[`../../prep/font24/_bmfont_probe_pressstart2p_24.png`](../../prep/font24/_bmfont_probe_pressstart2p_24.png)
und `_bmfont_probe_pirataone_36.png` (aus der `.fnt` gesetzt, nicht aus der TTF).
**In Godot** gelten dieselben Einstellungen wie oben: Antialiasing aus,
Hinting aus, Subpixel aus, Filterung nearest, `size` bleibt die Designgröße
(24 bzw. 36; mit der 2×-Fassung 48 bzw. 72).
**Nicht rastern, was nicht Designgröße ist.** 20 px oder 28 px aus derselben
TTF fächern die Pixel auf (Rasterregel §10 Punkt 12). Wer eine andere Größe
braucht, nimmt die nächstliegende Designstufe und skaliert nearest.
## Ändern
Ein Zeichen ist ein Eintrag in `font8.GLYPHS`: zehn Zeilen à sechs Zeichen,

View file

@ -0,0 +1,120 @@
info face="pirataone_36" size=36 bold=0 italic=0 charset="" unicode=1 stretchH=100 smooth=0 aa=1 padding=0,0,0,0 spacing=0,0 outline=0
common lineHeight=54 base=37 scaleW=512 scaleH=104 pages=1 packed=0 alphaChnl=0 redChnl=4 greenChnl=4 blueChnl=4
page id=0 file="pirataone_36_atlas.png"
chars count=116
char id=32 x=0 y=0 width=0 height=0 xoffset=0 yoffset=0 xadvance=7 page=0 chnl=15
char id=33 x=1 y=0 width=7 height=30 xoffset=0 yoffset=10 xadvance=8 page=0 chnl=15
char id=34 x=9 y=0 width=9 height=7 xoffset=1 yoffset=9 xadvance=11 page=0 chnl=15
char id=35 x=19 y=0 width=25 height=25 xoffset=-2 yoffset=12 xadvance=21 page=0 chnl=15
char id=36 x=45 y=0 width=12 height=33 xoffset=2 yoffset=7 xadvance=15 page=0 chnl=15
char id=37 x=58 y=0 width=21 height=27 xoffset=2 yoffset=11 xadvance=25 page=0 chnl=15
char id=38 x=80 y=0 width=13 height=28 xoffset=2 yoffset=9 xadvance=15 page=0 chnl=15
char id=39 x=94 y=0 width=3 height=7 xoffset=1 yoffset=9 xadvance=5 page=0 chnl=15
char id=40 x=98 y=0 width=10 height=30 xoffset=1 yoffset=9 xadvance=11 page=0 chnl=15
char id=41 x=109 y=0 width=10 height=30 xoffset=1 yoffset=9 xadvance=11 page=0 chnl=15
char id=42 x=120 y=0 width=9 height=10 xoffset=2 yoffset=10 xadvance=12 page=0 chnl=15
char id=43 x=130 y=0 width=13 height=13 xoffset=1 yoffset=20 xadvance=15 page=0 chnl=15
char id=44 x=144 y=0 width=4 height=10 xoffset=2 yoffset=32 xadvance=8 page=0 chnl=15
char id=45 x=149 y=0 width=12 height=3 xoffset=1 yoffset=25 xadvance=14 page=0 chnl=15
char id=46 x=162 y=0 width=4 height=6 xoffset=2 yoffset=31 xadvance=8 page=0 chnl=15
char id=47 x=167 y=0 width=12 height=27 xoffset=-2 yoffset=11 xadvance=6 page=0 chnl=15
char id=48 x=180 y=0 width=12 height=28 xoffset=2 yoffset=9 xadvance=16 page=0 chnl=15
char id=49 x=193 y=0 width=8 height=28 xoffset=0 yoffset=9 xadvance=9 page=0 chnl=15
char id=50 x=202 y=0 width=14 height=28 xoffset=0 yoffset=9 xadvance=14 page=0 chnl=15
char id=51 x=217 y=0 width=13 height=28 xoffset=0 yoffset=9 xadvance=15 page=0 chnl=15
char id=52 x=231 y=0 width=14 height=28 xoffset=0 yoffset=9 xadvance=14 page=0 chnl=15
char id=53 x=246 y=0 width=12 height=28 xoffset=2 yoffset=9 xadvance=16 page=0 chnl=15
char id=54 x=259 y=0 width=12 height=28 xoffset=2 yoffset=9 xadvance=16 page=0 chnl=15
char id=55 x=272 y=0 width=12 height=29 xoffset=1 yoffset=8 xadvance=13 page=0 chnl=15
char id=56 x=285 y=0 width=12 height=28 xoffset=2 yoffset=9 xadvance=16 page=0 chnl=15
char id=57 x=298 y=0 width=12 height=28 xoffset=2 yoffset=9 xadvance=16 page=0 chnl=15
char id=58 x=311 y=0 width=4 height=16 xoffset=2 yoffset=21 xadvance=8 page=0 chnl=15
char id=59 x=316 y=0 width=4 height=21 xoffset=2 yoffset=21 xadvance=8 page=0 chnl=15
char id=60 x=321 y=0 width=11 height=14 xoffset=1 yoffset=20 xadvance=13 page=0 chnl=15
char id=61 x=333 y=0 width=12 height=8 xoffset=1 yoffset=22 xadvance=14 page=0 chnl=15
char id=62 x=346 y=0 width=11 height=14 xoffset=1 yoffset=20 xadvance=13 page=0 chnl=15
char id=63 x=358 y=0 width=12 height=31 xoffset=1 yoffset=9 xadvance=15 page=0 chnl=15
char id=64 x=371 y=0 width=16 height=24 xoffset=2 yoffset=15 xadvance=19 page=0 chnl=15
char id=65 x=388 y=0 width=15 height=29 xoffset=0 yoffset=9 xadvance=16 page=0 chnl=15
char id=66 x=404 y=0 width=14 height=28 xoffset=0 yoffset=9 xadvance=15 page=0 chnl=15
char id=67 x=419 y=0 width=12 height=28 xoffset=2 yoffset=9 xadvance=15 page=0 chnl=15
char id=68 x=432 y=0 width=14 height=28 xoffset=0 yoffset=9 xadvance=16 page=0 chnl=15
char id=69 x=447 y=0 width=12 height=28 xoffset=2 yoffset=9 xadvance=15 page=0 chnl=15
char id=70 x=460 y=0 width=14 height=29 xoffset=0 yoffset=9 xadvance=13 page=0 chnl=15
char id=71 x=475 y=0 width=12 height=28 xoffset=2 yoffset=9 xadvance=15 page=0 chnl=15
char id=72 x=488 y=0 width=15 height=28 xoffset=0 yoffset=10 xadvance=15 page=0 chnl=15
char id=73 x=504 y=0 width=8 height=28 xoffset=0 yoffset=9 xadvance=8 page=0 chnl=15
char id=74 x=0 y=34 width=9 height=33 xoffset=-2 yoffset=10 xadvance=8 page=0 chnl=15
char id=75 x=10 y=34 width=16 height=28 xoffset=0 yoffset=10 xadvance=15 page=0 chnl=15
char id=76 x=27 y=34 width=13 height=28 xoffset=0 yoffset=9 xadvance=13 page=0 chnl=15
char id=77 x=41 y=34 width=23 height=29 xoffset=0 yoffset=9 xadvance=23 page=0 chnl=15
char id=78 x=65 y=34 width=15 height=29 xoffset=0 yoffset=9 xadvance=15 page=0 chnl=15
char id=79 x=81 y=34 width=12 height=28 xoffset=2 yoffset=9 xadvance=16 page=0 chnl=15
char id=80 x=94 y=34 width=14 height=29 xoffset=0 yoffset=9 xadvance=15 page=0 chnl=15
char id=81 x=109 y=34 width=14 height=34 xoffset=2 yoffset=9 xadvance=16 page=0 chnl=15
char id=82 x=124 y=34 width=16 height=29 xoffset=0 yoffset=9 xadvance=16 page=0 chnl=15
char id=83 x=141 y=34 width=12 height=28 xoffset=2 yoffset=9 xadvance=15 page=0 chnl=15
char id=84 x=154 y=34 width=17 height=29 xoffset=-2 yoffset=9 xadvance=13 page=0 chnl=15
char id=85 x=172 y=34 width=15 height=27 xoffset=0 yoffset=10 xadvance=15 page=0 chnl=15
char id=86 x=188 y=34 width=15 height=27 xoffset=0 yoffset=10 xadvance=16 page=0 chnl=15
char id=87 x=204 y=34 width=21 height=28 xoffset=0 yoffset=9 xadvance=23 page=0 chnl=15
char id=88 x=226 y=34 width=15 height=28 xoffset=1 yoffset=9 xadvance=16 page=0 chnl=15
char id=89 x=242 y=34 width=14 height=28 xoffset=-1 yoffset=9 xadvance=14 page=0 chnl=15
char id=90 x=257 y=34 width=13 height=29 xoffset=0 yoffset=8 xadvance=13 page=0 chnl=15
char id=91 x=271 y=34 width=6 height=28 xoffset=2 yoffset=10 xadvance=8 page=0 chnl=15
char id=92 x=278 y=34 width=12 height=27 xoffset=-3 yoffset=11 xadvance=6 page=0 chnl=15
char id=93 x=291 y=34 width=6 height=28 xoffset=0 yoffset=10 xadvance=8 page=0 chnl=15
char id=94 x=298 y=34 width=12 height=6 xoffset=1 yoffset=8 xadvance=14 page=0 chnl=15
char id=95 x=311 y=34 width=12 height=3 xoffset=1 yoffset=37 xadvance=14 page=0 chnl=15
char id=96 x=324 y=34 width=5 height=6 xoffset=1 yoffset=8 xadvance=7 page=0 chnl=15
char id=97 x=330 y=34 width=14 height=20 xoffset=1 yoffset=17 xadvance=15 page=0 chnl=15
char id=98 x=345 y=34 width=14 height=27 xoffset=0 yoffset=10 xadvance=15 page=0 chnl=15
char id=99 x=360 y=34 width=12 height=20 xoffset=2 yoffset=17 xadvance=15 page=0 chnl=15
char id=100 x=373 y=34 width=13 height=28 xoffset=2 yoffset=9 xadvance=15 page=0 chnl=15
char id=101 x=387 y=34 width=12 height=20 xoffset=2 yoffset=17 xadvance=15 page=0 chnl=15
char id=102 x=400 y=34 width=12 height=28 xoffset=0 yoffset=9 xadvance=12 page=0 chnl=15
char id=103 x=413 y=34 width=12 height=26 xoffset=2 yoffset=17 xadvance=16 page=0 chnl=15
char id=104 x=426 y=34 width=15 height=27 xoffset=0 yoffset=10 xadvance=15 page=0 chnl=15
char id=105 x=442 y=34 width=7 height=28 xoffset=1 yoffset=9 xadvance=8 page=0 chnl=15
char id=106 x=450 y=34 width=8 height=34 xoffset=-2 yoffset=9 xadvance=8 page=0 chnl=15
char id=107 x=459 y=34 width=16 height=27 xoffset=0 yoffset=10 xadvance=15 page=0 chnl=15
char id=108 x=476 y=34 width=8 height=27 xoffset=0 yoffset=10 xadvance=8 page=0 chnl=15
char id=109 x=485 y=34 width=23 height=20 xoffset=0 yoffset=17 xadvance=23 page=0 chnl=15
char id=110 x=0 y=69 width=15 height=20 xoffset=0 yoffset=17 xadvance=15 page=0 chnl=15
char id=111 x=16 y=69 width=12 height=20 xoffset=2 yoffset=17 xadvance=16 page=0 chnl=15
char id=112 x=29 y=69 width=14 height=26 xoffset=0 yoffset=17 xadvance=15 page=0 chnl=15
char id=113 x=44 y=69 width=13 height=26 xoffset=2 yoffset=17 xadvance=16 page=0 chnl=15
char id=114 x=58 y=69 width=13 height=20 xoffset=0 yoffset=17 xadvance=14 page=0 chnl=15
char id=115 x=72 y=69 width=12 height=20 xoffset=1 yoffset=17 xadvance=15 page=0 chnl=15
char id=116 x=85 y=69 width=7 height=24 xoffset=1 yoffset=13 xadvance=8 page=0 chnl=15
char id=117 x=93 y=69 width=15 height=20 xoffset=0 yoffset=17 xadvance=15 page=0 chnl=15
char id=118 x=109 y=69 width=14 height=20 xoffset=0 yoffset=17 xadvance=15 page=0 chnl=15
char id=119 x=124 y=69 width=21 height=20 xoffset=0 yoffset=17 xadvance=23 page=0 chnl=15
char id=120 x=146 y=69 width=15 height=21 xoffset=1 yoffset=16 xadvance=16 page=0 chnl=15
char id=121 x=162 y=69 width=14 height=26 xoffset=0 yoffset=17 xadvance=16 page=0 chnl=15
char id=122 x=177 y=69 width=13 height=21 xoffset=0 yoffset=16 xadvance=13 page=0 chnl=15
char id=123 x=191 y=69 width=9 height=28 xoffset=-1 yoffset=10 xadvance=8 page=0 chnl=15
char id=124 x=201 y=69 width=3 height=33 xoffset=2 yoffset=10 xadvance=6 page=0 chnl=15
char id=125 x=205 y=69 width=8 height=29 xoffset=0 yoffset=9 xadvance=8 page=0 chnl=15
char id=126 x=214 y=69 width=11 height=4 xoffset=1 yoffset=10 xadvance=13 page=0 chnl=15
char id=196 x=226 y=69 width=15 height=35 xoffset=0 yoffset=3 xadvance=16 page=0 chnl=15
char id=214 x=242 y=69 width=12 height=34 xoffset=2 yoffset=3 xadvance=16 page=0 chnl=15
char id=220 x=255 y=69 width=15 height=34 xoffset=0 yoffset=3 xadvance=15 page=0 chnl=15
char id=228 x=271 y=69 width=14 height=28 xoffset=1 yoffset=9 xadvance=15 page=0 chnl=15
char id=246 x=286 y=69 width=12 height=28 xoffset=2 yoffset=9 xadvance=16 page=0 chnl=15
char id=252 x=299 y=69 width=15 height=28 xoffset=0 yoffset=9 xadvance=15 page=0 chnl=15
char id=223 x=315 y=69 width=13 height=34 xoffset=0 yoffset=9 xadvance=15 page=0 chnl=15
char id=8222 x=329 y=69 width=9 height=7 xoffset=2 yoffset=30 xadvance=12 page=0 chnl=15
char id=8220 x=339 y=69 width=9 height=8 xoffset=1 yoffset=9 xadvance=12 page=0 chnl=15
char id=8221 x=349 y=69 width=9 height=8 xoffset=2 yoffset=9 xadvance=12 page=0 chnl=15
char id=8218 x=359 y=69 width=3 height=7 xoffset=2 yoffset=30 xadvance=6 page=0 chnl=15
char id=8216 x=363 y=69 width=3 height=8 xoffset=1 yoffset=9 xadvance=6 page=0 chnl=15
char id=8217 x=367 y=69 width=3 height=8 xoffset=2 yoffset=9 xadvance=6 page=0 chnl=15
char id=8211 x=371 y=69 width=12 height=3 xoffset=1 yoffset=25 xadvance=14 page=0 chnl=15
char id=8212 x=384 y=69 width=19 height=3 xoffset=1 yoffset=25 xadvance=22 page=0 chnl=15
char id=8230 x=404 y=69 width=20 height=6 xoffset=2 yoffset=31 xadvance=24 page=0 chnl=15
char id=183 x=425 y=69 width=4 height=6 xoffset=2 yoffset=24 xadvance=8 page=0 chnl=15
char id=176 x=430 y=69 width=8 height=9 xoffset=2 yoffset=9 xadvance=11 page=0 chnl=15
char id=8364 x=439 y=69 width=14 height=28 xoffset=0 yoffset=9 xadvance=14 page=0 chnl=15
char id=171 x=454 y=69 width=19 height=12 xoffset=1 yoffset=21 xadvance=22 page=0 chnl=15
char id=187 x=474 y=69 width=19 height=12 xoffset=2 yoffset=21 xadvance=22 page=0 chnl=15

View file

@ -0,0 +1,120 @@
info face="pirataone_36" size=72 bold=0 italic=0 charset="" unicode=1 stretchH=100 smooth=0 aa=1 padding=0,0,0,0 spacing=0,0 outline=0
common lineHeight=108 base=74 scaleW=1024 scaleH=208 pages=1 packed=0 alphaChnl=0 redChnl=4 greenChnl=4 blueChnl=4
page id=0 file="pirataone_36_atlas_2x.png"
chars count=116
char id=32 x=0 y=0 width=0 height=0 xoffset=0 yoffset=0 xadvance=14 page=0 chnl=15
char id=33 x=2 y=0 width=14 height=60 xoffset=0 yoffset=20 xadvance=16 page=0 chnl=15
char id=34 x=18 y=0 width=18 height=14 xoffset=2 yoffset=18 xadvance=22 page=0 chnl=15
char id=35 x=38 y=0 width=50 height=50 xoffset=-4 yoffset=24 xadvance=42 page=0 chnl=15
char id=36 x=90 y=0 width=24 height=66 xoffset=4 yoffset=14 xadvance=30 page=0 chnl=15
char id=37 x=116 y=0 width=42 height=54 xoffset=4 yoffset=22 xadvance=50 page=0 chnl=15
char id=38 x=160 y=0 width=26 height=56 xoffset=4 yoffset=18 xadvance=30 page=0 chnl=15
char id=39 x=188 y=0 width=6 height=14 xoffset=2 yoffset=18 xadvance=10 page=0 chnl=15
char id=40 x=196 y=0 width=20 height=60 xoffset=2 yoffset=18 xadvance=22 page=0 chnl=15
char id=41 x=218 y=0 width=20 height=60 xoffset=2 yoffset=18 xadvance=22 page=0 chnl=15
char id=42 x=240 y=0 width=18 height=20 xoffset=4 yoffset=20 xadvance=24 page=0 chnl=15
char id=43 x=260 y=0 width=26 height=26 xoffset=2 yoffset=40 xadvance=30 page=0 chnl=15
char id=44 x=288 y=0 width=8 height=20 xoffset=4 yoffset=64 xadvance=16 page=0 chnl=15
char id=45 x=298 y=0 width=24 height=6 xoffset=2 yoffset=50 xadvance=28 page=0 chnl=15
char id=46 x=324 y=0 width=8 height=12 xoffset=4 yoffset=62 xadvance=16 page=0 chnl=15
char id=47 x=334 y=0 width=24 height=54 xoffset=-4 yoffset=22 xadvance=12 page=0 chnl=15
char id=48 x=360 y=0 width=24 height=56 xoffset=4 yoffset=18 xadvance=32 page=0 chnl=15
char id=49 x=386 y=0 width=16 height=56 xoffset=0 yoffset=18 xadvance=18 page=0 chnl=15
char id=50 x=404 y=0 width=28 height=56 xoffset=0 yoffset=18 xadvance=28 page=0 chnl=15
char id=51 x=434 y=0 width=26 height=56 xoffset=0 yoffset=18 xadvance=30 page=0 chnl=15
char id=52 x=462 y=0 width=28 height=56 xoffset=0 yoffset=18 xadvance=28 page=0 chnl=15
char id=53 x=492 y=0 width=24 height=56 xoffset=4 yoffset=18 xadvance=32 page=0 chnl=15
char id=54 x=518 y=0 width=24 height=56 xoffset=4 yoffset=18 xadvance=32 page=0 chnl=15
char id=55 x=544 y=0 width=24 height=58 xoffset=2 yoffset=16 xadvance=26 page=0 chnl=15
char id=56 x=570 y=0 width=24 height=56 xoffset=4 yoffset=18 xadvance=32 page=0 chnl=15
char id=57 x=596 y=0 width=24 height=56 xoffset=4 yoffset=18 xadvance=32 page=0 chnl=15
char id=58 x=622 y=0 width=8 height=32 xoffset=4 yoffset=42 xadvance=16 page=0 chnl=15
char id=59 x=632 y=0 width=8 height=42 xoffset=4 yoffset=42 xadvance=16 page=0 chnl=15
char id=60 x=642 y=0 width=22 height=28 xoffset=2 yoffset=40 xadvance=26 page=0 chnl=15
char id=61 x=666 y=0 width=24 height=16 xoffset=2 yoffset=44 xadvance=28 page=0 chnl=15
char id=62 x=692 y=0 width=22 height=28 xoffset=2 yoffset=40 xadvance=26 page=0 chnl=15
char id=63 x=716 y=0 width=24 height=62 xoffset=2 yoffset=18 xadvance=30 page=0 chnl=15
char id=64 x=742 y=0 width=32 height=48 xoffset=4 yoffset=30 xadvance=38 page=0 chnl=15
char id=65 x=776 y=0 width=30 height=58 xoffset=0 yoffset=18 xadvance=32 page=0 chnl=15
char id=66 x=808 y=0 width=28 height=56 xoffset=0 yoffset=18 xadvance=30 page=0 chnl=15
char id=67 x=838 y=0 width=24 height=56 xoffset=4 yoffset=18 xadvance=30 page=0 chnl=15
char id=68 x=864 y=0 width=28 height=56 xoffset=0 yoffset=18 xadvance=32 page=0 chnl=15
char id=69 x=894 y=0 width=24 height=56 xoffset=4 yoffset=18 xadvance=30 page=0 chnl=15
char id=70 x=920 y=0 width=28 height=58 xoffset=0 yoffset=18 xadvance=26 page=0 chnl=15
char id=71 x=950 y=0 width=24 height=56 xoffset=4 yoffset=18 xadvance=30 page=0 chnl=15
char id=72 x=976 y=0 width=30 height=56 xoffset=0 yoffset=20 xadvance=30 page=0 chnl=15
char id=73 x=1008 y=0 width=16 height=56 xoffset=0 yoffset=18 xadvance=16 page=0 chnl=15
char id=74 x=0 y=68 width=18 height=66 xoffset=-4 yoffset=20 xadvance=16 page=0 chnl=15
char id=75 x=20 y=68 width=32 height=56 xoffset=0 yoffset=20 xadvance=30 page=0 chnl=15
char id=76 x=54 y=68 width=26 height=56 xoffset=0 yoffset=18 xadvance=26 page=0 chnl=15
char id=77 x=82 y=68 width=46 height=58 xoffset=0 yoffset=18 xadvance=46 page=0 chnl=15
char id=78 x=130 y=68 width=30 height=58 xoffset=0 yoffset=18 xadvance=30 page=0 chnl=15
char id=79 x=162 y=68 width=24 height=56 xoffset=4 yoffset=18 xadvance=32 page=0 chnl=15
char id=80 x=188 y=68 width=28 height=58 xoffset=0 yoffset=18 xadvance=30 page=0 chnl=15
char id=81 x=218 y=68 width=28 height=68 xoffset=4 yoffset=18 xadvance=32 page=0 chnl=15
char id=82 x=248 y=68 width=32 height=58 xoffset=0 yoffset=18 xadvance=32 page=0 chnl=15
char id=83 x=282 y=68 width=24 height=56 xoffset=4 yoffset=18 xadvance=30 page=0 chnl=15
char id=84 x=308 y=68 width=34 height=58 xoffset=-4 yoffset=18 xadvance=26 page=0 chnl=15
char id=85 x=344 y=68 width=30 height=54 xoffset=0 yoffset=20 xadvance=30 page=0 chnl=15
char id=86 x=376 y=68 width=30 height=54 xoffset=0 yoffset=20 xadvance=32 page=0 chnl=15
char id=87 x=408 y=68 width=42 height=56 xoffset=0 yoffset=18 xadvance=46 page=0 chnl=15
char id=88 x=452 y=68 width=30 height=56 xoffset=2 yoffset=18 xadvance=32 page=0 chnl=15
char id=89 x=484 y=68 width=28 height=56 xoffset=-2 yoffset=18 xadvance=28 page=0 chnl=15
char id=90 x=514 y=68 width=26 height=58 xoffset=0 yoffset=16 xadvance=26 page=0 chnl=15
char id=91 x=542 y=68 width=12 height=56 xoffset=4 yoffset=20 xadvance=16 page=0 chnl=15
char id=92 x=556 y=68 width=24 height=54 xoffset=-6 yoffset=22 xadvance=12 page=0 chnl=15
char id=93 x=582 y=68 width=12 height=56 xoffset=0 yoffset=20 xadvance=16 page=0 chnl=15
char id=94 x=596 y=68 width=24 height=12 xoffset=2 yoffset=16 xadvance=28 page=0 chnl=15
char id=95 x=622 y=68 width=24 height=6 xoffset=2 yoffset=74 xadvance=28 page=0 chnl=15
char id=96 x=648 y=68 width=10 height=12 xoffset=2 yoffset=16 xadvance=14 page=0 chnl=15
char id=97 x=660 y=68 width=28 height=40 xoffset=2 yoffset=34 xadvance=30 page=0 chnl=15
char id=98 x=690 y=68 width=28 height=54 xoffset=0 yoffset=20 xadvance=30 page=0 chnl=15
char id=99 x=720 y=68 width=24 height=40 xoffset=4 yoffset=34 xadvance=30 page=0 chnl=15
char id=100 x=746 y=68 width=26 height=56 xoffset=4 yoffset=18 xadvance=30 page=0 chnl=15
char id=101 x=774 y=68 width=24 height=40 xoffset=4 yoffset=34 xadvance=30 page=0 chnl=15
char id=102 x=800 y=68 width=24 height=56 xoffset=0 yoffset=18 xadvance=24 page=0 chnl=15
char id=103 x=826 y=68 width=24 height=52 xoffset=4 yoffset=34 xadvance=32 page=0 chnl=15
char id=104 x=852 y=68 width=30 height=54 xoffset=0 yoffset=20 xadvance=30 page=0 chnl=15
char id=105 x=884 y=68 width=14 height=56 xoffset=2 yoffset=18 xadvance=16 page=0 chnl=15
char id=106 x=900 y=68 width=16 height=68 xoffset=-4 yoffset=18 xadvance=16 page=0 chnl=15
char id=107 x=918 y=68 width=32 height=54 xoffset=0 yoffset=20 xadvance=30 page=0 chnl=15
char id=108 x=952 y=68 width=16 height=54 xoffset=0 yoffset=20 xadvance=16 page=0 chnl=15
char id=109 x=970 y=68 width=46 height=40 xoffset=0 yoffset=34 xadvance=46 page=0 chnl=15
char id=110 x=0 y=138 width=30 height=40 xoffset=0 yoffset=34 xadvance=30 page=0 chnl=15
char id=111 x=32 y=138 width=24 height=40 xoffset=4 yoffset=34 xadvance=32 page=0 chnl=15
char id=112 x=58 y=138 width=28 height=52 xoffset=0 yoffset=34 xadvance=30 page=0 chnl=15
char id=113 x=88 y=138 width=26 height=52 xoffset=4 yoffset=34 xadvance=32 page=0 chnl=15
char id=114 x=116 y=138 width=26 height=40 xoffset=0 yoffset=34 xadvance=28 page=0 chnl=15
char id=115 x=144 y=138 width=24 height=40 xoffset=2 yoffset=34 xadvance=30 page=0 chnl=15
char id=116 x=170 y=138 width=14 height=48 xoffset=2 yoffset=26 xadvance=16 page=0 chnl=15
char id=117 x=186 y=138 width=30 height=40 xoffset=0 yoffset=34 xadvance=30 page=0 chnl=15
char id=118 x=218 y=138 width=28 height=40 xoffset=0 yoffset=34 xadvance=30 page=0 chnl=15
char id=119 x=248 y=138 width=42 height=40 xoffset=0 yoffset=34 xadvance=46 page=0 chnl=15
char id=120 x=292 y=138 width=30 height=42 xoffset=2 yoffset=32 xadvance=32 page=0 chnl=15
char id=121 x=324 y=138 width=28 height=52 xoffset=0 yoffset=34 xadvance=32 page=0 chnl=15
char id=122 x=354 y=138 width=26 height=42 xoffset=0 yoffset=32 xadvance=26 page=0 chnl=15
char id=123 x=382 y=138 width=18 height=56 xoffset=-2 yoffset=20 xadvance=16 page=0 chnl=15
char id=124 x=402 y=138 width=6 height=66 xoffset=4 yoffset=20 xadvance=12 page=0 chnl=15
char id=125 x=410 y=138 width=16 height=58 xoffset=0 yoffset=18 xadvance=16 page=0 chnl=15
char id=126 x=428 y=138 width=22 height=8 xoffset=2 yoffset=20 xadvance=26 page=0 chnl=15
char id=196 x=452 y=138 width=30 height=70 xoffset=0 yoffset=6 xadvance=32 page=0 chnl=15
char id=214 x=484 y=138 width=24 height=68 xoffset=4 yoffset=6 xadvance=32 page=0 chnl=15
char id=220 x=510 y=138 width=30 height=68 xoffset=0 yoffset=6 xadvance=30 page=0 chnl=15
char id=228 x=542 y=138 width=28 height=56 xoffset=2 yoffset=18 xadvance=30 page=0 chnl=15
char id=246 x=572 y=138 width=24 height=56 xoffset=4 yoffset=18 xadvance=32 page=0 chnl=15
char id=252 x=598 y=138 width=30 height=56 xoffset=0 yoffset=18 xadvance=30 page=0 chnl=15
char id=223 x=630 y=138 width=26 height=68 xoffset=0 yoffset=18 xadvance=30 page=0 chnl=15
char id=8222 x=658 y=138 width=18 height=14 xoffset=4 yoffset=60 xadvance=24 page=0 chnl=15
char id=8220 x=678 y=138 width=18 height=16 xoffset=2 yoffset=18 xadvance=24 page=0 chnl=15
char id=8221 x=698 y=138 width=18 height=16 xoffset=4 yoffset=18 xadvance=24 page=0 chnl=15
char id=8218 x=718 y=138 width=6 height=14 xoffset=4 yoffset=60 xadvance=12 page=0 chnl=15
char id=8216 x=726 y=138 width=6 height=16 xoffset=2 yoffset=18 xadvance=12 page=0 chnl=15
char id=8217 x=734 y=138 width=6 height=16 xoffset=4 yoffset=18 xadvance=12 page=0 chnl=15
char id=8211 x=742 y=138 width=24 height=6 xoffset=2 yoffset=50 xadvance=28 page=0 chnl=15
char id=8212 x=768 y=138 width=38 height=6 xoffset=2 yoffset=50 xadvance=44 page=0 chnl=15
char id=8230 x=808 y=138 width=40 height=12 xoffset=4 yoffset=62 xadvance=48 page=0 chnl=15
char id=183 x=850 y=138 width=8 height=12 xoffset=4 yoffset=48 xadvance=16 page=0 chnl=15
char id=176 x=860 y=138 width=16 height=18 xoffset=4 yoffset=18 xadvance=22 page=0 chnl=15
char id=8364 x=878 y=138 width=28 height=56 xoffset=0 yoffset=18 xadvance=28 page=0 chnl=15
char id=171 x=908 y=138 width=38 height=24 xoffset=2 yoffset=42 xadvance=44 page=0 chnl=15
char id=187 x=948 y=138 width=38 height=24 xoffset=4 yoffset=42 xadvance=44 page=0 chnl=15

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

View file

@ -0,0 +1,120 @@
info face="pressstart2p_24" size=24 bold=0 italic=0 charset="" unicode=1 stretchH=100 smooth=0 aa=1 padding=0,0,0,0 spacing=0,0 outline=0
common lineHeight=36 base=24 scaleW=512 scaleH=112 pages=1 packed=0 alphaChnl=0 redChnl=4 greenChnl=4 blueChnl=4
page id=0 file="pressstart2p_24_atlas.png"
chars count=116
char id=32 x=0 y=0 width=0 height=0 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
char id=33 x=1 y=0 width=9 height=21 xoffset=6 yoffset=0 xadvance=24 page=0 chnl=15
char id=34 x=11 y=0 width=15 height=9 xoffset=3 yoffset=0 xadvance=24 page=0 chnl=15
char id=35 x=27 y=0 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
char id=36 x=49 y=0 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
char id=37 x=71 y=0 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
char id=38 x=93 y=0 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
char id=39 x=115 y=0 width=6 height=9 xoffset=6 yoffset=0 xadvance=24 page=0 chnl=15
char id=40 x=122 y=0 width=12 height=21 xoffset=6 yoffset=0 xadvance=24 page=0 chnl=15
char id=41 x=135 y=0 width=12 height=21 xoffset=3 yoffset=0 xadvance=24 page=0 chnl=15
char id=42 x=148 y=0 width=21 height=15 xoffset=0 yoffset=3 xadvance=24 page=0 chnl=15
char id=43 x=170 y=0 width=18 height=15 xoffset=3 yoffset=3 xadvance=24 page=0 chnl=15
char id=44 x=189 y=0 width=9 height=9 xoffset=3 yoffset=15 xadvance=24 page=0 chnl=15
char id=45 x=199 y=0 width=18 height=3 xoffset=3 yoffset=9 xadvance=24 page=0 chnl=15
char id=46 x=218 y=0 width=6 height=6 xoffset=6 yoffset=15 xadvance=24 page=0 chnl=15
char id=47 x=225 y=0 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
char id=48 x=247 y=0 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
char id=49 x=269 y=0 width=18 height=21 xoffset=3 yoffset=0 xadvance=24 page=0 chnl=15
char id=50 x=288 y=0 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
char id=51 x=310 y=0 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
char id=52 x=332 y=0 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
char id=53 x=354 y=0 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
char id=54 x=376 y=0 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
char id=55 x=398 y=0 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
char id=56 x=420 y=0 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
char id=57 x=442 y=0 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
char id=58 x=464 y=0 width=6 height=15 xoffset=6 yoffset=3 xadvance=24 page=0 chnl=15
char id=59 x=471 y=0 width=9 height=18 xoffset=3 yoffset=3 xadvance=24 page=0 chnl=15
char id=60 x=481 y=0 width=15 height=21 xoffset=3 yoffset=0 xadvance=24 page=0 chnl=15
char id=61 x=0 y=22 width=21 height=9 xoffset=0 yoffset=6 xadvance=24 page=0 chnl=15
char id=62 x=22 y=22 width=15 height=21 xoffset=3 yoffset=0 xadvance=24 page=0 chnl=15
char id=63 x=38 y=22 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
char id=64 x=60 y=22 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
char id=65 x=82 y=22 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
char id=66 x=104 y=22 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
char id=67 x=126 y=22 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
char id=68 x=148 y=22 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
char id=69 x=170 y=22 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
char id=70 x=192 y=22 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
char id=71 x=214 y=22 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
char id=72 x=236 y=22 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
char id=73 x=258 y=22 width=18 height=21 xoffset=3 yoffset=0 xadvance=24 page=0 chnl=15
char id=74 x=277 y=22 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
char id=75 x=299 y=22 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
char id=76 x=321 y=22 width=18 height=21 xoffset=3 yoffset=0 xadvance=24 page=0 chnl=15
char id=77 x=340 y=22 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
char id=78 x=362 y=22 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
char id=79 x=384 y=22 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
char id=80 x=406 y=22 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
char id=81 x=428 y=22 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
char id=82 x=450 y=22 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
char id=83 x=472 y=22 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
char id=84 x=494 y=22 width=18 height=21 xoffset=3 yoffset=0 xadvance=24 page=0 chnl=15
char id=85 x=0 y=44 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
char id=86 x=22 y=44 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
char id=87 x=44 y=44 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
char id=88 x=66 y=44 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
char id=89 x=88 y=44 width=18 height=21 xoffset=3 yoffset=0 xadvance=24 page=0 chnl=15
char id=90 x=107 y=44 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
char id=91 x=129 y=44 width=12 height=21 xoffset=6 yoffset=0 xadvance=24 page=0 chnl=15
char id=92 x=142 y=44 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
char id=93 x=164 y=44 width=12 height=21 xoffset=3 yoffset=0 xadvance=24 page=0 chnl=15
char id=94 x=177 y=44 width=15 height=6 xoffset=3 yoffset=0 xadvance=24 page=0 chnl=15
char id=95 x=193 y=44 width=21 height=3 xoffset=0 yoffset=21 xadvance=24 page=0 chnl=15
char id=96 x=215 y=44 width=6 height=6 xoffset=9 yoffset=0 xadvance=24 page=0 chnl=15
char id=97 x=222 y=44 width=21 height=15 xoffset=0 yoffset=6 xadvance=24 page=0 chnl=15
char id=98 x=244 y=44 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
char id=99 x=266 y=44 width=21 height=15 xoffset=0 yoffset=6 xadvance=24 page=0 chnl=15
char id=100 x=288 y=44 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
char id=101 x=310 y=44 width=21 height=15 xoffset=0 yoffset=6 xadvance=24 page=0 chnl=15
char id=102 x=332 y=44 width=18 height=21 xoffset=3 yoffset=0 xadvance=24 page=0 chnl=15
char id=103 x=351 y=44 width=21 height=18 xoffset=0 yoffset=6 xadvance=24 page=0 chnl=15
char id=104 x=373 y=44 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
char id=105 x=395 y=44 width=18 height=21 xoffset=3 yoffset=0 xadvance=24 page=0 chnl=15
char id=106 x=414 y=44 width=15 height=24 xoffset=3 yoffset=0 xadvance=24 page=0 chnl=15
char id=107 x=430 y=44 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
char id=108 x=452 y=44 width=18 height=21 xoffset=3 yoffset=0 xadvance=24 page=0 chnl=15
char id=109 x=471 y=44 width=21 height=15 xoffset=0 yoffset=6 xadvance=24 page=0 chnl=15
char id=110 x=0 y=69 width=21 height=15 xoffset=0 yoffset=6 xadvance=24 page=0 chnl=15
char id=111 x=22 y=69 width=21 height=15 xoffset=0 yoffset=6 xadvance=24 page=0 chnl=15
char id=112 x=44 y=69 width=21 height=18 xoffset=0 yoffset=6 xadvance=24 page=0 chnl=15
char id=113 x=66 y=69 width=21 height=18 xoffset=0 yoffset=6 xadvance=24 page=0 chnl=15
char id=114 x=88 y=69 width=18 height=15 xoffset=3 yoffset=6 xadvance=24 page=0 chnl=15
char id=115 x=107 y=69 width=21 height=15 xoffset=0 yoffset=6 xadvance=24 page=0 chnl=15
char id=116 x=129 y=69 width=18 height=21 xoffset=3 yoffset=0 xadvance=24 page=0 chnl=15
char id=117 x=148 y=69 width=21 height=15 xoffset=0 yoffset=6 xadvance=24 page=0 chnl=15
char id=118 x=170 y=69 width=18 height=15 xoffset=3 yoffset=6 xadvance=24 page=0 chnl=15
char id=119 x=189 y=69 width=21 height=15 xoffset=0 yoffset=6 xadvance=24 page=0 chnl=15
char id=120 x=211 y=69 width=21 height=15 xoffset=0 yoffset=6 xadvance=24 page=0 chnl=15
char id=121 x=233 y=69 width=21 height=18 xoffset=0 yoffset=6 xadvance=24 page=0 chnl=15
char id=122 x=255 y=69 width=21 height=15 xoffset=0 yoffset=6 xadvance=24 page=0 chnl=15
char id=123 x=277 y=69 width=12 height=21 xoffset=6 yoffset=0 xadvance=24 page=0 chnl=15
char id=124 x=290 y=69 width=6 height=21 xoffset=9 yoffset=0 xadvance=24 page=0 chnl=15
char id=125 x=297 y=69 width=12 height=21 xoffset=3 yoffset=0 xadvance=24 page=0 chnl=15
char id=126 x=310 y=69 width=21 height=9 xoffset=0 yoffset=6 xadvance=24 page=0 chnl=15
char id=196 x=332 y=69 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
char id=214 x=354 y=69 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
char id=220 x=376 y=69 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
char id=228 x=398 y=69 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
char id=246 x=420 y=69 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
char id=252 x=442 y=69 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
char id=223 x=464 y=69 width=18 height=21 xoffset=3 yoffset=0 xadvance=24 page=0 chnl=15
char id=8222 x=483 y=69 width=18 height=9 xoffset=0 yoffset=12 xadvance=24 page=0 chnl=15
char id=8220 x=0 y=91 width=18 height=9 xoffset=3 yoffset=0 xadvance=24 page=0 chnl=15
char id=8221 x=19 y=91 width=18 height=9 xoffset=3 yoffset=0 xadvance=24 page=0 chnl=15
char id=8218 x=38 y=91 width=9 height=9 xoffset=6 yoffset=12 xadvance=24 page=0 chnl=15
char id=8216 x=48 y=91 width=9 height=9 xoffset=6 yoffset=0 xadvance=24 page=0 chnl=15
char id=8217 x=58 y=91 width=9 height=9 xoffset=6 yoffset=0 xadvance=24 page=0 chnl=15
char id=8211 x=68 y=91 width=21 height=3 xoffset=0 yoffset=9 xadvance=24 page=0 chnl=15
char id=8212 x=90 y=91 width=24 height=3 xoffset=0 yoffset=9 xadvance=24 page=0 chnl=15
char id=8230 x=115 y=91 width=21 height=6 xoffset=0 yoffset=15 xadvance=24 page=0 chnl=15
char id=183 x=137 y=91 width=6 height=6 xoffset=6 yoffset=9 xadvance=24 page=0 chnl=15
char id=176 x=144 y=91 width=9 height=9 xoffset=6 yoffset=0 xadvance=24 page=0 chnl=15
char id=8364 x=154 y=91 width=21 height=21 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15
char id=171 x=176 y=91 width=21 height=15 xoffset=0 yoffset=3 xadvance=24 page=0 chnl=15
char id=187 x=198 y=91 width=21 height=15 xoffset=0 yoffset=3 xadvance=24 page=0 chnl=15

View file

@ -0,0 +1,120 @@
info face="pressstart2p_24" size=48 bold=0 italic=0 charset="" unicode=1 stretchH=100 smooth=0 aa=1 padding=0,0,0,0 spacing=0,0 outline=0
common lineHeight=72 base=48 scaleW=1024 scaleH=224 pages=1 packed=0 alphaChnl=0 redChnl=4 greenChnl=4 blueChnl=4
page id=0 file="pressstart2p_24_atlas_2x.png"
chars count=116
char id=32 x=0 y=0 width=0 height=0 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
char id=33 x=2 y=0 width=18 height=42 xoffset=12 yoffset=0 xadvance=48 page=0 chnl=15
char id=34 x=22 y=0 width=30 height=18 xoffset=6 yoffset=0 xadvance=48 page=0 chnl=15
char id=35 x=54 y=0 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
char id=36 x=98 y=0 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
char id=37 x=142 y=0 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
char id=38 x=186 y=0 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
char id=39 x=230 y=0 width=12 height=18 xoffset=12 yoffset=0 xadvance=48 page=0 chnl=15
char id=40 x=244 y=0 width=24 height=42 xoffset=12 yoffset=0 xadvance=48 page=0 chnl=15
char id=41 x=270 y=0 width=24 height=42 xoffset=6 yoffset=0 xadvance=48 page=0 chnl=15
char id=42 x=296 y=0 width=42 height=30 xoffset=0 yoffset=6 xadvance=48 page=0 chnl=15
char id=43 x=340 y=0 width=36 height=30 xoffset=6 yoffset=6 xadvance=48 page=0 chnl=15
char id=44 x=378 y=0 width=18 height=18 xoffset=6 yoffset=30 xadvance=48 page=0 chnl=15
char id=45 x=398 y=0 width=36 height=6 xoffset=6 yoffset=18 xadvance=48 page=0 chnl=15
char id=46 x=436 y=0 width=12 height=12 xoffset=12 yoffset=30 xadvance=48 page=0 chnl=15
char id=47 x=450 y=0 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
char id=48 x=494 y=0 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
char id=49 x=538 y=0 width=36 height=42 xoffset=6 yoffset=0 xadvance=48 page=0 chnl=15
char id=50 x=576 y=0 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
char id=51 x=620 y=0 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
char id=52 x=664 y=0 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
char id=53 x=708 y=0 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
char id=54 x=752 y=0 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
char id=55 x=796 y=0 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
char id=56 x=840 y=0 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
char id=57 x=884 y=0 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
char id=58 x=928 y=0 width=12 height=30 xoffset=12 yoffset=6 xadvance=48 page=0 chnl=15
char id=59 x=942 y=0 width=18 height=36 xoffset=6 yoffset=6 xadvance=48 page=0 chnl=15
char id=60 x=962 y=0 width=30 height=42 xoffset=6 yoffset=0 xadvance=48 page=0 chnl=15
char id=61 x=0 y=44 width=42 height=18 xoffset=0 yoffset=12 xadvance=48 page=0 chnl=15
char id=62 x=44 y=44 width=30 height=42 xoffset=6 yoffset=0 xadvance=48 page=0 chnl=15
char id=63 x=76 y=44 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
char id=64 x=120 y=44 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
char id=65 x=164 y=44 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
char id=66 x=208 y=44 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
char id=67 x=252 y=44 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
char id=68 x=296 y=44 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
char id=69 x=340 y=44 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
char id=70 x=384 y=44 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
char id=71 x=428 y=44 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
char id=72 x=472 y=44 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
char id=73 x=516 y=44 width=36 height=42 xoffset=6 yoffset=0 xadvance=48 page=0 chnl=15
char id=74 x=554 y=44 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
char id=75 x=598 y=44 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
char id=76 x=642 y=44 width=36 height=42 xoffset=6 yoffset=0 xadvance=48 page=0 chnl=15
char id=77 x=680 y=44 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
char id=78 x=724 y=44 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
char id=79 x=768 y=44 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
char id=80 x=812 y=44 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
char id=81 x=856 y=44 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
char id=82 x=900 y=44 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
char id=83 x=944 y=44 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
char id=84 x=988 y=44 width=36 height=42 xoffset=6 yoffset=0 xadvance=48 page=0 chnl=15
char id=85 x=0 y=88 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
char id=86 x=44 y=88 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
char id=87 x=88 y=88 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
char id=88 x=132 y=88 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
char id=89 x=176 y=88 width=36 height=42 xoffset=6 yoffset=0 xadvance=48 page=0 chnl=15
char id=90 x=214 y=88 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
char id=91 x=258 y=88 width=24 height=42 xoffset=12 yoffset=0 xadvance=48 page=0 chnl=15
char id=92 x=284 y=88 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
char id=93 x=328 y=88 width=24 height=42 xoffset=6 yoffset=0 xadvance=48 page=0 chnl=15
char id=94 x=354 y=88 width=30 height=12 xoffset=6 yoffset=0 xadvance=48 page=0 chnl=15
char id=95 x=386 y=88 width=42 height=6 xoffset=0 yoffset=42 xadvance=48 page=0 chnl=15
char id=96 x=430 y=88 width=12 height=12 xoffset=18 yoffset=0 xadvance=48 page=0 chnl=15
char id=97 x=444 y=88 width=42 height=30 xoffset=0 yoffset=12 xadvance=48 page=0 chnl=15
char id=98 x=488 y=88 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
char id=99 x=532 y=88 width=42 height=30 xoffset=0 yoffset=12 xadvance=48 page=0 chnl=15
char id=100 x=576 y=88 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
char id=101 x=620 y=88 width=42 height=30 xoffset=0 yoffset=12 xadvance=48 page=0 chnl=15
char id=102 x=664 y=88 width=36 height=42 xoffset=6 yoffset=0 xadvance=48 page=0 chnl=15
char id=103 x=702 y=88 width=42 height=36 xoffset=0 yoffset=12 xadvance=48 page=0 chnl=15
char id=104 x=746 y=88 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
char id=105 x=790 y=88 width=36 height=42 xoffset=6 yoffset=0 xadvance=48 page=0 chnl=15
char id=106 x=828 y=88 width=30 height=48 xoffset=6 yoffset=0 xadvance=48 page=0 chnl=15
char id=107 x=860 y=88 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
char id=108 x=904 y=88 width=36 height=42 xoffset=6 yoffset=0 xadvance=48 page=0 chnl=15
char id=109 x=942 y=88 width=42 height=30 xoffset=0 yoffset=12 xadvance=48 page=0 chnl=15
char id=110 x=0 y=138 width=42 height=30 xoffset=0 yoffset=12 xadvance=48 page=0 chnl=15
char id=111 x=44 y=138 width=42 height=30 xoffset=0 yoffset=12 xadvance=48 page=0 chnl=15
char id=112 x=88 y=138 width=42 height=36 xoffset=0 yoffset=12 xadvance=48 page=0 chnl=15
char id=113 x=132 y=138 width=42 height=36 xoffset=0 yoffset=12 xadvance=48 page=0 chnl=15
char id=114 x=176 y=138 width=36 height=30 xoffset=6 yoffset=12 xadvance=48 page=0 chnl=15
char id=115 x=214 y=138 width=42 height=30 xoffset=0 yoffset=12 xadvance=48 page=0 chnl=15
char id=116 x=258 y=138 width=36 height=42 xoffset=6 yoffset=0 xadvance=48 page=0 chnl=15
char id=117 x=296 y=138 width=42 height=30 xoffset=0 yoffset=12 xadvance=48 page=0 chnl=15
char id=118 x=340 y=138 width=36 height=30 xoffset=6 yoffset=12 xadvance=48 page=0 chnl=15
char id=119 x=378 y=138 width=42 height=30 xoffset=0 yoffset=12 xadvance=48 page=0 chnl=15
char id=120 x=422 y=138 width=42 height=30 xoffset=0 yoffset=12 xadvance=48 page=0 chnl=15
char id=121 x=466 y=138 width=42 height=36 xoffset=0 yoffset=12 xadvance=48 page=0 chnl=15
char id=122 x=510 y=138 width=42 height=30 xoffset=0 yoffset=12 xadvance=48 page=0 chnl=15
char id=123 x=554 y=138 width=24 height=42 xoffset=12 yoffset=0 xadvance=48 page=0 chnl=15
char id=124 x=580 y=138 width=12 height=42 xoffset=18 yoffset=0 xadvance=48 page=0 chnl=15
char id=125 x=594 y=138 width=24 height=42 xoffset=6 yoffset=0 xadvance=48 page=0 chnl=15
char id=126 x=620 y=138 width=42 height=18 xoffset=0 yoffset=12 xadvance=48 page=0 chnl=15
char id=196 x=664 y=138 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
char id=214 x=708 y=138 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
char id=220 x=752 y=138 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
char id=228 x=796 y=138 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
char id=246 x=840 y=138 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
char id=252 x=884 y=138 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
char id=223 x=928 y=138 width=36 height=42 xoffset=6 yoffset=0 xadvance=48 page=0 chnl=15
char id=8222 x=966 y=138 width=36 height=18 xoffset=0 yoffset=24 xadvance=48 page=0 chnl=15
char id=8220 x=0 y=182 width=36 height=18 xoffset=6 yoffset=0 xadvance=48 page=0 chnl=15
char id=8221 x=38 y=182 width=36 height=18 xoffset=6 yoffset=0 xadvance=48 page=0 chnl=15
char id=8218 x=76 y=182 width=18 height=18 xoffset=12 yoffset=24 xadvance=48 page=0 chnl=15
char id=8216 x=96 y=182 width=18 height=18 xoffset=12 yoffset=0 xadvance=48 page=0 chnl=15
char id=8217 x=116 y=182 width=18 height=18 xoffset=12 yoffset=0 xadvance=48 page=0 chnl=15
char id=8211 x=136 y=182 width=42 height=6 xoffset=0 yoffset=18 xadvance=48 page=0 chnl=15
char id=8212 x=180 y=182 width=48 height=6 xoffset=0 yoffset=18 xadvance=48 page=0 chnl=15
char id=8230 x=230 y=182 width=42 height=12 xoffset=0 yoffset=30 xadvance=48 page=0 chnl=15
char id=183 x=274 y=182 width=12 height=12 xoffset=12 yoffset=18 xadvance=48 page=0 chnl=15
char id=176 x=288 y=182 width=18 height=18 xoffset=12 yoffset=0 xadvance=48 page=0 chnl=15
char id=8364 x=308 y=182 width=42 height=42 xoffset=0 yoffset=0 xadvance=48 page=0 chnl=15
char id=171 x=352 y=182 width=42 height=30 xoffset=0 yoffset=6 xadvance=48 page=0 chnl=15
char id=187 x=396 y=182 width=42 height=30 xoffset=0 yoffset=6 xadvance=48 page=0 chnl=15

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

View file

@ -0,0 +1,93 @@
Copyright (c) 2012, Rodrigo Fuenzalida, Nicolas Massi (www.taip.com.ar / abc.taip.com.ar), with Reserved Font Name 'Pirata'
This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL
-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------
PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.
The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.
DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.
"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).
"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).
"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.
"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.
PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:
1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.
2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.
3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.
5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.
TERMINATION
This license becomes null and void if any of the above conditions are
not met.
DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.

View file

@ -0,0 +1,93 @@
Copyright 2012 The Press Start 2P Project Authors (cody@zone38.net), with Reserved Font Name "Press Start 2P".
This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL
-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------
PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.
The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.
DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.
"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).
"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).
"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.
"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.
PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:
1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.
2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.
3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.
5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.
TERMINATION
This license becomes null and void if any of the above conditions are
not met.
DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.

Binary file not shown.

Binary file not shown.

View file

@ -0,0 +1,36 @@
# Lizenz — hier liegt nichts ohne `OFL.txt`
Beide Schriften stehen unter der **SIL Open Font License 1.1**. Kommerzielle
Nutzung ist erlaubt; die Lizenz verlangt aber, dass Copyright-Zeile und
Lizenztext **mit der Schrift ausgeliefert** werden. Wer das Spiel verkauft,
muss also `OFL-pressstart2p.txt` und `OFL-pirataone.txt` in die Auslieferung
packen — nicht nur ins Repo.
| Datei | Schrift | Lizenz | Copyright-Zeile |
|---|---|---|---|
| `PressStart2P-Regular.ttf` | Press Start 2P | [`OFL-pressstart2p.txt`](OFL-pressstart2p.txt) | The Press Start 2P Project Authors, **Reserved Font Name „Press Start 2P"** |
| `PirataOne-Regular.ttf` | Pirata One | [`OFL-pirataone.txt`](OFL-pirataone.txt) | Rodrigo Fuenzalida, Nicolas Massi, **Reserved Font Name „Pirata"** |
## Was die Lizenz verlangt
1. **Lizenztext mitliefern.** Copyright-Zeile und `OFL.txt` gehören in das
Paket, das beim Spieler landet (z. B. `licenses/` im Spielordner oder eine
`THIRD_PARTY_NOTICES.txt`, die auf die Dateien verweist).
2. **Die Schrift nicht einzeln verkaufen.** Das Spiel darf Geld kosten, die
Schriften selbst nicht.
3. **Reserved Font Name beachten.** Unverändert benutzt ist alles in Ordnung.
Wer Glyphen ändert (Zeichen ergänzen, Formen anpassen), muss die Fassung
**umbenennen** — „Press Start 2P" und „Pirata" dürfen dann nicht mehr im
Namen stehen, auch nicht als Teil davon.
## Gilt auch nach dem Rastern
Ein BMFont-Atlas oder eine in Pixel gerasterte Fassung ist eine **Ableitung**
der Schrift — die OFL gilt dafür weiter. Wer den BMFont-Export benutzt, liefert
also ebenfalls `OFL-*.txt` mit aus.
## Warum dazu keine Zeile im Lizenzlog steht
`license-log.csv` protokolliert **Generierungen** (Prompt, Modell, Seed,
Preis). Hier wurde nichts generiert, sondern fremde Schrift eingebunden —
der Nachweis ist die Lizenzdatei selbst, nicht eine Log-Zeile.

150
art/prep/font24/README.md Normal file
View file

@ -0,0 +1,150 @@
# Schrift bei 3× — drei Versuche, und was sie bedeuten
Stand: 15.11.2026 · 0 € (kein Modell: Skalierung aus `font8` und vier freie TTFs)
**Frage:** Der 3×-Mock zeigt den Dialog als 1×-Schrift, dreifach hochgezogen —
„die 8×10-Buchstaben werden zu Balken". Lässt sich daraus per Skalierung ein
tragfähiger 24×30-Satz machen?
| Datei | Was |
|---|---|
| [`_wege.png`](_wege.png) | dieselbe Zeile: heute (3× hochgezogen), 2×-Weg, font24 |
| [`_probe.png`](_probe.png) | font24 in voller Länge: Probetext, Alphabet, Umlaute, Satzzeichen |
| [`_dicker.png`](_dicker.png) | font24 roh, aufgedickt, gegen font8 3× |
| [`_vergleich_schriften.png`](_vergleich_schriften.png) | alle Kandidaten der ersten Runde im Dialog, 1:1 |
| [`_fliessText.png`](_fliessText.png) | **Fließtext-Kandidaten**, drei Zeilen inkl. Umlauten, 1:1 |
| [`_titel.png`](_titel.png) | **Titel (64 px) und Namensschild (28 px)** je Schrift |
| [`_fremde.png`](_fremde.png) | vier freie Pixelschriften bei 1:1, dieselbe Zeile |
| [`_umlaute.png`](_umlaute.png) | Umlaute, ß und Satzzeichen in den Kandidaten |
Werkzeug: [`../../tools/font24.py`](../../tools/font24.py) — leitet die Glyphen
aus `font8` ab (dreifach gesetzt) und rundet die Ecken (`_chamfer`).
## Ergebnis: Skalieren reicht nicht — und warum
| Variante | Befund |
|---|---|
| **8×10 dreifach gesetzt** (= heute bei 1080p) | 3-px-Blöcke, jede Ecke ein Treppenabsatz aus drei Pixeln. Liest sich als Zoom. |
| **+ Eckenrundung um 1 px** | sieht *schlechter* aus als der reine Hochzug: bei 3 px Stamm ist 1 px Eckenrundung ein Drittel des Strichs. Die Stammenden brechen aus (siehe `V`, `z`, `h` in `_wege.png` unten). |
| **+ Aufdicken auf 5 px** vor der Rundung | deutlich besser, aber die Buchstaben berühren sich (`n`/`d`), weil der Vorschub 24 px bleibt. |
**Die Zahl dahinter:** `font8` hat 3 px Stamm bei 24 px Zelle, also 1:8. Ein
gezeichneter 24-px-Pixelsatz arbeitet bei 5–6 px Stamm mit 21 px Vorschub —
also 1:4 und enger gesetzt. Das ist keine Skalierung, das ist eine andere
Schrift. Und der Vorschub ändert das Layout: bei 21 px passen 55 Zeichen in
den 1170-px-Dialog statt 47.
## Die drei Wege, mit Preis
| Weg | Schrift | Aufwand | Konsequenz |
|---|---|---|---|
| **Basis 640×360 bleiben** | 8×10, wie heute | 0 | Kein Umstieg. Bei 1080p sieht der Text so aus wie oben, Zeile 1. |
| **Basis 1280×720 (Kachel 64)** | 16×20, doppelt | ~0: `font8` mit `scale=2` in eine Zelle zeichnen | alles exakt ×2, Detail ×4 Fläche. Bei 1080p Anzeige aber 1,5× — unsauber |
| **Basis 1920×1080 (Kachel 96)** | **24×30, gezeichnet** | 1–2 Tage: 93 Zeichen auf 15×21 mit 5-px-Stamm, Vorschub 21 | exakt bei 1080p und 4K |
Der 2×-Weg ist der billigste Kompromiss: er verdoppelt alles ohne neue Schrift.
Der 3×-Weg ist der einzige, der bei 1080p nativ sitzt — verlangt aber eine
wirkliche Neukonstruktion der Schrift, nicht ihre Vergrößerung.
## Was `font24.py` taugt
Es läuft, deckt dieselben 93 Zeichen wie `font8` und hält die Maße (24×30,
Vorschub 24, Zeile 36), sodass das 1×-Dialoglayout unverändert bleibt. Als
**freigegebener Satz ist es nicht geeignet** — dafür braucht es die
Neukonstruktion oben. Es bleibt als Zwischenstand und als Beweis, dass der
Weg über Skalierung nicht trägt.
## Nebenbefund an `font8`
`font8.draw_text(..., scale=2)` skaliert **auch die Zielkoordinaten**
(`px * scale`). Ein Aufruf mit `x=12` landet bei 24, und alles außerhalb der
kleinen Zwischenleinwand fällt weg. Für skalierten Text muss man bei `(0, 0)`
in eine eigene Leinwand zeichnen und diese dann vergrößern.
## Fremde Schrift — der bessere Weg (15.11.2026)
Statt eine 24×30-Schrift zu zeichnen: eine **bei 24 px gezeichnete** nehmen.
Vier freie Kandidaten bei 1:1 gemessen (`_fremde.png`, `_umlaute.png`):
| Schrift | Lizenz | Größe | Vorschub | capH | Zeichen je 1104 px | Urteil |
|---|---|---|---|---|---|---|
| **Press Start 2P** | OFL 1.1 | 24 px | 24 | 24 | 46 | **passt exakt ins heutige Layout** (heute 46), Umlaute und ß vorhanden |
| Jersey 25 | OFL 1.1 | 25 px / 50 px | 17 / 34 | 16 / 30 | 65 / 32 | fein und literarisch, für Fließtext zu klein, bei 50 px gut für Titel |
| DotGothic16 | OFL 1.1 | 32 px | 16 | 26 | 69 | sehr gut lesbar, aber japanische Dot-Matrix-Anmutung |
| Silkscreen | OFL 1.1 | 24/32 px | 21/28 | 15/20 | 53/39 | **nur Versalien** — für deutsche Sätze unbrauchbar |
**Press Start 2P bei 24 px** ist die Empfehlung: Vorschub und Zeichenzahl
stimmen mit dem heutigen Satz überein, das Dialoglayout bleibt also
unverändert, und die Buchstaben sind gezeichnet statt skaliert.
Werkzeug: [`../../tools/font_ttf.py`](../../tools/font_ttf.py) — rastert eine
TTF/OTF bei ihrer Designgröße, Schwelle bei 50 %, mit dem Versatz jedes
Zeichens zur Grundlinie (sonst sitzen Komma und Unterlängen falsch). Der
3×-Mock in [`../map-mock-3x/`](../map-mock-3x/) zeichnet seinen Dialog damit.
Zwei Regeln:
1. **Nur auf der Designgröße rastern** (8 → 24/32/40, 25 → 25/50). Krumme
Größen fächern die Pixel auf.
2. **Lizenz mitliefern.** OFL 1.1 erlaubt kommerzielle Nutzung; bei
unverändertem Einsatz muss nur die `OFL.txt` beiliegen. „Press Start 2P"
ist ein *Reserved Font Name* — eine umgebaute Fassung dürfte nicht so
heißen. Die Lizenztexte liegen in `ttf/`.
Der BMFont-Export ist gebaut: [`../../tools/font_ttf_export.py`](../../tools/font_ttf_export.py)
schreibt Atlas + `.fnt` aus der TTF (1× und 2×) und prüft ohne Godot, indem es
alle 116 Zeichen aus den Metriken setzt und mit `draw_text` vergleicht.
Dateien in [`../../final/Font/`](../../final/Font/), Belegbilder hier als
`_bmfont_probe_pressstart2p_24.png` und `_bmfont_probe_pirataone_36.png`.
## Weitere Kandidaten, nach Aufgabe getrennt (15.11.2026)
Die erste Runde hat zwei Aufgaben in einen Topf geworfen. Ein Fantasy-RPG
braucht meist **zwei** Schriften: eine für den Fließtext und eine für Titel,
Kapitelmarken und Namensschilder.
### Fließtext — `_fliessText.png`
| Schrift | Größe | Vorschub | Zeichen je Zeile | Charakter |
|---|---|---|---|---|
| **Press Start 2P** | 24 | 24 | **46** | fett, arcadig, Layout bleibt 1:1 |
| Jacquard 24 (Pixel-Blackletter) | 32 | 22 | 50 | fantasy, aber für lange Sätze anstrengend |
| Jacquard 12 | 32 | 23 | 48 | feiner, gleiches Problem |
| Pixelify Sans | 32 | 25 | 44 | freundlich, „Game Jam", Wörter kleben |
| Handjet | 32 | 17 | 65 | variabel — Standardachse ist zu dünn, `wght` muss gesetzt werden |
| **DotGothic16** | 32 | 16 | 69 | klar, sachlich, mehr Text pro Box |
| VT323 | 40 | 16 | 69 | VGA-Terminal, Roguelike-Anklang |
### Titel und Namensschild — `_titel.png`
| Schrift | Titel 64 px | Schild 28 px | Urteil |
|---|---|---|---|
| Jacquard 24 | sehr gut | **unleserlich** | Titelschrift, nicht für Schilder |
| Jacquard 12 | sehr gut | unleserlich | dito |
| **Pirata One** | gut (nicht pixelig) | lesbar | Blackletter, der auch klein trägt |
| Grenze Gotisch | gut | lesbar | Fraktur-Anklang, ruhiger |
| Grenze | gut | lesbar | Serif, am wenigsten „Fantasy" |
**Entschieden am 15.11.2026:** Fließtext/UI **Press Start 2P @24**, Titel und
Namensschild **Pirata One @36**. Umgesetzt in
[`../../final/Font/ttf/`](../../final/Font/ttf/) und im 3×-Mock. Pirata One
trägt bis 28 px, darunter wird die Blackletter unleserlich — deshalb 36 px im
Namensschild.
**Empfohlene Paarung (zur Nachvollziehbarkeit):** Fließtext **DotGothic16 @32** (69 Zeichen, sachlich,
viel Story pro Box) oder **Press Start 2P @24** (Layout bleibt, arcadig) —
und Titel/Namensschild **Jacquard 24 @64**. Jacquard bei 28 px auf einem
Namensschild ist der Beleg dafür, dass eine Titelschrift nicht automatisch
eine UI-Schrift ist; dort trägt Pirata One.
## Offen
- ~~Neukonstruktion 24×30~~ → nicht nötig, Press Start 2P bei 24 px erfüllt es.
- ~~BMFont-Export aus `font_ttf`~~ → erledigt (`tools/font_ttf_export.py`).
- Der Zeichensatz der beiden BMFonts (116) ist größer als der von `font8`
(93); wer Text zwischen 1× und 3× tauscht, sollte sich nicht auf `—` oder
`„` verlassen, solange `font8` sie nicht hat.
- `font_export.py` (BMFont) liest `font8`; ein 24×30-Export braucht denselben
Weg mit `font24` als Quelle, inklusive Atlas.
- Wenn der Vorschub auf 21 geht, müssen `docs/ui.md` und die Dialogbreite
nachgezogen werden (Zeichen pro Zeile 47 → 55).

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

BIN
art/prep/font24/_dicker.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

BIN
art/prep/font24/_fremde.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

BIN
art/prep/font24/_probe.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

BIN
art/prep/font24/_titel.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

BIN
art/prep/font24/_wege.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -0,0 +1,93 @@
Copyright 2020 The DotGothic16 Project Authors (https://github.com/fontworks-fonts/DotGothic16)
This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL
-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------
PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.
The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.
DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.
"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).
"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).
"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.
"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.
PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:
1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.
2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.
3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.
5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.
TERMINATION
This license becomes null and void if any of the above conditions are
not met.
DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.

View file

@ -0,0 +1,93 @@
Copyright 2019, The Grenze Project Authors (https://github.com/Omnibus-Type/Grenze)
This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
https://openfontlicense.org
-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------
PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.
The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.
DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.
"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).
"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).
"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.
"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.
PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:
1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.
2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.
3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.
5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.
TERMINATION
This license becomes null and void if any of the above conditions are
not met.
DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.

View file

@ -0,0 +1,93 @@
Copyright 2020 The Grenze Gotisch Project Authors (https://github.com/Omnibus-Type/Grenze-Gotisch)
This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL
-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------
PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.
The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.
DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.
"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).
"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).
"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.
"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.
PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:
1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.
2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.
3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.
5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.
TERMINATION
This license becomes null and void if any of the above conditions are
not met.
DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.

View file

@ -0,0 +1,93 @@
Copyright 2018 The Handjet Project Authors (https://github.com/rosettatype/Handjet/)
This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
https://scripts.sil.org/OFL
-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------
PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.
The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.
DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.
"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).
"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).
"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.
"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.
PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:
1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.
2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.
3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.
5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.
TERMINATION
This license becomes null and void if any of the above conditions are
not met.
DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.

View file

@ -0,0 +1,93 @@
Copyright 2023 The Soft Type Project Authors (https://github.com/scfried/soft-type-jacquard)
This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
https://openfontlicense.org
-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------
PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.
The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.
DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.
"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).
"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).
"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.
"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.
PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:
1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.
2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.
3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.
5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.
TERMINATION
This license becomes null and void if any of the above conditions are
not met.
DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.

View file

@ -0,0 +1,93 @@
Copyright 2023 The Soft Type Project Authors (https://github.com/scfried/soft-type-jacquard)
This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
https://openfontlicense.org
-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------
PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.
The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.
DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.
"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).
"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).
"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.
"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.
PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:
1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.
2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.
3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.
5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.
TERMINATION
This license becomes null and void if any of the above conditions are
not met.
DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.

View file

@ -0,0 +1,93 @@
Copyright 2023 The Soft Type Project Authors (https://github.com/scfried/soft-type-jersey)
This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
https://openfontlicense.org
-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------
PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.
The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.
DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.
"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).
"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).
"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.
"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.
PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:
1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.
2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.
3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.
5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.
TERMINATION
This license becomes null and void if any of the above conditions are
not met.
DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.

View file

@ -0,0 +1,93 @@
Copyright (c) 2012, Rodrigo Fuenzalida, Nicolas Massi (www.taip.com.ar / abc.taip.com.ar), with Reserved Font Name 'Pirata'
This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL
-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------
PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.
The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.
DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.
"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).
"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).
"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.
"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.
PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:
1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.
2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.
3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.
5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.
TERMINATION
This license becomes null and void if any of the above conditions are
not met.
DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.

View file

@ -0,0 +1,93 @@
Copyright 2021 The Pixelify Sans Project Authors (https://github.com/eifetx/Pixelify-Sans)
This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
https://scripts.sil.org/OFL
-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------
PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.
The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.
DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.
"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).
"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).
"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.
"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.
PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:
1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.
2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.
3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.
5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.
TERMINATION
This license becomes null and void if any of the above conditions are
not met.
DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.

View file

@ -0,0 +1,93 @@
Copyright 2012 The Press Start 2P Project Authors (cody@zone38.net), with Reserved Font Name "Press Start 2P".
This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL
-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------
PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.
The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.
DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.
"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).
"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).
"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.
"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.
PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:
1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.
2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.
3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.
5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.
TERMINATION
This license becomes null and void if any of the above conditions are
not met.
DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.

View file

@ -0,0 +1,93 @@
Copyright 2001 The Silkscreen Project Authors (https://github.com/googlefonts/silkscreen)
This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
https://scripts.sil.org/OFL
-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------
PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.
The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.
DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.
"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).
"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).
"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.
"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.
PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:
1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.
2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.
3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.
5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.
TERMINATION
This license becomes null and void if any of the above conditions are
not met.
DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.

View file

@ -0,0 +1,93 @@
Copyright 2011, The VT323 Project Authors (peter.hull@oikoi.com)
This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL
-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------
PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.
The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.
DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.
"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).
"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).
"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.
"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.
PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:
1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.
2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.
3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.
5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.
TERMINATION
This license becomes null and void if any of the above conditions are
not met.
DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

126
art/tools/font24.py Normal file
View file

@ -0,0 +1,126 @@
#!/usr/bin/env python3
"""24x30-Pixelsatz für die 3x-Basis (1920x1080) — abgeleitet aus `font8.py`.
Warum nicht einfach `font8.draw_text(..., scale=3)`: dann bekommt jeder
8x10-Punkt einen 3x3-Block, und jede Ecke ist ein Treppenabsatz aus drei
Pixeln. Das liest sich als Zoom, nicht als Schrift. Hier wird der
dreifach gesetzte Satz anschließend **an den Ecken um 1 px abgerundet**
(`_chamfer`) — 3-px-Stämme bleiben, die Ecken werden zu 1-px-Fasen. Das ist
der Unterschied zwischen „vergrößert" und „bei 24 px gezeichnet".
Maße sind exakt 3x von `font8`, damit das 1x-Layout des Dialogs erhalten
bleibt: Zelle 24x30, Vorschub 24, Zeile 36, links 3 px Rand.
from font24 import draw_text, text_width, wrap
Der Satz deckt dieselben 93 Zeichen wie `font8` (ASCII plus ÄÖÜäöüß).
"""
from __future__ import annotations
from PIL import Image, ImageDraw
import font8
S = 3
ADVANCE = font8.ADVANCE * S # 24
LINE = font8.LINE * S # 36
ROWS = font8.ROWS * S # 30
COLS = font8.ADVANCE * S # 24 (Zelle inkl. Rand, nicht Glyphenbreite)
RAND = S # linker Rand wie in font8 (1 px * 3)
def _roh(ch: str) -> list[list[bool]]:
"""Dreifach gesetztes Bitmap aus den 6x10-Glyphen."""
b = [[False] * COLS for _ in range(ROWS)]
for ry, row in enumerate(font8._rows(ch)):
for rx, c in enumerate(row):
if c == "#":
for dy in range(S):
for dx in range(S):
b[ry * S + dy][rx * S + dx + RAND] = True
return b
def _chamfer(b: list[list[bool]]) -> list[list[bool]]:
"""Ecken um 1 px abrunden: konvexe Ecken raus, konkave rein.
Ein Pixel fliegt nur, wenn beide orthogonalen Nachbarn gesetzt sind und
die Diagonale leer ist — Treppen von Diagonalen bleiben also stehen.
"""
h, w = len(b), len(b[0])
out = [row[:] for row in b]
for y in range(h):
for x in range(w):
up = y > 0 and b[y - 1][x]
dn = y < h - 1 and b[y + 1][x]
lf = x > 0 and b[y][x - 1]
rt = x < w - 1 and b[y][x + 1]
ul = y > 0 and x > 0 and b[y - 1][x - 1]
ur = y > 0 and x < w - 1 and b[y - 1][x + 1]
dl = y < h - 1 and x > 0 and b[y + 1][x - 1]
dr = y < h - 1 and x < w - 1 and b[y + 1][x + 1]
if b[y][x]:
if (up and lf and not ul) or (up and rt and not ur) or \
(dn and lf and not dl) or (dn and rt and not dr):
out[y][x] = False
else:
if (up and lf and ul) or (up and rt and ur) or \
(dn and lf and dl) or (dn and rt and dr):
out[y][x] = True
return out
_CACHE: dict[str, Image.Image] = {}
def glyph(ch: str) -> Image.Image:
"""Glyphe als 24x30-Maske (L-Modus, 255 = Pixel)."""
if ch not in _CACHE:
b = _chamfer(_roh(ch))
im = Image.new("L", (COLS, ROWS), 0)
px = im.load()
for y in range(ROWS):
for x in range(COLS):
if b[y][x]:
px[x, y] = 255
_CACHE[ch] = im
return _CACHE[ch]
def text_width(text: str) -> int:
return ADVANCE * len(text)
def draw_text(d, x: int, y: int, text: str, color) -> int:
"""Zeichnet Text bei 1:1 (24-px-Zellen); gibt die x-Position danach zurück.
`d` darf ein `ImageDraw` (wie bei `font8`) oder direkt ein `Image` sein.
"""
ziel = d if isinstance(d, Image.Image) else getattr(d, "_image", None)
if not isinstance(ziel, Image.Image):
raise TypeError("draw_text braucht ein Image oder ImageDraw")
rgba = ziel.convert("RGBA") if ziel.mode != "RGBA" else ziel
a = color[3] if len(color) > 3 else 255
for ch in text:
farbe = Image.new("RGBA", (COLS, ROWS), tuple(color[:3]) + (255,))
maske = glyph(ch)
farbe.putalpha(maske if a == 255
else maske.point(lambda v: v * a // 255))
rgba.alpha_composite(farbe, (x, y))
x += ADVANCE
return x
def wrap(text: str, max_px: int) -> list[str]:
words, lines, cur = text.split(), [], ""
for w in words:
cand = w if not cur else f"{cur} {w}"
if text_width(cand) <= max_px:
cur = cand
else:
if cur:
lines.append(cur)
cur = w
if cur:
lines.append(cur)
return lines

156
art/tools/font_ttf.py Normal file
View file

@ -0,0 +1,156 @@
#!/usr/bin/env python3
"""Pixelschrift aus einer TTF/OTF rastern — gleiche Schnittstelle wie `font8`.
Der Grund: eine bei 8 px gezeichnete Schrift dreifach zu setzen ergibt Balken
(siehe `prep/font24/README.md`). Eine **bei 24 px gezeichnete** Schrift, die
man bei 24 px rastert, ist dagegen scharf, weil jedes Pixel ein Pixel bleibt.
Gerastert wird in zwei Schritten: FreeType mit Kantenglättung, danach Schwelle
bei 50 % (`_HART`). Bei einem Pixelfont auf seinem Designraster ist das
Ergebnis pixelgenau; auf krummen Größen franst es — deshalb immer
Designgröße × 1/2/3 verwenden.
from font_ttf import Font
f = Font("prep/font24/ttf/PressStart2P-Regular.ttf", 24)
f.draw_text(im, 0, 0, "Der Ghul greift an.", (226, 209, 176, 255))
f.text_width("...") # Vorschub ist proportional, nicht fest
`advance(ch)` gibt den Vorschub eines Zeichens; `LINE` ist Zeilenhöhe.
"""
from __future__ import annotations
from pathlib import Path
from PIL import Image, ImageDraw, ImageFont
_HART = 127
class Font:
def __init__(self, pfad: str | Path, size: int) -> None:
self.pfad = Path(pfad)
self.size = size
self.ttf = ImageFont.truetype(str(self.pfad), size)
asc, desc = self.ttf.getmetrics()
self.LINE = int(asc + desc)
self._cache: dict[str, Image.Image] = {}
self._versatz: dict[str, tuple[int, int]] = {}
# -- Raster -----------------------------------------------------------
def glyph(self, ch: str) -> Image.Image:
"""Zeichen als L-Maske, samt Versatz zur Grundlinie (x0, y0)."""
if ch not in self._cache:
m = self.ttf.getmask(ch, mode="L")
im = Image.frombytes("L", m.size, bytes(m)).point(
lambda v: 255 if v > _HART else 0)
bb = self.ttf.getbbox(ch) or (0, 0, im.size[0], im.size[1])
self._cache[ch] = im
self._versatz[ch] = (bb[0], bb[1])
return self._cache[ch]
def advance(self, ch: str) -> int:
return int(round(self.ttf.getlength(ch)))
def ink(self, ch: str) -> tuple[Image.Image, tuple[int, int]]:
"""Tintenflaeche eines Zeichens und ihr Versatz ab Zeilenoberkante.
Fuer den BMFont-Export: `xoffset`/`yoffset` sind genau dieser Versatz,
`width`/`height` die Groesse der Maske.
"""
return self.glyph(ch), self._versatz.get(ch) or self._hole_versatz(ch)
# -- Satz -------------------------------------------------------------
def _hole_versatz(self, ch: str) -> tuple[int, int]:
self.glyph(ch)
return self._versatz[ch]
def text_width(self, text: str) -> int:
return sum(self.advance(c) for c in text)
def draw_text(self, ziel, x: int, y: int, text: str, color) -> int:
"""Zeichnet Text; `ziel` darf ImageDraw oder Image sein."""
bild = ziel if isinstance(ziel, Image.Image) else getattr(ziel, "_image", None)
if not isinstance(bild, Image.Image):
raise TypeError("draw_text braucht ein Image oder ImageDraw")
rgba = bild if bild.mode == "RGBA" else bild.convert("RGBA")
a = color[3] if len(color) > 3 else 255
for ch in text:
g = self.glyph(ch)
dx, dy = self._versatz[ch]
if g.size[0] and g.size[1]:
farbe = Image.new("RGBA", g.size, tuple(color[:3]) + (255,))
farbe.putalpha(g if a == 255
else g.point(lambda v: v * a // 255))
rgba.alpha_composite(farbe, (x + dx, y + dy))
x += self.advance(ch)
return x
def wrap(self, text: str, max_px: int) -> list[str]:
words, lines, cur = text.split(), [], ""
for w in words:
cand = w if not cur else f"{cur} {w}"
if self.text_width(cand) <= max_px:
cur = cand
else:
if cur:
lines.append(cur)
cur = w
if cur:
lines.append(cur)
return lines
# -- Bericht ----------------------------------------------------------
def info(self) -> str:
bb = self.ttf.getbbox("H")
fehlt = [c for c in "ÄÖÜäöüß.,;:!?" if self.glyph(c).getbbox() is None]
return (f"{self.pfad.name} @{self.size}px: Vorschub {self.advance('M')}, "
f"capH {bb[3] - bb[1]}, Zeile {self.LINE}"
+ (f", FEHLT: {''.join(fehlt)}" if fehlt else ""))
# --------------------------------------------------------------- Vorschau ----
def _vorschau(f: Font, text: str | None, out: Path) -> None:
"""Probesatz: Probetext, Alphabet, Umlaute — auf UI-Panel."""
import ui # nur fuer Farben und den 8x10-Beschriftungssatz
zeilen = ([text] if text else
["Valyria zahlt in Ferrum, nicht in Gold.",
"Der Ghul greift an - haltet die Fackel!",
"ÄÖÜäöüß 0123456789 .,;:!? \"()[]"])
zeilen += ["ABCDEFGHIJKLMNOPQRSTUVWXYZ", "abcdefghijklmnopqrstuvwxyz"]
breit = max(f.text_width(z) for z in zeilen) + 24
hoch = int(f.LINE * 1.35 * len(zeilen)) + 44
im = Image.new("RGBA", (breit, hoch), ui.alpha(ui.PANEL))
d = ImageDraw.Draw(im)
h = f.LINE * 1.35
for i, z in enumerate(zeilen):
f.draw_text(im, 12, int(10 + i * h), z, ui.CREAM)
ui.draw_text(d, 12, hoch - 24,
f"{f.pfad.name} @{f.size}px Vorschub {f.advance('M')} "
f"Zeile {f.LINE}", ui.CREAM_D)
im.convert("RGB").save(out)
print(f"{out} {im.width}x{im.height}")
def main(argv: list[str] | None = None) -> int:
import argparse
import sys
ap = argparse.ArgumentParser(
description="Probesatz einer TTF/OTF rendern — ohne Installation.")
ap.add_argument("font", type=Path)
ap.add_argument("--size", type=int, default=24,
help="Rastergroesse in px (Designgroesse der Schrift!)")
ap.add_argument("--text", help="eigener Probetext statt Alphabet")
ap.add_argument("-o", "--out", type=Path, help="Ziel-PNG")
a = ap.parse_args(argv)
f = Font(a.font, a.size)
out = a.out or Path(f"/tmp/font_{a.font.stem}_{a.size}px.png")
_vorschau(f, a.text, out)
return 0
if __name__ == "__main__":
import sys
sys.exit(main())

View file

@ -0,0 +1,246 @@
#!/usr/bin/env python3
"""font_ttf_export.py — eine TTF/OTF als Engine-Font (BMFont + Textur-Atlas).
`font_export.py` exportiert den 8x10-Pixelsatz aus `font8.py`. Dasselbe hier
für eine echte Schriftdatei: gerastert wird über `font_ttf.py` (FreeType,
Schwelle bei 50 %), geschrieben wird das BMFont-Textformat plus PNG-Atlas —
das, was Godot als `FontFile` liest.
python3 tools/font_ttf_export.py --font final/Font/ttf/PressStart2P-Regular.ttf --size 24
python3 tools/font_ttf_export.py --font final/Font/ttf/PirataOne-Regular.ttf --size 36
python3 tools/font_ttf_export.py --check # beide pruefen, nichts schreiben
Erzeugt (je Schrift, in `final/Font/`):
<name>_atlas.png Glyphen weiss auf transparent
<name>.fnt BMFont, zeigt auf die 1x-Textur
<name>_atlas_2x.png dasselbe nearest-verdoppelt
<name>_2x.fnt BMFont fuer die 2x-Textur (alle Masse x2)
**Pruefung ohne Godot:** `--check` liest die geschriebene `.fnt` mit dem Parser
aus `font_export.py`, setzt alle Zeichen nur aus Metriken und Textur zusammen
und vergleicht Pixel fuer Pixel mit `font_ttf.Font.draw_text`. Weicht etwas ab,
ist die Datei falsch — nicht erst die Engine.
"""
from __future__ import annotations
import argparse
import sys
from pathlib import Path
from PIL import Image
ART = Path(__file__).resolve().parent.parent
sys.path.insert(0, str(ART / "tools"))
import font_ttf # noqa: E402
from font_export import lies_fnt # noqa: E402 (gleicher BMFont-Leser)
# ASCII 32..126 plus die deutschen Zeichen. Mehr als `font8` (dem `# $ @ \\ ^
# _ ` { } | ~` fehlen) — die TTF hat sie, und ein fehlendes Zeichen waere in
# der Engine ein `?`.
ZEICHEN = ([chr(i) for i in range(32, 127)] + list("ÄÖÜäöüß")
# deutsche Satzzeichen, die ASCII nicht kennt: Anfuehrungszeichen,
# Halbgeviert-/Geviertstrich, Auslassung, Mittelpunkt, Euro, Guillemets
+ list("„“”‚‘’–—…·°€«»"))
ATLAS_BREITE = 512 # Zielbreite des Atlas; umbrochen wird nach Bedarf
LUFT = 1 # px zwischen zwei Glyphen im Atlas
SCHRIFTEN = [("PressStart2P-Regular.ttf", 24), ("PirataOne-Regular.ttf", 36)]
# ------------------------------------------------------------------ bauen ----
def atlas(font: font_ttf.Font, scale: int = 1):
"""Bild und Eintraege (Zeichen, Rect, Versatz, Vorschub) bauen."""
roh, fehlt = [], []
for ch in ZEICHEN:
maske, (dx, dy) = font.ink(ch)
eng = maske.getbbox()
if eng is None:
if ch == " ": # Leerzeichen: nur Vorschub
roh.append((ch, None, 0, 0, font.advance(ch)))
else: # Schrift hat das Zeichen nicht
fehlt.append(ch)
continue
teil = maske.crop(eng)
roh.append((ch, teil, dx + eng[0], dy + eng[1], font.advance(ch)))
x = y = zeilen_hoehe = 0
gesetzt = []
for ch, teil, ox, oy, adv in roh:
breite = teil.width if teil else 0
hoehe = teil.height if teil else 0
if x + breite > ATLAS_BREITE and x:
x, y = 0, y + zeilen_hoehe + LUFT
zeilen_hoehe = 0
gesetzt.append((ch, x, y, breite, hoehe, ox, oy, adv))
x += breite + LUFT
zeilen_hoehe = max(zeilen_hoehe, hoehe)
breite_ges = ATLAS_BREITE
hoehe_ges = y + zeilen_hoehe
im = Image.new("RGBA", (breite_ges, hoehe_ges), (0, 0, 0, 0))
for (ch, gx, gy, breite, hoehe, *_rest), eintrag in zip(gesetzt, roh):
teil = eintrag[1]
if teil is None:
continue
weiss = Image.new("RGBA", teil.size, (255, 255, 255, 255))
weiss.putalpha(teil)
im.alpha_composite(weiss, (gx, gy))
if fehlt:
print(f" Hinweis: fehlt in dieser Schrift und bleibt aussen vor: "
f"{''.join(fehlt)}")
if scale > 1:
im = im.resize((im.width * scale, im.height * scale), Image.NEAREST)
return im, gesetzt
def fnt(font: font_ttf.Font, gesetzt, scale: int, bild: str,
name: str, linehoehe: int, atlas_hoehe: int) -> str:
s = scale
zeilen = [
f'info face="{name}" size={font.size * s} bold=0 italic=0 charset="" '
f"unicode=1 stretchH=100 smooth=0 aa=1 padding=0,0,0,0 spacing=0,0 outline=0",
f"common lineHeight={linehoehe * s} base={font.ttf.getmetrics()[0] * s} "
f"scaleW={ATLAS_BREITE * s} scaleH={atlas_hoehe} pages=1 packed=0 "
f"alphaChnl=0 redChnl=4 greenChnl=4 blueChnl=4",
f'page id=0 file="{bild}"',
f"chars count={len(gesetzt)}",
]
for ch, gx, gy, breite, hoehe, ox, oy, adv in gesetzt:
zeilen.append(
f"char id={ord(ch)} x={gx * s} y={gy * s} width={breite * s} "
f"height={hoehe * s} xoffset={ox * s} yoffset={oy * s} "
f"xadvance={adv * s} page=0 chnl=15")
return "\n".join(zeilen) + "\n"
# -------------------------------------------------------------- pruefen ------
def setze(text: str, f: dict, breite: int, hoehe: int) -> Image.Image:
"""Text nur aus den .fnt-Metriken setzen (kein font_ttf)."""
bild = Image.open(f["dir"] / f["seite"]).convert("RGBA")
im = Image.new("RGBA", (breite, hoehe), (0, 0, 0, 0))
x = y = 0
for ch in text:
if ch == "\n":
x, y = 0, y + f["kopf"]["lineHeight"]
continue
c = f["chars"].get(ch) or f["chars"]["?"]
if c["width"] and c["height"]:
teil = bild.crop((c["x"], c["y"], c["x"] + c["width"],
c["y"] + c["height"]))
im.alpha_composite(teil, (x + c["xoffset"], y + c["yoffset"]))
x += c["xadvance"]
return im
def pruefen(font: font_ttf.Font, name: str, scale: int,
linehoehe: int) -> list[str]:
datei = f"{name}.fnt" if scale == 1 else f"{name}_2x.fnt"
f = lies_fnt(ART / "final" / "Font" / datei)
zeilen, cur = [], ""
for ch in ZEICHEN:
if font.text_width(cur + ch) > 900:
zeilen.append(cur)
cur = ""
cur += ch
if cur:
zeilen.append(cur)
breite = max(font.text_width(z) for z in zeilen) + 12
hoehe = linehoehe * len(zeilen) + 8
soll = Image.new("RGBA", (breite, hoehe), (0, 0, 0, 0))
for i, z in enumerate(zeilen):
font.draw_text(soll, 0, i * linehoehe, z, (255, 255, 255, 255))
if scale > 1:
soll = soll.resize((soll.width * scale, soll.height * scale),
Image.NEAREST)
ist = setze("\n".join(zeilen), f, soll.width, soll.height)
if ist.tobytes() == soll.tobytes():
return []
fehler = [f"{datei}: gesetzter Text weicht von draw_text ab"]
for i, z in enumerate(zeilen):
y0 = i * linehoehe * scale
a = ist.crop((0, y0, breite * scale, y0 + linehoehe * scale))
b = soll.crop((0, y0, breite * scale, y0 + linehoehe * scale))
if a.tobytes() != b.tobytes():
fehler.append(f" betroffen: Zeile {i + 1}: {z[:40]!r}")
break
return fehler
# ------------------------------------------------------------------ main -----
def main(argv: list[str] | None = None) -> int:
ap = argparse.ArgumentParser(description=__doc__.splitlines()[0])
ap.add_argument("--font", type=Path, help="nur diese Schrift exportieren")
ap.add_argument("--size", type=int, help="Rastergroesse in px (Designgroesse)")
ap.add_argument("--name", help="Dateistamm (Vorgabe: <font>_<size>)")
ap.add_argument("--linehoehe", type=int,
help="Zeilenhöhe in px (Vorgabe: 1,5 x Groesse)")
ap.add_argument("--out", type=Path, default=ART / "final" / "Font")
ap.add_argument("--check", action="store_true", help="nur pruefen")
a = ap.parse_args(argv)
if a.check:
auftraege = ([(a.font, a.size)] if a.font else
[(ART / "final" / "Font" / "ttf" / d, s) for d, s in SCHRIFTEN])
fehler = []
for pfad, size in auftraege:
if size is None:
raise SystemExit(" --font braucht auch --size")
name = a.name or f"{pfad.stem.split('-')[0].lower()}_{size}"
lh = a.linehoehe or round(size * 1.5)
font = font_ttf.Font(pfad, size)
fehler += pruefen(font, name, 1, lh) + pruefen(font, name, 2, lh)
print(f" geprueft: {name} (1x und 2x)")
for f in fehler:
print(" ", f, file=sys.stderr)
print("\nPruefung:", "bestanden" if not fehler else "FEHLGESCHLAGEN")
return 1 if fehler else 0
if not (a.font and a.size):
raise SystemExit(" --font und --size angeben (oder --check).")
size, out = a.size, a.out
lh = a.linehoehe or round(size * 1.5)
name = a.name or f"{a.font.stem.split('-')[0].lower()}_{size}"
font = font_ttf.Font(a.font, size)
out.mkdir(parents=True, exist_ok=True)
for s in (1, 2):
bild, gesetzt = atlas(font, s)
png = f"{name}_atlas{'' if s == 1 else '_2x'}.png"
fntname = f"{name}{'' if s == 1 else '_2x'}.fnt"
bild.save(out / png)
(out / fntname).write_text(
fnt(font, gesetzt, s, png, name, lh, bild.height))
print(f" {png:34s} {bild.width}x{bild.height}")
print(f" {fntname:34s} {len(gesetzt)} Zeichen, Zeile {lh * s}, "
f"Vorschub (M) {font.advance('M') * s}")
# Belegbild: derselbe Text, aber ueber die .fnt gesetzt (nicht font_ttf)
probe = ["Der Ghul greift an. ÄÖÜäöüß",
"Valyria zahlt 5 % in Ferrum —",
"Was wollt Ihr in Garana?"]
f = lies_fnt(out / f"{name}.fnt")
w = max(font.text_width(z) for z in probe) + 12
h = lh * len(probe) + 10
blatt = Image.new("RGBA", (w, h), (58, 47, 39, 255))
blatt.alpha_composite(setze("\n".join(probe), f, w, h), (5, 5))
ziel = ART / "prep" / "font24"
ziel.mkdir(parents=True, exist_ok=True)
blatt.save(ziel / f"_bmfont_probe_{name}.png")
print(f" {ziel}/_bmfont_probe_{name}.png (aus der .fnt gesetzt)")
fehler = pruefen(font, name, 1, lh) + pruefen(font, name, 2, lh)
for f_ in fehler:
print(" ", f_, file=sys.stderr)
print("\nPruefung:", "bestanden" if not fehler else "FEHLGESCHLAGEN")
return 1 if fehler else 0
if __name__ == "__main__":
sys.exit(main())