diff options
| author | Gabriel Schneider <[email protected]> | 2026-10-01 01:25:06 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-10-01 01:35:12 -0300 |
| commit | b3bbad85c61f81c01fb983813ccc28ceb6361469 (patch) | |
| tree | 5cdf4fa745d5ae2c098db463bfabddd48abd6d0e /src/gui/deck.zig | |
| parent | ea28dbf4ce827ee5544562bd19453c68599d912f (diff) | |
| download | pardes-b3bbad85c61f81c01fb983813ccc28ceb6361469.tar.gz pardes-b3bbad85c61f81c01fb983813ccc28ceb6361469.zip | |
A PDF's body puts each line of the page's text on a line of its own, not a heading and its paragraph run together with a space
MuPDF's text buffer joins the lines of one block with spaces, so a
typst page's heading and the text under it read as one line ("Page one
Hello normal PDF alpha."). The bridge now walks the structured text
itself, structure blocks included, and ends each line with a newline.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'src/gui/deck.zig')
0 files changed, 0 insertions, 0 deletions
