From faf40df6f31e98eb752fd5e96330221c8f7dbcc7 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Tue, 10 Nov 2026 12:10:40 -0300 Subject: sketchbook: text in six faces of the Go family, all bundled (f.textIn, host.textSizeIn, sk.Face) --- vendor/fonts/README.md | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'vendor/fonts/README.md') 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 -- cgit v1.3