summaryrefslogtreecommitdiff
path: root/vendor
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-10 11:27:39 -0300
committerGabriel Schneider <[email protected]>2026-11-12 13:22:02 -0300
commit71e534631bf68f33f802d64794340870374b9f69 (patch)
tree2a45229ce238a4e2ce355683f0e75a7725d4851a /vendor
parent00605f7a109845a99f16621b267305a8b995dddc (diff)
downloadsketchbook-71e534631bf68f33f802d64794340870374b9f69.tar.gz
sketchbook-71e534631bf68f33f802d64794340870374b9f69.zip
sketchbook: anim, manim-style scenes as a module (from the game's vecanim), with objects a scene draws itself
The player takes its canvas from the room it has and fits the scene's frame into it, plays through and quits when exported, and draws vector objects in runs around custom ones. The renderers' resvg comparison and the timings come along as `zig build diff` and `zig build bench`; the comparison's reference is padded to whole blocks rather than squeezed, which had put Typst text over the limit. Co-Authored-By: Claude Fable 5.2 <[email protected]>
Diffstat (limited to 'vendor')
-rw-r--r--vendor/fonts/README.md4
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.