Files
pi-imgen/THIRD-PARTY-FONTS.md
T
mozempk 5d27417c54 fix(render): resolve ink contrast per surface, not once per poster
templates/lib.typ gains WCAG luminance/contrast-ratio/ink-on and a
surface-aware palette-of(). framed and split place type on flat colour and
were inheriting an ink measured against the artwork, rendering white on
cream at 1.15:1. Now computed per surface: 18.34:1 on the regression
fixture. Accent held to the same bar with fallback to ink.

Adds tests/contrast-check.typ, run per fixture by the harness.
35/35 render combos and 7/7 contrast assertions pass.
2026-08-27 09:33:08 +02:00

53 lines
6.3 KiB
Markdown

# Caratteri di terze parti inclusi in pi-imgen
Generato da `scripts/fetch-fonts.sh` il 2026-08-27 07:30 UTC. Non modificare a mano.
I file dei caratteri stanno in `vendor/fonts/<id>/` e **non** sono versionati.
Ogni cartella contiene il file `LICENSE` originale.
La licenza è letta dalla **directory upstream** in `google/fonts` (il bucket
`ofl/`, `apache/`, `ufl/`, `cc-by-sa/`), mai dai metadati dentro il binario:
per esempio il binario di Roboto Condensed dichiara ancora Apache-2.0 nel name
ID 13 mentre la concessione reale è OFL. Il bucket viene risolto a ogni
esecuzione, mai scritto a mano, perché le famiglie migrano fra bucket.
| Famiglia | Licenza | Origine upstream | File | Variabile | Sorgente |
|---|---|---|---|---|---|
| Archivo | [OFL-1.1](https://raw.githubusercontent.com/google/fonts/main/ofl/archivo/OFL.txt) | [ofl/archivo](https://github.com/google/fonts/tree/main/ofl/archivo) | 2 | sì | google/fonts (TTF completi) |
| Anton | [OFL-1.1](https://raw.githubusercontent.com/google/fonts/main/ofl/anton/OFL.txt) | [ofl/anton](https://github.com/google/fonts/tree/main/ofl/anton) | 1 | no | google/fonts (TTF completi) |
| Oswald | [OFL-1.1](https://raw.githubusercontent.com/google/fonts/main/ofl/oswald/OFL.txt) | [ofl/oswald](https://github.com/google/fonts/tree/main/ofl/oswald) | 1 | sì | google/fonts (TTF completi) |
| Bebas Neue | [OFL-1.1](https://raw.githubusercontent.com/google/fonts/main/ofl/bebasneue/OFL.txt) | [ofl/bebasneue](https://github.com/google/fonts/tree/main/ofl/bebasneue) | 1 | no | google/fonts (TTF completi) |
| Big Shoulders | [OFL-1.1](https://raw.githubusercontent.com/google/fonts/main/ofl/bigshoulders/OFL.txt) | [ofl/bigshoulders](https://github.com/google/fonts/tree/main/ofl/bigshoulders) | 1 | sì | google/fonts (TTF completi) |
| Playfair Display | [OFL-1.1](https://raw.githubusercontent.com/google/fonts/main/ofl/playfairdisplay/OFL.txt) | [ofl/playfairdisplay](https://github.com/google/fonts/tree/main/ofl/playfairdisplay) | 2 | sì | google/fonts (TTF completi) |
| Bodoni Moda | [OFL-1.1](https://raw.githubusercontent.com/google/fonts/main/ofl/bodonimoda/OFL.txt) | [ofl/bodonimoda](https://github.com/google/fonts/tree/main/ofl/bodonimoda) | 2 | sì | google/fonts (TTF completi) |
| DM Serif Display | [OFL-1.1](https://raw.githubusercontent.com/google/fonts/main/ofl/dmserifdisplay/OFL.txt) | [ofl/dmserifdisplay](https://github.com/google/fonts/tree/main/ofl/dmserifdisplay) | 2 | no | google/fonts (TTF completi) |
| Instrument Serif | [OFL-1.1](https://raw.githubusercontent.com/google/fonts/main/ofl/instrumentserif/OFL.txt) | [ofl/instrumentserif](https://github.com/google/fonts/tree/main/ofl/instrumentserif) | 2 | no | google/fonts (TTF completi) |
| Fraunces | [OFL-1.1](https://raw.githubusercontent.com/google/fonts/main/ofl/fraunces/OFL.txt) | [ofl/fraunces](https://github.com/google/fonts/tree/main/ofl/fraunces) | 2 | sì | google/fonts (TTF completi) |
| Outfit | [OFL-1.1](https://raw.githubusercontent.com/google/fonts/main/ofl/outfit/OFL.txt) | [ofl/outfit](https://github.com/google/fonts/tree/main/ofl/outfit) | 1 | sì | google/fonts (TTF completi) |
| Inter | [OFL-1.1](https://raw.githubusercontent.com/google/fonts/main/ofl/inter/OFL.txt) | [ofl/inter](https://github.com/google/fonts/tree/main/ofl/inter) | 2 | sì | google/fonts (TTF completi) |
| Caveat | [OFL-1.1](https://raw.githubusercontent.com/google/fonts/main/ofl/caveat/OFL.txt) | [ofl/caveat](https://github.com/google/fonts/tree/main/ofl/caveat) | 1 | sì | google/fonts (TTF completi) |
| Permanent Marker | [Apache-2.0](https://raw.githubusercontent.com/google/fonts/main/apache/permanentmarker/LICENSE.txt) | [apache/permanentmarker](https://github.com/google/fonts/tree/main/apache/permanentmarker) | 1 | no | google/fonts (TTF completi) |
| Bungee | [OFL-1.1](https://raw.githubusercontent.com/google/fonts/main/ofl/bungee/OFL.txt) | [ofl/bungee](https://github.com/google/fonts/tree/main/ofl/bungee) | 1 | no | google/fonts (TTF completi) |
| Alfa Slab One | [OFL-1.1](https://raw.githubusercontent.com/google/fonts/main/ofl/alfaslabone/OFL.txt) | [ofl/alfaslabone](https://github.com/google/fonts/tree/main/ofl/alfaslabone) | 1 | no | google/fonts (TTF completi) |
| Special Elite | [Apache-2.0](https://raw.githubusercontent.com/google/fonts/main/apache/specialelite/LICENSE.txt) | [apache/specialelite](https://github.com/google/fonts/tree/main/apache/specialelite) | 1 | no | google/fonts (TTF completi) |
| Big Shoulders Stencil Display | [OFL-1.1](https://raw.githubusercontent.com/google/fonts/main/ofl/bigshouldersstencildisplay/OFL.txt) | [ofl/bigshouldersstencildisplay](https://github.com/google/fonts/tree/main/ofl/bigshouldersstencildisplay) | 1 | sì | google/fonts (TTF completi) |
| Saira Stencil One | [OFL-1.1](https://raw.githubusercontent.com/google/fonts/main/ofl/sairastencilone/OFL.txt) | [ofl/sairastencilone](https://github.com/google/fonts/tree/main/ofl/sairastencilone) | 1 | no | google/fonts (TTF completi) |
| Space Mono | [OFL-1.1](https://raw.githubusercontent.com/google/fonts/main/ofl/spacemono/OFL.txt) | [ofl/spacemono](https://github.com/google/fonts/tree/main/ofl/spacemono) | 4 | no | google/fonts (TTF completi) |
| JetBrains Mono | [OFL-1.1](https://raw.githubusercontent.com/google/fonts/main/ofl/jetbrainsmono/OFL.txt) | [ofl/jetbrainsmono](https://github.com/google/fonts/tree/main/ofl/jetbrainsmono) | 2 | sì | google/fonts (TTF completi) |
| Unbounded | [OFL-1.1](https://raw.githubusercontent.com/google/fonts/main/ofl/unbounded/OFL.txt) | [ofl/unbounded](https://github.com/google/fonts/tree/main/ofl/unbounded) | 1 | sì | google/fonts (TTF completi) |
## Note
- **OFL-1.1**: ridistribuzione libera, anche commerciale, purché i caratteri
restino accompagnati dalla licenza e non vengano venduti da soli. Le famiglie
con Reserved Font Name (Playfair Display, DM Serif Display, Alfa Slab One)
vanno incluse **non modificate**: rinominare il file non basta, va rinominato
il font se lo si altera.
- **Apache-2.0**: nessun obbligo di attribuzione nel prodotto finale, ma il file
`LICENSE` va conservato accanto ai binari.
- I TTF variabili arrivano solo da `raw.githubusercontent.com/google/fonts`.
L'endpoint css2 istanzia sempre e non può restituire un font variabile;
lo zip di Fontsource contiene TTF statici divisi per unicode-range e i
variabili solo in WOFF2, inutili per Typst.
- Rigenera questo file con `scripts/fetch-fonts.sh --check`.