summaryrefslogtreecommitdiff
path: root/vendor/fonts/README.md
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-10 12:10:40 -0300
committerGabriel Schneider <[email protected]>2026-11-12 13:22:02 -0300
commitfaf40df6f31e98eb752fd5e96330221c8f7dbcc7 (patch)
treeab9356732afbbbb18e85f973945249a738863ae7 /vendor/fonts/README.md
parent71e534631bf68f33f802d64794340870374b9f69 (diff)
downloadsketchbook-faf40df6f31e98eb752fd5e96330221c8f7dbcc7.tar.gz
sketchbook-faf40df6f31e98eb752fd5e96330221c8f7dbcc7.zip
sketchbook: text in six faces of the Go family, all bundled (f.textIn, host.textSizeIn, sk.Face)
Diffstat (limited to 'vendor/fonts/README.md')
-rw-r--r--vendor/fonts/README.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/vendor/fonts/README.md b/vendor/fonts/README.md
index d1bf9d9..3c49784 100644
--- a/vendor/fonts/README.md
+++ b/vendor/fonts/README.md
@@ -10,6 +10,13 @@ https://github.com/golang/image/tree/master/font/gofont/ttfs
SHA-256: `8bc66a0154bbf69cd24e5bde41a12ec9495c8a242c5def2255e4a164900f1ed7`.
The complete Bigelow & Holmes / Go font license is in `LICENSE`.
+Five more faces of the same family are bundled the same way, for
+`f.textIn(face, ...)` (`abi.Face`, in this order after Go Mono):
+`Go-Mono-Bold.ttf`, `Go-Mono-Italic.ttf`, `Go-Regular.ttf`, `Go-Medium.ttf`,
+`Go-Bold.ttf`, as the `ttf-go` package installs them (the same upstream).
+Each is a font description of its own (`sk_text_draw_face`); the sans
+faces fall back to installed sans families instead of mono ones.
+
The font is embedded in the binary with C23 `#embed`. It is registered in a
private Fontconfig config through a Linux memfd, so moving the executable does
not require a font installation or the source checkout. Installed outline fonts