diff options
| author | Gabriel Schneider <[email protected]> | 2026-09-24 13:02:06 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-10-01 00:12:14 -0300 |
| commit | 1ba82eedb79d6c9fbc9b80dcac9315645d141f25 (patch) | |
| tree | abb84617b7caeef02d0842eb06f0b0fd5e39824b /src/pardes.zig | |
| parent | 7fdf5ed9d1dd433e4657b670b7831cec6e3d41ca (diff) | |
| download | pardes-1ba82eedb79d6c9fbc9b80dcac9315645d141f25.tar.gz pardes-1ba82eedb79d6c9fbc9b80dcac9315645d141f25.zip | |
Inflate MuPDF's streams with the zlib FreeType links
MuPDF compiled its bundled zlib 1.3.1 (ZLIB_SRC) into libmupdf.a, and the
freetype package links the zlib package, 1.3.2, for its gzip module: 68
symbols defined twice, with the linker keeping one of each. MuPDF now links
that same zlib artifact and stops compiling its own. build.zig asks
FreeType's build for zlib with the options FreeType asks with, which the
build's dependency cache answers with the very artifact FreeType links, so
the tty and the gui each carry exactly one zlib.
MuPDF hands zlib its own allocation functions on every stream, so nothing
about where the memory comes from changes. Every page of the three PDFs in
docs/ still renders bit for bit as before, at 144 and at 300 dpi.
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Diffstat (limited to 'src/pardes.zig')
0 files changed, 0 insertions, 0 deletions
