Skip to content

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

Merge branch 'keymap-adoption' into keymap-shortcuts-dialog

aionggf6fe64981a96
diff --cc Cargo.lock
index 2f41eb429,05b6d31d5..eabe9e52e
--- a/Cargo.lock
+++ b/Cargo.lock
@@@ -1004,7 -995,7 +1004,7 @@@ dependencies =
[[package]]
name = "craft-atomic"
version = "0.1.0"
- source = "git+https://github.com/storytold/craft-libs?rev=1deaba523eaf9388750e7a07e3253e7ee7568c32#1deaba523eaf9388750e7a07e3253e7ee7568c32"
-source = "git+https://github.com/storytold/craft-libs?rev=495e5971bc024aa96e6ed318cb6e7cd3a0103184#495e5971bc024aa96e6ed318cb6e7cd3a0103184"
++source = "git+https://github.com/storytold/craft-libs?rev=b926b5c03e256c86ca10934f58d03f628810b5b7#b926b5c03e256c86ca10934f58d03f628810b5b7"
dependencies = [
"rustix 1.1.5",
]
@@@ -1012,7 -1003,7 +1012,7 @@@
[[package]]
name = "craft-cms"
version = "0.1.0"
- source = "git+https://github.com/storytold/craft-libs?rev=1deaba523eaf9388750e7a07e3253e7ee7568c32#1deaba523eaf9388750e7a07e3253e7ee7568c32"
-source = "git+https://github.com/storytold/craft-libs?rev=495e5971bc024aa96e6ed318cb6e7cd3a0103184#495e5971bc024aa96e6ed318cb6e7cd3a0103184"
++source = "git+https://github.com/storytold/craft-libs?rev=b926b5c03e256c86ca10934f58d03f628810b5b7#b926b5c03e256c86ca10934f58d03f628810b5b7"
dependencies = [
"rayon",
]
@@@ -1020,38 -1011,13 +1020,43 @@@
[[package]]
name = "craft-docpath"
version = "0.1.0"
- source = "git+https://github.com/storytold/craft-libs?rev=1deaba523eaf9388750e7a07e3253e7ee7568c32#1deaba523eaf9388750e7a07e3253e7ee7568c32"
-source = "git+https://github.com/storytold/craft-libs?rev=495e5971bc024aa96e6ed318cb6e7cd3a0103184#495e5971bc024aa96e6ed318cb6e7cd3a0103184"
++source = "git+https://github.com/storytold/craft-libs?rev=b926b5c03e256c86ca10934f58d03f628810b5b7#b926b5c03e256c86ca10934f58d03f628810b5b7"
++
++[[package]]
++name = "craft-fonts-build"
++version = "0.1.0"
++source = "git+https://github.com/storytold/craft-libs?rev=b926b5c03e256c86ca10934f58d03f628810b5b7#b926b5c03e256c86ca10934f58d03f628810b5b7"
+
+[[package]]
+name = "craft-i18n"
+version = "0.1.0"
- source = "git+https://github.com/storytold/craft-libs?rev=1deaba523eaf9388750e7a07e3253e7ee7568c32#1deaba523eaf9388750e7a07e3253e7ee7568c32"
++source = "git+https://github.com/storytold/craft-libs?rev=b926b5c03e256c86ca10934f58d03f628810b5b7#b926b5c03e256c86ca10934f58d03f628810b5b7"
+dependencies = [
+ "fixed_decimal",
+ "icu_decimal",
+ "icu_locale_core",
+ "icu_locale_fallback",
+ "icu_normalizer",
+ "icu_plurals",
+ "icu_properties",
+ "icu_provider",
+ "icu_provider_adapters",
+ "icu_provider_blob",
+ "log",
+ "objc2-foundation 0.3.2",
+ "sys-locale",
+ "unicode-bidi",
+ "windows-registry",
+ "writeable",
+]
[[package]]
name = "craft-keymap"
version = "0.1.0"
- source = "git+https://github.com/storytold/craft-libs?rev=1deaba523eaf9388750e7a07e3253e7ee7568c32#1deaba523eaf9388750e7a07e3253e7ee7568c32"
-source = "git+https://github.com/storytold/craft-libs?rev=495e5971bc024aa96e6ed318cb6e7cd3a0103184#495e5971bc024aa96e6ed318cb6e7cd3a0103184"
++source = "git+https://github.com/storytold/craft-libs?rev=b926b5c03e256c86ca10934f58d03f628810b5b7#b926b5c03e256c86ca10934f58d03f628810b5b7"
dependencies = [
+ "craft-i18n",
+ "craft-ui",
"egui",
"serde",
"serde_json",
@@@ -1060,7 -1026,7 +1065,7 @@@
[[package]]
name = "craft-pdf"
version = "0.1.0"
- source = "git+https://github.com/storytold/craft-libs?rev=1deaba523eaf9388750e7a07e3253e7ee7568c32#1deaba523eaf9388750e7a07e3253e7ee7568c32"
-source = "git+https://github.com/storytold/craft-libs?rev=495e5971bc024aa96e6ed318cb6e7cd3a0103184#495e5971bc024aa96e6ed318cb6e7cd3a0103184"
++source = "git+https://github.com/storytold/craft-libs?rev=b926b5c03e256c86ca10934f58d03f628810b5b7#b926b5c03e256c86ca10934f58d03f628810b5b7"
dependencies = [
"bytemuck",
"hayro",
@@@ -1073,7 -1039,7 +1078,7 @@@
[[package]]
name = "craft-prepress"
version = "0.1.0"
- source = "git+https://github.com/storytold/craft-libs?rev=1deaba523eaf9388750e7a07e3253e7ee7568c32#1deaba523eaf9388750e7a07e3253e7ee7568c32"
-source = "git+https://github.com/storytold/craft-libs?rev=495e5971bc024aa96e6ed318cb6e7cd3a0103184#495e5971bc024aa96e6ed318cb6e7cd3a0103184"
++source = "git+https://github.com/storytold/craft-libs?rev=b926b5c03e256c86ca10934f58d03f628810b5b7#b926b5c03e256c86ca10934f58d03f628810b5b7"
dependencies = [
"craft-cms",
"craft-pdf",
@@@ -1086,11 -1052,11 +1091,11 @@@
[[package]]
name = "craft-print"
version = "0.1.0"
- source = "git+https://github.com/storytold/craft-libs?rev=1deaba523eaf9388750e7a07e3253e7ee7568c32#1deaba523eaf9388750e7a07e3253e7ee7568c32"
-source = "git+https://github.com/storytold/craft-libs?rev=495e5971bc024aa96e6ed318cb6e7cd3a0103184#495e5971bc024aa96e6ed318cb6e7cd3a0103184"
++source = "git+https://github.com/storytold/craft-libs?rev=b926b5c03e256c86ca10934f58d03f628810b5b7#b926b5c03e256c86ca10934f58d03f628810b5b7"
dependencies = [
"craft-winprint-gdi",
- "miniz_oxide 0.8.9",
- "roxmltree 0.20.0",
+ "miniz_oxide 0.9.1",
+ "roxmltree 0.21.2",
"tempfile",
"winprint",
"winsafe",
@@@ -1099,20 -1065,20 +1104,28 @@@
[[package]]
name = "craft-ui"
version = "0.1.0"
- source = "git+https://github.com/storytold/craft-libs?rev=1deaba523eaf9388750e7a07e3253e7ee7568c32#1deaba523eaf9388750e7a07e3253e7ee7568c32"
-source = "git+https://github.com/storytold/craft-libs?rev=495e5971bc024aa96e6ed318cb6e7cd3a0103184#495e5971bc024aa96e6ed318cb6e7cd3a0103184"
++source = "git+https://github.com/storytold/craft-libs?rev=b926b5c03e256c86ca10934f58d03f628810b5b7#b926b5c03e256c86ca10934f58d03f628810b5b7"
dependencies = [
++ "craft-fonts-build",
++ "craft-i18n",
"egui",
++ "epaint",
++ "js-sys",
"log",
"objc2 0.6.5",
"objc2-app-kit 0.3.2",
"objc2-foundation 0.3.2",
"serde",
++ "skrifa 0.44.0",
++ "wasm-bindgen",
++ "wasm-bindgen-futures",
++ "web-sys",
]
[[package]]
name = "craft-update"
version = "0.1.0"
- source = "git+https://github.com/storytold/craft-libs?rev=1deaba523eaf9388750e7a07e3253e7ee7568c32#1deaba523eaf9388750e7a07e3253e7ee7568c32"
-source = "git+https://github.com/storytold/craft-libs?rev=495e5971bc024aa96e6ed318cb6e7cd3a0103184#495e5971bc024aa96e6ed318cb6e7cd3a0103184"
++source = "git+https://github.com/storytold/craft-libs?rev=b926b5c03e256c86ca10934f58d03f628810b5b7#b926b5c03e256c86ca10934f58d03f628810b5b7"
dependencies = [
"chrono",
"dunce",
@@@ -1137,7 -1103,7 +1150,7 @@@
[[package]]
name = "craft-window"
version = "0.1.0"
- source = "git+https://github.com/storytold/craft-libs?rev=1deaba523eaf9388750e7a07e3253e7ee7568c32#1deaba523eaf9388750e7a07e3253e7ee7568c32"
-source = "git+https://github.com/storytold/craft-libs?rev=495e5971bc024aa96e6ed318cb6e7cd3a0103184#495e5971bc024aa96e6ed318cb6e7cd3a0103184"
++source = "git+https://github.com/storytold/craft-libs?rev=b926b5c03e256c86ca10934f58d03f628810b5b7#b926b5c03e256c86ca10934f58d03f628810b5b7"
dependencies = [
"egui",
"objc2 0.6.5",
@@@ -2620,7 -2577,7 +2635,7 @@@ dependencies =
[[package]]
name = "hayro"
version = "0.7.1"
- source = "git+https://github.com/storytold/craft-libs?rev=1deaba523eaf9388750e7a07e3253e7ee7568c32#1deaba523eaf9388750e7a07e3253e7ee7568c32"
-source = "git+https://github.com/storytold/craft-libs?rev=495e5971bc024aa96e6ed318cb6e7cd3a0103184#495e5971bc024aa96e6ed318cb6e7cd3a0103184"
++source = "git+https://github.com/storytold/craft-libs?rev=b926b5c03e256c86ca10934f58d03f628810b5b7#b926b5c03e256c86ca10934f58d03f628810b5b7"
dependencies = [
"bytemuck",
"hayro-interpret",
@@@ -2640,7 -2597,7 +2655,7 @@@ checksum = "9f4d0e94ddd48749f06bbe4e538
[[package]]
name = "hayro-cmap"
version = "0.1.0"
- source = "git+https://github.com/storytold/craft-libs?rev=1deaba523eaf9388750e7a07e3253e7ee7568c32#1deaba523eaf9388750e7a07e3253e7ee7568c32"
-source = "git+https://github.com/storytold/craft-libs?rev=495e5971bc024aa96e6ed318cb6e7cd3a0103184#495e5971bc024aa96e6ed318cb6e7cd3a0103184"
++source = "git+https://github.com/storytold/craft-libs?rev=b926b5c03e256c86ca10934f58d03f628810b5b7#b926b5c03e256c86ca10934f58d03f628810b5b7"
dependencies = [
"brotli",
"hayro-postscript",
@@@ -2649,7 -2606,7 +2664,7 @@@
[[package]]
name = "hayro-interpret"
version = "0.7.0"
- source = "git+https://github.com/storytold/craft-libs?rev=1deaba523eaf9388750e7a07e3253e7ee7568c32#1deaba523eaf9388750e7a07e3253e7ee7568c32"
-source = "git+https://github.com/storytold/craft-libs?rev=495e5971bc024aa96e6ed318cb6e7cd3a0103184#495e5971bc024aa96e6ed318cb6e7cd3a0103184"
++source = "git+https://github.com/storytold/craft-libs?rev=b926b5c03e256c86ca10934f58d03f628810b5b7#b926b5c03e256c86ca10934f58d03f628810b5b7"
dependencies = [
"bitflags 2.13.2",
"hayro-cmap",
@@@ -2667,7 -2624,7 +2682,7 @@@
[[package]]
name = "hayro-jbig2"
version = "0.3.0"
- source = "git+https://github.com/storytold/craft-libs?rev=1deaba523eaf9388750e7a07e3253e7ee7568c32#1deaba523eaf9388750e7a07e3253e7ee7568c32"
-source = "git+https://github.com/storytold/craft-libs?rev=495e5971bc024aa96e6ed318cb6e7cd3a0103184#495e5971bc024aa96e6ed318cb6e7cd3a0103184"
++source = "git+https://github.com/storytold/craft-libs?rev=b926b5c03e256c86ca10934f58d03f628810b5b7#b926b5c03e256c86ca10934f58d03f628810b5b7"
dependencies = [
"fearless_simd",
"hayro-ccitt",
@@@ -2685,12 -2642,12 +2700,12 @@@ dependencies =
[[package]]
name = "hayro-postscript"
version = "0.1.0"
- source = "git+https://github.com/storytold/craft-libs?rev=1deaba523eaf9388750e7a07e3253e7ee7568c32#1deaba523eaf9388750e7a07e3253e7ee7568c32"
-source = "git+https://github.com/storytold/craft-libs?rev=495e5971bc024aa96e6ed318cb6e7cd3a0103184#495e5971bc024aa96e6ed318cb6e7cd3a0103184"
++source = "git+https://github.com/storytold/craft-libs?rev=b926b5c03e256c86ca10934f58d03f628810b5b7#b926b5c03e256c86ca10934f58d03f628810b5b7"
[[package]]
name = "hayro-syntax"
version = "0.7.2"
- source = "git+https://github.com/storytold/craft-libs?rev=1deaba523eaf9388750e7a07e3253e7ee7568c32#1deaba523eaf9388750e7a07e3253e7ee7568c32"
-source = "git+https://github.com/storytold/craft-libs?rev=495e5971bc024aa96e6ed318cb6e7cd3a0103184#495e5971bc024aa96e6ed318cb6e7cd3a0103184"
++source = "git+https://github.com/storytold/craft-libs?rev=b926b5c03e256c86ca10934f58d03f628810b5b7#b926b5c03e256c86ca10934f58d03f628810b5b7"
dependencies = [
"flate2",
"hayro-ccitt",
@@@ -3285,7 -3148,7 +3300,7 @@@ dependencies =
[[package]]
name = "krilla"
version = "0.8.2"
- source = "git+https://github.com/storytold/craft-libs?rev=1deaba523eaf9388750e7a07e3253e7ee7568c32#1deaba523eaf9388750e7a07e3253e7ee7568c32"
-source = "git+https://github.com/storytold/craft-libs?rev=495e5971bc024aa96e6ed318cb6e7cd3a0103184#495e5971bc024aa96e6ed318cb6e7cd3a0103184"
++source = "git+https://github.com/storytold/craft-libs?rev=b926b5c03e256c86ca10934f58d03f628810b5b7#b926b5c03e256c86ca10934f58d03f628810b5b7"
dependencies = [
"base64 0.22.1",
"bumpalo",
diff --cc Cargo.toml
index 298a6ec47,5c9d882fe..195f39e67
--- a/Cargo.toml
+++ b/Cargo.toml
@@@ -12,12 -12,12 +12,12 @@@ repository = "https://github.com/storyt
[workspace.dependencies]
# Shared reader and writer; publish the immutable revision before this consumer.
- craft-pdf = { git = "https://github.com/storytold/craft-libs", rev = "1deaba523eaf9388750e7a07e3253e7ee7568c32", version = "=0.1.0", default-features = false }
-craft-pdf = { git = "https://github.com/storytold/craft-libs", rev = "495e5971bc024aa96e6ed318cb6e7cd3a0103184", version = "=0.1.0", default-features = false }
-# Shared keyboard bindings: chords, overrides, conflicts, egui dispatch.
-craft-keymap = { git = "https://github.com/storytold/craft-libs", rev = "495e5971bc024aa96e6ed318cb6e7cd3a0103184", version = "=0.1.0", features = ["egui"] }
++craft-pdf = { git = "https://github.com/storytold/craft-libs", rev = "b926b5c03e256c86ca10934f58d03f628810b5b7", version = "=0.1.0", default-features = false }
+# Shared keyboard bindings: chords, overrides, conflicts, egui dispatch, the Keyboard Shortcuts dialog.
- craft-keymap = { git = "https://github.com/storytold/craft-libs", rev = "1deaba523eaf9388750e7a07e3253e7ee7568c32", version = "=0.1.0", features = ["egui", "ui"] }
++craft-keymap = { git = "https://github.com/storytold/craft-libs", rev = "b926b5c03e256c86ca10934f58d03f628810b5b7", version = "=0.1.0", features = ["egui", "ui"] }
# Separations, ink coverage and the ink manager; same revision as craft-pdf and the krilla patch.
- craft-prepress = { git = "https://github.com/storytold/craft-libs", rev = "1deaba523eaf9388750e7a07e3253e7ee7568c32", version = "=0.1.0", features = ["flatten"] }
- craft-update = { git = "https://github.com/storytold/craft-libs", version = "=0.1.0", rev = "1deaba523eaf9388750e7a07e3253e7ee7568c32", features = ["egui"] }
-craft-prepress = { git = "https://github.com/storytold/craft-libs", rev = "495e5971bc024aa96e6ed318cb6e7cd3a0103184", version = "=0.1.0", features = ["flatten"] }
-craft-update = { git = "https://github.com/storytold/craft-libs", version = "=0.1.0", rev = "495e5971bc024aa96e6ed318cb6e7cd3a0103184", features = ["egui"] }
++craft-prepress = { git = "https://github.com/storytold/craft-libs", rev = "b926b5c03e256c86ca10934f58d03f628810b5b7", version = "=0.1.0", features = ["flatten"] }
++craft-update = { git = "https://github.com/storytold/craft-libs", version = "=0.1.0", rev = "b926b5c03e256c86ca10934f58d03f628810b5b7", features = ["egui"] }
# internal
designcraft-geom = { path = "crates/geom" }
designcraft-color = { path = "crates/color" }
@@@ -80,20 -80,20 +80,20 @@@ zip = { version = "3", default-feature
indd = { git = "https://github.com/storytold/indd-utils", branch = "main" }
# Which paths stored in documents may be followed (craft-libs).
- craft-docpath = { version = "0.1.0", git = "https://github.com/storytold/craft-libs", rev = "1deaba523eaf9388750e7a07e3253e7ee7568c32" }
-craft-docpath = { version = "0.1.0", git = "https://github.com/storytold/craft-libs", rev = "495e5971bc024aa96e6ed318cb6e7cd3a0103184" }
++craft-docpath = { version = "0.1.0", git = "https://github.com/storytold/craft-libs", rev = "b926b5c03e256c86ca10934f58d03f628810b5b7" }
# Atomic file replacement for saves and exports (craft-libs).
- craft-atomic = { version = "0.1.0", git = "https://github.com/storytold/craft-libs", rev = "1deaba523eaf9388750e7a07e3253e7ee7568c32" }
-craft-atomic = { version = "0.1.0", git = "https://github.com/storytold/craft-libs", rev = "495e5971bc024aa96e6ed318cb6e7cd3a0103184" }
++craft-atomic = { version = "0.1.0", git = "https://github.com/storytold/craft-libs", rev = "b926b5c03e256c86ca10934f58d03f628810b5b7" }
# File › Print through the system print spooler (craft-libs).
- craft-print = { version = "0.1.0", git = "https://github.com/storytold/craft-libs", rev = "1deaba523eaf9388750e7a07e3253e7ee7568c32" }
-craft-print = { version = "0.1.0", git = "https://github.com/storytold/craft-libs", rev = "495e5971bc024aa96e6ed318cb6e7cd3a0103184" }
++craft-print = { version = "0.1.0", git = "https://github.com/storytold/craft-libs", rev = "b926b5c03e256c86ca10934f58d03f628810b5b7" }
# ICC colour management: working spaces, transforms, black point compensation (craft-libs).
- craft-cms = { version = "0.1.0", git = "https://github.com/storytold/craft-libs", rev = "1deaba523eaf9388750e7a07e3253e7ee7568c32" }
-craft-cms = { version = "0.1.0", git = "https://github.com/storytold/craft-libs", rev = "495e5971bc024aa96e6ed318cb6e7cd3a0103184" }
++craft-cms = { version = "0.1.0", git = "https://github.com/storytold/craft-libs", rev = "b926b5c03e256c86ca10934f58d03f628810b5b7" }
# ui
# Shared frontend components; keep this dependency above the engine boundary.
- craft-ui = { version = "0.1.0", git = "https://github.com/storytold/craft-libs", rev = "1deaba523eaf9388750e7a07e3253e7ee7568c32", features = ["serde"] }
-craft-ui = { version = "0.1.0", git = "https://github.com/storytold/craft-libs", rev = "495e5971bc024aa96e6ed318cb6e7cd3a0103184", features = ["serde"] }
++craft-ui = { version = "0.1.0", git = "https://github.com/storytold/craft-libs", rev = "b926b5c03e256c86ca10934f58d03f628810b5b7", features = ["serde"] }
# The application bar as the window's title bar (craft-libs).
- craft-window = { version = "0.1.0", git = "https://github.com/storytold/craft-libs", rev = "1deaba523eaf9388750e7a07e3253e7ee7568c32", features = ["egui"] }
-craft-window = { version = "0.1.0", git = "https://github.com/storytold/craft-libs", rev = "495e5971bc024aa96e6ed318cb6e7cd3a0103184", features = ["egui"] }
++craft-window = { version = "0.1.0", git = "https://github.com/storytold/craft-libs", rev = "b926b5c03e256c86ca10934f58d03f628810b5b7", features = ["egui"] }
egui = "0.37"
egui_extras = { version = "0.37", default-features = false, features = ["svg"] }
eframe = { version = "0.37", default-features = false }
@@@ -131,14 -131,16 +131,16 @@@ debug =
# Opt-in cancelable macOS termination on the pinned winit 0.30 line.
[patch.crates-io]
- krilla = { git = "https://github.com/storytold/craft-libs", rev = "1deaba523eaf9388750e7a07e3253e7ee7568c32", version = "=0.8.2" }
-krilla = { git = "https://github.com/storytold/craft-libs", rev = "495e5971bc024aa96e6ed318cb6e7cd3a0103184", version = "=0.8.2" }
++krilla = { git = "https://github.com/storytold/craft-libs", rev = "b926b5c03e256c86ca10934f58d03f628810b5b7", version = "=0.8.2" }
winit = { git = "https://github.com/storytold/winit.git", rev = "a517b3846ee8457d84ee4975110bfda6797c44dc" }
- hayro = { git = "https://github.com/storytold/craft-libs", rev = "1deaba523eaf9388750e7a07e3253e7ee7568c32", version = "=0.7.1" }
- hayro-interpret = { git = "https://github.com/storytold/craft-libs", rev = "1deaba523eaf9388750e7a07e3253e7ee7568c32", version = "=0.7.0" }
- hayro-syntax = { git = "https://github.com/storytold/craft-libs", rev = "1deaba523eaf9388750e7a07e3253e7ee7568c32", version = "=0.7.2" }
- hayro-jbig2 = { git = "https://github.com/storytold/craft-libs", rev = "1deaba523eaf9388750e7a07e3253e7ee7568c32", version = "=0.3.0" }
- hayro-cmap = { git = "https://github.com/storytold/craft-libs", rev = "1deaba523eaf9388750e7a07e3253e7ee7568c32", version = "=0.1.0" }
- hayro-postscript = { git = "https://github.com/storytold/craft-libs", rev = "1deaba523eaf9388750e7a07e3253e7ee7568c32", version = "=0.1.0" }
+ # The hayro crates from craft-libs' vendor/ directory (pdfcraft's, plus the plate mode and decode
+ # limits craft-pdf and craft-prepress need); same revision as craft-pdf.
-hayro = { git = "https://github.com/storytold/craft-libs", rev = "495e5971bc024aa96e6ed318cb6e7cd3a0103184", version = "=0.7.1" }
-hayro-interpret = { git = "https://github.com/storytold/craft-libs", rev = "495e5971bc024aa96e6ed318cb6e7cd3a0103184", version = "=0.7.0" }
-hayro-syntax = { git = "https://github.com/storytold/craft-libs", rev = "495e5971bc024aa96e6ed318cb6e7cd3a0103184", version = "=0.7.2" }
-hayro-jbig2 = { git = "https://github.com/storytold/craft-libs", rev = "495e5971bc024aa96e6ed318cb6e7cd3a0103184", version = "=0.3.0" }
-hayro-cmap = { git = "https://github.com/storytold/craft-libs", rev = "495e5971bc024aa96e6ed318cb6e7cd3a0103184", version = "=0.1.0" }
-hayro-postscript = { git = "https://github.com/storytold/craft-libs", rev = "495e5971bc024aa96e6ed318cb6e7cd3a0103184", version = "=0.1.0" }
++hayro = { git = "https://github.com/storytold/craft-libs", rev = "b926b5c03e256c86ca10934f58d03f628810b5b7", version = "=0.7.1" }
++hayro-interpret = { git = "https://github.com/storytold/craft-libs", rev = "b926b5c03e256c86ca10934f58d03f628810b5b7", version = "=0.7.0" }
++hayro-syntax = { git = "https://github.com/storytold/craft-libs", rev = "b926b5c03e256c86ca10934f58d03f628810b5b7", version = "=0.7.2" }
++hayro-jbig2 = { git = "https://github.com/storytold/craft-libs", rev = "b926b5c03e256c86ca10934f58d03f628810b5b7", version = "=0.3.0" }
++hayro-cmap = { git = "https://github.com/storytold/craft-libs", rev = "b926b5c03e256c86ca10934f58d03f628810b5b7", version = "=0.1.0" }
++hayro-postscript = { git = "https://github.com/storytold/craft-libs", rev = "b926b5c03e256c86ca10934f58d03f628810b5b7", version = "=0.1.0" }
ecolor = { git = "https://github.com/storytold/egui.git", rev = "6d518fc799681571963842f95b55a6b68431b15a" }
emath = { git = "https://github.com/storytold/egui.git", rev = "6d518fc799681571963842f95b55a6b68431b15a" }
epaint = { git = "https://github.com/storytold/egui.git", rev = "6d518fc799681571963842f95b55a6b68431b15a" }
diff --cc crates/ui-egui/src/lib.rs
index ebbce5ce7,9d35906e5..3bb2a592e
--- a/crates/ui-egui/src/lib.rs
+++ b/crates/ui-egui/src/lib.rs
@@@ -29,8 -29,8 +29,9 @@@ mod prefs
pub mod render_worker;
mod rtl;
mod section_options;
+ pub mod separations;
mod shortcut_import;
+mod shortcuts_dialog;
pub mod story_editor;
pub mod taskbar;
pub mod theme;
diff --cc docs/pdf-backend.md
index d53625fbd,0bcd7992c..41509a770
--- a/docs/pdf-backend.md
+++ b/docs/pdf-backend.md
@@@ -1,7 -1,7 +1,7 @@@
# Shared PDF backend
DesignCraft pins `craft-pdf`, patched Krilla 0.8.2 and the six Hayro reader crates (with
- `hayro-cmap` and `hayro-postscript`) to craft-libs revision `1deaba523eaf9388750e7a07e3253e7ee7568c32`. `craft-ui`,
-`hayro-cmap` and `hayro-postscript`) to craft-libs revision `495e5971bc024aa96e6ed318cb6e7cd3a0103184`. `craft-ui`,
++`hayro-cmap` and `hayro-postscript`) to craft-libs revision `b926b5c03e256c86ca10934f58d03f628810b5b7`. `craft-ui`,
`craft-print` and the other craft-libs crates are pinned to the same revision. The reader migration is reviewed on top of the separate writer change.
## Writing
diff --cc xtask/src/pdf_deps.rs
index d4d75e6b5,eb7dd8c99..b39c2538c
--- a/xtask/src/pdf_deps.rs
+++ b/xtask/src/pdf_deps.rs
@@@ -5,7 -5,7 +5,7 @@@ use std::process::Command
use serde_json::Value;
const REPO: &str = "https://github.com/storytold/craft-libs";
- const REV: &str = "1deaba523eaf9388750e7a07e3253e7ee7568c32";
-const REV: &str = "495e5971bc024aa96e6ed318cb6e7cd3a0103184";
++const REV: &str = "b926b5c03e256c86ca10934f58d03f628810b5b7";
const PACKAGES: &[(&str, &str)] = &[
("craft-pdf", "0.1.0"),
("krilla", "0.8.2"),