mirror of
https://github.com/storytold/designcraft.git
synced 2026-10-26 19:26:46 -06:00
Merge PR #1099: Add A0, A1 and A2 poster page presets
This commit is contained in:
+5
-1
@@ -215,7 +215,7 @@ same references), and from the app's JSON control channel. See [docs/agents.md](
|
||||
| # | Milestone | State |
|
||||
**Stage: pre-alpha** · next: alpha, ~0% and ~15–25 h away; beta ~28 points and ~420–750 h beyond that (the core-workflow gate, not the percentage: ready for real work is already ~47%)
|
||||
|
||||
> **Last reviewed:** 2026-10-10 · **Last updated:** 2026-10-12 · **Change:** minor (text threads by hand; the alpha gate waits on Primary Text Frame page fixes) · **Target:** Adobe InDesign 2026
|
||||
> **Last reviewed:** 2026-10-10 · **Last updated:** 2026-10-15 · **Change:** minor (A0, A1 and A2 poster presets) · **Target:** Adobe InDesign 2026
|
||||
> **Last reviewed:** 2026-10-10 · **Last updated:** 2026-10-13 · **Change:** minor (parent canvas refresh) · **Target:** Adobe InDesign 2026
|
||||
> **Last reviewed:** 2026-10-10 · **Last updated:** 2026-10-13 · **Change:** minor (bounded control click/drag input) · **Target:** Adobe InDesign 2026
|
||||
> **Last reviewed:** 2026-10-10 · **Last updated:** 2026-10-12 · **Change:** minor (text stroke behind fill) · **Target:** Adobe InDesign 2026
|
||||
@@ -345,6 +345,10 @@ list) · [roadmap.md](docs/roadmap.md) (milestones, plan) · [parity-checklist.m
|
||||
|
||||
## Progress log
|
||||
|
||||
- **2026-10-15** · A0, A1 and A2 poster presets are available in New Document, Document Setup, Properties, the Page tool and the Pages panel's size menu, as well as `file.new` and `layout.pageSize`. No readiness percentage change.
|
||||
|
||||
- **2026-10-13** · Switching between document and parent pages refreshes the canvas immediately, preventing black parent pages and stale document objects when the zoom stays the same. Ordinary edits retain partial repainting. No readiness percentage change.
|
||||
|
||||
Newest first.
|
||||
|
||||
- **2026-10-14** · Threading keeps generated and linked stories, text that refers to a story, local IDs and locked frames intact; a colour chosen at a caret waits for the typing, Swap Fill and Stroke on text keeps each run's colours, control-channel input never reads or writes the system clipboard, and IDML frame preferences given as properties import with bounded column counts (#84). No readiness percentage change.
|
||||
|
||||
@@ -31,6 +31,9 @@ pub const PRESETS: &[Preset] = &[
|
||||
Preset { name: "Legal", intent: Intent::Print, width: 612.0, height: 1008.0, units: Unit::Picas },
|
||||
Preset { name: "Tabloid", intent: Intent::Print, width: 792.0, height: 1224.0, units: Unit::Picas },
|
||||
Preset { name: "Letter - Half", intent: Intent::Print, width: 396.0, height: 612.0, units: Unit::Picas },
|
||||
Preset { name: "A0", intent: Intent::Print, width: 841.0 * MM, height: 1189.0 * MM, units: Unit::Millimeters },
|
||||
Preset { name: "A1", intent: Intent::Print, width: 594.0 * MM, height: 841.0 * MM, units: Unit::Millimeters },
|
||||
Preset { name: "A2", intent: Intent::Print, width: 420.0 * MM, height: 594.0 * MM, units: Unit::Millimeters },
|
||||
Preset { name: "A3", intent: Intent::Print, width: 297.0 * MM, height: 420.0 * MM, units: Unit::Millimeters },
|
||||
Preset { name: "A4", intent: Intent::Print, width: 210.0 * MM, height: 297.0 * MM, units: Unit::Millimeters },
|
||||
Preset { name: "A5", intent: Intent::Print, width: 148.0 * MM, height: 210.0 * MM, units: Unit::Millimeters },
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
//! single-purpose panels (Stroke, Character, Paragraph, Text Wrap, Align, Links, Info).
|
||||
|
||||
use designcraft_doc::{Align, Arrowhead, Cap, Join, StrokeAlign, StrokeType};
|
||||
use designcraft_geom::Unit;
|
||||
use designcraft_geom::corners::CornerShape;
|
||||
use designcraft_geom::{Unit, units};
|
||||
use egui::{Rect, Sense, Stroke, StrokeKind, Ui, pos2, vec2};
|
||||
use serde_json::{Value, json};
|
||||
|
||||
@@ -177,6 +177,9 @@ pub(crate) const PAGE_PRESETS: &[(&str, f64, f64)] = &[
|
||||
("Tabloid", 792.0, 1224.0),
|
||||
("Letter - Half", 396.0, 612.0),
|
||||
("Legal - Half", 504.0, 612.0),
|
||||
("A0", 841.0 * units::PT_PER_MM, 1189.0 * units::PT_PER_MM),
|
||||
("A1", 594.0 * units::PT_PER_MM, 841.0 * units::PT_PER_MM),
|
||||
("A2", 420.0 * units::PT_PER_MM, 594.0 * units::PT_PER_MM),
|
||||
("A3", 841.89, 1190.55),
|
||||
("A4", 595.276, 841.89),
|
||||
("A5", 419.528, 595.276),
|
||||
|
||||
Reference in New Issue
Block a user