You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
PDF form: unchecked AcroForm checkboxes render and export as checked #3447
Other (code-level bug, platform-independent — verified against current dev)
Steps to Reproduce
Import an AcroForm PDF that contains at least one unchecked checkbox into the form editor (extract fields → render as markdown).
Look at the rendered checkbox line (and export the form back to PDF).
Expected Behaviour
An unchecked checkbox renders as - [ ] **Label** and exports as unchecked.
Actual Behaviour
It renders as - [x] **Label** (ticked) and exports as checked, silently corrupting the form. PyMuPDF reports an unchecked checkbox's value as the reserved "Off" state — a non-empty string — and _checkbox_marker used a plain truthiness test ("[x]" if value else "[ ]"), so "Off" counted as checked.
Activity
fix(pdf): import unchecked form checkboxes as unchecked (odysseus-dev…
fix(pdf): import unchecked form checkboxes as unchecked (odysseus-dev…