Commit Graph
2700 Commits
Author SHA1 Message Date
aiongg 2e0aedbaf6 Print color: the print test retries across a second boundary, as its sibling does 2026-10-20 18:11:27 +00:00
aiongg c89faad6a3 Print color: pdf-deps expects the craft-libs#190 pin 2026-10-20 13:50:32 +00:00
aiongg ab568de0de Print color: the sample's Dusk Gradient stops name their swatches 2026-10-20 13:47:50 +00:00
aiongg 905e33d546 Print color: one spelling for the color swatch error 2026-10-20 13:36:33 +00:00
aiongg 99cb64a779 Print color: US spelling in the new code and docs 2026-10-20 13:36:14 +00:00
aiongg 8de7bc8ed7 Print color: plain print exports blend in CMYK without an output intent
Repin craft-pdf, craft-prepress and krilla to craft-libs#190 at 8fbfea8.
Plain exports with a CMYK blend space use print::cmyk_blending (CMYK page
and transparency groups, no output intent, no /Trapped); PDF/X-4 keeps
print::settings with the working space as GTS_PDFX output intent, as
InDesign writes an output intent only for PDF/X.
2026-10-20 13:23:27 +00:00
aiongg fa4edee57b Merge branch 'print-color-gradients' into print-color
# Conflicts:
#	crates/pdf/src/lib.rs
2026-10-20 13:16:40 +00:00
aiongg 717079fa0d Print color: spot gradients export as Separation and DeviceN shadings 2026-10-20 13:12:30 +00:00
aiongg 6c9709e11f Print color: gradient stops keep the swatch they were given
A stop can name a colour swatch (spot, process, tint, [Paper]) next to its
display colour. swatch.create {gradient}, object.gradient, the Gradient panel
and IDML StopColor keep the reference; renames follow it, swatch edits refresh
the stop's colour and a deleted swatch leaves a plain colour. The field is
optional and omitted for plain stops, so saved documents load and save as
before.
2026-10-20 13:12:29 +00:00
aiongg 30c0664142 Print color: File > Print prints the PDF Export PDF writes
file.print builds its PDF with the same pipeline as file.exportPdf
(flattener, placed PDFs with hidden layers and soft effects as images,
print color, view options), accepts Export PDF's settings and returns its
warnings, instead of calling designcraft_pdf::export_pdf with the
hard-edged vector drop shadow.
2026-10-20 13:12:15 +00:00
aiongg c51ff78d2b Print color: Knockout Group and Isolate Blending as group attributes
Groups are pushed with Surface::push_group, so Knockout Group writes
/K true and Isolate Blending /I true, each on its own. File > Export PDF
no longer rasterizes knockout groups.
2026-10-20 13:12:15 +00:00
aiongg 2b6ed2ccf0 Print color: export overprint as /op, /OP and /OPM
Overprint Fill, Overprint Stroke, Overprint Gap, overprinting text (ruby,
kenten) and 100% [Black] under Appearance of Black are pushed through
Surface::push_overprint with OPM 1, around the paint they apply to.
PDF/A exports are RGB and leave overprint out with a warning.
2026-10-20 13:12:15 +00:00
aiongg 6a04039f5f Print color: CMYK print output through craft-pdf's print settings
CMYK print exports (a CMYK blend space, and PDF/X-4) take their blending
groups, output intent and /Trapped from write::print::settings instead of
rewriting krilla's bytes. The output intent is the CMYK working space,
Coated FOGRA39 when it has none or its profile can't be written. PDF/X-4
still adds the XMP metadata date and version ID krilla doesn't write.
RGB and PDF/A exports are written as before.
2026-10-20 12:48:50 +00:00
aiongg ce5e58e63b Print color: pin craft-pdf, craft-prepress and krilla to craft-libs#190 2026-10-20 12:28:02 +00:00
Brandon Thomas 443ea4640c Merge pull request #1163 from MaridWSH/fonts/reload-changed-fonts
Fonts: Type › Reload Fonts reads fonts changed on disk again (#328, #547)
2026-10-19 02:53:01 -04:00
Brandon Thomas affce22f4f Merge remote-tracking branch 'origin/main' into HEAD
# Conflicts:
#	docs/gaps.md
2026-10-19 02:52:49 -04:00
Brandon Thomas af7bd3cc6e Merge pull request #1136 from harrisonoconnorhover/codex/delete-parent-pages
fix: allow deleting parent pages (#956)
2026-10-19 02:52:39 -04:00
Brandon Thomas f78bf721e8 Merge storytold/main into codex/delete-parent-pages 2026-10-19 02:52:27 -04:00
Brandon Thomas bad330b218 Merge pull request #1242 from 4waymedia/fix/340-package-relative-links
Package: link the packaged document and IDML relative to the package (fixes #340)
2026-10-19 02:52:24 -04:00
Brandon Thomas 96957ef53f Merge storytold/main into fix/340-package-relative-links 2026-10-19 02:52:13 -04:00
Brandon Thomas dceac88f2c Merge pull request #1271 from Hamza0101/screen-mode-bleed-slug
View: Bleed and Slug screen modes show their area; draw the slug guide
2026-10-19 02:52:10 -04:00
Brandon Thomas 0857671f48 Merge storytold/main into screen-mode-bleed-slug 2026-10-19 02:51:59 -04:00
Brandon Thomas 14603a56e1 Merge pull request #1299 from KnottyDyes/squad/stroke-type-validation
Object: reject malformed stroke types
2026-10-19 02:51:41 -04:00
Brandon Thomas 0e4d1cef7e Merge storytold/main into fonts/reload-changed-fonts 2026-10-19 02:51:28 -04:00
Brandon Thomas fcb83fd12d Merge storytold/main into codex/delete-parent-pages 2026-10-19 02:51:25 -04:00
Brandon Thomas 0ac836d6cb Merge storytold/main into fix/340-package-relative-links 2026-10-19 02:51:22 -04:00
Brandon Thomas 5e94f78c2e Merge storytold/main into screen-mode-bleed-slug 2026-10-19 02:51:20 -04:00
Brandon Thomas 157035aa9e Merge storytold/main into squad/stroke-type-validation 2026-10-19 02:51:17 -04:00
Brandon Thomas 73d68e4ef4 Merge pull request #1149 from y-az/fix/arabic-contextual-alternates
Shaping: Arabic keeps contextual alternates
2026-10-19 02:50:41 -04:00
Brandon Thomas 8e7c9504d5 Merge pull request #1148 from y-az/fix/page-number-digits
Breaker: keep a page number's digits together
2026-10-19 02:50:38 -04:00
Brandon Thomas 992a171b78 Merge pull request #1117 from Silvertree2010/fix/h1992-table-moverow-table-dropcells-ca
Refuse table row moves across the header/footer boundary
2026-10-19 02:50:34 -04:00
Brandon Thomas 8ce4c31bac Merge pull request #1078 from marcoarnulfo/feat/vt-forced-break
Text parameters: a vertical tab is a forced line break
2026-10-19 02:50:31 -04:00
Brandon Thomas c9c25b10d6 Merge pull request #1169 from Silvertree2010/fix/1165-placing-text-into-a-primary-text
Remove empty pages autoflow adds when placing into the primary frame
2026-10-19 02:50:27 -04:00
Brandon Thomas cbcf6185b7 Merge pull request #1177 from Silvertree2010/fix/h2234-xlsx-import-appends-phonetic-gui
Skip phonetic guide text when importing XLSX strings
2026-10-19 02:50:23 -04:00
Brandon Thomas 71ab5282d9 Merge pull request #1182 from Silvertree2010/fix/h2256-tagged-text-import-accepts-non-f
Ignore non-finite <cSize> values in Tagged Text import
2026-10-19 02:50:19 -04:00
Brandon Thomas ea3263ef0b Merge pull request #1184 from seanth/drop-cap-size
(fix)Drop caps: scale with the cap's point size, as InDesign doesDrop cap size
2026-10-19 02:50:15 -04:00
Brandon Thomas 242dd4c08d Merge pull request #1187 from Silvertree2010/fix/h2354-rtf-import-stores-zero-negative
Ignore out-of-range font sizes in RTF import
2026-10-19 02:50:11 -04:00
Brandon Thomas bc57f5c9c1 Merge pull request #1188 from Silvertree2010/fix/h2391-docx-import-stores-nan-inf-font
Ignore non-finite w:sz, w:spacing and w:ind values in DOCX import
2026-10-19 02:50:07 -04:00
Brandon Thomas 5442d648eb Merge pull request #1193 from Silvertree2010/fix/h2418-idml-import-accepts-nan-inf-in-s
Ignore NaN and infinite numbers when importing IDML
2026-10-19 02:50:02 -04:00
Brandon Thomas 147d1a0291 Merge pull request #1196 from seanth/tool-units
(fix)Tools: readouts measure in the document's ruler units
2026-10-19 02:49:58 -04:00
Brandon Thomas 90fdcc3807 Merge pull request #1216 from MarekSpodBiedry/issue-1203
Make the dock collapse and expand chevrons clickable (#1203)
2026-10-19 02:49:55 -04:00
Brandon Thomas 24549f6f19 Merge pull request #1217 from MarekSpodBiedry/issue-1207
PDF/X-4 export: add xmp:MetadataDate and xmpMM:VersionID to the XMP (#1207)
2026-10-19 02:49:51 -04:00
Brandon Thomas d7a1bb3ad7 Merge pull request #1218 from MarekSpodBiedry/issue-1208
Keep the mapped style of the first paragraph when placing text at an empty caret (#1208)
2026-10-19 02:49:47 -04:00
Brandon Thomas 0a06c495e9 Merge pull request #1215 from Silvertree2010/fix/h2484-math-insert-with-id-jumps-a-move
Keep a moved equation in place when editing its LaTeX
2026-10-19 02:49:44 -04:00
Brandon Thomas c906becbba Merge pull request #1199 from Silvertree2010/fix/h2448-designcraft-cli-run-scale-0-a-ne
Reject a non-finite or non-positive --scale in designcraft-cli run
2026-10-19 02:49:40 -04:00
Brandon Thomas 89bfb16a20 Merge pull request #1230 from ghanashyam03/fix/designcraft-roadmap-parity-link
docs: fix broken parity checklist link
2026-10-19 02:49:37 -04:00
Brandon Thomas 54052d77f9 Merge pull request #1237 from aykutfirat/fix/cell-first-baseline
Tables: cell First Baseline offset (Cell Options › Text › First Baseline)
2026-10-19 02:49:33 -04:00
Brandon Thomas 33427bb053 Merge pull request #1272 from marcoarnulfo/fix/document-setup-bare-unit
Document Setup: read a number without a unit in the document's units
2026-10-19 02:49:27 -04:00
Brandon Thomas 2745aa13ea Merge pull request #1284 from Silvertree2010/fix/h2791-object-stroke-accepts-an-unbound
Clamp object.stroke tint and gapTint to 0..1
2026-10-19 02:49:24 -04:00
Brandon Thomas f559680518 Merge pull request #1288 from MarekSpodBiedry/issue-1245
Let single-line paths be resized along their length (#1245)
2026-10-19 02:49:20 -04:00