Commit 06e404d
refactor: embed Liberation Mono as a WOFF file, upgraded to 2.1.5
Replaces the 238KB base64 string literal with a go:embed of the
WOFF binary; FontLiberationMono is now encoded at init and keeps
its exported name and type.
The WOFF is converted losslessly from LiberationMono-Regular.ttf
in the official liberation-fonts-ttf-2.1.5 release tarball (the
foundry publishes no WOFFs). Every sfnt table in the WOFF is
byte-identical to the release TTF, checksums included. This also
replaces the previous font data, which came from an intermediate
2.00.5 build with incorrect post-table metadata (isFixedPitch=0,
wrong underlinePosition).
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent 43196dc commit 06e404d
3 files changed
Lines changed: 12 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
Large diffs are not rendered by default.
Binary file not shown.
0 commit comments