diff options
Diffstat (limited to 'docs/shared-libs.md')
| -rw-r--r-- | docs/shared-libs.md | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/shared-libs.md b/docs/shared-libs.md index fe6c5018..70e585b3 100644 --- a/docs/shared-libs.md +++ b/docs/shared-libs.md @@ -21,6 +21,17 @@ a second FreeType (tools/shared_libs_check.zig). It counts static functions too, and several functions per family, because a release build inlines some of them. +## Image panes became an addon (2026-11-06) + +`lib/pardes/addons/image.so` (addons/image/image.c) decodes image panes with +its own stb_image, PNG, JPEG and inflate included: the binaries keep none of +stb_image but its resize (a kitty PNG's downscale; the decoder and the writer +are patched out of zstbi.c), and a kitty `f=100` PNG is wuffs's alone. A +process that loads image.so holds a second PNG and JPEG decoder and inflate +beside wuffs and zlib: a library apart, outside this policy's reach (it links +nothing of the binary), and allocating through pardes's arenas and job +buffers, never its own malloc. The rows below are the binaries before it. + ## Inventory (ghostty 1.4.0, 2026-10-28) Sizes are function bytes in the ReleaseFast symbol tables (`nm -S`). The tty |
