Commit Graph
11 Commits
Author SHA1 Message Date
Dylan M. Taylor 2651dbeb2b Expose bounded multi-image print PDF serialization with per-image ICC 2026-11-15 17:48:04 -05:00
Brandon Thomas f0fa27110d Preserve attributed print raster writer as shared extension source 2026-11-15 17:44:34 -05:00
Dylan M. Taylor b6b222afb0 fix(prepress): address PDF/X review findings 2026-11-14 17:45:53 +00:00
Dylan M. Taylor a5ac3aa05c Merge pull request #1322 from storytold/codex/craft-xml-dtd
prepress: share PDF/X-1a finalization and checks (official replacement)
2026-11-14 10:14:26 -05:00
Dylan M. Taylor 80a8ecfe05 Write PDF vector colors without borrowing temporaries 2026-11-13 07:11:33 -05:00
Dylan M. Taylor 3019bd8369 Add typed PDF vector and selectable text content 2026-11-13 07:03:20 -05:00
Dylan M. Taylor f623bb317b Move spot-plate XMP encoding into craft-pdf 2026-11-13 06:30:46 -05:00
Dylan M. Taylor c0622649ff Preserve spot ink metadata in neutral PDF pages 2026-11-13 06:20:56 -05:00
Dylan M. Taylor 57a12fe812 Move raster page PDF serialization into craft-pdf 2026-11-13 06:18:42 -05:00
aiongg 8fbfea8840 pdf: CMYK blending without an output intent for plain print PDFs
print::cmyk_blending(profile) blends transparency in CMYK and writes no
output intent or /Trapped, as a non-PDF/X print PDF does. print::settings
builds on it and adds the GTS_PDFX output intent and /Trapped /False.
2026-10-20 13:17:31 +00:00
aiongg eedd0246df krilla: CMYK print color in the vendored krilla, and a craft-pdf print preset
Print PDFs written through krilla separated wrongly: transparency groups blended in RGB
(K 50% over C100 separated as C84 M34 Y32 K37 instead of C50 K50), and there was no
overprint, knockout, DeviceN, soft-mask backdrop or print output intent.

Patches in vendor/krilla/patches/, recorded in README.craft.md and SOURCE.json:
- 02 blending color space: GroupColorSpace { Rgb (default, unchanged output), Cmyk }
- 03 overprint: Surface::push_overprint (/op /OP /OPM)
- 04 knockout groups: Surface::push_group(GroupOptions { isolated, knockout })
- 05 soft-mask backdrop and transfer function (/BC /TR)
- 06 DeviceN and NChannel colors for fills and strokes
- 07 DeviceN images and shadings
- 08 print output intent (GTS_PDFX), /Trapped, PDF/X version markers

craft_pdf::write::print::settings(PrintColor) turns them on for print export.
2026-10-20 03:41:13 +00:00