/oss · 1 merged

pdf-rs/pdf

A Rust library for reading, changing and writing PDF files.

the project on GitHub (opens in a new tab)
  1. 23 Nov 2026

    New PDFs no longer use the object number other readers ignore

    What was broken
    PDFs built with the library gave their first object number 0, which the PDF format reserves. Other readers treated it as missing, so an image could vanish or a page render blank.
    What I changed
    I made a new file keep number 0 reserved, so the first real object gets number 1.
    Why it matters
    PDFs the library writes open correctly in other viewers.

    see the code, #306 (opens in a new tab)

← every project