diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/shared-libs.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/shared-libs.md b/docs/shared-libs.md index 73d6a73a..79d393e7 100644 --- a/docs/shared-libs.md +++ b/docs/shared-libs.md @@ -94,7 +94,7 @@ and gui columns are the two binaries. | GIF, BMP, TGA, PSD, HDR, PIC, PNM | stb_image | image panes | 1 → 1 | 22.3 KiB | Zig allocator (`zstbi.init`) | | Image resize | stb_image_resize | image panes (downscale) | 1 → 1 | 28.4 KiB | Zig allocator | | Image write (and its deflate) | stb_image_write | nothing | 1 → **0** (patched out of zstbi.c) | 30.6 KiB → 0 | removed | -| Inflate | zlib (allyourcodebase) | FreeType gzip, MuPDF `FlateDecode` | 1 → 1 (MuPDF links FreeType's, mupdf.zig) | 15.5 + 9.7 + 4.6 KiB | per stream: MuPDF's `fz_zlib_alloc`, FreeType's `FT_Memory` | +| Inflate | zlib (allyourcodebase) | FreeType gzip, MuPDF `FlateDecode` | 1 → 1 (MuPDF links FreeType's, build/mupdf.zig) | 15.5 + 9.7 + 4.6 KiB | per stream: MuPDF's `fz_zlib_alloc`, FreeType's `FT_Memory` | | Inflate | wuffs zlib/deflate | ghostty-vt: kitty `o=z` | 1 → 1 | 17.2 KiB | Zig allocator | | Inflate | stb_image's own | stb PNG | 1 / 2 → **0** | 1.1 / 2.3 KiB → 0 (most of it was inlined into the PNG decoder) | removed | | Fonts | FreeType (allyourcodebase) | gui glyph atlas, MuPDF (built against it, not its slim bundle) | 1 → 1 | 331 KiB | gui: `ui_malloc` (c_heap); MuPDF's library: `FT_MemoryRec` on fz | @@ -142,7 +142,7 @@ Text section: tty 61,369,343 → 61,294,855 bytes (**−74,488**); gui JPEG decoder. - **MuPDF's fitz image loaders** (`fz_load_png`, `_jpeg`, `_gif`, `_bmp`, `_tiff`, `_pnm`, `_psd`; 16.7 KiB together). They are compiled because - mupdf.zig builds all of `source/fitz`. They are reachable only through + build/mupdf.zig builds all of `source/fitz`. They are reachable only through `fz_new_image_from_buffer`, which PDF rendering does not call. Dropping them means stubbing fitz's image-type dispatch (`image.c`) at build time. Left in. |
