Both PDF writer changes meet in pdf.rs: #10355 keeps the topmost simple
shape and text layers as vectors with a Type 3 selection font, this
branch writes spot channels as overprinting Separation plates and
numbers the optional objects dynamically.
- The selection font's three objects take the numbers after the last
optional object (image, ICC, ExtGState, plates, XMP), so /FSelect
always resolves and the plate and metadata objects keep their places.
- The page paints the composite, then the vector layers, then the
plates overprinting both; the vector block is written only when there
are vector layers.
- A Multichannel document (plates alone, no composite) collects no
vectors; the backdrop clone with the vector layers hidden is made
only when there is an image to flatten.
- Tests: both suites kept; main's one-argument export(&d) calls take
the spot_plates flag; one new test pins the image → vectors → plates
order and the Multichannel case (38 PDF tests).
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>