Skip to content

DesignCraft: An open-source page and layout design editor written by scratch in pure Rust

Merge branch 'main' into feat/pptx-export

Philipp Krüger377fc3f3eb55
diff --cc Cargo.lock
index d7e987313,9473c974a..82c9f7cc8
--- a/Cargo.lock
+++ b/Cargo.lock
@@@ -1059,26 -1079,9 +1080,26 @@@ dependencies =
"tiff",
]
+[[package]]
+name = "designcraft-pptx"
+version = "0.4.0"
+dependencies = [
+ "designcraft-color",
+ "designcraft-compose",
+ "designcraft-doc",
+ "designcraft-fonts",
+ "designcraft-geom",
+ "designcraft-images",
+ "image",
+ "quick-xml 0.38.4",
+ "skrifa 0.47.0",
+ "thiserror 2.0.21",
+ "zip",
+]
+
[[package]]
name = "designcraft-render"
- version = "0.4.0"
+ version = "0.5.0"
dependencies = [
"designcraft-color",
"designcraft-compose",
diff --cc README.md
index cf73543ee,5c7d4c1ad..84dc861f4
--- a/README.md
+++ b/README.md
@@@ -87,7 -87,8 +87,9 @@@ by its own renderer. Try it yourself wi
Line breaks are identical on screen and in PDF.
- **Fast.** Multithreaded SIMD rendering (vello_cpu), copy-on-write documents with O(1) undo
snapshots, and cached composition.
- - **Open.** A documented native format, IDML import and export, PNG and editable PowerPoint export, and PDF on the roadmap.
-- **Open.** A documented native format, IDML import and export, and PNG, PDF (PDF/X-4, PDF/A-2b)
++- **Open.** A documented native format, IDML import and export, editable PowerPoint export, and PNG, PDF (PDF/X-4, PDF/A-2b)
+ and EPUB export.
++
No subscription, no licence server, no telemetry.
- **Agent-native.** Every menu item, tool gesture, panel control and dialog can be driven over a
JSON control channel and an **MCP server**, so Claude and other agents can lay out and edit
diff --cc apps/designcraft-cli/src/main.rs
index ce760cd48,b1819c357..108dd7a7e
--- a/apps/designcraft-cli/src/main.rs
+++ b/apps/designcraft-cli/src/main.rs
@@@ -1,7 -1,8 +1,9 @@@
//! Headless DesignCraft.
//!
//! ```text
+//! designcraft-cli run [--in FILE.designcraft|FILE.idml | --sample] [--cmd ID[=JSON]]... [--page N] [--scale S] [--export OUT.png|.jpg|.pdf|.designcraft|.idml|.epub|.pptx] [--pdf-options JSON] [--all-pages DIR]
+ //! designcraft-cli run [--in FILE.designcraft|FILE.idml | --sample] [--cmd ID[=JSON]]... [--page N] [--scale S] [--pdf-options JSON] [--export OUT.png|.jpg|.pdf|.designcraft|.idml|.epub] [--all-pages DIR]
+ //! # --page, --scale and --pdf-options apply to the exports that follow them
//! designcraft-cli commands [FILTER] # list commands (JSON), optionally only ids/labels/menus containing FILTER
//! designcraft-cli describe ID # one command: label, menu, shortcut, parameters
//! designcraft-cli script [FILE|-] [--in FILE | --sample] [--connect PORT] [--save OUT] [--export OUT] [--keep-going]
diff --cc contributors/people.toml
index fe264b640,67a8fdf30..e46c60f3b
--- a/contributors/people.toml
+++ b/contributors/people.toml
@@@ -22,5 -22,11 +22,13 @@@ real_name = "Brandon Thomas
display_name = "Brandon Thomas"
sync_github_name = false
+[people.PhilippKrueger]
+real_name = "Philipp Krüger"
+ [people.emanuelebonaventura]
+ display_name = "insanityxoff"
+
+ [people.moppeeer]
+ sync_github_name = true
+
+ [people.thaynej]
+ real_name = "Jeffrey Thayne"