summaryrefslogtreecommitdiff
path: root/vendor/fonts/README.md
diff options
context:
space:
mode:
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