Commit Graph
293 Commits
Author SHA1 Message Date
aiongg 829e5b86c3 Merge remote-tracking branch 'upstream/main' into image-perf
# Conflicts:
#	crates/render/src/decode.rs
2026-11-14 12:47:03 +00:00
aiongg b73c3dd87a Build: restore designcraft_format::write; render decode without the image crate (#2780)
* Build: restore designcraft_format::write for recovery; render decodes without naming the image crate

* Build: collapse the nested if in images tone (clippy)

* IDML export: placements in cells and footnotes embed their PDF layer choices

* Tests: Word fixtures carry the document relationships part

* PDF/X-4: untagged WebP images carry sRGB

* Images: CMYK TIFFs with other inks fall back to RGB; associated alpha keeps its inks

craft-image-codecs' TiffPage lists InkSet (storytold/craft-libs#1307), so decode_cmyk_tiff
again refuses InkSet 2 instead of reading other inks as C, M, Y and K. Associated alpha
is made straight by the decoder; the PDF tests check those inks and that alpha.

* PDF tests: CMYK fallback expects the screen's RGB; alpha images read the masked image

The RGB fallback for other inks converts through the working CMYK space, as decode_rgba
does, so the test takes its expected samples from decode_rgba. image_color_samples took the
first image stream, which for an image with alpha is its soft mask.

* Images: repin craft-image-codecs to the InkSet enum (storytold/craft-libs#1307)

* Pin craft-image-codecs to storytold/craft-libs ea1c842 (#1307)
2026-11-14 07:42:07 -05:00
aiongg e8701e3f4c DES-10: pin craft-designcraft-format to storytold/craft-libs b1b4602 (#1264) 2026-11-14 07:13:44 +00:00
aiongg 4ad3038517 DES-10 T4: build linked assets and proxies from the T3 API; pin craft-libs 7df4cc9ab 2026-11-14 05:42:33 +00:00
aiongg e9a2712a5d DES-10 T4: native format 5 with linked assets and proxies 2026-11-14 05:37:57 +00:00
Dylan M. Taylor 32274e843a Merge codex/designcraft-craft-libs into origin/main: cut over document formats and codecs to craft-libs 2026-11-14 02:13:28 +00:00
Dylan M. Taylor 77991abe6f fix(file): preserve legacy JSON on INDD paths 2026-11-14 00:40:59 +00:00
Dylan M. Taylor b681b10733 Pin DesignCraft shared codecs to merged fixes 2026-11-13 23:53:29 +00:00
Dylan M. Taylor 1284edfa3b Pin shared CSV codec to merge commit 2026-11-13 21:08:18 +00:00
Dylan M. Taylor 59db0b67a7 Use shared IDML transparency writer 2026-11-13 09:43:29 -05:00
Dylan M. Taylor b409bccb0f Use shared IDML effect setting writers 2026-11-13 09:40:28 -05:00
Dylan M. Taylor 703ffed779 Use shared IDML text path writer 2026-11-13 09:37:36 -05:00
Dylan M. Taylor dab41a4f60 Use shared IDML hyperlink destination writer 2026-11-13 09:35:55 -05:00
Dylan M. Taylor 4fbe39af99 Use shared IDML index parser 2026-11-13 09:33:26 -05:00
Dylan M. Taylor 6bc26299fa Use shared IDML anchored setting writer 2026-11-13 09:30:04 -05:00
Dylan M. Taylor 1cb0c04143 Use shared IDML index writer 2026-11-13 09:27:22 -05:00
Dylan M. Taylor a9c4253e57 Use shared IDML page reference writer 2026-11-13 09:23:32 -05:00
Dylan M. Taylor c74cf007d0 Use shared cell and table style decorations 2026-11-13 09:13:02 -05:00
Dylan M. Taylor 61f6a83de5 Use shared IDML object style values 2026-11-13 09:10:17 -05:00
Dylan M. Taylor c94a29204d Use shared IDML graphic MIME fallback 2026-11-13 09:07:12 -05:00
Dylan M. Taylor 6a980c01c2 Pin IDML API after shared main rebase 2026-11-13 09:06:02 -05:00
Dylan M. Taylor 41bbd27a40 Use shared placed graphic metadata 2026-11-13 09:04:34 -05:00
Dylan M. Taylor 611fe571da Use shared IDML anchored object values 2026-11-13 09:00:48 -05:00
Dylan M. Taylor 7f2ac33275 Use shared IDML frame fitting values 2026-11-13 08:58:46 -05:00
Dylan M. Taylor a92db95301 Delegate IDML object style merging to craft-idml 2026-11-13 08:56:24 -05:00
Dylan M. Taylor 75eeeca16f Use shared IDML table style values 2026-11-13 08:50:49 -05:00
Dylan M. Taylor 862c052c2f Use shared IDML cell style values 2026-11-13 08:49:14 -05:00
Dylan M. Taylor ed0543639a Write IDML cross-reference format through craft-idml 2026-11-13 08:47:03 -05:00
Dylan M. Taylor b782bdde6d Read IDML conditions and lists from shared models 2026-11-13 08:44:55 -05:00
Dylan M. Taylor b45c58f2e3 Use shared IDML cross-reference and EPUB models 2026-11-13 08:43:04 -05:00
Dylan M. Taylor 5b524b5554 Read IDML text variables through shared model 2026-11-13 08:39:54 -05:00
Dylan M. Taylor eeb085fb63 Read IDML table of contents styles through shared model 2026-11-13 08:37:27 -05:00
Dylan M. Taylor d939af608a Use shared writer for IDML footnote preferences 2026-11-13 08:35:11 -05:00
Dylan M. Taylor 54a4b1ceec Read footnote preferences through shared IDML model 2026-11-13 08:32:57 -05:00
Dylan M. Taylor c0867e86dd Use shared preference and range accessors 2026-11-13 08:31:08 -05:00
Dylan M. Taylor c47dff9b62 Use shared IDML model for preference output 2026-11-13 08:27:49 -05:00
Dylan M. Taylor 5d1b5ccb17 Read document preferences through shared IDML model 2026-11-13 08:24:20 -05:00
Dylan M. Taylor b373afcf7c chore: repin native format to merged shared codec 2026-11-13 13:22:48 +00:00
Dylan M. Taylor fd1d1992f7 Use shared writer for CJK paragraph properties 2026-11-13 08:22:10 -05:00
Dylan M. Taylor 9d218d235c Use shared IDML writers for paragraph list and span settings 2026-11-13 08:20:00 -05:00
Dylan M. Taylor 1942a99634 Read custom kenten values through shared IDML model 2026-11-13 08:16:49 -05:00
Dylan M. Taylor b820166872 Read paragraph list and span settings through shared model 2026-11-13 08:15:00 -05:00
Dylan M. Taylor 1a7a6e3e4b Read CJK paragraph settings through shared IDML model 2026-11-13 08:12:23 -05:00
Dylan M. Taylor 2a0551b73a Read paragraph box values through shared IDML model 2026-11-13 08:10:32 -05:00
Dylan M. Taylor b46323ffda Read special character properties through shared IDML model 2026-11-13 08:05:07 -05:00
Dylan M. Taylor c91887f49e Read Ruby properties through shared IDML model 2026-11-13 08:02:41 -05:00
Dylan M. Taylor e9fe18a0f6 Read paragraph alignment and flow through shared model 2026-11-13 07:59:52 -05:00
Dylan M. Taylor 22de685d98 Read character appearance through shared IDML model 2026-11-13 07:57:17 -05:00
Dylan M. Taylor 36db87ba20 Read character typography through shared IDML model 2026-11-13 07:55:42 -05:00
Dylan M. Taylor fc66be4021 Write paragraph flow through shared IDML model 2026-11-13 07:54:00 -05:00