From ee42148eb0175b3dde6985d0a12a548d3a3c6a33 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Sat, 28 Nov 2026 05:07:14 +0100 Subject: [PATCH] thing-core: f12 layout at scale 1.5; the normal-dependency rule in Cargo.toml Co-Authored-By: Claude Sonnet 5.5 --- crates/thing-core/Cargo.toml | 2 ++ .../tests/goldens/layout-f12-text-edge-scale1.5.txt | 7 +++++++ 2 files changed, 9 insertions(+) create mode 100644 crates/thing-core/tests/goldens/layout-f12-text-edge-scale1.5.txt diff --git a/crates/thing-core/Cargo.toml b/crates/thing-core/Cargo.toml index 482cdf1..9b8c0a1 100644 --- a/crates/thing-core/Cargo.toml +++ b/crates/thing-core/Cargo.toml @@ -5,6 +5,8 @@ edition = "2024" license = "MIT" publish = false +# Normal dependencies are thing-contract, stacker and taffy: layout is thing-core's job, and no +# Taffy type is in its public API. [dependencies] thing-contract = { path = "../thing-contract" } stacker = "0.1.25" diff --git a/crates/thing-core/tests/goldens/layout-f12-text-edge-scale1.5.txt b/crates/thing-core/tests/goldens/layout-f12-text-edge-scale1.5.txt new file mode 100644 index 0000000..a4b2307 --- /dev/null +++ b/crates/thing-core/tests/goldens/layout-f12-text-edge-scale1.5.txt @@ -0,0 +1,7 @@ +surface thing:surface:provider.text.text-edge viewport 800x600 scale 1.5 pixels +root 0 0 1200 342 +bidi 3 3 1194 24 +cjk 3 39 1194 24 +combining 3 75 1194 24 +emoji-zwj 3 111 1194 24 +long-wrap 3 147 1194 192