From 7dd447b7c8a21187af4fabade2111a0016e4b3a3 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Tue, 10 Nov 2026 14:38:11 -0300 Subject: sketchbook: JetBrains Mono NL (no ligatures) for the code faces, and its medium weight (.code_medium) --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 01c86cb..e2d8ab6 100644 --- a/README.md +++ b/README.md @@ -114,9 +114,9 @@ character. face of the Go family, all six bundled in the binary (`sk.Face`): `.mono`, `.mono_bold`, `.mono_italic` for data and code, `.sans`, `.sans_medium`, `.sans_bold` for what is said about it; and `.code`, `.code_bold`, -`.code_italic` are JetBrains Mono, bundled too, for programs. -`f.host.textSizeIn(face, scale, bytes)` measures a line. The six -monospaced faces advance alike (0.6 em: whole pixels at 20, 25, 30, 35, 45 +`.code_italic`, `.code_medium` are JetBrains Mono NL (no ligatures), +bundled too, for programs. `f.host.textSizeIn(face, scale, bytes)` +measures a line. The seven monospaced faces advance alike (0.6 em: whole pixels at 20, 25, 30, 35, 45 and 60 px and at their doubles), so columns of text need no measuring; JetBrains Mono's line box is taller (ascent 1.02 em, where Go's is 0.945). The web host draws every face as its one. -- cgit v1.3