Files
photocraft/docs
Tom InglingandClaude Fable 5.1 d08a0bfaba Merge storytold main (009b93c5e) into pdf-spot-plates: plates on artboard pages
Main rewrote the PDF writer since e4e2607c8: a page per artboard with
page labels, writer cancellation (`ctl`), an export memory budget, and
PDF import. This branch adds spot plates, an optional page image and an
XMP packet. The merged writer keeps both:

- `print_pdf_pages` numbers its objects dynamically: per page its page,
  contents, image and one XObject per plate; then the shared font, ICC
  profile, overprint ExtGState and XMP metadata stream, each only when
  present, the selection font and last the page-label tree. The XMP
  packet is a parameter now, not a page field, since it is the
  catalog's.
- `export(doc, spot_plates, ctl)` / `export_with(doc, spot_plates, xmp,
  ctl)`. An artboard page carries its own region of every plate
  (`plates_of` takes the page rect), so a two-board document separates
  into two pages of named plates; a Multichannel artboard document is
  pages of plates alone. The export budget counts one byte a pixel per
  plate alongside the composite. New test:
  artboard_pages_carry_their_region_of_each_plate.
- lib.rs passes `ctl` through; the PDF arm keeps the XmpEmbed gate.
- file_cmds.rs: main's `maximizeCompatibility` and this branch's
  `pdfSpotPlates` both listed in the four spec strings and the import.
- docs: gaps.md and file-format-parity.md headers take main's line with
  this branch's items in front; the PDF parity row keeps main's new
  read column and notes and this branch's plate notes, plus that an
  artboard page carries its region of each plate; control-protocol.md's
  doc.save row lists both new params.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-11-09 14:46:47 -05:00
..
…
…
…
…