Repository navigation
Tags
Tags
A roadmap, and the first tagged release behind it ROADMAP.md says what is released, what is next, and what each thing is waiting on — because "next" without a blocker is a wish. The two items that matter most (shaping, PDF text) both wait on the same thing: a compiler in the loop, since a blind migration of the text stack would burn CI cycles and could end half-done. v0.1.0 is the state before either of those: everything the brief asked for, with the gaps named rather than hidden.
The ODP gap is closed, so stop calling it a gap Three places described .odp as routed-but-unread. It reads now, so the documents say six Office formats across three pipelines — and the README table has one row that states the shape of it rather than six rows that repeat themselves.
Document Photoshop, and say why HEIF is not there The format list gains psd; the survey gains the reasoning. A layered PSD ends with a flattened composite, which is exactly what a viewer shows, so the reader is small and honest about its limits: 8-bit, RGB or greyscale, raw or PackBits. HEIF is declined with a reason rather than a shrug: it needs an HEVC decoder, which is a video codec, and photocraft's is a git dependency on a 140 MB workspace several times the size of this viewer.
The size guard killed the build before it could report Adding the spreadsheet pipeline failed CI on "Does the landing page still quote this size?", and the guard was the problem, not the binary. The check greps the page for `~9.7 MB`; the rebuilt landing page prints the number inside a <b> with no tilde, so grep found nothing, exited non-zero, and GitHub's `bash -e` killed the step before the echo that would have told us the real size. The tilde is optional now and the grep cannot fail the step. A guard that cannot explain itself when it fires is worse than no guard — that is twice this week a check has failed for its own reasons rather than the code's.
I deleted the PSD decoder with a slice Replacing the RAR extractor by cutting between two comments took `decode_psd`, `unpack_bits` and the two byte readers with it — they lived between those markers. The compiler caught it immediately; restoring them from the previous commit. Cutting on a comment is how this happens. A named function boundary would not have.
Ship xz, not gzip The binary itself is already as small as the profile can make it: fat LTO, one codegen unit, symbols stripped, panic aborts. What was still wasteful was the wrapper — a release is downloaded once and unpacked once, so the only thing that matters on the way down is the size. Linux and macOS now ship .tar.xz, Windows a zip at maximum deflate. Nothing about what runs changes; only what travels. Deliberately not done: opt-level = "s" (slower hot loops in the renderer, for a viewer whose whole claim is speed), build-std (a nightly toolchain in the release path), and UPX (smaller on disk, slower to start, and it trips antivirus heuristics — the opposite of opening before you blink).
Every line was drawn one line-height too high The Latin artefacts I reported — dotless i, a j that reads as a semicolon, commas sitting like primes — were one bug, and it was mine. A glyph's own y is measured from the baseline, so the caller's baseline is the origin. I subtracted the run's line_y as well, which lifted every line by exactly one line-height; the next line then painted over the tops of the glyphs before it, and the dot of an i or the curve of a j disappeared under the line below. Indic looked fine because its glyphs sit lower and the overlap hit the matras less visibly. That is how a bug hides behind a feature that works. One line. The screenshot after this is the test.
Nine point seven was in four places, not one I updated the number the guard reads and left three more copies of the old one — the meta description, the social card, and the lede. The guard greps the first match in the file, so it kept failing on a page that had, in the place that matters, already been corrected. All four say 11.4 MB now, and the dependency badge says nine. The lesson is the one this page keeps teaching: a number written down four times is four chances to be wrong.
--page, so a screenshot can be of any page Screenshot mode always rendered page one, which is enough to prove the interface draws and useless for proving a 68-page comic paginates. `--page N` now renders the page you ask for, scrolls the layout to it, and says which page it wrote. Built to test the real CBR properly rather than to satisfy CI, but CI benefits: it can now screenshot the last page of the EPUB fixture, where pagination actually matters.
Document slides, and why they were easier than Word The format table, the crate tree and the survey say .pptx now, with "text only" attached. The survey explains the asymmetry, because it is the useful thing to know: a .docx makes you compute layout, a .pptx hands it to you in EMU because the author already placed every shape. That is why slides took an afternoon and Word took a day of entity decoding and paragraph rules.
PreviousNext