[doc] Editor core: document model, exact undo, .pictor format, text layout, display list, tiny-skia render, bitmap tools, SVG import, PNG/JPG/SVG/PDF export; worker doc.open and doc.import_svg

This commit is contained in:
2026-11-17 10:07:12 +01:00
parent e46cbe3547
commit 17db54fdbf
26 changed files with 6589 additions and 7 deletions
+30
View File
@@ -0,0 +1,30 @@
[package]
name = "pictor-doc"
description = "Pictor's document model: pages, layers, vector objects and bitmaps; operations with exact undo; the .pictor format; text, rendering and export"
version.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true
rust-version.workspace = true
[dependencies]
thiserror.workspace = true
serde = { workspace = true, features = ["rc"] }
serde_json.workspace = true
base64.workspace = true
image.workspace = true
sha2.workspace = true
tiny-skia = "0.12"
usvg = { version = "0.50", default-features = false, features = ["text", "system-fonts", "memmap-fonts"] }
fontdb = { version = "0.24", default-features = false, features = ["fs", "memmap"] }
rustybuzz = "0.20"
ttf-parser = "0.25"
pdf-writer = "0.15"
subsetter = "0.2"
flate2.workspace = true
zip = { version = "8.6.0", default-features = false, features = ["deflate"] }
[dev-dependencies]
proptest.workspace = true
pictor-pdf.workspace = true
tempfile.workspace = true