summaryrefslogtreecommitdiff
path: root/docs/shared-libs.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/shared-libs.md')
-rw-r--r--docs/shared-libs.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/shared-libs.md b/docs/shared-libs.md
index 0a78f207..412c2474 100644
--- a/docs/shared-libs.md
+++ b/docs/shared-libs.md
@@ -59,7 +59,7 @@ Text section: tty 61,369,343 → 61,294,855 bytes (**−74,488**); gui
- **PNG and JPEG are wuffs's**, the decoders ghostty itself uses. image.zig
calls them wherever ghostty-vt is in the build (`wuffs_images`). Each image
is sized from its header first: PNG's IHDR, JPEG's first SOF. Other formats,
- and builds without ghostty-vt (esp32p4, web), stay on stb_image.
+ and builds without ghostty-vt (web), stay on stb_image.
- **zstbi is compiled with `-DSTBI_NO_PNG -DSTBI_NO_JPEG`.** That also drops
stb's inflate, which only PNG used. Its `stb_image_write` include is patched
out (one count-checked anchor), with a no-op `stbi_flip_vertically_on_write`
@@ -81,7 +81,7 @@ Text section: tty 61,369,343 → 61,294,855 bytes (**−74,488**); gui
- **Two JPEG decoders: MuPDF's libjpeg and wuffs.** MuPDF's `DCTDecode` filter
(`filter-dct.c`) is written against libjpeg's streaming source-manager API.
Moving PDFs onto wuffs means a new DCT filter for fitz. Moving image panes
- onto libjpeg instead would leave the builds without MuPDF (esp32p4, web)
+ onto libjpeg instead would leave the build without MuPDF (web)
with no JPEG decoder.
- **MuPDF's fitz image loaders** (`fz_load_png`, `_jpeg`, `_gif`, `_bmp`,
`_tiff`, `_pnm`, `_psd`; 16.7 KiB together). They are compiled because