diff options
Diffstat (limited to 'vendor/fonts/README.md')
| -rw-r--r-- | vendor/fonts/README.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/vendor/fonts/README.md b/vendor/fonts/README.md index f86058e..d1bf9d9 100644 --- a/vendor/fonts/README.md +++ b/vendor/fonts/README.md @@ -25,6 +25,10 @@ arbitrary byte boundaries. Pango shapes each supplied string independently; applications still perform wrapping and clipping. Explicit newlines are not a layout API. Other platforms retain SDL's debug-font fallback for now. +`sk_text_measure` lays a string out the same way and returns its advance +width and line height (`Host.textSize`). `SKETCHBOOK_FONT`, in the +environment, names an installed family to put before Go Mono. + Text is rasterized at the renderer's physical pixel density (including logical presentation scale), and texture origins snap to physical pixels. Whole-run textures retain antialiasing and shaping; no scaled 8×8 bitmap text is involved. |
