diff options
| author | Gabriel Schneider <[email protected]> | 2026-08-09 20:31:09 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-08-10 09:17:07 -0300 |
| commit | 4b5e793f48f6e721c39ab6ddcf755604df73b643 (patch) | |
| tree | f3cf8b009bbfbd5667635381f0f624cd6b466084 /docs/design.typ | |
| parent | 9085cb5bfdd0b78ff3a62c0c71fc231dd7b5052a (diff) | |
| download | pardes-4b5e793f48f6e721c39ab6ddcf755604df73b643.tar.gz pardes-4b5e793f48f6e721c39ab6ddcf755604df73b643.zip | |
Better text rendering
Diffstat (limited to 'docs/design.typ')
| -rw-r--r-- | docs/design.typ | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/design.typ b/docs/design.typ index 75c89812..38fa6fdb 100644 --- a/docs/design.typ +++ b/docs/design.typ @@ -174,9 +174,9 @@ test. `zig build` produces three statically linked artifacts: `pardes` (vaxis), `pardes-gui` (SDL3), `pardes.wasm` + a vanilla DOM shell (wasm32-freestanding). -Same native dependency set as the prototype — ghostty, vaxis, uucode (shared config), zstbi, SDL -(castholm, lazy), zig-tree-sitter + grammars — all via `zig fetch`, wired in -`build.zig`. Codegen during build, consumed by comptime: tree-sitter +Native dependencies are ghostty, vaxis, uucode (shared config), zstbi, SDL +(castholm, lazy), FreeType, and zig-tree-sitter + grammars — all pinned through +`zig fetch` and wired in `build.zig`. Codegen during build, consumed by comptime: `highlights.scm` → options module; tutor text → embedded pane content. Debug builds are incremental for the seconds-loop; release builds are the product. @@ -282,7 +282,7 @@ tap-LOOK/drag-scroll, but finger-down on a tagline or a one-cell-tolerant pane separator latches to a left-mouse gesture for its lifetime, keeping layout drags out of the scroll heuristic. Touch input translation and scroll/tap state live entirely in the JavaScript shell. -The native SDL shell uses an stb_truetype atlas over the SDL GPU API (SPIR-V). +The native SDL shell uses a FreeType light-hinted grayscale atlas over the SDL GPU API (SPIR-V). The browser exposes each cell as selectable, inspectable text and applies the surface styles with CSS. The browser `.snap` harness drives real Chromium touch input and reads both text and per-cell styles from the DOM renderer's packed |
