Close the keystore gitignore trap, and ship the font licences
.gitignore had "*.keystore" followed by "!debug.keystore", which deliberately un-ignored a signing key. Nothing leaked - no keystore has ever been in the tree - but had one landed there it would have been committed silently. The negation is gone and *.jks is covered too. public/fonts/ redistributes Space Grotesk and Space Mono, and the SIL Open Font License requires its text to accompany the fonts. Both are included, fetched from each typeface's own repository rather than written from memory, and kept as separate files because the copyright lines differ: Space Grotesk 2020, Space Mono 2016. Added a README there recording which file is which family, why only the latin subsets are shipped, and the two glyphs that fall outside them and so render from a system fallback - which is why the pickers draw their caret as SVG instead of typing it. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
23
public/fonts/README.md
Normal file
23
public/fonts/README.md
Normal file
@@ -0,0 +1,23 @@
|
||||
# Fonts
|
||||
|
||||
Self-hosted so the app works with no network, as the Phase 1 wrapper did.
|
||||
|
||||
| File | Family | Weights | Licence |
|
||||
|---|---|---|---|
|
||||
| `space-grotesk-var-latin.woff2` | Space Grotesk | variable, 400–700 | `OFL-Space-Grotesk.txt` |
|
||||
| `space-mono-400-latin.woff2` | Space Mono | 400 | `OFL-Space-Mono.txt` |
|
||||
| `space-mono-700-latin.woff2` | Space Mono | 700 | `OFL-Space-Mono.txt` |
|
||||
|
||||
**Latin subsets only.** Dropped `latin-ext` and `vietnamese`, which takes the set
|
||||
from nine files to three, 68 KB against Barlow's 133 KB. Space Grotesk is a
|
||||
variable font, so one file covers every weight the app uses.
|
||||
|
||||
Two glyphs the app needs fall outside the Latin subset and will render from a
|
||||
system fallback: `⏮` (U+23EE, in some DJ-mode labels) and `▾` (U+25BE). That is
|
||||
why the pickers draw their caret as inline SVG rather than typing the character.
|
||||
|
||||
Both families are under the SIL Open Font License 1.1. The licence text is
|
||||
reproduced here because the OFL requires it to accompany the fonts; the two
|
||||
files differ, since the copyright lines are not the same.
|
||||
|
||||
`@font-face` declarations live in `src/styles/base.css`.
|
||||
Reference in New Issue
Block a user