summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md11
1 files changed, 7 insertions, 4 deletions
diff --git a/README.md b/README.md
index e4718af..01c86cb 100644
--- a/README.md
+++ b/README.md
@@ -113,10 +113,13 @@ character.
`f.textIn(face, x, y, scale, bytes, color)` is the same line in another
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; `f.host.textSizeIn(face, scale,
-bytes)` measures it. The three mono faces advance alike (0.6 em: whole
-pixels at 25, 30, 35, 45 and 60 px and at their doubles), so columns of
-text need no measuring. The web host draws every face as its one.
+`.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
+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.
Text is shaped for the size it is drawn at, so under a camera that zooms
its letters would shift against each other from frame to frame.