From 613bab46c5dd853ec33da92d647ab830c4c0700c Mon Sep 17 00:00:00 2001 From: ruchirguitar Date: Wed, 2 Dec 2026 22:45:34 +0530 Subject: [PATCH 01/20] Locale: numeric and unit fields read Devanagari, Gujarati and other Unicode digits `vectorcraft_doc::units` writes every Unicode decimal digit as ASCII before its unit and arithmetic parser, on craft-i18n's digit data (storytold/craft-libs#198 track 5). One number mixing digit sets is refused, as craft-i18n's parse_number refuses it. ASCII input and display are unchanged. --- Cargo.lock | 1 + Cargo.toml | 2 + crates/doc/Cargo.toml | 2 + crates/doc/src/tests/units.rs | 40 +++++++++++++++++++ crates/doc/src/units.rs | 72 +++++++++++++++++++++++++++++++---- docs/localization-parity.md | 11 +++++- docs/mcp.md | 1 + 7 files changed, 120 insertions(+), 9 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index d0216e2962..b5a19158fe 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -8660,6 +8660,7 @@ name = "vectorcraft-doc" version = "0.25.1" dependencies = [ "chrono", + "craft-i18n", "craft-image-codecs", "craft-stream-codecs", "flate2", diff --git a/Cargo.toml b/Cargo.toml index 843f9cbb53..0077aa577d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -29,6 +29,8 @@ craft-cdr = { git = "https://github.com/storytold/craft-libs", rev = "77ade517ec # SVG parsing, limits, SVGZ and writer (craft-libs#778). craft-svg = { git = "https://github.com/storytold/craft-libs", rev = "77ade517ecb2a6ad86feb2f9983a098ad5738fc6", features = ["tree"] } craft-mime = { git = "https://github.com/storytold/craft-libs", rev = "77ade517ecb2a6ad86feb2f9983a098ad5738fc6" } +# Digits typed in any script in numeric fields (`vectorcraft_doc::units`). +craft-i18n = { git = "https://github.com/storytold/craft-libs", rev = "77ade517ecb2a6ad86feb2f9983a098ad5738fc6" } # EPS container, previews, ASCII85 and DSC comments (craft-libs#778). craft-eps = { git = "https://github.com/storytold/craft-libs", rev = "77ade517ecb2a6ad86feb2f9983a098ad5738fc6" } # DXF tags, reader and writer (craft-libs#778, #926, #927). diff --git a/crates/doc/Cargo.toml b/crates/doc/Cargo.toml index 10adb09199..29ba57adf4 100644 --- a/crates/doc/Cargo.toml +++ b/crates/doc/Cargo.toml @@ -32,6 +32,8 @@ serde_json = { workspace = true } sha2 = { version = "0.10", default-features = false } thiserror = { workspace = true } chrono = { workspace = true } +# Field text in Devanagari, Gujarati and other Unicode digits (`units`). +craft-i18n = { workspace = true } [dev-dependencies] flate2 = { workspace = true } diff --git a/crates/doc/src/tests/units.rs b/crates/doc/src/tests/units.rs index 0258179979..b024bf9008 100644 --- a/crates/doc/src/tests/units.rs +++ b/crates/doc/src/tests/units.rs @@ -303,3 +303,43 @@ fn format_area_formats_and_trims_cleanly() { assert_eq!(Unit::Points.format_area(f64::NAN), "0 pt²"); assert_eq!(Unit::Points.format_area(f64::INFINITY), "0 pt²"); } + +/// Typed in Devanagari or Gujarati digits, a field value reads as its ASCII spelling does: +/// plain numbers, units, picas, arithmetic, percentages and a decimal comma. +#[test] +fn hindi_and_gujarati_digits_read_as_ascii_digits_do() { + let ascii = ["12", "12.5 mm", "-3in", "2p6", "45*2", "10x2 mm", "100pt+25%", "1080/2 px", "13q"]; + let hindi = ["१२", "१२.५ mm", "-३in", "२p६", "४५*२", "१०x२ mm", "१००pt+२५%", "१०८०/२ px", "१३q"]; + let gujarati = ["૧૨", "૧૨.૫ mm", "-૩in", "૨p૬", "૪૫*૨", "૧૦x૨ mm", "૧૦૦pt+૨૫%", "૧૦૮૦/૨ px", "૧૩q"]; + for ((a, h), g) in ascii.iter().zip(hindi).zip(gujarati) { + let want = Unit::Millimeters.parse(a); + assert!(want.is_some(), "`{a}` should read"); + assert_eq!(Unit::Millimeters.parse(h), want, "`{h}` vs `{a}`"); + assert_eq!(Unit::Millimeters.parse(g), want, "`{g}` vs `{a}`"); + } + assert_eq!(crate::parse_number("४५*२"), crate::parse_number("45*2")); + assert_eq!(crate::parse_number("૪૫x૨"), crate::parse_number("45x2")); + assert_eq!(Unit::Millimeters.parse_with_decimal_comma("०,५ mm"), Unit::Millimeters.parse("0.5 mm")); + assert_eq!(Unit::Millimeters.parse_with_decimal_comma("૦,૫"), Unit::Millimeters.parse("0.5")); +} + +/// A grouped thousand is refused in any digits, as `1,000` is, rather than read as 1. +#[test] +fn a_native_digit_thousand_is_refused_like_an_ascii_one() { + assert_eq!(Unit::Millimeters.parse_with_decimal_comma("1,000 mm"), None); + assert_eq!(Unit::Millimeters.parse_with_decimal_comma("१,००० mm"), None); + assert_eq!(Unit::Millimeters.parse_with_decimal_comma("૧,૦૦૦"), None); + assert_eq!(crate::decimal_point("१,०००"), crate::decimal_point("1,000")); +} + +/// One number mixing digit sets is refused, as craft-i18n's `parse_number` refuses it; separate +/// numbers of a sum may each use their own. +#[test] +fn a_number_mixing_digit_sets_reads_as_nothing() { + for text in ["1२", "૧२", "१.5", "૧२.૫ mm", "1,२"] { + assert_eq!(Unit::Points.parse(text), None, "`{text}`"); + assert_eq!(Unit::Points.parse_with_decimal_comma(text), None, "`{text}`"); + assert_eq!(crate::parse_number(text), None, "`{text}`"); + } + assert_eq!(Unit::Points.parse("१२+3"), Unit::Points.parse("12+3")); +} diff --git a/crates/doc/src/units.rs b/crates/doc/src/units.rs index d62c367f25..6241882d01 100644 --- a/crates/doc/src/units.rs +++ b/crates/doc/src/units.rs @@ -1,3 +1,6 @@ +use std::borrow::Cow; +use std::sync::OnceLock; + use super::{Deserialize, Serialize}; /// Measurement units (display only; the model is always in points). @@ -203,20 +206,24 @@ impl Unit { /// /// Text with more than 128 `+ - * /` signs ([`arithmetic_signs`], a multiplication sign counted /// as `*`) reads as nothing. + /// + /// Digits may be in any script ([`ascii_digits`]): `१२ mm` is `12 mm`, `૪૫*૨` is `45*2`. pub fn parse(self, s: &str) -> Option { if arithmetic_signs(s) > MAX_MEASURE_OPERATORS { return None; } - parse_measure(×_as_asterisks(s), self).filter(|v| v.is_finite()) + let s = ascii_digits(s)?; + parse_measure(×_as_asterisks(&s), self).filter(|v| v.is_finite()) } /// Parse a measurement with decimal points or commas and no input locale. Refuse a /// number that looks like a grouped integer, even when it is part of an expression. pub fn parse_with_decimal_comma(self, text: &str) -> Option { - if text.contains(',') && times_as_asterisks(text).split(['+', '-', '*', '/']).any(thousands_operand) { + let text = ascii_digits(text)?; + if text.contains(',') && times_as_asterisks(&text).split(['+', '-', '*', '/']).any(thousands_operand) { return None; } - self.parse(&decimal_point(text)) + self.parse(&decimal_point(&text)) } /// The value naming this unit in the Units preferences (`points`, `millimeters`, /// `feetInches`). @@ -414,9 +421,57 @@ fn percent(s: &str) -> Option { /// (#3837), and each number of a sum reads its own separator, so `100.5 mm-0,5` (a comma typed /// after the value the field shows) is 100 mm (#5684). A number written with both separators has /// two points once read, so `1,000.5` and `1.234,5` are refused rather than guessed at; so is a -/// number that reads as thousands ([`thousands`]). -pub fn decimal_point(text: &str) -> std::borrow::Cow<'_, str> { - if text.contains(',') && !thousands(text) { text.replace(',', ".").into() } else { text.into() } +/// number that reads as thousands ([`thousands`]). Digits in other scripts come back as ASCII +/// ([`ascii_digits`]), so `१,०००` is refused as `1,000` is; text mixing digit sets in one number +/// comes back as it is, for the parser to refuse. +pub fn decimal_point(text: &str) -> Cow<'_, str> { + let Some(text) = ascii_digits(text) else { return text.into() }; + if text.contains(',') && !thousands(&text) { text.replace(',', ".").into() } else { text } +} + +/// `text` with every Unicode decimal digit (Devanagari `०-९`, Gujarati `૦-૯`, Bengali, +/// Arabic-Indic, full-width, …) written as its ASCII digit, so `१२.५ mm` reads as `12.5 mm`. ASCII +/// text is not copied. Each number (a run of digits, `.` and `,`) must use one digit set, as +/// `craft_i18n::parse_number` requires: `1२` and `૧२` are `None`. Operators, unit suffixes and +/// other characters are left as they are. +fn ascii_digits(text: &str) -> Option> { + if text.is_ascii() { + return Some(text.into()); + } + let mut out = String::with_capacity(text.len()); + // The zero of the digit set of the number being read. + let mut set = None; + for c in text.chars() { + if let Some((zero, value)) = decimal_digit(c) { + if *set.get_or_insert(zero) != zero { + return None; + } + out.push(char::from(b'0' + value)); + } else { + if !matches!(c, '.' | ',') { + set = None; + } + out.push(c); + } + } + Some(out.into()) +} + +/// `c`'s digit set (the code point of its zero) and value, when it is a Unicode decimal digit. +/// Other than ASCII, read through craft-i18n, which knows every set (general category Nd). +fn decimal_digit(c: char) -> Option<(u32, u8)> { + if c.is_ascii_digit() { + return Some((u32::from('0'), (c as u8) - b'0')); + } + if c.is_ascii() { + return None; + } + // A lone character reads as a number only when it is a digit; the format's marks don't matter. + static FORMAT: OnceLock = OnceLock::new(); + let format = FORMAT.get_or_init(|| craft_i18n::Format::from_tag("und")); + let read = format.parse(c.encode_utf8(&mut [0; 4])).ok()?; + let value = (0..10u8).find(|&d| f64::from(d) == read)?; + Some((u32::from(c).checked_sub(u32::from(value))?, value)) } /// Does the operand contain a thousands comma? Check both parts of a compact pica value and @@ -455,9 +510,10 @@ pub fn finite_in_every_unit(pt: f64) -> bool { } /// A unitless field value (percent, degrees, counts) with the same `+ - * /` arithmetic as -/// [`Unit::parse`] (`45*2`, `45x2`, `100/3`); text other than digits, `.` and operators reads as -/// nothing. +/// [`Unit::parse`] (`45*2`, `45x2`, `100/3`, `४५*२`); text other than digits, `.` and operators +/// reads as nothing. pub fn parse_number(s: &str) -> Option { + let s = ascii_digits(s)?; if !s.chars().all(|c| c.is_ascii_digit() || " .+-*/xX×".contains(c)) { return None; } diff --git a/docs/localization-parity.md b/docs/localization-parity.md index fe10d21a97..cbaca7ac56 100644 --- a/docs/localization-parity.md +++ b/docs/localization-parity.md @@ -1,6 +1,6 @@ # Localization parity -> **Last reviewed:** 2026-10-10 · **Last updated:** 2026-11-25 · **Change:** patch (Arabic (`ar`): preparatory registration and 6-form CLDR plural routing; UI not exposed pending upstream `storytold/craft-i18n` catalog; Hindi catalog draft complete under the translation tests; contributor loanword terminology reviewed; wider proofreading welcome; Brazilian Portuguese: 154 rows for the strings the sibling catalogs translate — smart-filter and print presets, dimension lines, swatches, canvas messages; previously minor: Bosnian (`bs`): complete catalog; previously minor: Vietnamese text: stacked diacritics tested and attach in every form, #4491; previously: Catalan (`ca`) catalog added, complete under the tests) +> **Last reviewed:** 2026-10-10 · **Last updated:** 2026-12-02 · **Change:** minor (numeric and unit fields in dialogs and commands read Devanagari, Gujarati and other Unicode digits; previously patch: Arabic (`ar`): preparatory registration and 6-form CLDR plural routing; UI not exposed pending upstream `storytold/craft-i18n` catalog; Hindi catalog draft complete under the translation tests; contributor loanword terminology reviewed; wider proofreading welcome; Brazilian Portuguese: 154 rows for the strings the sibling catalogs translate — smart-filter and print presets, dimension lines, swatches, canvas messages; previously minor: Bosnian (`bs`): complete catalog; previously minor: Vietnamese text: stacked diacritics tested and attach in every form, #4491; previously: Catalan (`ca`) catalog added, complete under the tests) Per-language status of VectorCraft's interface. How the catalogs work and how to add a language: [`development.md` › Localisation](development.md#localisation). Part of @@ -92,6 +92,14 @@ other mark style; the untranslated report lists a catalog that lacks one of them Native review is still needed, and catalog coverage does not prove that every variable in the UI is translated. +## Number input + +Dialog number and unit fields, and command parameters given as text (MCP, the control channel), read digits in any +script (Devanagari `१२ mm`, Gujarati `૪૫*૨`, Bengali, Arabic-Indic, full-width), with the same units, arithmetic and +decimal comma as ASCII digits (`vectorcraft_doc::units`, on craft-i18n's digit data; storytold/craft-libs#198 +track 5). One number mixing digit sets (`1२`) is refused. The panels' number fields read through the shared craft +reader, which reads Devanagari but not yet Gujarati or Bengali digits: that is a craft-libs change. + ## Not done in any language Locale-aware number and date formats, a right-to-left interface, translated help, and a Traditional Chinese UI @@ -101,6 +109,7 @@ font for the web build. | Date | Change | Summary | |---|---|---| +| 2026-12-02 | minor | Number input: dialog and command number and unit fields read Devanagari, Gujarati and other Unicode digits; a number mixing digit sets is refused (storytold/craft-libs#198 track 5); panel number fields still need the shared craft reader to learn Gujarati and Bengali digits; scores and estimates unchanged | | 2026-11-25 | patch | Arabic (`ar`): preparatory registration and 6-form CLDR plural routing; kept unavailable to users pending upstream `storytold/craft-i18n` catalog | | 2026-11-14 | minor | Gujarati (#6613): contributor proofreading completed for all 387 additions, with 11 wording corrections; 4,673 reviewed catalog rows. Status/error messages remain partial; web selection requires a bundled Gujarati face. Scores and estimates unchanged. | | 2026-11-12 | minor | Gujarati (`gu`): reviewed by a native speaker; zero/one singular plurals (CLDR); Gujarati craft-fonts faces join the UI fonts; strings added on main since branching translated (4,286 rows) | diff --git a/docs/mcp.md b/docs/mcp.md index 27ec011196..a00f923aa1 100644 --- a/docs/mcp.md +++ b/docs/mcp.md @@ -18485,6 +18485,7 @@ Converter and in its panel (`window.panel {panel: "unitConverter"}`). Neither co `addon.units.convert {value, unit?}` accepts a number, or text with a unit suffix and `+ - * /` arithmetic, where `x`, `X` and `×` multiply as `*` does (`"10mm"`, `"1in/2"`, `"2p6"`, `"1080/2 px"`, `"3cm*50%"`, `"2x3 mm"`, `"13q"`). The command reads an unambiguous decimal comma as a point (`"0,5 mm"`). +Digits may be in any script, one set per number (`"१२ mm"`, `"૪૫*૨"`); `"1२"` is refused. It refuses numbers that look like grouped integers, whether alone (`"1,000 mm"`) or in arithmetic (`"1,500+2"`). Text may contain at most 1024 bytes and 128 `+ - * /` signs (each multiplication sign counts). A number without a suffix is in `unit` (a unit's name, suffix or key: `points`, `picas`, `inches`, `millimeters`, From d998409b075cecc71f626f683273c8233feb23b1 Mon Sep 17 00:00:00 2001 From: ruchirguitar Date: Thu, 3 Dec 2026 08:35:34 +0530 Subject: [PATCH 02/20] Docs: limit native-digit input to the fields VectorCraft parses itself MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fields on the shared craft number field (panels, Character Style Options › Tsume) read through craft's own reader, which lacks Gujarati and Bengali digits until storytold/craft-libs#4872 and a revision bump. --- docs/localization-parity.md | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/docs/localization-parity.md b/docs/localization-parity.md index cbaca7ac56..88e5219dd0 100644 --- a/docs/localization-parity.md +++ b/docs/localization-parity.md @@ -1,6 +1,6 @@ # Localization parity -> **Last reviewed:** 2026-10-10 · **Last updated:** 2026-12-02 · **Change:** minor (numeric and unit fields in dialogs and commands read Devanagari, Gujarati and other Unicode digits; previously patch: Arabic (`ar`): preparatory registration and 6-form CLDR plural routing; UI not exposed pending upstream `storytold/craft-i18n` catalog; Hindi catalog draft complete under the translation tests; contributor loanword terminology reviewed; wider proofreading welcome; Brazilian Portuguese: 154 rows for the strings the sibling catalogs translate — smart-filter and print presets, dimension lines, swatches, canvas messages; previously minor: Bosnian (`bs`): complete catalog; previously minor: Vietnamese text: stacked diacritics tested and attach in every form, #4491; previously: Catalan (`ca`) catalog added, complete under the tests) +> **Last reviewed:** 2026-10-10 · **Last updated:** 2026-12-02 · **Change:** minor (command parameters and the dialog fields VectorCraft parses itself read Devanagari, Gujarati and other Unicode digits; shared craft number fields (panels, some dialog rows) still lack Gujarati and Bengali; previously patch: Arabic (`ar`): preparatory registration and 6-form CLDR plural routing; UI not exposed pending upstream `storytold/craft-i18n` catalog; Hindi catalog draft complete under the translation tests; contributor loanword terminology reviewed; wider proofreading welcome; Brazilian Portuguese: 154 rows for the strings the sibling catalogs translate — smart-filter and print presets, dimension lines, swatches, canvas messages; previously minor: Bosnian (`bs`): complete catalog; previously minor: Vietnamese text: stacked diacritics tested and attach in every form, #4491; previously: Catalan (`ca`) catalog added, complete under the tests) Per-language status of VectorCraft's interface. How the catalogs work and how to add a language: [`development.md` › Localisation](development.md#localisation). Part of @@ -94,11 +94,15 @@ translated. ## Number input -Dialog number and unit fields, and command parameters given as text (MCP, the control channel), read digits in any -script (Devanagari `१२ mm`, Gujarati `૪૫*૨`, Bengali, Arabic-Indic, full-width), with the same units, arithmetic and -decimal comma as ASCII digits (`vectorcraft_doc::units`, on craft-i18n's digit data; storytold/craft-libs#198 -track 5). One number mixing digit sets (`1२`) is refused. The panels' number fields read through the shared craft -reader, which reads Devanagari but not yet Gujarati or Bengali digits: that is a craft-libs change. +Command parameters given as text (MCP, the control channel, `addon.units.convert`) and the dialog fields whose text +VectorCraft reads itself through `vectorcraft_doc::units` read digits in any script (Devanagari `१२ mm`, Gujarati +`૪૫*૨`, Bengali, Arabic-Indic, full-width). Units, arithmetic and the decimal comma work as they do with ASCII digits +(on craft-i18n's digit data; storytold/craft-libs#198 track 5). One number mixing digit sets (`1२`) is refused. + +Number fields built on the shared craft number field read through its own reader, which at the pinned craft-libs +revision reads Devanagari but not Gujarati or Bengali digits. That covers the panels and some dialog rows, such as +Character Style Options › Tsume, so `૫` is refused there while `5` works. storytold/craft-libs#4872 widens that +reader; VectorCraft picks it up with a craft-libs revision bump. ## Not done in any language @@ -109,7 +113,7 @@ font for the web build. | Date | Change | Summary | |---|---|---| -| 2026-12-02 | minor | Number input: dialog and command number and unit fields read Devanagari, Gujarati and other Unicode digits; a number mixing digit sets is refused (storytold/craft-libs#198 track 5); panel number fields still need the shared craft reader to learn Gujarati and Bengali digits; scores and estimates unchanged | +| 2026-12-02 | minor | Number input: command parameters given as text and the dialog fields VectorCraft parses itself (`vectorcraft_doc::units`) read Devanagari, Gujarati and other Unicode digits; a number mixing digit sets is refused (storytold/craft-libs#198 track 5); fields on the shared craft number field (panels, some dialog rows such as Character Style Options › Tsume) need storytold/craft-libs#4872 and a revision bump for Gujarati and Bengali; scores and estimates unchanged | | 2026-11-25 | patch | Arabic (`ar`): preparatory registration and 6-form CLDR plural routing; kept unavailable to users pending upstream `storytold/craft-i18n` catalog | | 2026-11-14 | minor | Gujarati (#6613): contributor proofreading completed for all 387 additions, with 11 wording corrections; 4,673 reviewed catalog rows. Status/error messages remain partial; web selection requires a bundled Gujarati face. Scores and estimates unchanged. | | 2026-11-12 | minor | Gujarati (`gu`): reviewed by a native speaker; zero/one singular plurals (CLDR); Gujarati craft-fonts faces join the UI fonts; strings added on main since branching translated (4,286 rows) | From 68e41fd516c07881e739d6e375224fdd80bd6cb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabio=20William=20Concei=C3=A7=C3=A3o?= Date: Wed, 11 Nov 2026 18:12:08 +0000 Subject: [PATCH 03/20] G5: built-in Impact Bursts brush library --- crates/engine/src/cmd/brushlib.rs | 66 +++++++++++++++++++ crates/engine/src/tests/brushlib.rs | 8 +++ crates/ui-egui/src/i18n/bg.tsv | 7 ++ crates/ui-egui/src/i18n/bs.tsv | 7 ++ crates/ui-egui/src/i18n/ca.tsv | 7 ++ crates/ui-egui/src/i18n/cs.tsv | 7 ++ crates/ui-egui/src/i18n/da.tsv | 7 ++ crates/ui-egui/src/i18n/de.tsv | 7 ++ crates/ui-egui/src/i18n/el.tsv | 7 ++ crates/ui-egui/src/i18n/es.tsv | 7 ++ crates/ui-egui/src/i18n/fi.tsv | 7 ++ crates/ui-egui/src/i18n/fr.tsv | 8 +++ crates/ui-egui/src/i18n/hi.tsv | 7 ++ crates/ui-egui/src/i18n/hu.tsv | 7 ++ crates/ui-egui/src/i18n/id.tsv | 7 ++ crates/ui-egui/src/i18n/it.tsv | 7 ++ crates/ui-egui/src/i18n/ja.tsv | 7 ++ crates/ui-egui/src/i18n/ka.tsv | 7 ++ crates/ui-egui/src/i18n/ko.tsv | 7 ++ crates/ui-egui/src/i18n/nl.tsv | 7 ++ crates/ui-egui/src/i18n/pl.tsv | 7 ++ crates/ui-egui/src/i18n/pt-br.tsv | 7 ++ crates/ui-egui/src/i18n/ru.tsv | 7 ++ crates/ui-egui/src/i18n/sv.tsv | 7 ++ crates/ui-egui/src/i18n/tr.tsv | 7 ++ crates/ui-egui/src/i18n/uk.tsv | 7 ++ crates/ui-egui/src/i18n/vi.tsv | 7 ++ crates/ui-egui/src/i18n/zh-hans.tsv | 7 ++ crates/ui-egui/src/i18n/zh-hant.tsv | 7 ++ .../src/panels/tests_brush_libraries.rs | 1 + docs/gaps.md | 2 +- docs/mcp.md | 2 +- docs/roadmap.md | 2 +- docs/target-app-parity.md | 2 +- 34 files changed, 269 insertions(+), 4 deletions(-) diff --git a/crates/engine/src/cmd/brushlib.rs b/crates/engine/src/cmd/brushlib.rs index d777e31a45..7c61945a63 100644 --- a/crates/engine/src/cmd/brushlib.rs +++ b/crates/engine/src/cmd/brushlib.rs @@ -184,6 +184,7 @@ pub const BUILTIN: &[BuiltinBrushLibrary] = &[ BuiltinBrushLibrary { id: "game-trails", name: "Game Trails", make: game_trails }, BuiltinBrushLibrary { id: "energy-beams", name: "Energy Beams", make: energy_beams }, BuiltinBrushLibrary { id: "dry-media", name: "Dry Media", make: dry_media }, + BuiltinBrushLibrary { id: "impact-bursts", name: "Impact Bursts", make: impact_bursts }, BuiltinBrushLibrary { id: "tech-circuit", name: "Tech Circuit", make: tech_circuit }, BuiltinBrushLibrary { id: "engraving", name: "Engraving", make: engraving }, BuiltinBrushLibrary { id: "arrows", name: "Arrows", make: arrows }, @@ -1218,6 +1219,71 @@ pub(crate) fn dry_media() -> BrushLibrary { // ---------- commands ---------- + +/// Impact Bursts: art brushes for hit sparks, shocks and crack strokes (original game VFX art). +fn impact_bursts() -> BrushLibrary { + let star = group(vec![ + black(polygon(&[(0.0, 0.0), (100.0, -8.0), (88.0, 0.0), (100.0, 8.0)])), + black(polygon(&[(12.0, 0.0), (70.0, -14.0), (62.0, 0.0), (70.0, 14.0)])), + black(polygon(&[(20.0, 0.0), (48.0, -18.0), (42.0, 0.0), (48.0, 18.0)])), + black(polygon(&[(28.0, 0.0), (40.0, -10.0), (36.0, 0.0), (40.0, 10.0)])), + ]); + let ring_shock = + group(vec![ring(Point::new(50.0, 0.0), 18.0, 14.0), ring(Point::new(50.0, 0.0), 28.0, 25.0), ring(Point::new(50.0, 0.0), 38.0, 36.0)]); + let slash = { + let n = 40; + let half = |x: f64| { + let t = x / 100.0; + let arch = 10.0 * (t * std::f64::consts::PI).sin(); + 1.4 + 2.2 * (1.0 - (t - 0.5).abs() * 2.0).max(0.0) + arch * 0.05 + }; + let mid = |x: f64| 8.0 * ((x / 100.0) * std::f64::consts::PI).sin() - 4.0; + let xs = |i: usize| 100.0 * i as f64 / n as f64; + let mut pts: Vec = (0..=n).map(xs).map(|x| Point::new(x, mid(x) - half(x))).collect(); + pts.extend((0..n).rev().map(xs).map(|x| Point::new(x, mid(x) + half(x)))); + PathData::single(SubPath::polyline(&pts, true)) + }; + let spark_fan = group(vec![ + black(polygon(&[(0.0, 0.0), (55.0, -16.0), (48.0, -12.0)])), + black(polygon(&[(0.0, 0.0), (70.0, -6.0), (62.0, -2.0)])), + black(polygon(&[(0.0, 0.0), (100.0, 0.0), (90.0, 2.0)])), + black(polygon(&[(0.0, 0.0), (70.0, 6.0), (62.0, 2.0)])), + black(polygon(&[(0.0, 0.0), (55.0, 16.0), (48.0, 12.0)])), + black(polygon(&[(0.0, 0.0), (35.0, -10.0), (30.0, -6.0)])), + black(polygon(&[(0.0, 0.0), (35.0, 10.0), (30.0, 6.0)])), + ]); + let debris = group(vec![ + black(shapes::rectangle(Rect::new(4.0, -3.0, 12.0, 1.0))), + black(polygon(&[(18.0, 2.0), (28.0, -2.0), (30.0, 4.0)])), + black(shapes::rectangle(Rect::new(36.0, -4.0, 44.0, -1.0))), + black(polygon(&[(50.0, 1.0), (58.0, 5.0), (62.0, -2.0)])), + black(shapes::rectangle(Rect::new(68.0, -2.0, 78.0, 2.0))), + black(polygon(&[(82.0, -4.0), (90.0, -1.0), (88.0, 3.0)])), + black(shapes::rectangle(Rect::new(92.0, 0.0, 100.0, 3.0))), + ]); + let crack = band(100.0, 1.4, 48, |x| { + let t = (x / 8.0).floor(); + let local = (x / 8.0) - t; + let amp = if (t as i32) % 3 == 0 { + 5.0 + } else if (t as i32) % 3 == 1 { + -3.5 + } else { + 2.0 + }; + if (t as i32) % 2 == 0 { amp * local } else { amp * (1.0 - local) } + }); + let brushes = vec![ + art("Star Burst", star, Colorization::Tints), + art("Ring Shock", ring_shock, Colorization::Tints), + art("Slash Arc", black(slash), Colorization::Tints), + art("Spark Fan", spark_fan, Colorization::Tints), + art("Debris Spray", debris, Colorization::Tints), + art("Crack Line", black(crack), Colorization::Tints), + ]; + built("Impact Bursts", Document::new(100.0, 100.0), brushes) +} + fn builtin_info(b: &BuiltinBrushLibrary) -> LibraryInfo { LibraryInfo { id: b.id.into(), name: b.name.into(), category: "builtIn" } } diff --git a/crates/engine/src/tests/brushlib.rs b/crates/engine/src/tests/brushlib.rs index 2e809eaed9..a7e649fc9e 100644 --- a/crates/engine/src/tests/brushlib.rs +++ b/crates/engine/src/tests/brushlib.rs @@ -204,6 +204,7 @@ fn every_builtin_library_brush_has_its_kind_and_draws() { ("game-trails", "art"), ("energy-beams", "art"), ("dry-media", "art"), + ("impact-bursts", "art"), ("arrows", "art"), ("image-brush", "scatter"), ("artistic", "art"), @@ -1319,3 +1320,10 @@ fn a_library_file_that_repeats_a_brush_name_loads_with_the_later_one_numbered() let size = |b: Brush| if let BrushKind::Calligraphic(c) = b.kind { c.size } else { 0.0 }; assert_eq!(size(brush(&s, "Nib 2")), 2.0); } + + let impact = run(&mut s, "brush.library", json!({"library": "impact-bursts"})); + assert_eq!( + impact["brushes"].as_array().unwrap().iter().map(|b| b["name"].as_str().unwrap()).collect::>(), + ["Star Burst", "Ring Shock", "Slash Arc", "Spark Fan", "Debris Spray", "Crack Line"] + ); + assert_eq!((libs[14]["name"].as_str(), libs[14]["count"].as_u64()), (Some("Impact Bursts"), Some(6))); diff --git a/crates/ui-egui/src/i18n/bg.tsv b/crates/ui-egui/src/i18n/bg.tsv index f4f97b728c..d6afe61141 100644 --- a/crates/ui-egui/src/i18n/bg.tsv +++ b/crates/ui-egui/src/i18n/bg.tsv @@ -7575,6 +7575,13 @@ axis Y Axis Y ос Plasma Arc Плазмена дъга Charge Wave Вълна на заряд Spark Trail Следа от искри + Impact Bursts Ударни избухвания + Star Burst Звезден взрив + Ring Shock Пръстенов шок + Slash Arc Дъгова резка + Spark Fan Ветрило от искри + Debris Spray Пръскане отломки + Crack Line Линия на пукнатина Calligraphic Nibs Калиграфски писци Bristle Brushes Четки с косъм Fine Liner Тънък контур diff --git a/crates/ui-egui/src/i18n/bs.tsv b/crates/ui-egui/src/i18n/bs.tsv index b125e378f5..abd219d97b 100644 --- a/crates/ui-egui/src/i18n/bs.tsv +++ b/crates/ui-egui/src/i18n/bs.tsv @@ -6959,6 +6959,13 @@ axis Y Axis Y osa Plasma Arc Plazma luk Charge Wave Talas naboja Spark Trail Trag iskri + Impact Bursts Udarne eksplozije + Star Burst Zvjezdani prasak + Ring Shock Prstenasti šok + Slash Arc Luk reza + Spark Fan Lepeza iskri + Debris Spray Prskanje krhotina + Crack Line Linija pukotine Calligraphic Nibs Kaligrafski vrhovi Bristle Brushes Četkice s čekinjama Fine Liner Tanka linija diff --git a/crates/ui-egui/src/i18n/ca.tsv b/crates/ui-egui/src/i18n/ca.tsv index ac6c435613..364b1292fa 100644 --- a/crates/ui-egui/src/i18n/ca.tsv +++ b/crates/ui-egui/src/i18n/ca.tsv @@ -391,6 +391,13 @@ antiAlias Sharp Nítid Plasma Arc Arc de plasma Charge Wave Ona de càrrega Spark Trail Estela d'espurnes + Impact Bursts Explosions d’impacte + Star Burst Explosió estel·lar + Ring Shock Xoc anular + Slash Arc Arc de tall + Spark Fan Ventall d’espurnes + Debris Spray Ruixat de runa + Crack Line Línia d’esquerda Art using a deleted global swatch keeps its colour. L’art que utilitza una mostra global suprimida conserva el seu color. Artboard Tauler Artboard Options Opcions del tauler diff --git a/crates/ui-egui/src/i18n/cs.tsv b/crates/ui-egui/src/i18n/cs.tsv index e2ad7a7d71..b51550748a 100644 --- a/crates/ui-egui/src/i18n/cs.tsv +++ b/crates/ui-egui/src/i18n/cs.tsv @@ -7828,6 +7828,13 @@ axis Y Axis osa Y Plasma Arc Plazmový oblouk Charge Wave Nabíjecí vlna Spark Trail Jiskrová stopa + Impact Bursts Rázové výbuchy + Star Burst Hvězdný výbuch + Ring Shock Prstencový šok + Slash Arc Oblouk seku + Spark Fan Vějíř jisker + Debris Spray Sprška úlomků + Crack Line Linie trhliny Calligraphic Nibs Kaligrafická pera Bristle Brushes Štětinové štětce Fine Liner Jemná linka diff --git a/crates/ui-egui/src/i18n/da.tsv b/crates/ui-egui/src/i18n/da.tsv index 88948a328d..6ee94687d3 100644 --- a/crates/ui-egui/src/i18n/da.tsv +++ b/crates/ui-egui/src/i18n/da.tsv @@ -9936,6 +9936,13 @@ axis Y Axis Y-akse Plasma Arc Plasmabue Charge Wave Opladningsbølge Spark Trail Gnistsvær + Impact Bursts Stødudbrud + Star Burst Stjerneudbrud + Ring Shock Ringchok + Slash Arc Hugbue + Spark Fan Gnistvifte + Debris Spray Debris-sprøjt + Crack Line Revnelinje Calligraphic Nibs Kalligrafiske penne Bristle Brushes Børstepensler Fine Liner Fin streg diff --git a/crates/ui-egui/src/i18n/de.tsv b/crates/ui-egui/src/i18n/de.tsv index 2999862096..ad2c2e393d 100644 --- a/crates/ui-egui/src/i18n/de.tsv +++ b/crates/ui-egui/src/i18n/de.tsv @@ -7409,6 +7409,13 @@ axis Y Axis Y-Achse Plasma Arc Plasmabogen Charge Wave Ladewelle Spark Trail Funkenspur + Impact Bursts Aufprall-Bursts + Star Burst Sternburst + Ring Shock Ringschock + Slash Arc Slash-Bogen + Spark Fan Funkenfächer + Debris Spray Trümmerspray + Crack Line Risslinie Calligraphic Nibs Kalligrafie-Federn Bristle Brushes Borstenpinsel-Set Fine Liner Feiner Liner diff --git a/crates/ui-egui/src/i18n/el.tsv b/crates/ui-egui/src/i18n/el.tsv index 3396a06dab..eeb8fcdb85 100644 --- a/crates/ui-egui/src/i18n/el.tsv +++ b/crates/ui-egui/src/i18n/el.tsv @@ -7822,6 +7822,13 @@ axis Y Axis Άξονας Y Plasma Arc Τόξο πλάσματος Charge Wave Κύμα φόρτισης Spark Trail Ίχνος σπινθήρων + Impact Bursts Εκρήξεις κρούσης + Star Burst Αστρική έκρηξη + Ring Shock Δακτυλιοειδές σοκ + Slash Arc Τόξο κοπής + Spark Fan Βεντάλια σπινθήρων + Debris Spray Ψεκασμός συντριμμιών + Crack Line Γραμμή ρωγμής Calligraphic Nibs Καλλιγραφικές πένες Bristle Brushes Πινέλα με τρίχες Fine Liner Λεπτή γραμμή diff --git a/crates/ui-egui/src/i18n/es.tsv b/crates/ui-egui/src/i18n/es.tsv index 55e2ae101d..9ee4ff3349 100644 --- a/crates/ui-egui/src/i18n/es.tsv +++ b/crates/ui-egui/src/i18n/es.tsv @@ -7808,6 +7808,13 @@ axis Y Axis Eje Y Plasma Arc Arco de plasma Charge Wave Onda de carga Spark Trail Estela de chispas + Impact Bursts Estallidos de impacto + Star Burst Estallido estelar + Ring Shock Choque anular + Slash Arc Arco de tajo + Spark Fan Abanico de chispas + Debris Spray Rocío de escombros + Crack Line Línea de grieta Calligraphic Nibs Plumillas caligráficas Bristle Brushes Pinceles de cerdas Fine Liner Delineador fino diff --git a/crates/ui-egui/src/i18n/fi.tsv b/crates/ui-egui/src/i18n/fi.tsv index 1116fcc5c6..0ee8a35fa4 100644 --- a/crates/ui-egui/src/i18n/fi.tsv +++ b/crates/ui-egui/src/i18n/fi.tsv @@ -7899,6 +7899,13 @@ axis Y Axis Y-akseli Plasma Arc Plasma-kaari Charge Wave Latausaalto Spark Trail Kipinävanne + Impact Bursts Iskupurkaukset + Star Burst Tähtipurkaus + Ring Shock Rengasshokki + Slash Arc Viiltokaari + Spark Fan Kipinäviuhka + Debris Spray Romusuihku + Crack Line Halkeamaviiva Calligraphic Nibs Kalligrafiakärjet Bristle Brushes Harjassiveltimet Fine Liner Ohut viiva diff --git a/crates/ui-egui/src/i18n/fr.tsv b/crates/ui-egui/src/i18n/fr.tsv index ef77114ade..d2d8adebde 100644 --- a/crates/ui-egui/src/i18n/fr.tsv +++ b/crates/ui-egui/src/i18n/fr.tsv @@ -7824,6 +7824,14 @@ axis Y Axis Axe Y Plasma Arc Arc de plasma Charge Wave Vague de charge Spark Trail Traînée d’étincelles + Spark Trail Traînée d'étincelles + Impact Bursts Éclatements d’impact + Star Burst Éclat d’étoile + Ring Shock Choc annulaire + Slash Arc Arc de taille + Spark Fan Éventail d’étincelles + Debris Spray Gerbe de débris + Crack Line Ligne de fissure Calligraphic Nibs Plumes calligraphiques Bristle Brushes Pinceaux à soies Fine Liner Traceur fin diff --git a/crates/ui-egui/src/i18n/hi.tsv b/crates/ui-egui/src/i18n/hi.tsv index 14094a4a60..7dcfb8bfcf 100644 --- a/crates/ui-egui/src/i18n/hi.tsv +++ b/crates/ui-egui/src/i18n/hi.tsv @@ -736,6 +736,13 @@ antiAlias Sharp शार्प Pause ठहराएँ Skip Next अगला Shuffle क्रमहीन + Impact Bursts प्रभाव विस्फोट + Star Burst तारा विस्फोट + Ring Shock वलय झटका + Slash Arc स्लैश चाप + Spark Fan चिंगारी पंखा + Debris Spray मलबा छिड़काव + Crack Line दरार रेखा Art using a deleted global swatch keeps its colour. हटाए गए ग्लोबल स्वॉच वाला आर्टवर्क अपना रंग बनाए रखता है। Artboard आर्टबोर्ड Artboard {n} of {total} {total} में से आर्टबोर्ड {n} diff --git a/crates/ui-egui/src/i18n/hu.tsv b/crates/ui-egui/src/i18n/hu.tsv index 0bcb97fb7f..9f515d7a4c 100644 --- a/crates/ui-egui/src/i18n/hu.tsv +++ b/crates/ui-egui/src/i18n/hu.tsv @@ -7813,6 +7813,13 @@ axis Y Axis Y tengely Plasma Arc Plazmaív Charge Wave Töltéshullám Spark Trail Szikracsík + Impact Bursts Ütésrobbanások + Star Burst Csillagrobbanás + Ring Shock Gyűrűs sokk + Slash Arc Vágásív + Spark Fan Szikralegyező + Debris Spray Törmelékspriccelés + Crack Line Repedésvonal Calligraphic Nibs Kalligrafikus tollhegyek Bristle Brushes Sörteecsetek Fine Liner Finom kontúr diff --git a/crates/ui-egui/src/i18n/id.tsv b/crates/ui-egui/src/i18n/id.tsv index f831b57517..18e830f6c2 100644 --- a/crates/ui-egui/src/i18n/id.tsv +++ b/crates/ui-egui/src/i18n/id.tsv @@ -7718,6 +7718,13 @@ axis Y Axis Sumbu Y Plasma Arc Busur Plasma Charge Wave Gelombang Muatan Spark Trail Jejak Percikan + Impact Bursts Ledakan Benturan + Star Burst Ledakan Bintang + Ring Shock Syok Cincin + Slash Arc Busur Tebasan + Spark Fan Kipas Percikan + Debris Spray Semprotan Puing + Crack Line Garis Retak Calligraphic Nibs Pena kaligrafi Bristle Brushes Kuas-kuas bristle Fine Liner Garis halus diff --git a/crates/ui-egui/src/i18n/it.tsv b/crates/ui-egui/src/i18n/it.tsv index 32e5cd85d7..2832c51144 100644 --- a/crates/ui-egui/src/i18n/it.tsv +++ b/crates/ui-egui/src/i18n/it.tsv @@ -7448,6 +7448,13 @@ axis Y Axis Asse Y Plasma Arc Arco al plasma Charge Wave Onda di carica Spark Trail Scia di scintille + Impact Bursts Scoppi d’impatto + Star Burst Scoppio stellare + Ring Shock Shock anulare + Slash Arc Arco di fendente + Spark Fan Ventaglio di scintille + Debris Spray Spruzzo di detriti + Crack Line Linea di crepa Calligraphic Nibs Pennini calligrafici Bristle Brushes Pennelli a setole Fine Liner Tratto fine diff --git a/crates/ui-egui/src/i18n/ja.tsv b/crates/ui-egui/src/i18n/ja.tsv index 04289a09a4..047b6b8f85 100644 --- a/crates/ui-egui/src/i18n/ja.tsv +++ b/crates/ui-egui/src/i18n/ja.tsv @@ -9344,6 +9344,13 @@ axis Y Axis Y 軸 Plasma Arc プラズマアーク Charge Wave チャージウェーブ Spark Trail スパークトレイル + Impact Bursts インパクトバースト + Star Burst スターバースト + Ring Shock リングショック + Slash Arc スラッシュアーク + Spark Fan スパークファン + Debris Spray デブリススプレー + Crack Line クラックライン Calligraphic Nibs カリグラフィペン先 Bristle Brushes 剛毛ブラシ集 Fine Liner 細線ライナー diff --git a/crates/ui-egui/src/i18n/ka.tsv b/crates/ui-egui/src/i18n/ka.tsv index 0b034bdcf9..3da1ed4cd1 100644 --- a/crates/ui-egui/src/i18n/ka.tsv +++ b/crates/ui-egui/src/i18n/ka.tsv @@ -9935,6 +9935,13 @@ axis Y Axis Y ღერძი Plasma Arc პლაზმის რკალი Charge Wave მუხტის ტალღა Spark Trail ნაპერწკლის კვალი + Impact Bursts დარტყმის აფეთქებები + Star Burst ვარსკვლავური აფეთქება + Ring Shock რგოლის შოკი + Slash Arc დარტყმის რკალი + Spark Fan ნაპერწკლის მარაო + Debris Spray ნამსხვრევების შპრიცი + Crack Line ბზარის ხაზი Calligraphic Nibs კალიგრაფიული წვერები Bristle Brushes ჯაგრის ფუნჯები Fine Liner წვრილი ხაზი diff --git a/crates/ui-egui/src/i18n/ko.tsv b/crates/ui-egui/src/i18n/ko.tsv index 9ed6977dfb..9ac45229bc 100644 --- a/crates/ui-egui/src/i18n/ko.tsv +++ b/crates/ui-egui/src/i18n/ko.tsv @@ -7420,6 +7420,13 @@ axis Y Axis Y축 Plasma Arc 플라즈마 아크 Charge Wave 차지 웨이브 Spark Trail 스파크 트레일 + Impact Bursts 충격 버스트 + Star Burst 스타 버스트 + Ring Shock 링 쇼크 + Slash Arc 슬래시 아크 + Spark Fan 스파크 팬 + Debris Spray 파편 스프레이 + Crack Line 크랙 라인 Calligraphic Nibs 서예 펜촉 Bristle Brushes 강모 브러시 모음 Fine Liner 가는 라이너 diff --git a/crates/ui-egui/src/i18n/nl.tsv b/crates/ui-egui/src/i18n/nl.tsv index 0ef7948d89..0fd17d8d41 100644 --- a/crates/ui-egui/src/i18n/nl.tsv +++ b/crates/ui-egui/src/i18n/nl.tsv @@ -9780,6 +9780,13 @@ axis Y Axis Y-as Plasma Arc Plasmaboog Charge Wave Laadgolf Spark Trail Vonkenspoor + Impact Bursts Impactbursts + Star Burst Sterburst + Ring Shock Ringshock + Slash Arc Slashboog + Spark Fan Vonkwaaier + Debris Spray Puinspuit + Crack Line Scheurlijn Calligraphic Nibs Kalligrafische penpunten Bristle Brushes Borstelpenselen Fine Liner Fijne liner diff --git a/crates/ui-egui/src/i18n/pl.tsv b/crates/ui-egui/src/i18n/pl.tsv index 9eb552d7a4..23303b1f7b 100644 --- a/crates/ui-egui/src/i18n/pl.tsv +++ b/crates/ui-egui/src/i18n/pl.tsv @@ -7681,6 +7681,13 @@ axis Y Axis Oś Y Plasma Arc Łuk plazmowy Charge Wave Fala ładunku Spark Trail Ślad iskier + Impact Bursts Wybuchy uderzenia + Star Burst Rozbłysk gwiazdy + Ring Shock Szok pierścieniowy + Slash Arc Łuk cięcia + Spark Fan Wachlarz iskier + Debris Spray Rozprysk odłamków + Crack Line Linia pęknięcia Calligraphic Nibs Stalówki kaligraficzne Bristle Brushes Pędzle włosiankowe Fine Liner Cienka linia diff --git a/crates/ui-egui/src/i18n/pt-br.tsv b/crates/ui-egui/src/i18n/pt-br.tsv index b9f399e3d8..d2ac30dd4b 100644 --- a/crates/ui-egui/src/i18n/pt-br.tsv +++ b/crates/ui-egui/src/i18n/pt-br.tsv @@ -7727,6 +7727,13 @@ axis Y Axis Eixo Y Plasma Arc Arco de plasma Charge Wave Onda de carga Spark Trail Rastro de faíscas + Impact Bursts Estouros de impacto + Star Burst Estouro estelar + Ring Shock Choque anelar + Slash Arc Arco de corte + Spark Fan Leque de faíscas + Debris Spray Spray de destroços + Crack Line Linha de rachadura Calligraphic Nibs Penas Caligráficas Bristle Brushes Pincéis de Cerdas Fine Liner Traço Fino diff --git a/crates/ui-egui/src/i18n/ru.tsv b/crates/ui-egui/src/i18n/ru.tsv index b3648d114c..fb46850027 100644 --- a/crates/ui-egui/src/i18n/ru.tsv +++ b/crates/ui-egui/src/i18n/ru.tsv @@ -7452,6 +7452,13 @@ axis Y Axis Ось Y Plasma Arc Плазменная дуга Charge Wave Волна заряда Spark Trail Искра-след + Impact Bursts Ударные вспышки + Star Burst Звёздный взрыв + Ring Shock Кольцевой шок + Slash Arc Дуга удара + Spark Fan Веер искр + Debris Spray Разлёт обломков + Crack Line Линия трещины Calligraphic Nibs Каллиграфические перья Bristle Brushes Щетинные кисти Fine Liner Тонкий лайнер diff --git a/crates/ui-egui/src/i18n/sv.tsv b/crates/ui-egui/src/i18n/sv.tsv index c1b66a1ad0..4201b1187d 100644 --- a/crates/ui-egui/src/i18n/sv.tsv +++ b/crates/ui-egui/src/i18n/sv.tsv @@ -7812,6 +7812,13 @@ axis Y Axis Y-axel Plasma Arc Plasmabåge Charge Wave Laddningsvåg Spark Trail Gnistsvår + Impact Bursts Stötutbrott + Star Burst Stjärnutbrott + Ring Shock Ringchock + Slash Arc Huggbåge + Spark Fan Gnistfjäder + Debris Spray Skräpspray + Crack Line Spricklinje Calligraphic Nibs Kalligrafiska pennspetsar Bristle Brushes Borstpenslar Fine Liner Fin linje diff --git a/crates/ui-egui/src/i18n/tr.tsv b/crates/ui-egui/src/i18n/tr.tsv index f037a841b3..b5a97cbed1 100644 --- a/crates/ui-egui/src/i18n/tr.tsv +++ b/crates/ui-egui/src/i18n/tr.tsv @@ -9724,6 +9724,13 @@ axis Y Axis Y ekseni Plasma Arc Plazma Yayı Charge Wave Şarj Dalgası Spark Trail Kıvılcım İzi + Impact Bursts Darbe Patlamaları + Star Burst Yıldız Patlaması + Ring Shock Halka Şoku + Slash Arc Kesik Yay + Spark Fan Kıvılcım Yelpazesi + Debris Spray Enkaz Spreyi + Crack Line Çatlak Çizgisi Calligraphic Nibs Kaligrafi Uçları Bristle Brushes Kıl Fırçalar Fine Liner İnce Çizgi diff --git a/crates/ui-egui/src/i18n/uk.tsv b/crates/ui-egui/src/i18n/uk.tsv index 6e3a291eae..8cc635f710 100644 --- a/crates/ui-egui/src/i18n/uk.tsv +++ b/crates/ui-egui/src/i18n/uk.tsv @@ -7430,6 +7430,13 @@ axis Y Axis Вісь Y Plasma Arc Плазмова дуга Charge Wave Хвиля заряду Spark Trail Слід іскор + Impact Bursts Ударні спалахи + Star Burst Зоряний вибух + Ring Shock Кільцевий шок + Slash Arc Дуга удару + Spark Fan Віяло іскор + Debris Spray Розліт уламків + Crack Line Лінія тріщини Calligraphic Nibs Каліграфічні пера Bristle Brushes Щетинні пензлі Fine Liner Тонкий лайнер diff --git a/crates/ui-egui/src/i18n/vi.tsv b/crates/ui-egui/src/i18n/vi.tsv index 7da1aa1c06..0f6ed2dddf 100644 --- a/crates/ui-egui/src/i18n/vi.tsv +++ b/crates/ui-egui/src/i18n/vi.tsv @@ -7481,6 +7481,13 @@ axis Y Axis Trục Y Plasma Arc Cung plasma Charge Wave Sóng nạp Spark Trail Vệt tia lửa + Impact Bursts Nổ va chạm + Star Burst Nổ sao + Ring Shock Sốc vòng + Slash Arc Cung chém + Spark Fan Quạt tia lửa + Debris Spray Phun mảnh vụn + Crack Line Đường nứt Calligraphic Nibs Ngòi bút thư pháp Bristle Brushes Bộ cọ lông Fine Liner Nét mảnh diff --git a/crates/ui-egui/src/i18n/zh-hans.tsv b/crates/ui-egui/src/i18n/zh-hans.tsv index 7631ba753a..436aec7d2a 100644 --- a/crates/ui-egui/src/i18n/zh-hans.tsv +++ b/crates/ui-egui/src/i18n/zh-hans.tsv @@ -7660,6 +7660,13 @@ axis Y Axis Y 轴 Plasma Arc 等离子弧 Charge Wave 充能波 Spark Trail 火花尾迹 + Impact Bursts 冲击爆发 + Star Burst 星爆 + Ring Shock 环震 + Slash Arc 斩弧 + Spark Fan 火花扇 + Debris Spray 碎片喷溅 + Crack Line 裂纹 Calligraphic Nibs 书法笔尖 Bristle Brushes 鬃毛画笔集 Fine Liner 细勾线笔 diff --git a/crates/ui-egui/src/i18n/zh-hant.tsv b/crates/ui-egui/src/i18n/zh-hant.tsv index bd3c03e59d..593bb085e1 100644 --- a/crates/ui-egui/src/i18n/zh-hant.tsv +++ b/crates/ui-egui/src/i18n/zh-hant.tsv @@ -7479,6 +7479,13 @@ axis Y Axis Y 軸 Plasma Arc 電漿弧 Charge Wave 充能波 Spark Trail 火花尾跡 + Impact Bursts 衝擊爆發 + Star Burst 星爆 + Ring Shock 環震 + Slash Arc 斬弧 + Spark Fan 火花扇 + Debris Spray 碎片噴濺 + Crack Line 裂紋 Calligraphic Nibs 書法筆尖 Bristle Brushes 鬃毛筆刷集 Fine Liner 細勾線筆 diff --git a/crates/ui-egui/src/panels/tests_brush_libraries.rs b/crates/ui-egui/src/panels/tests_brush_libraries.rs index 06458f8e4a..5d6a9fef2c 100644 --- a/crates/ui-egui/src/panels/tests_brush_libraries.rs +++ b/crates/ui-egui/src/panels/tests_brush_libraries.rs @@ -139,6 +139,7 @@ fn the_window_menu_and_the_brushes_panel_open_brush_libraries() { json!("game-trails"), json!("energy-beams"), json!("dry-media"), + json!("impact-bursts"), json!("tech-circuit"), json!("engraving"), json!("arrows"), diff --git a/docs/gaps.md b/docs/gaps.md index 6f6dd5f11c..d14d5702d9 100644 --- a/docs/gaps.md +++ b/docs/gaps.md @@ -1,7 +1,7 @@ # Gaps > Status-bar snapping quick access (#8687, #8779): the bottom right offers Smart Guides, Snap to Point and Snap to Grid toggles plus the same live Snapping menu as the Control bar. Both use existing commands. Framework fit ranks omit the direct group first, then the dropdown, before the existing readouts or core status content narrow. The native buttons expose their current selected state. Scores and estimates are unchanged. -> **Last reviewed:** 2026-10-10 · **Last updated:** 2026-12-02 · **Change:** minor (G12: Retype panel font rows have an item context menu (Apply Font, sample sizes, Reset Retype Panel); scores and estimates unchanged; previously: G12: SVG Interactivity event rows have an item menu (Remove Event, Clear Events, Link JavaScript Files…); scores and estimates unchanged; previously: G12: History row menus adapted to shared Craft list/menu controls after rebase (#8845); scores and estimates unchanged; previously: G12: Document Info panel menu Selection Only (`ui.docInfo.selectionOnly`) counts the selection, and with no artwork selected it shows (No artwork selected) and artboards the Artboard tool has selected still show; scores and estimates unchanged; previously: G12: OpenType panel feature rows have an item context menu (Turn On / Turn Off, Reset OpenType Features); scores and estimates unchanged; previously: G3 lists shadows from the first light and graphics as done and drops angular cut caps, which Revolve's Cap closes, #8312; scores and estimates unchanged; previously: G12/M14: History row context menus, pending-edit snapshot targeting, keyboard access and document-switch dismissal (#8845); scores and estimates unchanged; previously: G3 lists shadows from the first light and graphics as done and drops angular cut caps, which Revolve's Cap closes, #8312; scores and estimates unchanged; previously: G12: Asset Export tile context menus; scores and estimates unchanged; previously: M14/G12: Appearance panel: right-click item context menus for rows (Duplicate, Delete, Hide/Show, Edit Effect, Clear Appearance, Reduce to Basic Appearance) with selection handling, #8809; previously: G12: Properties panel Quick Actions include contextual text actions (Create Outlines, Retype, Find and Replace…); scores and estimates unchanged; previously: G12: Actions panel item context menus for action sets (New Action…, New Set…, Duplicate Set, Delete Set, Set Options…) and actions (Play, Record, Duplicate, Delete, Action Options…, Batch…) with selection handling; clicking Duplicate on an action duplicates that action; headless tests in `crates/ui-egui/src/panels/actions.rs`; scores and estimates unchanged; previously: Scissors shows the actual proposed cut point while hovering, using its existing snapping and cut target (#8655); scores and estimates unchanged; previously: G12: Brushes panel: item right-click context menu (Brush Options, Duplicate Brush, Delete Brush) with selection handling; scores and estimates unchanged; previously: G12: Links panel row context menu (Relink…, Go To Link, Update Link, Edit Original, Show in Folder, Embed Image / Unembed…) with selection handling; scores and estimates unchanged; previously: Direct Selection: Space during an ordinary path's handle drag repositions its anchor and handles, including a Pen loan (#7237, request 3 only; scores and estimates unchanged); previously: SVG export preserves document units on root width/height for physical units, #864; G11 estimate 8–15 → 6–13 h; G4 and G13 Missing lists drop the shipped Touch Type, Snap to Glyph and Dimension tool, and G13's snapping entry keeps only what is still missing, the partial Snapping panel and the items not yet checked (#8387); G13 keeps one estimate (13–23 h); estimates unchanged; previously: Retype phase 1 (#4934): Type › Retype (`type.retype`) turns outlined text that exactly matches an available font back into point text; scores and estimates unchanged; previously: Production Preflight: output-aware fonts, text overflow, linked files and effective image resolution, clickable findings and automatic rechecking; scores and estimates unchanged; previously: PDF export writes the document language as the catalog's `/Lang`, #3644; Recolor Artwork follow-up (#8031, remaining #4028): native Lab input, picker swatch libraries and Assign-row menus; UI interaction regression coverage; scores and estimates unchanged; previously: Eraser review: hidden Rasterize and Along/Across stroke rows do not block preserving visible gradients; scores and estimates unchanged; previously: Eraser review: ordinary Group/Layer paints and reproducible evaluated gradient placements are preserved; other placements retain existing fitting; scores and estimates unchanged; previously: Eraser: shared fill-only area cutting for fixed and varied tips and the Alt-drag marquee, #6582; scores and estimates unchanged; previously: G4 type: modal Check Spelling dialog (Edit › Spelling › Check Spelling…), #4936; spell check complete; previously: Type: the Middle Eastern & South Asian composers are done as a per-paragraph choice with the Standard composers (#4935); G5: built-in Neon & Glow graphic style library (Cyan Neon, Magenta Laser, Amber Tube, Electric Lime, Pulse Violet, Cobalt Phosphor); estimate unchanged (3–13 h); previously: Tech Circuit brush library, G5; previously: G5: built-in Weather Icons symbol library (Sun, Moon, Cloud, Rain, Thunder, Snow); estimate 5–15 → 4–14 h; previously: 3D: the seams of white-light Extrude & Bevel, Inflate and Rotate, and the face seams of the 3D (Classic) effects, have round joins instead of miters; previously: PDF import: preserve Type 3 font text runs as named groups , or as live text in TextAs::Text mode if ToUnicode exists on non-colour fonts (TextAs::Outlines produces grouped outlines), #6740; scores and estimates unchanged; previously: icon-strip flyouts also resize from the top edge and the canvas-side top corner, keeping the moved top in workspaces (storytold/craft-libs#1094); scores and estimates unchanged; previously: #6865: oversized editing artboard import; Glyphs panel: Alternates for Current Selection applies an OpenType feature value (`salt=2`) to the selected letter alone, so an Arabic word stays joined, and Entire Font lists the unencoded glyphs, #5514; #6404: transform-aware Eyedropper character copying; scores and estimates unchanged; previously: G5: built-in Energy Beams brush library; estimate 5–15 → 4–14 h; previously minor: G5: built-in Skill Icons symbol library; estimate 6–16 → 5–15 h; previously minor: ruler double-click adds a guide at the pointer, #5239; G5: built-in Status Effects graphic style library; estimate 7–17 → 6–16 h; MCP docs catch-up for UI Frames and Map Markers; previously minor: G5: built-in Inventory Icons symbol library; estimate 8–18 → 7–17 h; previously minor: G9: `.ai` save names a variable font instance's design-space setting, #6388; previously minor: G5: built-in Game Trails brush library; estimate 9–19 → 8–18 h; previously minor: Edit › Edit Custom Dictionary…: its dialog adds, deletes and changes the custom dictionary's words, #4936; previously minor: docs tidy-up, no content change: stray notes at the top moved into the revision table; scores and estimates unchanged; previously minor: G5: built-in Game HUD graphic style library; estimate 10–20 → 9–19 h; previously minor: G5: built-in Map Markers symbol library; estimate 11–21 → 10–20 h; previously minor: right-click on type: Spelling › Auto Spell Check, with its check mark, #4936; previously minor: right-click on a word Auto Spell Check underlined: its suggestions, Ignore All and Add to Dictionary, #4936; previously minor: G2: Effect Gallery thumbnails and in-dialog preview; estimate 1–2 h → 0; Auto Spell Check: `edit.autoSpellCheck` underlines the unknown words, #4936; previously minor: PDF editable import preserves authored ActualText once, including empty/nested spans and authored ordering (#6165); cross-line/style layout remains approximate; scores and estimates unchanged; PDF marked-text export (#6309): compatible glyphs stay on one layout line with per-glyph offsets; scores and estimates unchanged; G5: built-in UI Frames symbol library with default 9-slice; estimate 11–21 h; previously minor: G5: dynamic symbol part on-canvas takes opacity, blend, gradient and pattern; docs Overlap/auto-corners sync; estimate 12–22 h; previously minor: interim macOS cursor delivery, #2292; native validation pending; scores and estimates unchanged; previously minor: Control bar › Snapping includes the existing Snap to Glyph and Alignment Guides toggles (#6164); scores and estimates unchanged; previously minor: G5 docs: Art brush Overlap, Pattern brush auto corners and Global Edit Shift-click leave-out moved from Missing to Done (code already shipped); previously minor: custom dictionary and Ignore All: `text.spelling.addWord`, `removeWord`, `changeWord`, `dictionary` and `ignoreAll`, #4936; previously minor: EPS import: embedded fonts (composite, Type 42, CID-keyed, Type 1, CFF FontSet) draw their glyphs; spell check engine: `text.spelling.check` and `text.spelling.suggest` on craft-proof, #4936; previously minor: floating tab groups collapse into the side icon rail and opened rail panels fold back into it, #5925 in part; G9: EPS gradients drawn as abutting strips import as one gradient, without seams; Tools stays beside the canvas with left-side panels; new gradients follow document color mode; Selection QoL: marquee modes and visible feedback, #5313; #3380 deletion-only review follow-up: independent survivors keep gradient placement, owned subpaths avoid discarded copies, and contracts/status/evidence are clarified; endpoint highlighting remains open; scores and estimates unchanged; Indian-language hyphenation review and license allowlist, #4947; opening a slow file shows a progress window, part of #5930; Hindi catalog and contributor loanword preferences; agent wording pass complete; wider native proofreading welcome; an image zoomed in on is separated, colorized or proofed only where it shows (#4155); scores and estimates unchanged; a document's first frame renders on the render worker, so opening a heavy file no longer freezes the window; scores and estimates unchanged; large images in CMYK documents are shrunk before they are separated into ink planes (#4155); scores and estimates unchanged; `.ai` paths with a Calligraphic brush open brushed, with the 6D Art Pen's channels, and Windows reads the pen's tilt and barrel rotation, #372; scores and estimates unchanged; Compound Shapes add-on, beyond Illustrator; scores and estimates unchanged; Contour add-on, beyond Illustrator; scores and estimates unchanged; a slow first frame is waited for instead of restarting without the graphics adapter, and the menu bar no longer waits for the installed fonts' scan; scores and estimates unchanged; Gradient stop editor: native Color-tab menu offers the five Color panel modes (#7918); validation pending; scores and estimates unchanged; Layers: hollow diamond and state tooltip distinguish own appearance from targeting and selection (#8710), retaining #8757's ring visibility; scores and estimates unchanged) · **Target:** Adobe Illustrator 2026 (30.x) +> **Last reviewed:** 2026-10-10 · **Last updated:** 2026-12-02 · **Change:** minor (G5: built-in Impact Bursts brush library; previously minor: G12: Retype panel font rows have an item context menu (Apply Font, sample sizes, Reset Retype Panel); scores and estimates unchanged; previously: G12: SVG Interactivity event rows have an item menu (Remove Event, Clear Events, Link JavaScript Files…); scores and estimates unchanged; previously: G12: History row menus adapted to shared Craft list/menu controls after rebase (#8845); scores and estimates unchanged; previously: G12: Document Info panel menu Selection Only (`ui.docInfo.selectionOnly`) counts the selection, and with no artwork selected it shows (No artwork selected) and artboards the Artboard tool has selected still show; scores and estimates unchanged; previously: G12: OpenType panel feature rows have an item context menu (Turn On / Turn Off, Reset OpenType Features); scores and estimates unchanged; previously: G3 lists shadows from the first light and graphics as done and drops angular cut caps, which Revolve's Cap closes, #8312; scores and estimates unchanged; previously: G12/M14: History row context menus, pending-edit snapshot targeting, keyboard access and document-switch dismissal (#8845); scores and estimates unchanged; previously: G3 lists shadows from the first light and graphics as done and drops angular cut caps, which Revolve's Cap closes, #8312; scores and estimates unchanged; previously: G12: Asset Export tile context menus; scores and estimates unchanged; previously: M14/G12: Appearance panel: right-click item context menus for rows (Duplicate, Delete, Hide/Show, Edit Effect, Clear Appearance, Reduce to Basic Appearance) with selection handling, #8809; previously: G12: Properties panel Quick Actions include contextual text actions (Create Outlines, Retype, Find and Replace…); scores and estimates unchanged; previously: G12: Actions panel item context menus for action sets (New Action…, New Set…, Duplicate Set, Delete Set, Set Options…) and actions (Play, Record, Duplicate, Delete, Action Options…, Batch…) with selection handling; clicking Duplicate on an action duplicates that action; headless tests in `crates/ui-egui/src/panels/actions.rs`; scores and estimates unchanged; previously: Scissors shows the actual proposed cut point while hovering, using its existing snapping and cut target (#8655); scores and estimates unchanged; previously: G12: Brushes panel: item right-click context menu (Brush Options, Duplicate Brush, Delete Brush) with selection handling; scores and estimates unchanged; previously: G12: Links panel row context menu (Relink…, Go To Link, Update Link, Edit Original, Show in Folder, Embed Image / Unembed…) with selection handling; scores and estimates unchanged; previously: Direct Selection: Space during an ordinary path's handle drag repositions its anchor and handles, including a Pen loan (#7237, request 3 only; scores and estimates unchanged); previously: SVG export preserves document units on root width/height for physical units, #864; G11 estimate 8–15 → 6–13 h; G4 and G13 Missing lists drop the shipped Touch Type, Snap to Glyph and Dimension tool, and G13's snapping entry keeps only what is still missing, the partial Snapping panel and the items not yet checked (#8387); G13 keeps one estimate (13–23 h); estimates unchanged; previously: Retype phase 1 (#4934): Type › Retype (`type.retype`) turns outlined text that exactly matches an available font back into point text; scores and estimates unchanged; previously: Production Preflight: output-aware fonts, text overflow, linked files and effective image resolution, clickable findings and automatic rechecking; scores and estimates unchanged; previously: PDF export writes the document language as the catalog's `/Lang`, #3644; Recolor Artwork follow-up (#8031, remaining #4028): native Lab input, picker swatch libraries and Assign-row menus; UI interaction regression coverage; scores and estimates unchanged; previously: Eraser review: hidden Rasterize and Along/Across stroke rows do not block preserving visible gradients; scores and estimates unchanged; previously: Eraser review: ordinary Group/Layer paints and reproducible evaluated gradient placements are preserved; other placements retain existing fitting; scores and estimates unchanged; previously: Eraser: shared fill-only area cutting for fixed and varied tips and the Alt-drag marquee, #6582; scores and estimates unchanged; previously: G4 type: modal Check Spelling dialog (Edit › Spelling › Check Spelling…), #4936; spell check complete; previously: Type: the Middle Eastern & South Asian composers are done as a per-paragraph choice with the Standard composers (#4935); G5: built-in Neon & Glow graphic style library (Cyan Neon, Magenta Laser, Amber Tube, Electric Lime, Pulse Violet, Cobalt Phosphor); estimate unchanged (3–13 h); previously: Tech Circuit brush library, G5; previously: G5: built-in Weather Icons symbol library (Sun, Moon, Cloud, Rain, Thunder, Snow); estimate 5–15 → 4–14 h; previously: 3D: the seams of white-light Extrude & Bevel, Inflate and Rotate, and the face seams of the 3D (Classic) effects, have round joins instead of miters; previously: PDF import: preserve Type 3 font text runs as named groups , or as live text in TextAs::Text mode if ToUnicode exists on non-colour fonts (TextAs::Outlines produces grouped outlines), #6740; scores and estimates unchanged; previously: icon-strip flyouts also resize from the top edge and the canvas-side top corner, keeping the moved top in workspaces (storytold/craft-libs#1094); scores and estimates unchanged; previously: #6865: oversized editing artboard import; Glyphs panel: Alternates for Current Selection applies an OpenType feature value (`salt=2`) to the selected letter alone, so an Arabic word stays joined, and Entire Font lists the unencoded glyphs, #5514; #6404: transform-aware Eyedropper character copying; scores and estimates unchanged; previously: G5: built-in Energy Beams brush library; estimate 5–15 → 4–14 h; previously minor: G5: built-in Skill Icons symbol library; estimate 6–16 → 5–15 h; previously minor: ruler double-click adds a guide at the pointer, #5239; G5: built-in Status Effects graphic style library; estimate 7–17 → 6–16 h; MCP docs catch-up for UI Frames and Map Markers; previously minor: G5: built-in Inventory Icons symbol library; estimate 8–18 → 7–17 h; previously minor: G9: `.ai` save names a variable font instance's design-space setting, #6388; previously minor: G5: built-in Game Trails brush library; estimate 9–19 → 8–18 h; previously minor: Edit › Edit Custom Dictionary…: its dialog adds, deletes and changes the custom dictionary's words, #4936; previously minor: docs tidy-up, no content change: stray notes at the top moved into the revision table; scores and estimates unchanged; previously minor: G5: built-in Game HUD graphic style library; estimate 10–20 → 9–19 h; previously minor: G5: built-in Map Markers symbol library; estimate 11–21 → 10–20 h; previously minor: right-click on type: Spelling › Auto Spell Check, with its check mark, #4936; previously minor: right-click on a word Auto Spell Check underlined: its suggestions, Ignore All and Add to Dictionary, #4936; previously minor: G2: Effect Gallery thumbnails and in-dialog preview; estimate 1–2 h → 0; Auto Spell Check: `edit.autoSpellCheck` underlines the unknown words, #4936; previously minor: PDF editable import preserves authored ActualText once, including empty/nested spans and authored ordering (#6165); cross-line/style layout remains approximate; scores and estimates unchanged; PDF marked-text export (#6309): compatible glyphs stay on one layout line with per-glyph offsets; scores and estimates unchanged; G5: built-in UI Frames symbol library with default 9-slice; estimate 11–21 h; previously minor: G5: dynamic symbol part on-canvas takes opacity, blend, gradient and pattern; docs Overlap/auto-corners sync; estimate 12–22 h; previously minor: interim macOS cursor delivery, #2292; native validation pending; scores and estimates unchanged; previously minor: Control bar › Snapping includes the existing Snap to Glyph and Alignment Guides toggles (#6164); scores and estimates unchanged; previously minor: G5 docs: Art brush Overlap, Pattern brush auto corners and Global Edit Shift-click leave-out moved from Missing to Done (code already shipped); previously minor: custom dictionary and Ignore All: `text.spelling.addWord`, `removeWord`, `changeWord`, `dictionary` and `ignoreAll`, #4936; previously minor: EPS import: embedded fonts (composite, Type 42, CID-keyed, Type 1, CFF FontSet) draw their glyphs; spell check engine: `text.spelling.check` and `text.spelling.suggest` on craft-proof, #4936; previously minor: floating tab groups collapse into the side icon rail and opened rail panels fold back into it, #5925 in part; G9: EPS gradients drawn as abutting strips import as one gradient, without seams; Tools stays beside the canvas with left-side panels; new gradients follow document color mode; Selection QoL: marquee modes and visible feedback, #5313; #3380 deletion-only review follow-up: independent survivors keep gradient placement, owned subpaths avoid discarded copies, and contracts/status/evidence are clarified; endpoint highlighting remains open; scores and estimates unchanged; Indian-language hyphenation review and license allowlist, #4947; opening a slow file shows a progress window, part of #5930; Hindi catalog and contributor loanword preferences; agent wording pass complete; wider native proofreading welcome; an image zoomed in on is separated, colorized or proofed only where it shows (#4155); scores and estimates unchanged; a document's first frame renders on the render worker, so opening a heavy file no longer freezes the window; scores and estimates unchanged; large images in CMYK documents are shrunk before they are separated into ink planes (#4155); scores and estimates unchanged; `.ai` paths with a Calligraphic brush open brushed, with the 6D Art Pen's channels, and Windows reads the pen's tilt and barrel rotation, #372; scores and estimates unchanged; Compound Shapes add-on, beyond Illustrator; scores and estimates unchanged; Contour add-on, beyond Illustrator; scores and estimates unchanged; a slow first frame is waited for instead of restarting without the graphics adapter, and the menu bar no longer waits for the installed fonts' scan; scores and estimates unchanged; Gradient stop editor: native Color-tab menu offers the five Color panel modes (#7918); validation pending; scores and estimates unchanged; Layers: hollow diamond and state tooltip distinguish own appearance from targeting and selection (#8710), retaining #8757's ring visibility; scores and estimates unchanged) · **Target:** Adobe Illustrator 2026 (30.x) > Panel readout copy (#8432, #8826): Info values and paint names, Links information, and named Document Info rows with no separate value follow the guarded immediate-copy policy landed in #9353. A plain first click copies the full value and reports "Copied the value"; accessible activation copies it too. Selectable readouts retain word selection on double-click, Shift/drag selection and keyboard Copy/Cut. Links Location retains #9521's path fitting and full-path tooltip as static text, with the same full-value primary/accessible copy and a native Copy Location button for keyboard use. Scores and estimates are unchanged. diff --git a/docs/mcp.md b/docs/mcp.md index 85e35043df..e9c227498f 100644 --- a/docs/mcp.md +++ b/docs/mcp.md @@ -8089,7 +8089,7 @@ error. ## Brush libraries Brush libraries are read-only sets of brushes: fifteen generated in code (Art Ribbons, Ink and Wash, Calligraphic Nibs, Pressure Sensitive with Flex Ribbon, Pulse Stroke, Round Flow and Chisel Flow, Bristle -Brushes with one bristle brush for each tip shape, Pattern Borders, Decorative with Leaf Vine, Blossom Chain, Pennant Garland and Lantern String, Scatter Shapes, Stipple with Fine, Dense, Soft and Bold dot textures, Game Trails, Energy Beams, and Dry Media with the Chalk Grain, Graphite Pencil, Wax Crayon and +Brushes with one bristle brush for each tip shape, Pattern Borders, Decorative with Leaf Vine, Blossom Chain, Pennant Garland and Lantern String, Scatter Shapes, Stipple with Fine, Dense, Soft and Bold dot textures, Game Trails, Energy Beams, and Dry Media, Impact Bursts with the Chalk Grain, Graphite Pencil, Wax Crayon and Charcoal Dust art brushes, id `dry-media`, Tech Circuit with Circuit Trace (art), Bus Lines and Terminal Nodes (pattern), id `tech-circuit`, Engraving with Fine Hatching, Dense Hatching, Tapered Hatching and Broken Hatching art brushes, id `engraving`, and Arrows with Solid, Open, Double, Chevron and Dashed Arrow art brushes, id `arrows`), the `.vectorcraft` files in the user library folder of the desktop app (User Defined) and the brushes of any document loaded with `brush.loadLibrary` (a document without brushes of its own has the default ones). `brush.libraries` lists them (`id`, `name`, `category`: `builtIn`, `user` or `loaded`, `count`) and diff --git a/docs/roadmap.md b/docs/roadmap.md index 6c3a02cd1c..adbaa779c1 100644 --- a/docs/roadmap.md +++ b/docs/roadmap.md @@ -1,7 +1,7 @@ # Roadmap: milestones and what's next > Status-bar snapping quick access (#8687, #8779): the bottom right offers Smart Guides, Snap to Point and Snap to Grid toggles plus the same live Snapping menu as the Control bar. Both use existing commands. Framework fit ranks omit the direct group first, then the dropdown, before the existing readouts or core status content narrow. The native buttons expose their current selected state. Scores and estimates are unchanged. -> **Last reviewed:** 2026-10-10 · **Last updated:** 2026-11-29 · **Change:** minor (M2: Smart Guides: in a document with more than 20,000 anchors, the snap targets are gathered topmost first, so the objects in front, the newest, keep their anchors, edges and centre as targets for ruler guides, moves, scaling and drawing (#8531); scores and estimates unchanged; previously: M4: `.ai` import: type whose font record keeps no version is set in the installed copy of its font that sets the characters at the widths the file's PDF part gives them (its first 512 characters; without those widths, or with no copy that sets them all, the pick is the one before), #8087; scores and estimates unchanged; previously: G12: History row menus adapted to shared Craft list/menu controls after rebase (#8845); scores and estimates unchanged; previously: G12/M14: History row context menus, pending-edit snapshot targeting, keyboard access and document-switch dismissal (#8845); scores and estimates unchanged; previously: G12: Asset Export tile context menus; scores and estimates unchanged; previously: M14/G12: Appearance panel row context menus, #8809; previously: M1: Layers: a targeted item with an appearance of its own keeps its inner ring visible around a smaller appearance dot, so the target circle's four looks differ, #8711; scores and estimates unchanged; previously: M11: Trim View hides the ruler guides, guide paths and the grid while it is on and greys out Show/Hide Guides and Show/Hide Grid, #8363; scores and estimates unchanged; previously: Scissors shows the actual proposed cut point while hovering, using its existing snapping and cut target (#8655); scores and estimates unchanged; previously: M5: In the web build, an edit while the view of a heavy document moves (a tool drag held at an edge of the canvas, #8551, or a wheel scroll during a drag) draws only the part it changed into the last frame, which stays drawn moved with the view, instead of rendering the whole canvas each frame (an edit that changes more than half of the frame, or a change of more than the view and the document, still renders it whole at once), and edits that go on once the view is still don't put off its render (#8688); scores and estimates unchanged; previously: Image Trace Ignore Color keeps the canvas View and stays armed on a missed pixel (#8068); M11: a tool drag held near an edge of the canvas scrolls the view, #8551; scores and estimates unchanged; previously: All Tools drawer: a tool the toolbar holds is dimmed in the readable dim text colour, not the disabled colour that was unreadable against the panel, and a hovered dimmed row takes the panel's darker fill so it stays readable, #8294; scores and estimates unchanged; previously: Layers: selected guide rows stay highlighted after the pointer leaves (#7344); scores and estimates unchanged; previously: M4: PDF import: type filled and stroked after a page of type filled only comes in filled and stroked, #8549 follow-up; scores and estimates unchanged; previously: selected Dimension extension-line color and weight in Properties (#7078; four focused UI regressions passed); scores and estimates unchanged; previously: Brush Options Key Color: restore canvas input for the existing one-shot pick, then resume the retained draft and previous tool (#8284; six full-app input regressions passed); scores and estimates unchanged; previously: M4: `.ai` and EPS import: an Art brush in Tints of a swatch-linked stroke color comes in brushed, #8200; scores and estimates unchanged; previously: Ellipse: Up/Down changes Anchors while drawing (#7840); scores and estimates unchanged; previously: Windows/Linux menu access keys and localized cues (#6596); previously: Backquote/~ arrow pattern nudges (#7717); scores and estimates unchanged; previously: Window > Toolbars > Compact Tools offers optional denser main Tools spacing (#7234); default layout, scores and estimates unchanged; previously: Direct Selection: Space during an ordinary path's handle drag repositions its anchor and handles, including a Pen loan (#7237, request 3 only; scores and estimates unchanged); previously: M4: `.ai` and EPS import: clipping paths grouped in a compound path are its subpaths, #8128; scores and estimates unchanged; previously: import: type filled and stroked by a `TJ` whose kerning starts a new line comes in filled and stroked, #8543; PDF Retype phase 1 (#4934): Type › Retype (`type.retype`) turns outlined text that exactly matches an available font back into point text; scores and estimates unchanged; previously: M1: Lock Guides: a selection marquee (Selection, Direct Selection, Group Selection, Enclosing Lasso) leaves out paths made into guides inside groups and compound paths too, as clicks do (#3074), so a group is no longer selected by a locked guide in it; an enclosing marquee measures a group without its locked or hidden guides, and Direct Selection takes no anchor or segment of a guide that can't be picked; a guide in a group still moves with its group (#8538); Production Preflight: output-aware fonts, text overflow, linked files and effective image resolution, clickable findings and automatic rechecking; scores and estimates unchanged; previously: PDF export writes the document language as the catalog's `/Lang`, #3644; M1: an Alt-drag in the Layers panel copies a row above or below its own place, #8237; scores and estimates unchanged; previously: PDF import: a glyph filled only after a glyph filled and stroked comes in filled only, not stroked, #8300; PDF import: translucent type filled and stroked comes in as a filled type object and a stroked one, as the file composites them, and an upright glyph is never kept as the outline of its glyph alone, #8015; PDF import: type filled and stroked by one text-showing operator comes in as one type object, filled and stroked, not a stroked copy over a filled one, #8015; M1: Layers panel Alt-drag shows the copy cursor, #8217; scores and estimates unchanged; previously: Gradient panel: the add-stop strip shows the white arrow with a plus on Windows and X11, #8241; scores and estimates unchanged; previously: Recolor Artwork follow-up (#8031, remaining #4028): native Lab input, picker swatch libraries and Assign-row menus; UI interaction regression coverage; scores and estimates unchanged; previously: Eraser review: hidden Rasterize and Along/Across stroke rows do not block preserving visible gradients; scores and estimates unchanged; previously: Eraser review: ordinary Group/Layer paints and reproducible evaluated gradient placements are preserved; other placements retain existing fitting; scores and estimates unchanged; previously: Eraser: shared fill-only area cutting for fixed and varied tips and the Alt-drag marquee, #6582; scores and estimates unchanged; previously: #8005: the Color spectrum fills a resized panel; scores and estimates unchanged; previously: M7: Check Spelling modal dialog (Edit › Spelling › Check Spelling…), #4936; spell check complete; previously: PDF import: stroked type keeps the line cap, line join and miter limit the file strokes it with, a glyph stroked otherwise than the run it joins coming in as a run of its own, #7741; M10/G5: Neon & Glow built-in graphic style library (Cyan Neon, Magenta Laser, Amber Tube, Electric Lime, Pulse Violet, Cobalt Phosphor); previously: Tech Circuit brush library, G5; previously: Graphic Styles list fills a taller panel, #2992; scores and estimates unchanged; previously: PDF import: glyphs in a span with an empty ActualText come in as outlines, #6971; scores and estimates unchanged; previously: library panels' lists fill a taller panel, #2992; scores and estimates unchanged; previously: Swatches list fills a taller panel, #1638; scores and estimates unchanged; previously: icon-strip flyouts also resize from the top edge and the canvas-side top corner, keeping the moved top in workspaces (storytold/craft-libs#1094); scores and estimates unchanged; previously: #6865: explicitly requested oversized editing artboard; Live Paint Bucket fills faces crossed in one drag (#6373); previously: #6404: transform-aware Eyedropper character copying; scores and estimates unchanged; previously: M10/G5: Energy Beams brush library; MCP docs list Energy Beams; previously minor: M10/G5: Skill Icons symbol library; MCP docs list Skill Icons; previously minor: M10/G5: Status Effects graphic style library; MCP docs catch-up for symbol libraries; previously minor: M10/G5: Inventory Icons built-in symbol library; previously minor: Edit › Edit Custom Dictionary…: its dialog adds, deletes and changes the custom dictionary's words, #4936; previously minor: M10/G5: Game HUD graphic style library; previously minor: resizable icon-strip flyouts and bottom-aligned panel footers, #5713; previously minor: M10/G5: Map Markers built-in symbol library; previously minor: right-click on type: Spelling › Auto Spell Check, with its check mark, #4936; previously minor: right-click on a word Auto Spell Check underlined: its suggestions, Ignore All and Add to Dictionary, #4936; previously minor: G2: Effect Gallery thumbnails and in-dialog preview are in; Auto Spell Check: `edit.autoSpellCheck` underlines the unknown words, #4936; previously minor: PDF editable import preserves authored ActualText once, including empty/nested spans and authored ordering (#6165); cross-line/style layout remains approximate; scores and estimates unchanged; PDF marked-text export (#6309): compatible glyphs stay on one layout line with per-glyph offsets; scores and estimates unchanged; interim macOS cursor delivery, #2292; native validation pending; scores and estimates unchanged; Control bar › Snapping includes the existing Snap to Glyph and Alignment Guides toggles (#6164); scores and estimates unchanged; custom dictionary and Ignore All: `text.spelling.addWord`, `removeWord`, `changeWord`, `dictionary` and `ignoreAll`, #4936; previously minor: EPS import: embedded fonts (composite, Type 42, CID-keyed, Type 1, CFF FontSet) draw their glyphs; spell check engine: `text.spelling.check` and `text.spelling.suggest` on craft-proof, #4936; previously minor: floating tab groups collapse into the side icon rail and opened rail panels fold back into it, #5925 in part; M4/M7: `.ai`/EPS type keeps its tab stops, and right-aligned lines with tabs lay out as the file's page, #6147; M4/M7: `.ai`/EPS type from the text document lays its lines out closer to the file's page, within limits, #6137; numeric fields step on wheel hover without taking keyboard focus, #5949; Character Styles panel: a double-click on a style's row opens its Character Style Options; the dialog keeps a fixed width and scrolls its sections, so its buttons stay on screen; Selection QoL: marquee modes and visible feedback, #5313; SVG CSS classes survive export and repeated import in all four styling modes (#2480); current-main integration retains event attributes and scripts; #3380 deletion-only review follow-up: independent survivors keep gradient placement, owned subpaths avoid discarded copies, and contracts/status/evidence are clarified; endpoint highlighting remains open; scores and estimates unchanged; Indian-language hyphenation review and license allowlist, #4947; Hindi catalog and contributor loanword preferences; full wording review in progress; Effect dialogs: a colour swatch beside a hex colour opens the Color Picker, #5365; shape tools move the selection from its centre point and turn it from the zone outside a box corner, #5477; scores and estimates unchanged; Gradient stop editor: native Color-tab menu offers the five Color panel modes (#7918); validation pending; scores and estimates unchanged; Layers: hollow diamond and state tooltip distinguish own appearance from targeting and selection (#8710), retaining #8757's ring visibility; scores and estimates unchanged) · **Target:** Adobe Illustrator 2026 (30.x) +> **Last reviewed:** 2026-10-10 · **Last updated:** 2026-11-29 · **Change:** minor (G5: built-in Impact Bursts brush library; previously minor: M2: Smart Guides: in a document with more than 20,000 anchors, the snap targets are gathered topmost first, so the objects in front, the newest, keep their anchors, edges and centre as targets for ruler guides, moves, scaling and drawing (#8531); scores and estimates unchanged; previously: M4: `.ai` import: type whose font record keeps no version is set in the installed copy of its font that sets the characters at the widths the file's PDF part gives them (its first 512 characters; without those widths, or with no copy that sets them all, the pick is the one before), #8087; scores and estimates unchanged; previously: G12: History row menus adapted to shared Craft list/menu controls after rebase (#8845); scores and estimates unchanged; previously: G12/M14: History row context menus, pending-edit snapshot targeting, keyboard access and document-switch dismissal (#8845); scores and estimates unchanged; previously: G12: Asset Export tile context menus; scores and estimates unchanged; previously: M14/G12: Appearance panel row context menus, #8809; previously: M1: Layers: a targeted item with an appearance of its own keeps its inner ring visible around a smaller appearance dot, so the target circle's four looks differ, #8711; scores and estimates unchanged; previously: M11: Trim View hides the ruler guides, guide paths and the grid while it is on and greys out Show/Hide Guides and Show/Hide Grid, #8363; scores and estimates unchanged; previously: Scissors shows the actual proposed cut point while hovering, using its existing snapping and cut target (#8655); scores and estimates unchanged; previously: M5: In the web build, an edit while the view of a heavy document moves (a tool drag held at an edge of the canvas, #8551, or a wheel scroll during a drag) draws only the part it changed into the last frame, which stays drawn moved with the view, instead of rendering the whole canvas each frame (an edit that changes more than half of the frame, or a change of more than the view and the document, still renders it whole at once), and edits that go on once the view is still don't put off its render (#8688); scores and estimates unchanged; previously: Image Trace Ignore Color keeps the canvas View and stays armed on a missed pixel (#8068); M11: a tool drag held near an edge of the canvas scrolls the view, #8551; scores and estimates unchanged; previously: All Tools drawer: a tool the toolbar holds is dimmed in the readable dim text colour, not the disabled colour that was unreadable against the panel, and a hovered dimmed row takes the panel's darker fill so it stays readable, #8294; scores and estimates unchanged; previously: Layers: selected guide rows stay highlighted after the pointer leaves (#7344); scores and estimates unchanged; previously: M4: PDF import: type filled and stroked after a page of type filled only comes in filled and stroked, #8549 follow-up; scores and estimates unchanged; previously: selected Dimension extension-line color and weight in Properties (#7078; four focused UI regressions passed); scores and estimates unchanged; previously: Brush Options Key Color: restore canvas input for the existing one-shot pick, then resume the retained draft and previous tool (#8284; six full-app input regressions passed); scores and estimates unchanged; previously: M4: `.ai` and EPS import: an Art brush in Tints of a swatch-linked stroke color comes in brushed, #8200; scores and estimates unchanged; previously: Ellipse: Up/Down changes Anchors while drawing (#7840); scores and estimates unchanged; previously: Windows/Linux menu access keys and localized cues (#6596); previously: Backquote/~ arrow pattern nudges (#7717); scores and estimates unchanged; previously: Window > Toolbars > Compact Tools offers optional denser main Tools spacing (#7234); default layout, scores and estimates unchanged; previously: Direct Selection: Space during an ordinary path's handle drag repositions its anchor and handles, including a Pen loan (#7237, request 3 only; scores and estimates unchanged); previously: M4: `.ai` and EPS import: clipping paths grouped in a compound path are its subpaths, #8128; scores and estimates unchanged; previously: import: type filled and stroked by a `TJ` whose kerning starts a new line comes in filled and stroked, #8543; PDF Retype phase 1 (#4934): Type › Retype (`type.retype`) turns outlined text that exactly matches an available font back into point text; scores and estimates unchanged; previously: M1: Lock Guides: a selection marquee (Selection, Direct Selection, Group Selection, Enclosing Lasso) leaves out paths made into guides inside groups and compound paths too, as clicks do (#3074), so a group is no longer selected by a locked guide in it; an enclosing marquee measures a group without its locked or hidden guides, and Direct Selection takes no anchor or segment of a guide that can't be picked; a guide in a group still moves with its group (#8538); Production Preflight: output-aware fonts, text overflow, linked files and effective image resolution, clickable findings and automatic rechecking; scores and estimates unchanged; previously: PDF export writes the document language as the catalog's `/Lang`, #3644; M1: an Alt-drag in the Layers panel copies a row above or below its own place, #8237; scores and estimates unchanged; previously: PDF import: a glyph filled only after a glyph filled and stroked comes in filled only, not stroked, #8300; PDF import: translucent type filled and stroked comes in as a filled type object and a stroked one, as the file composites them, and an upright glyph is never kept as the outline of its glyph alone, #8015; PDF import: type filled and stroked by one text-showing operator comes in as one type object, filled and stroked, not a stroked copy over a filled one, #8015; M1: Layers panel Alt-drag shows the copy cursor, #8217; scores and estimates unchanged; previously: Gradient panel: the add-stop strip shows the white arrow with a plus on Windows and X11, #8241; scores and estimates unchanged; previously: Recolor Artwork follow-up (#8031, remaining #4028): native Lab input, picker swatch libraries and Assign-row menus; UI interaction regression coverage; scores and estimates unchanged; previously: Eraser review: hidden Rasterize and Along/Across stroke rows do not block preserving visible gradients; scores and estimates unchanged; previously: Eraser review: ordinary Group/Layer paints and reproducible evaluated gradient placements are preserved; other placements retain existing fitting; scores and estimates unchanged; previously: Eraser: shared fill-only area cutting for fixed and varied tips and the Alt-drag marquee, #6582; scores and estimates unchanged; previously: #8005: the Color spectrum fills a resized panel; scores and estimates unchanged; previously: M7: Check Spelling modal dialog (Edit › Spelling › Check Spelling…), #4936; spell check complete; previously: PDF import: stroked type keeps the line cap, line join and miter limit the file strokes it with, a glyph stroked otherwise than the run it joins coming in as a run of its own, #7741; M10/G5: Neon & Glow built-in graphic style library (Cyan Neon, Magenta Laser, Amber Tube, Electric Lime, Pulse Violet, Cobalt Phosphor); previously: Tech Circuit brush library, G5; previously: Graphic Styles list fills a taller panel, #2992; scores and estimates unchanged; previously: PDF import: glyphs in a span with an empty ActualText come in as outlines, #6971; scores and estimates unchanged; previously: library panels' lists fill a taller panel, #2992; scores and estimates unchanged; previously: Swatches list fills a taller panel, #1638; scores and estimates unchanged; previously: icon-strip flyouts also resize from the top edge and the canvas-side top corner, keeping the moved top in workspaces (storytold/craft-libs#1094); scores and estimates unchanged; previously: #6865: explicitly requested oversized editing artboard; Live Paint Bucket fills faces crossed in one drag (#6373); previously: #6404: transform-aware Eyedropper character copying; scores and estimates unchanged; previously: M10/G5: Energy Beams brush library; MCP docs list Energy Beams; previously minor: M10/G5: Skill Icons symbol library; MCP docs list Skill Icons; previously minor: M10/G5: Status Effects graphic style library; MCP docs catch-up for symbol libraries; previously minor: M10/G5: Inventory Icons built-in symbol library; previously minor: Edit › Edit Custom Dictionary…: its dialog adds, deletes and changes the custom dictionary's words, #4936; previously minor: M10/G5: Game HUD graphic style library; previously minor: resizable icon-strip flyouts and bottom-aligned panel footers, #5713; previously minor: M10/G5: Map Markers built-in symbol library; previously minor: right-click on type: Spelling › Auto Spell Check, with its check mark, #4936; previously minor: right-click on a word Auto Spell Check underlined: its suggestions, Ignore All and Add to Dictionary, #4936; previously minor: G2: Effect Gallery thumbnails and in-dialog preview are in; Auto Spell Check: `edit.autoSpellCheck` underlines the unknown words, #4936; previously minor: PDF editable import preserves authored ActualText once, including empty/nested spans and authored ordering (#6165); cross-line/style layout remains approximate; scores and estimates unchanged; PDF marked-text export (#6309): compatible glyphs stay on one layout line with per-glyph offsets; scores and estimates unchanged; interim macOS cursor delivery, #2292; native validation pending; scores and estimates unchanged; Control bar › Snapping includes the existing Snap to Glyph and Alignment Guides toggles (#6164); scores and estimates unchanged; custom dictionary and Ignore All: `text.spelling.addWord`, `removeWord`, `changeWord`, `dictionary` and `ignoreAll`, #4936; previously minor: EPS import: embedded fonts (composite, Type 42, CID-keyed, Type 1, CFF FontSet) draw their glyphs; spell check engine: `text.spelling.check` and `text.spelling.suggest` on craft-proof, #4936; previously minor: floating tab groups collapse into the side icon rail and opened rail panels fold back into it, #5925 in part; M4/M7: `.ai`/EPS type keeps its tab stops, and right-aligned lines with tabs lay out as the file's page, #6147; M4/M7: `.ai`/EPS type from the text document lays its lines out closer to the file's page, within limits, #6137; numeric fields step on wheel hover without taking keyboard focus, #5949; Character Styles panel: a double-click on a style's row opens its Character Style Options; the dialog keeps a fixed width and scrolls its sections, so its buttons stay on screen; Selection QoL: marquee modes and visible feedback, #5313; SVG CSS classes survive export and repeated import in all four styling modes (#2480); current-main integration retains event attributes and scripts; #3380 deletion-only review follow-up: independent survivors keep gradient placement, owned subpaths avoid discarded copies, and contracts/status/evidence are clarified; endpoint highlighting remains open; scores and estimates unchanged; Indian-language hyphenation review and license allowlist, #4947; Hindi catalog and contributor loanword preferences; full wording review in progress; Effect dialogs: a colour swatch beside a hex colour opens the Color Picker, #5365; shape tools move the selection from its centre point and turn it from the zone outside a box corner, #5477; scores and estimates unchanged; Gradient stop editor: native Color-tab menu offers the five Color panel modes (#7918); validation pending; scores and estimates unchanged; Layers: hollow diamond and state tooltip distinguish own appearance from targeting and selection (#8710), retaining #8757's ring visibility; scores and estimates unchanged) · **Target:** Adobe Illustrator 2026 (30.x) > Panel readout copy (#8432, #8826): Info values and paint names, Links information, and named Document Info rows with no separate value follow the guarded immediate-copy policy landed in #9353. A plain first click copies the full value and reports "Copied the value"; accessible activation copies it too. Selectable readouts retain word selection on double-click, Shift/drag selection and keyboard Copy/Cut. Links Location retains #9521's path fitting and full-path tooltip as static text, with the same full-value primary/accessible copy and a native Copy Location button for keyboard use. Scores and estimates are unchanged. diff --git a/docs/target-app-parity.md b/docs/target-app-parity.md index 95dcc2c098..6191bfbc33 100644 --- a/docs/target-app-parity.md +++ b/docs/target-app-parity.md @@ -3,7 +3,7 @@ Native saves on Unix flush the destination directory after writing or replacing a file. If the directory cannot be flushed, the save returns an error stating that the file was written. > Status-bar snapping quick access (#8687, #8779): the bottom right offers Smart Guides, Snap to Point and Snap to Grid toggles plus the same live Snapping menu as the Control bar. Both use existing commands. Framework fit ranks omit the direct group first, then the dropdown, before the existing readouts or core status content narrow. The native buttons expose their current selected state. Scores and estimates are unchanged. -> **Last reviewed:** 2026-10-10 · **Last updated:** 2026-11-29 · **Change:** minor (Smart Guides: in a document with more than 20,000 anchors, the snap targets are gathered topmost first, so the objects in front, the newest, keep their anchors, edges and centre as targets for ruler guides, moves, scaling and drawing (#8531); scores and estimates unchanged; previously: `.ai` import: type whose font record keeps no version is set in the installed copy of its font that sets the characters at the widths the file's PDF part gives them (its first 512 characters; without those widths, or with no copy that sets them all, the pick is the one before), follows #6983; scores and estimates unchanged; previously: Essentials readiness row: Shape Builder item names its remaining depth, #937's fix unconfirmed on the reporter's file, #8314; scores and estimates unchanged; previously: G12: History row context menus use shared Craft controls, snapshot targeting, keyboard access and document-switch dismissal (#8845); scores and estimates unchanged; previously: G12: Document Info Selection Only counts the selection, and with no artwork selected it shows (No artwork selected) and artboards the Artboard tool has selected still show; scores and estimates unchanged; previously: Pencil Edit Selected Paths follows lifted strokes, carves, loops, closes and redraws compound paths; Layers: a targeted item with an appearance of its own keeps its inner ring visible around a smaller appearance dot, so the target circle's four looks differ, #8711; scores and estimates unchanged; previously: G12: Asset Export tile context menus; scores and estimates unchanged; previously: M14/G12: Appearance panel: right-click item context menus for rows (Duplicate, Delete, Hide/Show, Edit Effect, Clear Appearance, Reduce to Basic Appearance) with selection handling, #8809; previously: Text styles panel: right-click item context menus for Character Styles and Paragraph Styles with Options, Duplicate, Delete, Redefine, Clear Overrides; scores and estimates unchanged; previously: G12: Actions panel item context menus for action sets (New Action…, New Set…, Duplicate Set, Delete Set, Set Options…) and actions (Play, Record, Duplicate, Delete, Action Options…, Batch…) with selection handling; clicking Duplicate on an action duplicates that action; headless tests in `crates/ui-egui/src/panels/actions.rs`; scores and estimates unchanged; previously: Layers: a targeted item with an appearance of its own keeps its inner ring visible around a smaller appearance dot, so the target circle's four looks differ, #8711; scores and estimates unchanged; previously: Trim View hides the ruler guides, guide paths and the grid while it is on and greys out Show/Hide Guides and Show/Hide Grid, #8363; scores and estimates unchanged; previously: Scissors shows the actual proposed cut point while hovering, using its existing snapping and cut target (#8655); scores and estimates unchanged; previously: G12: Brushes panel: item right-click context menu (Brush Options, Duplicate Brush, Delete Brush) with selection handling; scores and estimates unchanged; previously: Graphic Styles panel: right-click item context menu for tiles and rows with Options, Duplicate, Delete, Redefine, Break Link; scores and estimates unchanged; previously: In the web build, an edit while the view of a heavy document moves (a tool drag held at an edge of the canvas, #8551, or a wheel scroll during a drag) draws only the part it changed into the last frame, which stays drawn moved with the view, instead of rendering the whole canvas each frame, and edits that go on once the view is still don't put off its render (#8688); scores and estimates unchanged; previously: G12: Links panel row context menu (Relink…, Go To Link, Update Link, Edit Original, Show in Folder, Embed Image / Unembed…) with selection handling; scores and estimates unchanged; previously: Artboard tool: Shift held once a move or Alt-copy drag is under way keeps it to the level, upright or 45° line, #8580; scores and estimates unchanged; previously: Image Trace Ignore Color keeps the canvas View and stays armed on a missed pixel (#8068); a tool drag held near an edge of the canvas scrolls the view, #8551; scores and estimates unchanged; previously: G12: Place: show progress window with Cancel for slow placed files exceeding 0.4 s, part of #5930; scores and estimates unchanged; previously: All Tools drawer: a tool the toolbar holds is dimmed in the readable dim text colour, not the disabled colour that was unreadable against the panel, and a hovered dimmed row takes the panel's darker fill so it stays readable, #8294; scores and estimates unchanged; previously: Layers: selected guide rows stay highlighted after the pointer leaves (#7344); scores and estimates unchanged; previously: PDF import: type filled and stroked after a page of type filled only comes in filled and stroked, #8549 follow-up; scores and estimates unchanged; previously: selected Dimension extension-line color and weight in Properties (#7078; four focused UI regressions passed); scores and estimates unchanged; previously: Brush Options Key Color: restore canvas input for the existing one-shot pick, then resume the retained draft and previous tool (#8284; six full-app input regressions passed); scores and estimates unchanged; previously: #8200: `.ai` and EPS import: an Art brush in Tints of a swatch-linked stroke color comes in brushed, its tints linked to the swatch; scores and estimates unchanged; previously: Ellipse: Up/Down changes Anchors while drawing (#7840); scores and estimates unchanged; previously: Windows/Linux menu access keys and localized cues (#6596); previously: Backquote/~ arrow pattern nudges (#7717); scores and estimates unchanged; previously: Window > Toolbars > Compact Tools offers optional denser main Tools spacing (#7234); default layout, scores and estimates unchanged; previously: Direct Selection: Space during an ordinary path's handle drag repositions its anchor and handles, including a Pen loan (#7237, request 3 only; scores and estimates unchanged); previously: SVG export preserves document units on root width/height for physical units, #864; G11 estimate 8–15 → 6–13 h; previously: Floating panels keep their window level while focus moves between the app's windows, so a press on one panel's bar no longer hands the keyboard to another, #6986; scores and estimates unchanged; previously minor: #8128: `.ai` and EPS import: clipping paths grouped in a compound path are its subpaths, so the compound clipping path clips its clipping group; scores and estimates unchanged; previously: import: type filled and stroked by a `TJ` whose kerning starts a new line comes in filled and stroked, #8543; PDF Retype phase 1 (#4934): Type › Retype (`type.retype`) turns outlined text that exactly matches an available font back into point text; scores and estimates unchanged; previously: Lock Guides: a selection marquee (Selection, Direct Selection, Group Selection, Enclosing Lasso) leaves out paths made into guides inside groups and compound paths too, as clicks do (#3074), so a group is no longer selected by a locked guide in it; an enclosing marquee measures a group without its locked or hidden guides, and Direct Selection takes no anchor or segment of a guide that can't be picked; a guide in a group still moves with its group (#8538); Production Preflight: output-aware fonts, text overflow, linked files and effective image resolution, clickable findings and automatic rechecking; scores and estimates unchanged; previously: PDF export writes the document language as the catalog's `/Lang`, #3644; Layers panel: an Alt-drag copies a row above or below itself, so the top layer dragged up, the bottom layer dragged down and a lone layer are copied, #8237; scores and estimates unchanged; previously: Twist: a strongly twisted path joins its pieces without kinks, #7069; scores and estimates unchanged; previously: PDF import: a glyph filled only after a glyph filled and stroked comes in filled only, not stroked, #8300; PDF import: translucent type filled and stroked comes in as a filled type object and a stroked one, as the file composites them, and an upright glyph is never kept as the outline of its glyph alone, #8015; PDF import: type filled and stroked by one text-showing operator comes in as one type object, filled and stroked, not a stroked copy over a filled one, #8015; Layers panel: Alt over the list shows the copy cursor while rows or the selection square are dragged, #8217; scores and estimates unchanged; previously: Gradient panel: the add-stop strip under the ramp shows the white arrow with a plus on Windows and X11, #8241; scores and estimates unchanged; previously: Properties panel: the Character section shows the font of the Type tool's selection, not the first run's (#8189); scores and estimates unchanged; previously: Recolor Artwork follow-up (#8031, remaining #4028): native Lab input, picker swatch libraries and Assign-row menus; UI interaction regression coverage; scores and estimates unchanged; previously: Eraser review: hidden Rasterize and Along/Across stroke rows do not block preserving visible gradients; scores and estimates unchanged; previously: Eraser review: ordinary Group/Layer paints and reproducible evaluated gradient placements are preserved; other placements retain existing fitting; scores and estimates unchanged; previously: Eraser: shared fill-only area cutting for fixed and varied tips and the Alt-drag marquee, #6582; scores and estimates unchanged; previously: #8005: the Color spectrum fills a resized panel; scores and estimates unchanged; previously: Paragraph composers (#4935): the Paragraph panel menu and paragraph styles offer four composers, the Middle Eastern & South Asian Single-line and Every-line (how all type is set, and the default) and a Standard Single-line and Every-line that set Indic, Arabic and Hebrew type glyph by glyph as the font maps it, for legacy fonts that keep a script on Latin character codes; PDF import: stroked type keeps the line cap, line join and miter limit the file strokes it with, a glyph stroked otherwise than the run it joins coming in as a run of its own, #7741; G5: Neon & Glow joins built-in graphic style libraries (Cyan Neon, Magenta Laser, Amber Tube, Electric Lime, Pulse Violet, Cobalt Phosphor); scores and estimates unchanged; previously: Pencil ignores Smart Guides and Snap to Point and shows no Smart Guides, #7252; previously: Pencil continuation, straight-line and closing cursors; scores and estimates unchanged; previously: G5: Weather Icons joins built-in symbol libraries (Sun, Moon, Cloud, Rain, Thunder, Snow); scores and estimates unchanged; previously: a closed Pencil stroke closes with a straight segment; previously: Snap to Point with Smart Guides off draws no Smart Guides labels or lines, #7250; previously: 3D: the seams of Extrude & Bevel, Inflate and Rotate under a white light, and of the faces of Extrude & Bevel (Classic), Revolve (Classic) and Rotate (Classic), went from miter to round joins, so white-light 3D output is expected to differ from the 2026-10-17 comparison at facet corners (not measured: the scenes were not exported again); previously: `.ai` and EPS import: in layers that don't draw as the page, art that differs away from an envelope of type no longer costs it its editable type; it keeps its drawn art where, in the pixels it and its drawn art ink, the layers with it differ from the page more than its own check allows, or past the envelopes' share of the page check, #7141; Character panel: the Set Font Height Reference dropdown shows an icon before each reference, #6304; scores and estimates unchanged; previously: Envelopes: a top object's side columns; scores and estimates unchanged; previously: Graphic Styles list fills a taller panel, #2992; scores and estimates unchanged; previously: PDF import: glyphs in a span with an empty ActualText come in as outlines, #6971; scores and estimates unchanged; previously: library panels' lists fill a taller panel, #2992; scores and estimates unchanged; previously: Swatches list fills a taller panel, #1638; scores and estimates unchanged; previously minor: Object › Rasterize with the Grayscale or Bitmap colour model makes a grayscale image, #6969; scores and estimates unchanged; previously minor: `.ai` and EPS import: type in an envelope with Distort Appearance is also tried mapped from the box of what it paints, miter tips and moved strokes included, after its glyphs grown by half its strokes' weight (#6824; #6617: Swatches panel menu: Show Recent Colors; scores unchanged; previously minor: icon-strip flyouts also resize from the top edge and the canvas-side top corner, keeping the moved top in workspaces (storytold/craft-libs#1094); scores and estimates unchanged; previously: #6865: explicitly requested oversized editing artboard; macOS: the canvas cursor stays after the pointer moves, #6362; scores and estimates unchanged; previously minor: Type tool: kerning at a caret at the start of a line moves the character after it, #5111; scores and estimates unchanged; previously minor: Rulers: the zero point dragged out of the rulers' corner snaps as a drawn point does; previously minor: Live Paint Bucket fills faces crossed in one drag (#6373); previously: #6404: transform-aware Eyedropper character copying; scores and estimates unchanged; previously: Envelopes: with Distort Appearance, type's strokes paint along the bent glyph outlines at their own weight, as users' `.ai` files draw them, which changes how VectorCraft's own envelopes of stroked type draw (#6644; scores and estimates unchanged); previously minor: G5: Energy Beams brush library; bundled content ~44% → ~46%; previously minor: G5: Skill Icons symbol library; bundled content ~42% → ~44%; previously minor: `.ai` and EPS import: an envelope saved in Edit Contents whose mesh lies away from its drawn art by a move opens live on that art (#6570; scores and estimates unchanged); previously minor: ruler double-click adds a guide at the pointer, #5239; G5: Status Effects graphic style library; bundled content ~40% → ~42%; MCP symbol libraries list UI Frames and Map Markers; previously minor: G5: Inventory Icons built-in symbol library; bundled content ~38% → ~40%; previously minor: `.ai` and EPS import: stroked type in an envelope maps from its glyphs grown by half its stroke (#3179; scores and estimates unchanged); previously minor: `.ai` and EPS import: warps of type open as mesh envelopes on their saved grid where VectorCraft's warp doesn't draw as their drawn art (#3179; scores and estimates unchanged); G5: Game Trails brush library; bundled content ~36% → ~38%; previously minor: Edit › Edit Custom Dictionary…: its dialog adds, deletes and changes the custom dictionary's words, #4936; previously minor: `.ai` and EPS import: envelopes of type open live where they draw as their drawn art and the layers with them draw as the page (#3179; scores and estimates unchanged); G5: Game HUD graphic style library; bundled content ~34% → ~36%; previously minor: Line Arrow arrowhead (#5421; scores and estimates unchanged); G5: Map Markers built-in symbol library; bundled content ~32% → ~34%; previously minor: right-click on type: Spelling › Auto Spell Check, with its check mark, #4936; previously minor: right-click on a word Auto Spell Check underlined: its suggestions, Ignore All and Add to Dictionary, #4936; previously minor: Canvas: a 3D effect changed on type or a group redraws where its solid was; Fit to Artwork Bounds and per-artboard SVG export build each solid once for all artboards; previously minor: Effect Gallery: a thumbnail for each filter and a preview area inside the dialog, on an original drawing; Raster effects 52% → 55%, hours 1–2 → none; headline numbers unchanged; Auto Spell Check: `edit.autoSpellCheck` underlines the unknown words, #4936; previously minor: PDF editable import preserves authored ActualText once, including empty/nested spans and authored ordering (#6165); cross-line/style layout remains approximate; scores and estimates unchanged; PDF marked-text export (#6309): compatible glyphs stay on one layout line with per-glyph offsets; scores and estimates unchanged; G5: UI Frames built-in symbol library with default 9-slice; bundled content ~32%; previously minor: G5: dynamic symbol part on-canvas opacity/blend/gradient/pattern; strokes remaining no longer lists Overlap/auto corners; symbols ~88%; previously minor: interim macOS cursor delivery, #2292; native validation pending; scores and estimates unchanged; previously minor: harakat paint fallback clarified; previously minor: current Guides feature-area rows consolidated using existing ruler evidence; scores and estimates unchanged; previously minor: Control bar › Snapping includes the existing Snap to Glyph and Alignment Guides toggles (#6164); scores and estimates unchanged; previously minor: G5 docs: Art brush Overlap and Pattern brush auto corners removed from strokes remaining; symbols remaining lists dynamic on-canvas beyond solid and guides outside the art; previously minor: custom dictionary and Ignore All: `text.spelling.addWord`, `removeWord`, `changeWord`, `dictionary` and `ignoreAll`, #4936; previously minor: EPS import: embedded fonts (composite, Type 42, CID-keyed, Type 1, CFF FontSet) draw their glyphs; spell check engine: `text.spelling.check` and `text.spelling.suggest` on craft-proof, #4936; previously minor: floating tab groups collapse into the side icon rail and opened rail panels fold back into it, #5925 in part; `.ai`/EPS type keeps its tab stops, and right-aligned lines with tabs lay out as the file's page, #6147; `.ai`/EPS type from the text document lays its lines out closer to the file's page, within limits, #6137; `.ai` and EPS import: older Art brush objects read; numeric fields step on wheel hover without taking keyboard focus, and a panel wheel turn cannot seed a canvas zoom glide, #5949; Character Styles panel: a double-click on a style's row opens its Character Style Options; the dialog keeps a fixed width and scrolls its sections, so its buttons stay on screen; Tools stays beside the canvas with left-side panels; new gradients follow document color mode; Selection QoL: marquee modes and visible feedback, #5313; SVG CSS classes survive export and repeated import in all four styling modes (#2480); current-main integration retains event attributes and scripts; #3380 deletion-only review follow-up: independent survivors keep gradient placement, owned subpaths avoid discarded copies, and contracts/status/evidence are clarified; endpoint highlighting remains open; scores and estimates unchanged; the canvas keeps selection outlines and anchors between frames; Indian-language hyphenation review and license allowlist, #4947; Stroke gradients: an arrowhead aligned to the tip is painted to the corners of its base, #5964; Drop Shadow and glow dialogs: spinner arrows, #5367, #5368; Stroke Weight Up and Down shortcuts, #5797; Hindi catalog and contributor loanword preferences; full wording review in progress; Properties in Edit Artboards: a Transform section with the reference point above the Artboards section, #5219; the Control bar's Stroke: and Opacity: links scrub their fields, #4088; an image zoomed in on is separated, colorized or proofed only where it shows (#4155); a document's first frame renders on the render worker, so opening a heavy file no longer freezes the window, #4155; Control bar Paragraph section with type selected, #5372; translating unchanged type reuses its glyph and character-stroke outlines; scores and estimates unchanged; Gradient stop editor: native Color-tab menu offers the five Color panel modes (#7918); validation pending; scores and estimates unchanged; Layers: hollow diamond and state tooltip distinguish own appearance from targeting and selection (#8710), retaining #8757's ring visibility; scores and estimates unchanged) · **Target:** Adobe Illustrator 2026 (30.x; public release notes through 30.7, August 2026; Units › East Asian Type acts, with Q and Ha units; scores unchanged) +> **Last reviewed:** 2026-10-10 · **Last updated:** 2026-11-29 · **Change:** minor (G5: built-in Impact Bursts brush library; previously minor: Smart Guides: in a document with more than 20,000 anchors, the snap targets are gathered topmost first, so the objects in front, the newest, keep their anchors, edges and centre as targets for ruler guides, moves, scaling and drawing (#8531); scores and estimates unchanged; previously: `.ai` import: type whose font record keeps no version is set in the installed copy of its font that sets the characters at the widths the file's PDF part gives them (its first 512 characters; without those widths, or with no copy that sets them all, the pick is the one before), follows #6983; scores and estimates unchanged; previously: Essentials readiness row: Shape Builder item names its remaining depth, #937's fix unconfirmed on the reporter's file, #8314; scores and estimates unchanged; previously: G12: History row context menus use shared Craft controls, snapshot targeting, keyboard access and document-switch dismissal (#8845); scores and estimates unchanged; previously: G12: Document Info Selection Only counts the selection, and with no artwork selected it shows (No artwork selected) and artboards the Artboard tool has selected still show; scores and estimates unchanged; previously: Pencil Edit Selected Paths follows lifted strokes, carves, loops, closes and redraws compound paths; Layers: a targeted item with an appearance of its own keeps its inner ring visible around a smaller appearance dot, so the target circle's four looks differ, #8711; scores and estimates unchanged; previously: G12: Asset Export tile context menus; scores and estimates unchanged; previously: M14/G12: Appearance panel: right-click item context menus for rows (Duplicate, Delete, Hide/Show, Edit Effect, Clear Appearance, Reduce to Basic Appearance) with selection handling, #8809; previously: Text styles panel: right-click item context menus for Character Styles and Paragraph Styles with Options, Duplicate, Delete, Redefine, Clear Overrides; scores and estimates unchanged; previously: G12: Actions panel item context menus for action sets (New Action…, New Set…, Duplicate Set, Delete Set, Set Options…) and actions (Play, Record, Duplicate, Delete, Action Options…, Batch…) with selection handling; clicking Duplicate on an action duplicates that action; headless tests in `crates/ui-egui/src/panels/actions.rs`; scores and estimates unchanged; previously: Layers: a targeted item with an appearance of its own keeps its inner ring visible around a smaller appearance dot, so the target circle's four looks differ, #8711; scores and estimates unchanged; previously: Trim View hides the ruler guides, guide paths and the grid while it is on and greys out Show/Hide Guides and Show/Hide Grid, #8363; scores and estimates unchanged; previously: Scissors shows the actual proposed cut point while hovering, using its existing snapping and cut target (#8655); scores and estimates unchanged; previously: G12: Brushes panel: item right-click context menu (Brush Options, Duplicate Brush, Delete Brush) with selection handling; scores and estimates unchanged; previously: Graphic Styles panel: right-click item context menu for tiles and rows with Options, Duplicate, Delete, Redefine, Break Link; scores and estimates unchanged; previously: In the web build, an edit while the view of a heavy document moves (a tool drag held at an edge of the canvas, #8551, or a wheel scroll during a drag) draws only the part it changed into the last frame, which stays drawn moved with the view, instead of rendering the whole canvas each frame, and edits that go on once the view is still don't put off its render (#8688); scores and estimates unchanged; previously: G12: Links panel row context menu (Relink…, Go To Link, Update Link, Edit Original, Show in Folder, Embed Image / Unembed…) with selection handling; scores and estimates unchanged; previously: Artboard tool: Shift held once a move or Alt-copy drag is under way keeps it to the level, upright or 45° line, #8580; scores and estimates unchanged; previously: Image Trace Ignore Color keeps the canvas View and stays armed on a missed pixel (#8068); a tool drag held near an edge of the canvas scrolls the view, #8551; scores and estimates unchanged; previously: G12: Place: show progress window with Cancel for slow placed files exceeding 0.4 s, part of #5930; scores and estimates unchanged; previously: All Tools drawer: a tool the toolbar holds is dimmed in the readable dim text colour, not the disabled colour that was unreadable against the panel, and a hovered dimmed row takes the panel's darker fill so it stays readable, #8294; scores and estimates unchanged; previously: Layers: selected guide rows stay highlighted after the pointer leaves (#7344); scores and estimates unchanged; previously: PDF import: type filled and stroked after a page of type filled only comes in filled and stroked, #8549 follow-up; scores and estimates unchanged; previously: selected Dimension extension-line color and weight in Properties (#7078; four focused UI regressions passed); scores and estimates unchanged; previously: Brush Options Key Color: restore canvas input for the existing one-shot pick, then resume the retained draft and previous tool (#8284; six full-app input regressions passed); scores and estimates unchanged; previously: #8200: `.ai` and EPS import: an Art brush in Tints of a swatch-linked stroke color comes in brushed, its tints linked to the swatch; scores and estimates unchanged; previously: Ellipse: Up/Down changes Anchors while drawing (#7840); scores and estimates unchanged; previously: Windows/Linux menu access keys and localized cues (#6596); previously: Backquote/~ arrow pattern nudges (#7717); scores and estimates unchanged; previously: Window > Toolbars > Compact Tools offers optional denser main Tools spacing (#7234); default layout, scores and estimates unchanged; previously: Direct Selection: Space during an ordinary path's handle drag repositions its anchor and handles, including a Pen loan (#7237, request 3 only; scores and estimates unchanged); previously: SVG export preserves document units on root width/height for physical units, #864; G11 estimate 8–15 → 6–13 h; previously: Floating panels keep their window level while focus moves between the app's windows, so a press on one panel's bar no longer hands the keyboard to another, #6986; scores and estimates unchanged; previously minor: #8128: `.ai` and EPS import: clipping paths grouped in a compound path are its subpaths, so the compound clipping path clips its clipping group; scores and estimates unchanged; previously: import: type filled and stroked by a `TJ` whose kerning starts a new line comes in filled and stroked, #8543; PDF Retype phase 1 (#4934): Type › Retype (`type.retype`) turns outlined text that exactly matches an available font back into point text; scores and estimates unchanged; previously: Lock Guides: a selection marquee (Selection, Direct Selection, Group Selection, Enclosing Lasso) leaves out paths made into guides inside groups and compound paths too, as clicks do (#3074), so a group is no longer selected by a locked guide in it; an enclosing marquee measures a group without its locked or hidden guides, and Direct Selection takes no anchor or segment of a guide that can't be picked; a guide in a group still moves with its group (#8538); Production Preflight: output-aware fonts, text overflow, linked files and effective image resolution, clickable findings and automatic rechecking; scores and estimates unchanged; previously: PDF export writes the document language as the catalog's `/Lang`, #3644; Layers panel: an Alt-drag copies a row above or below itself, so the top layer dragged up, the bottom layer dragged down and a lone layer are copied, #8237; scores and estimates unchanged; previously: Twist: a strongly twisted path joins its pieces without kinks, #7069; scores and estimates unchanged; previously: PDF import: a glyph filled only after a glyph filled and stroked comes in filled only, not stroked, #8300; PDF import: translucent type filled and stroked comes in as a filled type object and a stroked one, as the file composites them, and an upright glyph is never kept as the outline of its glyph alone, #8015; PDF import: type filled and stroked by one text-showing operator comes in as one type object, filled and stroked, not a stroked copy over a filled one, #8015; Layers panel: Alt over the list shows the copy cursor while rows or the selection square are dragged, #8217; scores and estimates unchanged; previously: Gradient panel: the add-stop strip under the ramp shows the white arrow with a plus on Windows and X11, #8241; scores and estimates unchanged; previously: Properties panel: the Character section shows the font of the Type tool's selection, not the first run's (#8189); scores and estimates unchanged; previously: Recolor Artwork follow-up (#8031, remaining #4028): native Lab input, picker swatch libraries and Assign-row menus; UI interaction regression coverage; scores and estimates unchanged; previously: Eraser review: hidden Rasterize and Along/Across stroke rows do not block preserving visible gradients; scores and estimates unchanged; previously: Eraser review: ordinary Group/Layer paints and reproducible evaluated gradient placements are preserved; other placements retain existing fitting; scores and estimates unchanged; previously: Eraser: shared fill-only area cutting for fixed and varied tips and the Alt-drag marquee, #6582; scores and estimates unchanged; previously: #8005: the Color spectrum fills a resized panel; scores and estimates unchanged; previously: Paragraph composers (#4935): the Paragraph panel menu and paragraph styles offer four composers, the Middle Eastern & South Asian Single-line and Every-line (how all type is set, and the default) and a Standard Single-line and Every-line that set Indic, Arabic and Hebrew type glyph by glyph as the font maps it, for legacy fonts that keep a script on Latin character codes; PDF import: stroked type keeps the line cap, line join and miter limit the file strokes it with, a glyph stroked otherwise than the run it joins coming in as a run of its own, #7741; G5: Neon & Glow joins built-in graphic style libraries (Cyan Neon, Magenta Laser, Amber Tube, Electric Lime, Pulse Violet, Cobalt Phosphor); scores and estimates unchanged; previously: Pencil ignores Smart Guides and Snap to Point and shows no Smart Guides, #7252; previously: Pencil continuation, straight-line and closing cursors; scores and estimates unchanged; previously: G5: Weather Icons joins built-in symbol libraries (Sun, Moon, Cloud, Rain, Thunder, Snow); scores and estimates unchanged; previously: a closed Pencil stroke closes with a straight segment; previously: Snap to Point with Smart Guides off draws no Smart Guides labels or lines, #7250; previously: 3D: the seams of Extrude & Bevel, Inflate and Rotate under a white light, and of the faces of Extrude & Bevel (Classic), Revolve (Classic) and Rotate (Classic), went from miter to round joins, so white-light 3D output is expected to differ from the 2026-10-17 comparison at facet corners (not measured: the scenes were not exported again); previously: `.ai` and EPS import: in layers that don't draw as the page, art that differs away from an envelope of type no longer costs it its editable type; it keeps its drawn art where, in the pixels it and its drawn art ink, the layers with it differ from the page more than its own check allows, or past the envelopes' share of the page check, #7141; Character panel: the Set Font Height Reference dropdown shows an icon before each reference, #6304; scores and estimates unchanged; previously: Envelopes: a top object's side columns; scores and estimates unchanged; previously: Graphic Styles list fills a taller panel, #2992; scores and estimates unchanged; previously: PDF import: glyphs in a span with an empty ActualText come in as outlines, #6971; scores and estimates unchanged; previously: library panels' lists fill a taller panel, #2992; scores and estimates unchanged; previously: Swatches list fills a taller panel, #1638; scores and estimates unchanged; previously minor: Object › Rasterize with the Grayscale or Bitmap colour model makes a grayscale image, #6969; scores and estimates unchanged; previously minor: `.ai` and EPS import: type in an envelope with Distort Appearance is also tried mapped from the box of what it paints, miter tips and moved strokes included, after its glyphs grown by half its strokes' weight (#6824; #6617: Swatches panel menu: Show Recent Colors; scores unchanged; previously minor: icon-strip flyouts also resize from the top edge and the canvas-side top corner, keeping the moved top in workspaces (storytold/craft-libs#1094); scores and estimates unchanged; previously: #6865: explicitly requested oversized editing artboard; macOS: the canvas cursor stays after the pointer moves, #6362; scores and estimates unchanged; previously minor: Type tool: kerning at a caret at the start of a line moves the character after it, #5111; scores and estimates unchanged; previously minor: Rulers: the zero point dragged out of the rulers' corner snaps as a drawn point does; previously minor: Live Paint Bucket fills faces crossed in one drag (#6373); previously: #6404: transform-aware Eyedropper character copying; scores and estimates unchanged; previously: Envelopes: with Distort Appearance, type's strokes paint along the bent glyph outlines at their own weight, as users' `.ai` files draw them, which changes how VectorCraft's own envelopes of stroked type draw (#6644; scores and estimates unchanged); previously minor: G5: Energy Beams brush library; bundled content ~44% → ~46%; previously minor: G5: Skill Icons symbol library; bundled content ~42% → ~44%; previously minor: `.ai` and EPS import: an envelope saved in Edit Contents whose mesh lies away from its drawn art by a move opens live on that art (#6570; scores and estimates unchanged); previously minor: ruler double-click adds a guide at the pointer, #5239; G5: Status Effects graphic style library; bundled content ~40% → ~42%; MCP symbol libraries list UI Frames and Map Markers; previously minor: G5: Inventory Icons built-in symbol library; bundled content ~38% → ~40%; previously minor: `.ai` and EPS import: stroked type in an envelope maps from its glyphs grown by half its stroke (#3179; scores and estimates unchanged); previously minor: `.ai` and EPS import: warps of type open as mesh envelopes on their saved grid where VectorCraft's warp doesn't draw as their drawn art (#3179; scores and estimates unchanged); G5: Game Trails brush library; bundled content ~36% → ~38%; previously minor: Edit › Edit Custom Dictionary…: its dialog adds, deletes and changes the custom dictionary's words, #4936; previously minor: `.ai` and EPS import: envelopes of type open live where they draw as their drawn art and the layers with them draw as the page (#3179; scores and estimates unchanged); G5: Game HUD graphic style library; bundled content ~34% → ~36%; previously minor: Line Arrow arrowhead (#5421; scores and estimates unchanged); G5: Map Markers built-in symbol library; bundled content ~32% → ~34%; previously minor: right-click on type: Spelling › Auto Spell Check, with its check mark, #4936; previously minor: right-click on a word Auto Spell Check underlined: its suggestions, Ignore All and Add to Dictionary, #4936; previously minor: Canvas: a 3D effect changed on type or a group redraws where its solid was; Fit to Artwork Bounds and per-artboard SVG export build each solid once for all artboards; previously minor: Effect Gallery: a thumbnail for each filter and a preview area inside the dialog, on an original drawing; Raster effects 52% → 55%, hours 1–2 → none; headline numbers unchanged; Auto Spell Check: `edit.autoSpellCheck` underlines the unknown words, #4936; previously minor: PDF editable import preserves authored ActualText once, including empty/nested spans and authored ordering (#6165); cross-line/style layout remains approximate; scores and estimates unchanged; PDF marked-text export (#6309): compatible glyphs stay on one layout line with per-glyph offsets; scores and estimates unchanged; G5: UI Frames built-in symbol library with default 9-slice; bundled content ~32%; previously minor: G5: dynamic symbol part on-canvas opacity/blend/gradient/pattern; strokes remaining no longer lists Overlap/auto corners; symbols ~88%; previously minor: interim macOS cursor delivery, #2292; native validation pending; scores and estimates unchanged; previously minor: harakat paint fallback clarified; previously minor: current Guides feature-area rows consolidated using existing ruler evidence; scores and estimates unchanged; previously minor: Control bar › Snapping includes the existing Snap to Glyph and Alignment Guides toggles (#6164); scores and estimates unchanged; previously minor: G5 docs: Art brush Overlap and Pattern brush auto corners removed from strokes remaining; symbols remaining lists dynamic on-canvas beyond solid and guides outside the art; previously minor: custom dictionary and Ignore All: `text.spelling.addWord`, `removeWord`, `changeWord`, `dictionary` and `ignoreAll`, #4936; previously minor: EPS import: embedded fonts (composite, Type 42, CID-keyed, Type 1, CFF FontSet) draw their glyphs; spell check engine: `text.spelling.check` and `text.spelling.suggest` on craft-proof, #4936; previously minor: floating tab groups collapse into the side icon rail and opened rail panels fold back into it, #5925 in part; `.ai`/EPS type keeps its tab stops, and right-aligned lines with tabs lay out as the file's page, #6147; `.ai`/EPS type from the text document lays its lines out closer to the file's page, within limits, #6137; `.ai` and EPS import: older Art brush objects read; numeric fields step on wheel hover without taking keyboard focus, and a panel wheel turn cannot seed a canvas zoom glide, #5949; Character Styles panel: a double-click on a style's row opens its Character Style Options; the dialog keeps a fixed width and scrolls its sections, so its buttons stay on screen; Tools stays beside the canvas with left-side panels; new gradients follow document color mode; Selection QoL: marquee modes and visible feedback, #5313; SVG CSS classes survive export and repeated import in all four styling modes (#2480); current-main integration retains event attributes and scripts; #3380 deletion-only review follow-up: independent survivors keep gradient placement, owned subpaths avoid discarded copies, and contracts/status/evidence are clarified; endpoint highlighting remains open; scores and estimates unchanged; the canvas keeps selection outlines and anchors between frames; Indian-language hyphenation review and license allowlist, #4947; Stroke gradients: an arrowhead aligned to the tip is painted to the corners of its base, #5964; Drop Shadow and glow dialogs: spinner arrows, #5367, #5368; Stroke Weight Up and Down shortcuts, #5797; Hindi catalog and contributor loanword preferences; full wording review in progress; Properties in Edit Artboards: a Transform section with the reference point above the Artboards section, #5219; the Control bar's Stroke: and Opacity: links scrub their fields, #4088; an image zoomed in on is separated, colorized or proofed only where it shows (#4155); a document's first frame renders on the render worker, so opening a heavy file no longer freezes the window, #4155; Control bar Paragraph section with type selected, #5372; translating unchanged type reuses its glyph and character-stroke outlines; scores and estimates unchanged; Gradient stop editor: native Color-tab menu offers the five Color panel modes (#7918); validation pending; scores and estimates unchanged; Layers: hollow diamond and state tooltip distinguish own appearance from targeting and selection (#8710), retaining #8757's ring visibility; scores and estimates unchanged) · **Target:** Adobe Illustrator 2026 (30.x; public release notes through 30.7, August 2026; Units › East Asian Type acts, with Q and Ha units; scores unchanged) > Panel readout copy (#8432, #8826): Info values and paint names, Links information, and named Document Info rows with no separate value follow the guarded immediate-copy policy landed in #9353. A plain first click copies the full value and reports "Copied the value"; accessible activation copies it too. Selectable readouts retain word selection on double-click, Shift/drag selection and keyboard Copy/Cut. Links Location retains #9521's path fitting and full-path tooltip as static text, with the same full-value primary/accessible copy and a native Copy Location button for keyboard use. Scores and estimates are unchanged. > From 77de863947a5da9f8dc1fa62367fed17f0c7f5bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabio=20William=20Concei=C3=A7=C3=A3o?= Date: Sat, 21 Nov 2026 07:45:50 +0000 Subject: [PATCH 04/20] tests: expect Impact Bursts in built-in brush library ids --- crates/engine/src/tests/brushlib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/engine/src/tests/brushlib.rs b/crates/engine/src/tests/brushlib.rs index a7e649fc9e..dd91c02ac7 100644 --- a/crates/engine/src/tests/brushlib.rs +++ b/crates/engine/src/tests/brushlib.rs @@ -121,6 +121,7 @@ fn the_builtin_libraries_are_original_brushes_generated_in_code() { "game-trails", "energy-beams", "dry-media", + "impact-bursts", "tech-circuit", "engraving", "arrows", From d9b705640eaa36e59bc3327a6f2b34be06635ac7 Mon Sep 17 00:00:00 2001 From: ruchirguitar Date: Sat, 5 Dec 2026 10:27:49 +0530 Subject: [PATCH 05/20] Locale: read native digits through craft-i18n's shared helper vectorcraft_doc::units drops its private digit table lookup and uses craft_i18n::ascii_digits (storytold/craft-libs#4872), keeping its own grammar: a number is a run of digits, '.' and ','. Behaviour and tests are unchanged. --- crates/doc/src/units.rs | 46 ++++------------------------------------- 1 file changed, 4 insertions(+), 42 deletions(-) diff --git a/crates/doc/src/units.rs b/crates/doc/src/units.rs index 6241882d01..2e4b4e5c1b 100644 --- a/crates/doc/src/units.rs +++ b/crates/doc/src/units.rs @@ -1,5 +1,4 @@ use std::borrow::Cow; -use std::sync::OnceLock; use super::{Deserialize, Serialize}; @@ -430,48 +429,11 @@ pub fn decimal_point(text: &str) -> Cow<'_, str> { } /// `text` with every Unicode decimal digit (Devanagari `०-९`, Gujarati `૦-૯`, Bengali, -/// Arabic-Indic, full-width, …) written as its ASCII digit, so `१२.५ mm` reads as `12.5 mm`. ASCII -/// text is not copied. Each number (a run of digits, `.` and `,`) must use one digit set, as -/// `craft_i18n::parse_number` requires: `1२` and `૧२` are `None`. Operators, unit suffixes and -/// other characters are left as they are. +/// Arabic-Indic, full-width, …) written as its ASCII digit, so `१२.५ mm` reads as `12.5 mm`. A +/// number here is a run of digits, `.` and `,`, and must use one digit set: `1२` and `૧२` are +/// `None`. Operators, unit suffixes and other characters are left as they are. fn ascii_digits(text: &str) -> Option> { - if text.is_ascii() { - return Some(text.into()); - } - let mut out = String::with_capacity(text.len()); - // The zero of the digit set of the number being read. - let mut set = None; - for c in text.chars() { - if let Some((zero, value)) = decimal_digit(c) { - if *set.get_or_insert(zero) != zero { - return None; - } - out.push(char::from(b'0' + value)); - } else { - if !matches!(c, '.' | ',') { - set = None; - } - out.push(c); - } - } - Some(out.into()) -} - -/// `c`'s digit set (the code point of its zero) and value, when it is a Unicode decimal digit. -/// Other than ASCII, read through craft-i18n, which knows every set (general category Nd). -fn decimal_digit(c: char) -> Option<(u32, u8)> { - if c.is_ascii_digit() { - return Some((u32::from('0'), (c as u8) - b'0')); - } - if c.is_ascii() { - return None; - } - // A lone character reads as a number only when it is a digit; the format's marks don't matter. - static FORMAT: OnceLock = OnceLock::new(); - let format = FORMAT.get_or_init(|| craft_i18n::Format::from_tag("und")); - let read = format.parse(c.encode_utf8(&mut [0; 4])).ok()?; - let value = (0..10u8).find(|&d| f64::from(d) == read)?; - Some((u32::from(c).checked_sub(u32::from(value))?, value)) + craft_i18n::ascii_digits(text, |c| matches!(c, '.' | ',')).ok() } /// Does the operand contain a thousands comma? Check both parts of a compact pica value and From 32ae1862cc7e4f6ffde065c5b96640b61afd9ff6 Mon Sep 17 00:00:00 2001 From: dotCooCoo Date: Sat, 5 Dec 2026 05:52:54 -0800 Subject: [PATCH 06/20] Cargo: pin craft-i18n to the craft-libs rev the other craft crates use main moved every craft-libs dependency to 4f3e34d0, and the craft-i18n line added for the digit input still named 4c330f6b. crates/i18n is the same at both revs, so Cargo.lock keeps one craft-i18n package. --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 79446f9246..71e64927a8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -30,7 +30,7 @@ craft-cdr = { git = "https://github.com/storytold/craft-libs", rev = "4f3e34d0dd craft-svg = { git = "https://github.com/storytold/craft-libs", rev = "4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da", features = ["tree"] } craft-mime = { git = "https://github.com/storytold/craft-libs", rev = "4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da" } # Digits typed in any script in numeric fields (`vectorcraft_doc::units`). -craft-i18n = { git = "https://github.com/storytold/craft-libs", rev = "4c330f6bd1f38dd536f830483ea9618db2cb2bd8" } +craft-i18n = { git = "https://github.com/storytold/craft-libs", rev = "4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da" } # EPS container, previews, ASCII85 and DSC comments (craft-libs#778). craft-eps = { git = "https://github.com/storytold/craft-libs", rev = "4f3e34d0dda2a6862f5ba5fc4cfe3e323602a2da" } # DXF tags, reader and writer (craft-libs#778, #926, #927). From 116049ca656b817682bbee8ba2180389e876f418 Mon Sep 17 00:00:00 2001 From: dotCooCoo Date: Sat, 5 Dec 2026 05:54:36 -0800 Subject: [PATCH 07/20] Docs: number input reads Unicode 16 decimal digits, not digits of any script craft-i18n's digit table (ZEROS in crates/i18n/src/number.rs) lists the decimal digit sets of Unicode 16.0, so a digit added in a later Unicode version is not read. docs/mcp.md, the Number input section of docs/localization-parity.md, its revision row and the doc comments in crates/doc/src/units.rs now say Unicode 16 decimal digits. --- crates/doc/src/units.rs | 4 ++-- docs/localization-parity.md | 6 +++--- docs/mcp.md | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/crates/doc/src/units.rs b/crates/doc/src/units.rs index 2e4b4e5c1b..c114ceb75f 100644 --- a/crates/doc/src/units.rs +++ b/crates/doc/src/units.rs @@ -206,7 +206,7 @@ impl Unit { /// Text with more than 128 `+ - * /` signs ([`arithmetic_signs`], a multiplication sign counted /// as `*`) reads as nothing. /// - /// Digits may be in any script ([`ascii_digits`]): `१२ mm` is `12 mm`, `૪૫*૨` is `45*2`. + /// Digits may be any Unicode 16 decimal digits ([`ascii_digits`]): `१२ mm` is `12 mm`, `૪૫*૨` is `45*2`. pub fn parse(self, s: &str) -> Option { if arithmetic_signs(s) > MAX_MEASURE_OPERATORS { return None; @@ -428,7 +428,7 @@ pub fn decimal_point(text: &str) -> Cow<'_, str> { if text.contains(',') && !thousands(&text) { text.replace(',', ".").into() } else { text } } -/// `text` with every Unicode decimal digit (Devanagari `०-९`, Gujarati `૦-૯`, Bengali, +/// `text` with every Unicode 16 decimal digit (Devanagari `०-९`, Gujarati `૦-૯`, Bengali, /// Arabic-Indic, full-width, …) written as its ASCII digit, so `१२.५ mm` reads as `12.5 mm`. A /// number here is a run of digits, `.` and `,`, and must use one digit set: `1२` and `૧२` are /// `None`. Operators, unit suffixes and other characters are left as they are. diff --git a/docs/localization-parity.md b/docs/localization-parity.md index 2f886918e6..61a0389dfc 100644 --- a/docs/localization-parity.md +++ b/docs/localization-parity.md @@ -94,8 +94,8 @@ translated. ## Number input -Number fields and command parameters given as text (MCP, the control channel, `addon.units.convert`) read digits in -any script (Devanagari `१२ mm`, Gujarati `૪૫*૨`, Bengali, Arabic-Indic, full-width). Units, arithmetic and the decimal +Number fields and command parameters given as text (MCP, the control channel, `addon.units.convert`) read the +decimal digits of Unicode 16 (Devanagari `१२ mm`, Gujarati `૪૫*૨`, Bengali, Arabic-Indic, full-width). Units, arithmetic and the decimal comma work as they do with ASCII digits. One number mixing digit sets (`1२`) is refused. Both readers take their digits from craft-i18n (storytold/craft-libs#198 track 5): the dialog fields and parameters VectorCraft reads itself through `vectorcraft_doc::units` use `craft_i18n::ascii_digits`, and fields on the shared craft number field (the panels, and @@ -110,7 +110,7 @@ font for the web build. | Date | Change | Summary | |---|---|---| -| 2026-12-05 | minor | Number input: number fields and command parameters given as text read Devanagari, Gujarati and other Unicode digits, with units, arithmetic and the decimal comma as for ASCII digits; a number mixing digit sets is refused. `vectorcraft_doc::units` uses `craft_i18n::ascii_digits`, and the shared craft number field reads every script after storytold/craft-libs#4872 (storytold/craft-libs#198 track 5); scores and estimates unchanged | +| 2026-12-05 | minor | Number input: number fields and command parameters given as text read Devanagari, Gujarati and other Unicode 16 decimal digits, with units, arithmetic and the decimal comma as for ASCII digits; a number mixing digit sets is refused. `vectorcraft_doc::units` uses `craft_i18n::ascii_digits`, and the shared craft number field reads the same digits after storytold/craft-libs#4872 (storytold/craft-libs#198 track 5); scores and estimates unchanged | | 2026-12-02 | minor | Gujarati (`gu`): Web: Gujarati can be selected as the interface language; the web fetches Noto Sans Gujarati when the interface needs it (`crates/text/web-fonts.txt`, `demand`), as it does Noto Sans Devanagari for Hindi. Status/error messages remain partial. Scores and estimates unchanged. | | 2026-11-25 | patch | Arabic (`ar`): preparatory registration and 6-form CLDR plural routing; kept unavailable to users pending upstream `storytold/craft-i18n` catalog | | 2026-11-14 | minor | Gujarati (#6613): contributor proofreading completed for all 387 additions, with 11 wording corrections; 4,673 reviewed catalog rows. Status/error messages remain partial; web selection requires a bundled Gujarati face. Scores and estimates unchanged. | diff --git a/docs/mcp.md b/docs/mcp.md index 248e24bc5c..da5982fd55 100644 --- a/docs/mcp.md +++ b/docs/mcp.md @@ -19755,7 +19755,7 @@ Converter and in its panel (`window.panel {panel: "unitConverter"}`). Neither co `addon.units.convert {value, unit?}` accepts a number, or text with a unit suffix and `+ - * /` arithmetic, where `x`, `X` and `×` multiply as `*` does (`"10mm"`, `"1in/2"`, `"2p6"`, `"1080/2 px"`, `"3cm*50%"`, `"2x3 mm"`, `"13q"`). The command reads an unambiguous decimal comma as a point (`"0,5 mm"`). -Digits may be in any script, one set per number (`"१२ mm"`, `"૪૫*૨"`); `"1२"` is refused. +Digits may be any Unicode 16 decimal digits, one set per number (`"१२ mm"`, `"૪૫*૨"`); `"1२"` is refused. It refuses numbers that look like grouped integers, whether alone (`"1,000 mm"`) or in arithmetic (`"1,500+2"`). Text may contain at most 1024 bytes and 128 `+ - * /` signs (each multiplication sign counts). A number without a suffix is in `unit` (a unit's name, suffix or key: `points`, `picas`, `inches`, `millimeters`, From d327a20efd9c2f3d740c8d06ad44704012f0e22a Mon Sep 17 00:00:00 2001 From: dotCooCoo Date: Sat, 5 Dec 2026 06:54:48 -0800 Subject: [PATCH 08/20] Locale: raster resolution and Export for Screens sizes read Unicode digits MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit document.rasterEffectsSettings' text resolution ("300 ppi") and ScreenSize::parse ("2x", "100w", "144ppi") read their numbers with str::parse and an ASCII-only check, so "३०० ppi" and "२x" were refused while number fields read them. Both now convert digits with vectorcraft_doc::ascii_digits, now public, before their own grammar and range checks; one number mixing digit sets is still refused. --- crates/doc/src/lib.rs | 2 +- crates/doc/src/units.rs | 2 +- crates/engine/src/cmd/fileio/screens.rs | 5 +++-- crates/engine/src/cmd/fileio/tests_screens.rs | 11 +++++++++++ crates/engine/src/cmd/rasterfx.rs | 5 ++++- crates/engine/src/tests/rastersettings.rs | 13 +++++++++++++ 6 files changed, 33 insertions(+), 5 deletions(-) diff --git a/crates/doc/src/lib.rs b/crates/doc/src/lib.rs index 7bddc2c482..7772056668 100644 --- a/crates/doc/src/lib.rs +++ b/crates/doc/src/lib.rs @@ -179,7 +179,7 @@ use limits::MAX_NEXT_ID; pub use limits::{DocError, FORMAT_VERSION, MAX_COORD}; pub use records::{ImageBlob, MaskEdit, NewArtIds, SavedSelection, SavedView, SvgFilter, Symbol, SymbolEdit}; pub use stored_art::{StoredPlace, StoredRoot}; -pub use units::{ColorMode, Unit, arithmetic_signs, decimal_point, finite_in_every_unit, parse_number}; +pub use units::{ColorMode, Unit, arithmetic_signs, ascii_digits, decimal_point, finite_in_every_unit, parse_number}; #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct Document { diff --git a/crates/doc/src/units.rs b/crates/doc/src/units.rs index c114ceb75f..cc4ab253de 100644 --- a/crates/doc/src/units.rs +++ b/crates/doc/src/units.rs @@ -432,7 +432,7 @@ pub fn decimal_point(text: &str) -> Cow<'_, str> { /// Arabic-Indic, full-width, …) written as its ASCII digit, so `१२.५ mm` reads as `12.5 mm`. A /// number here is a run of digits, `.` and `,`, and must use one digit set: `1२` and `૧२` are /// `None`. Operators, unit suffixes and other characters are left as they are. -fn ascii_digits(text: &str) -> Option> { +pub fn ascii_digits(text: &str) -> Option> { craft_i18n::ascii_digits(text, |c| matches!(c, '.' | ',')).ok() } diff --git a/crates/engine/src/cmd/fileio/screens.rs b/crates/engine/src/cmd/fileio/screens.rs index 109dd1c59e..8e499f289d 100644 --- a/crates/engine/src/cmd/fileio/screens.rs +++ b/crates/engine/src/cmd/fileio/screens.rs @@ -46,9 +46,10 @@ impl ScreenSize { /// `2x` (or `2`), `100w`, `100h` or `72ppi`, in any case; positive numbers only. pub fn parse(s: &str) -> Option { let s = s.trim().to_ascii_lowercase(); - // Digits and `.` only: `str::parse` would also take `+2`, `1e2`, `inf` and `nan`. + // Digits and `.` only: `str::parse` would also take `+2`, `1e2`, `inf` and `nan`. Digits of + // other scripts read as ASCII digits do (`"२x"` is `2x`), as number fields read them. let num = |t: &str| { - let t = t.trim(); + let t = vectorcraft_doc::ascii_digits(t.trim())?; if !t.bytes().all(|b| b.is_ascii_digit() || b == b'.') { return None; } diff --git a/crates/engine/src/cmd/fileio/tests_screens.rs b/crates/engine/src/cmd/fileio/tests_screens.rs index 93c4d7e6b1..491fca372e 100644 --- a/crates/engine/src/cmd/fileio/tests_screens.rs +++ b/crates/engine/src/cmd/fileio/tests_screens.rs @@ -72,6 +72,17 @@ fn sizes_parse_as_factor_width_height_or_resolution() { ); } +#[test] +fn sizes_read_digits_of_other_scripts() { + assert_eq!(ScreenSize::parse("२x"), Some(ScreenSize::Scale(2.0))); + assert_eq!(ScreenSize::parse("૧૦૦W"), Some(ScreenSize::Width(100.0))); + assert_eq!(ScreenSize::parse("१४४ppi"), Some(ScreenSize::Ppi(144.0))); + // One digit set per number, and the same grammar as ASCII digits. + for bad in ["1२x", "१.5x", "-२x", "०w"] { + assert_eq!(ScreenSize::parse(bad), None, "{bad}"); + } +} + #[test] fn a_width_or_height_row_gives_that_many_pixels() { let mut s = session(1); diff --git a/crates/engine/src/cmd/rasterfx.rs b/crates/engine/src/cmd/rasterfx.rs index 97dd890457..b567c0f3a0 100644 --- a/crates/engine/src/cmd/rasterfx.rs +++ b/crates/engine/src/cmd/rasterfx.rs @@ -71,7 +71,10 @@ fn resolution(v: &Value) -> Result { "screen" => 72.0, "medium" => 150.0, "high" => 300.0, - other => other.trim_end_matches("ppi").trim().parse::().map_err(|_| bad(C, format!("unknown resolution `{v}`")))?, + // Digits of other scripts read as ASCII digits do (`"३००"` is 300), as number fields read them. + other => vectorcraft_doc::ascii_digits(other.trim_end_matches("ppi").trim()) + .and_then(|n| n.parse::().ok()) + .ok_or_else(|| bad(C, format!("unknown resolution `{v}`")))?, }, v => v.as_f64().ok_or_else(|| bad(C, "resolution must be a number or screen|medium|high"))?, }; diff --git a/crates/engine/src/tests/rastersettings.rs b/crates/engine/src/tests/rastersettings.rs index 6e3ef16476..fd88793cc9 100644 --- a/crates/engine/src/tests/rastersettings.rs +++ b/crates/engine/src/tests/rastersettings.rs @@ -91,6 +91,19 @@ fn settings_report_change_in_one_step_and_reject_junk() { assert_eq!(s.execute(C, &json!({"colorModel": "cmyk"})).unwrap()["colorModel"], "cmyk"); } +#[test] +fn a_resolution_given_as_text_reads_digits_of_other_scripts() { + let mut s = session(); + let r = s.execute(C, &json!({"resolution": "३०० ppi"})).unwrap(); + assert_eq!(r["resolution"].as_f64(), Some(300.0)); + assert_eq!(s.doc().unwrap().doc.raster_effects_ppi, 300.0); + // One digit set per number, and the same 1 to 2400 ppi range as ASCII digits. + for bad in ["1५0", "५०००"] { + assert!(s.execute(C, &json!({"resolution": bad})).is_err(), "{bad}"); + } + assert_eq!(s.doc().unwrap().history.undo.len(), 1); +} + #[test] fn a_white_background_makes_effect_images_opaque() { let mut s = session(); From cf429ac1d85dbe65adcc119546f9478fbddea226 Mon Sep 17 00:00:00 2001 From: dotCooCoo Date: Sat, 5 Dec 2026 08:48:58 -0800 Subject: [PATCH 09/20] Locale: a text resolution uses one digit set, exponent included MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `document.rasterEffectsSettings` read `"१e2"` and `"१e+2"` as 100 ppi: `ascii_digits` treats `e` and `+` as the end of a number, so each side could use its own digit set. The resolution now goes through `vectorcraft_doc::ascii_digits_one_number`, which requires one digit set for the whole value. `"१e२"` still reads as 100, and `"1e२"`, `"१e2"` and `"१e+2"` are refused. --- crates/doc/src/lib.rs | 2 +- crates/doc/src/units.rs | 6 ++++++ crates/engine/src/cmd/rasterfx.rs | 5 +++-- crates/engine/src/tests/rastersettings.rs | 6 ++++-- 4 files changed, 14 insertions(+), 5 deletions(-) diff --git a/crates/doc/src/lib.rs b/crates/doc/src/lib.rs index ebc2088245..276f298ffe 100644 --- a/crates/doc/src/lib.rs +++ b/crates/doc/src/lib.rs @@ -179,7 +179,7 @@ use limits::MAX_NEXT_ID; pub use limits::{DocError, FORMAT_VERSION, MAX_COORD}; pub use records::{ImageBlob, MaskEdit, NewArtIds, SavedSelection, SavedView, SvgFilter, Symbol, SymbolEdit}; pub use stored_art::{StoredPlace, StoredRoot}; -pub use units::{ColorMode, Unit, arithmetic_signs, ascii_digits, decimal_point, finite_in_every_unit, parse_number}; +pub use units::{ColorMode, Unit, arithmetic_signs, ascii_digits, ascii_digits_one_number, decimal_point, finite_in_every_unit, parse_number}; #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] pub struct Document { diff --git a/crates/doc/src/units.rs b/crates/doc/src/units.rs index cc4ab253de..1ef44c0413 100644 --- a/crates/doc/src/units.rs +++ b/crates/doc/src/units.rs @@ -436,6 +436,12 @@ pub fn ascii_digits(text: &str) -> Option> { craft_i18n::ascii_digits(text, |c| matches!(c, '.' | ',')).ok() } +/// [`ascii_digits`] for text that holds a single number, exponent and unit included: every digit +/// must come from one set, so `१e२` is `1e2` and `१e2` is `None`. +pub fn ascii_digits_one_number(text: &str) -> Option> { + craft_i18n::ascii_digits(text, |_| true).ok() +} + /// Does the operand contain a thousands comma? Check both parts of a compact pica value and /// read a percentage's number without its percent sign. fn thousands_operand(operand: &str) -> bool { diff --git a/crates/engine/src/cmd/rasterfx.rs b/crates/engine/src/cmd/rasterfx.rs index b567c0f3a0..1447532743 100644 --- a/crates/engine/src/cmd/rasterfx.rs +++ b/crates/engine/src/cmd/rasterfx.rs @@ -71,8 +71,9 @@ fn resolution(v: &Value) -> Result { "screen" => 72.0, "medium" => 150.0, "high" => 300.0, - // Digits of other scripts read as ASCII digits do (`"३००"` is 300), as number fields read them. - other => vectorcraft_doc::ascii_digits(other.trim_end_matches("ppi").trim()) + // Digits of other scripts read as ASCII digits do (`"३००"` is 300), as number fields read them, + // with one digit set for the whole value, exponent included (`"१e2"` is refused). + other => vectorcraft_doc::ascii_digits_one_number(other.trim_end_matches("ppi").trim()) .and_then(|n| n.parse::().ok()) .ok_or_else(|| bad(C, format!("unknown resolution `{v}`")))?, }, diff --git a/crates/engine/src/tests/rastersettings.rs b/crates/engine/src/tests/rastersettings.rs index fd88793cc9..d918113114 100644 --- a/crates/engine/src/tests/rastersettings.rs +++ b/crates/engine/src/tests/rastersettings.rs @@ -97,11 +97,13 @@ fn a_resolution_given_as_text_reads_digits_of_other_scripts() { let r = s.execute(C, &json!({"resolution": "३०० ppi"})).unwrap(); assert_eq!(r["resolution"].as_f64(), Some(300.0)); assert_eq!(s.doc().unwrap().doc.raster_effects_ppi, 300.0); - // One digit set per number, and the same 1 to 2400 ppi range as ASCII digits. - for bad in ["1५0", "५०००"] { + // One digit set per number, exponent included, and the same 1 to 2400 ppi range as ASCII digits. + for bad in ["1५0", "५०००", "१e2", "1e२", "१e+2"] { assert!(s.execute(C, &json!({"resolution": bad})).is_err(), "{bad}"); } assert_eq!(s.doc().unwrap().history.undo.len(), 1); + let r = s.execute(C, &json!({"resolution": "१e२"})).unwrap(); + assert_eq!(r["resolution"].as_f64(), Some(100.0)); } #[test] From 1862d90041acae42c7a24bfd753233a16b654531 Mon Sep 17 00:00:00 2001 From: dotCooCoo Date: Sat, 5 Dec 2026 15:06:23 -0800 Subject: [PATCH 10/20] Panels: drop the flyout dialog tracking now that popovers are children of their opener craft-libs 5270 makes a popup that a hosted dialog shows a child of the layer the dialog was opened from, when it is opened through WindowDialogs::with from inside that layer's body. The Gradient panel's stop popover opens that way from an icon column's flyout, so the flyout keeps it as its own: the focus moving into the popover and presses in it no longer collapse the flyout, and one press away closes both. panel_docking::show no longer notes the dialogs opened while a flyout is open or turns auto-collapse off while one of them shows. The flyout test also checks that a press away with the popover open closes the popover and the flyout together. --- crates/ui-egui/src/panel_docking.rs | 30 +---------------------- crates/ui-egui/src/panel_docking/tests.rs | 16 +++++++++++- 2 files changed, 16 insertions(+), 30 deletions(-) diff --git a/crates/ui-egui/src/panel_docking.rs b/crates/ui-egui/src/panel_docking.rs index e5b0110b77..c7f3d1bfa5 100644 --- a/crates/ui-egui/src/panel_docking.rs +++ b/crates/ui-egui/src/panel_docking.rs @@ -21,7 +21,6 @@ use std::sync::Arc; use craft::behavior::{Axis, DockSide, IconId}; use craft::ui::buttons::IconButton; use craft::ui::contract::{Bind, BodyCx, PlainData, Props as _, Show as _, SizeLimits, Tracked}; -use craft::ui::dialog::DialogId; use craft::ui::docking::{ ColumnCards, DockCommands, DockConfig, DockEvent, DockGrid, DockPanels, DockScene, DockSizes, DockTo, DragUnit, FloatSpace, GroupAt, HidePanels, PanelKey, PanelSpec, PanelSpecs, actions as command_actions, move_actions, request_actions, @@ -74,9 +73,6 @@ pub(crate) struct Runtime { /// A panel just floated out of a tool rail, whose window takes over the held press on the next /// pass, with the pointer at this point inside it ([`continue_move`]). hand_over: Option<(String, egui::Vec2)>, - /// The dialogs a panel in the open flyout opened, by id and opening serial: while one is open, Auto-Collapse Iconic - /// Panels leaves the flyout open ([`show`]). - flyout_dialogs: Vec<(DialogId, u64)>, } /// `ui.docking`: the layout in use, the hidden panels, the open flyout, the focused panel, the @@ -1350,16 +1346,6 @@ fn raise(app: &VectorcraftApp, ctx: &egui::Context, panel: &str) { } } -/// The open dialogs of the main window, by id and opening serial: a dialog closed and opened again has a new serial. -fn open_dialogs(app: &VectorcraftApp) -> Vec<(DialogId, u64)> { - app.dialogs().map_or_else(Vec::new, |dialogs| { - dialogs.with(|host| { - let host = &*host; - host.stack().ids().filter_map(|id| Some((id, host.open_serial(id)?))).collect() - }) - }) -} - /// The floating window holding `panel` takes over the held primary press on the next pass, with the /// pointer at `grab` inside it: a panel floated out of a tool rail mid-drag follows the pointer and /// docks where the release lands. @@ -1385,15 +1371,7 @@ pub(crate) fn show(app: &mut VectorcraftApp, ui: &mut egui::Ui, keeps_tools: boo let presenting = app.ui.screen_mode >= 3; // Shift+Tab, from its key, a menu or automation, closes a panel popped out of the icon column. let mut flyout = flyout_before.clone().filter(|_| !keeps_tools); - let dialogs_before = open_dialogs(app); - if flyout_before.is_some() { - app.dock_rt.flyout_dialogs.retain(|dialog| dialogs_before.contains(dialog)); - } else { - app.dock_rt.flyout_dialogs.clear(); - } - // A dialog a panel of the flyout opened (the Gradient panel's stop popover) is a layer of the window's dialog host, - // outside the flyout's: while one is open, a press in it or the focus moving into it leaves the flyout open. - let auto_collapse = app.session.prefs.auto_collapse_icon_panels && app.dock_rt.flyout_dialogs.is_empty(); + let auto_collapse = app.session.prefs.auto_collapse_icon_panels; // The specs and rails leave the app for the pass, which lends the app to the panel bodies. let specs = std::mem::take(&mut app.dock_rt.specs); let rails = std::mem::take(&mut app.dock_rt.rails); @@ -1439,12 +1417,6 @@ pub(crate) fn show(app: &mut VectorcraftApp, ui: &mut egui::Ui, keeps_tools: boo if app.ui.open_panel == flyout_before { app.ui.open_panel = flyout; } - if app.ui.open_panel.is_some() { - let opened: Vec<_> = open_dialogs(app).into_iter().filter(|dialog| !dialogs_before.contains(dialog)).collect(); - app.dock_rt.flyout_dialogs.extend(opened); - } else { - app.dock_rt.flyout_dialogs.clear(); - } if output.error.is_some() { Arc::make_mut(&mut app.ui.dock_workspace).replace(default_workspace(&[])); app.status(tl!("Invalid panel layout; restored the default dock").to_string()); diff --git a/crates/ui-egui/src/panel_docking/tests.rs b/crates/ui-egui/src/panel_docking/tests.rs index 4db88f1fc5..25fa80f924 100644 --- a/crates/ui-egui/src/panel_docking/tests.rs +++ b/crates/ui-egui/src/panel_docking/tests.rs @@ -1351,7 +1351,8 @@ fn a_tab_menus_stock_items_start_at_the_panel_items_check_column() { } /// With Auto-Collapse Iconic Panels on, the popover the Gradient panel's stop chip opens from the panel's flyout leaves -/// the flyout open while it shows; once it closes, a click away from the flyout still closes it. +/// the flyout open while it shows; once it closes, a click away from the flyout still closes it, and a press away from +/// both closes the popover and the flyout together. #[test] fn a_popover_opened_from_an_auto_collapsing_flyout_leaves_the_flyout_open() { let mut h = Harness::new(); @@ -1385,4 +1386,17 @@ fn a_popover_opened_from_an_auto_collapsing_flyout_leaves_the_flyout_open() { assert_eq!(h.app.ui.open_panel, flyout, "closing the popover leaves the flyout open"); h.click(h.canvas().center()); assert_eq!(h.app.ui.open_panel, None, "a click away from the flyout still closes it"); + + // With the popover open again, one press away from both closes the popover and the flyout. + h.app.run("window.panel", json!({"panel": "gradient"})).unwrap(); + h.frames(3); + assert_eq!(h.app.ui.open_panel, flyout, "the flyout opens again"); + h.click(chip.center()); + h.frames(3); + assert!(popover_open(&h), "the chip opens the stop popover again"); + assert_eq!(h.app.ui.open_panel, flyout, "the flyout stays open while the popover shows"); + h.click(h.canvas().center()); + h.frames(2); + assert!(!popover_open(&h), "a press away closes the popover"); + assert_eq!(h.app.ui.open_panel, None, "and the flyout with it"); } From a728d46e39bc47137974f26a356b57fbc55860a4 Mon Sep 17 00:00:00 2001 From: dotCooCoo Date: Sat, 5 Dec 2026 16:09:50 -0800 Subject: [PATCH 11/20] Links: processes started to open links, files and folders are reaped when they end open_link, Show in Folder, opening a written file and Edit Original dropped the spawned child without waiting for it, so on Linux and the BSDs each finished xdg-open or editor process stayed a zombie until the app exited. spawn_detached now starts a thread that waits for the process before it starts it, so the process is reaped when it ends. On Windows dropping the child closes its handle, so no thread is started. --- apps/vectorcraft/src/host_services.rs | 57 ++++++++++++++++++++++++--- 1 file changed, 52 insertions(+), 5 deletions(-) diff --git a/apps/vectorcraft/src/host_services.rs b/apps/vectorcraft/src/host_services.rs index aa4c978b62..89ed8fe0d2 100644 --- a/apps/vectorcraft/src/host_services.rs +++ b/apps/vectorcraft/src/host_services.rs @@ -80,7 +80,54 @@ fn a_dialog_is_marked_while_it_shows_and_not_after() { /// File → Show in Folder: select `path` in Finder / Explorer, or open its folder elsewhere. fn reveal(path: &str) -> Result<(), String> { explorer_safe(path)?; - reveal_command(path).spawn().map(|_| ()).map_err(|e| format!("can't show {path}: {e}")) + spawn_detached(&mut reveal_command(path)).map(drop).map_err(|e| format!("can't show {path}: {e}")) +} + +/// The thread that waits for a process [`spawn_detached`] started; it returns the exit status. +type Reaper = std::thread::JoinHandle>; + +/// Starts `c` without the caller waiting for it. On Windows dropping the `Child` closes its handle, +/// so there is no reaper. Elsewhere a thread waits for the process, so it is reaped when it ends +/// instead of staying a zombie until the app exits. The thread starts first, so a process is never +/// started without a waiter. +fn spawn_detached(c: &mut std::process::Command) -> std::io::Result> { + #[cfg(windows)] + let started = c.spawn().map(|_| None); + #[cfg(not(windows))] + let started = { + let (send, receive) = std::sync::mpsc::channel::(); + let reaper = std::thread::Builder::new().name("process reaper".into()).spawn(move || match receive.recv() { + Ok(mut child) => child.wait(), + Err(_) => Err(std::io::Error::other("the process did not start")), + })?; + let child = c.spawn()?; + // The reaper holds the receiver until it gets the child, so this send always arrives. + let _ = send.send(child); + Ok(Some(reaper)) + }; + started +} + +/// Linux keeps `/proc/` in state `Z` for a process that ended until its parent waits for it. +/// A pid the kernel has given to a new process since is not in state `Z`. +#[cfg(all(test, target_os = "linux"))] +#[test] +fn a_started_process_is_reaped_once_it_ends() { + let dir = tempfile::tempdir().unwrap(); + let pid_file = dir.path().join("pid"); + let mut c = std::process::Command::new("sh"); + c.arg("-c").arg("echo $$ > \"$1\"; exit 3").arg("sh").arg(&pid_file); + let reaper = spawn_detached(&mut c).unwrap().expect("a reaper on Linux"); + let status = reaper.join().unwrap().unwrap(); + let pid = std::fs::read_to_string(&pid_file).unwrap(); + let pid = pid.trim().to_string(); + assert!(!pid.is_empty(), "the process wrote its pid"); + // `/proc//stat` is `pid (comm) state ...`; a missing file means the pid is free. + let state = std::fs::read_to_string(format!("/proc/{pid}/stat")) + .ok() + .and_then(|s| s.rsplit_once(") ").and_then(|(_, rest)| rest.split(' ').next().map(str::to_string))); + assert_ne!(state.as_deref(), Some("Z"), "process {pid} is still a zombie"); + assert_eq!(status.code(), Some(3), "the reaper reads the process's own exit"); } #[cfg(target_os = "macos")] @@ -114,14 +161,14 @@ fn open_file_url(url: &str) -> Result<(), String> { webbrowser::open(url).map_err(|e| format!("can't open {url}: {e}")) } -/// Opens a link with the system's handler, without waiting for it: +/// Opens a link with the system's handler, without the caller waiting for it: /// `craft::platform::open::open_external` on macOS and Windows, xdg-open elsewhere ([`link_command`]). pub(crate) fn open_link(url: &str) -> Result<(), String> { #[cfg(not(any(target_os = "macos", windows)))] { let mut c = link_command(url)?; c.stdin(std::process::Stdio::null()).stdout(std::process::Stdio::null()).stderr(std::process::Stdio::null()); - c.spawn().map(|_| ()).map_err(|e| format!("can't open {url}: {e}")) + spawn_detached(&mut c).map(drop).map_err(|e| format!("can't open {url}: {e}")) } #[cfg(any(target_os = "macos", windows))] { @@ -265,7 +312,7 @@ fn open_file(path: &str) -> Result<(), String> { let mut c = std::process::Command::new("xdg-open"); #[cfg(not(windows))] c.arg(path); - c.spawn().map(|_| ()).map_err(|e| format!("can't open {path}: {e}")) + spawn_detached(&mut c).map(drop).map_err(|e| format!("can't open {path}: {e}")) } /// Edit Original with Preferences › File Handling › Use System Defaults for Edit Original off @@ -340,7 +387,7 @@ fn launch_application(app: &std::path::Path, path: &str) -> Result } } #[cfg(not(target_os = "macos"))] - c.spawn().map(|_| true).map_err(|e| format!("can't open {path} in {}: {e}", app.display())) + spawn_detached(&mut c).map(|_| true).map_err(|e| format!("can't open {path} in {}: {e}", app.display())) } /// PhotoCraft where it is installed: the first of [`photocraft_candidates`] that is an application. From 028454cd57fb3a9b994e95ab25ebac078d790416 Mon Sep 17 00:00:00 2001 From: dotCooCoo Date: Sat, 5 Dec 2026 16:16:13 -0800 Subject: [PATCH 12/20] Strokes: projecting caps under Tip-aligned arrowheads are measured at the shortened ends With Tip alignment the arrowhead shortens the line and the projecting cap is drawn at the shortened end, but reach_along put the cap's corners at the path's own end, so the bounds reached half a stroke width past the head's tip. The caps are now measured along the shortened line, aligned as the renderer aligns them, and a trim that leaves no length still counts the cap's dot. Follows #10994. --- crates/doc/src/reach.rs | 68 ++++++++++++++++++++++++++++++++++++++--- 1 file changed, 63 insertions(+), 5 deletions(-) diff --git a/crates/doc/src/reach.rs b/crates/doc/src/reach.rs index 0403d26044..df9240fb54 100644 --- a/crates/doc/src/reach.rs +++ b/crates/doc/src/reach.rs @@ -25,6 +25,16 @@ fn ends(segs: &[PathSeg]) -> Option<[(Point, Vec2); 2]> { Some([(first.start(), -tangent(first, 0.0)), (last.end(), tangent(last, 1.0))]) } +/// `out` grown to take in the corners of the projecting caps, reaching `side` past each end of the +/// open subpath `segs`. +fn square_corners(mut out: Rect, segs: &[PathSeg], side: f64) -> Rect { + for (at, dir) in ends(segs).into_iter().flatten() { + let n = Vec2::new(-dir.y, dir.x) * side; + out = out.union_pt(at + dir * side + n).union_pt(at + dir * side - n); + } + out +} + /// The joints between consecutive segments (and, `closed`, where the subpath closes): the point /// and the unit tangents in and out. fn joints(segs: &[PathSeg], closed: bool) -> impl Iterator + '_ { @@ -263,6 +273,9 @@ impl StrokeLayer { // box needed. let even_only = !subs.iter().any(|s| self.stops_at_corners(s.1)); let mut even = even_only.then_some(bounds); + // Tip-aligned arrowheads shorten the line, and its caps sit on the shortened ends. + let pieces = crate::arrow::stroke_pieces(bp, self); + let shortened = matches!(pieces.line, std::borrow::Cow::Owned(_)); for (r, closed) in subs { let side = self.side_reach(closed); let butt = self.cap == LineCap::Butt && !closed; @@ -309,14 +322,29 @@ impl StrokeLayer { } else if !even_only { even = vectorcraft_geom::union_opt(even, segs.iter().map(ParamCurveExtrema::bounding_box).reduce(|a, b| a.union(b))); } - if square { - for (at, dir) in ends(&segs).into_iter().flatten() { - let n = Vec2::new(-dir.y, dir.x) * side; - out = out.union_pt(at + dir * side + n).union_pt(at + dir * side - n); + if square && !shortened { + out = square_corners(out, &segs, side); + } + } + if shortened && self.cap == LineCap::Square { + let line = pieces.line.elements(); + // The renderer aligns the stroke along every subpath by whether the path ends closed. + let side = self.side_reach(matches!(bp.elements().last(), Some(vectorcraft_geom::PathEl::ClosePath))); + for (r, closed) in subpaths(&pieces.line) { + if closed || side <= 0.0 { + continue; + } + let segs = drawn(&line[r.clone()]); + if segs.is_empty() { + // A trim that leaves no length still paints the caps' dot. + let dot = segments(&line[r]).iter().map(ParamCurveExtrema::bounding_box).reduce(|a, b| a.union(b)); + out = dot.map_or(out, |d| out.union(d.inflate(side, side))); + } else { + out = square_corners(out, &segs, side); } } } - for head in crate::arrow::stroke_pieces(bp, self).heads { + for head in pieces.heads { if !head.outline.elements().is_empty() { out = out.union(head.outline.bounding_box()); } @@ -710,6 +738,36 @@ mod tests { assert_eq!(bounds.x1, b.x1, "the end has no head and a butt cap"); } + /// A Tip-aligned arrowhead shortens the line, and the projecting cap sits on the shortened end: + /// the box takes in that cap's corners, and not the corners a cap on the path's own end would have. + #[test] + fn projecting_caps_under_tip_aligned_arrowheads_sit_on_the_shortened_ends() { + let l = line(); + let b = l.bounding_box(); + let st = stroke(10.0, |s| { + s.cap = LineCap::Square; + s.join = LineJoin::Bevel; + s.end_arrow = Some(Arrowhead::Triangle); + s.arrow_align = ArrowAlign::Tip; + }); + let pieces = crate::arrow::stroke_pieces(&l, &st); + let segs = drawn(pieces.line.elements()); + let [_, (at, dir)] = ends(&segs).unwrap_or_else(|| panic!("the arrowhead covers the whole line")); + assert!(at.x < 95.0 && (dir.x - 1.0).abs() < 1e-9, "{at:?} {dir:?}"); + let bounds = st.bounds_on(&l, b); + let n = Vec2::new(-dir.y, dir.x) * 5.0; + for corner in [at + dir * 5.0 + n, at + dir * 5.0 - n] { + assert!(bounds.inflate(1e-9, 1e-9).contains(corner), "{corner:?} outside {bounds:?}"); + } + // Nothing is painted right of the head's tip at x = 100; a cap on the path's own end would + // reach to x = 105. + let head = pieces.heads.iter().map(|h| h.outline.bounding_box()).reduce(|a, h| a.union(h)); + assert_eq!(head.map(|h| h.x1), Some(100.0)); + assert_eq!(bounds.x1, 100.0, "{bounds:?}"); + // The start has no head, and its cap projects 5 in front of it. + assert_eq!(bounds.x0, -5.0, "{bounds:?}"); + } + #[test] fn rectangles_keep_exact_bounds_and_sharp_corners_spike_up_to_the_limit() { let sq = square(); From 10fbd62491c71187562633b0e21fea4fb5b7dfd2 Mon Sep 17 00:00:00 2001 From: dotCooCoo Date: Sat, 5 Dec 2026 16:32:02 -0800 Subject: [PATCH 13/20] Fonts: the catalog reads the bundled fonts in place instead of a copy FontDb added the bundled fonts to the font catalog with add_bytes on the first call of FontDb::catalog, which copied every bundled font file into the heap (3,381,864 bytes for the nine fonts in assets/fonts, more with craft-fonts embedded). The app reads the catalog at startup, so every session held those copies. FontDb::new now registers them with Catalog::add_static (craft-libs #4888, in the pinned rev), which reads the faces from the binary's own bytes, so the deferral through a Once is gone. The test checks that the bundled faces are in the catalog as soon as the database is made, and that Catalog::face_data returns the embedded bytes themselves (same pointer), so a copy fails it. --- crates/text/src/fontdb.rs | 25 +++++++++++++++++-------- crates/text/src/fontdb/db.rs | 22 ++++++++-------------- 2 files changed, 25 insertions(+), 22 deletions(-) diff --git a/crates/text/src/fontdb.rs b/crates/text/src/fontdb.rs index 60be7f6251..2170725c62 100644 --- a/crates/text/src/fontdb.rs +++ b/crates/text/src/fontdb.rs @@ -100,11 +100,9 @@ pub struct FontDb { colours: Mutex, /// The installed fonts: the system font scan's faces, found by any of their names /// ([`FontDb::catalog`]). Lookups by family name wait for its first scan, so what they find - /// never depends on what ran before them. The bundled faces join it on the first call of - /// [`FontDb::catalog`], so its faces are read through that call. + /// never depends on what ran before them. It also holds the bundled faces, added when the + /// database is made and read from the binary in place. catalog: Arc, - /// The bundled faces were added to [`Self::catalog`]. - bundled_cataloged: std::sync::Once, /// Fonts files carried for their type ([`vectorcraft_doc::FileFonts`]): apart from the faces, /// so no family name, font menu, fallback or PostScript name lookup finds them. pub(super) file_faces: RwLock, @@ -399,14 +397,25 @@ mod bundled_catalog_tests { } #[test] - fn the_bundled_fonts_join_the_catalog_when_it_is_first_read() { + fn the_bundled_fonts_are_in_the_catalog_from_the_start() { let db = FontDb::with_font_dirs(Vec::new()); assert!(!db.read_faces().is_empty(), "the database draws with its bundled faces from the start"); - assert_eq!(bundled_in_catalog(&db.catalog), 0, "making the database copies no bundled font into the catalog"); + let added = bundled_in_catalog(&db.catalog); + assert!(added > 0, "making the database adds the bundled fonts to the catalog"); + // The catalog reads each bundled face from the bytes in the binary, not from a copy. + let embedded: Vec<*const u8> = super::face::BUNDLED.iter().map(|b| b.as_ptr()).collect(); + for face in db.catalog.faces().iter().filter(|f| f.source == craft::font_catalog::Source::Bundled) { + let data = db.catalog.face_data(face).expect("a bundled face's bytes"); + let ptr = data.bytes().as_ptr(); + assert!( + embedded.contains(&ptr) || crate::craft_fonts::document_fonts().iter().any(|f| f.bytes.as_ptr() == ptr), + "{} {} is read from a copy of its font file", + face.family, + face.style + ); + } // A lookup that only the catalog answers finds a bundled face. assert_eq!(db.by_postscript_name("SourceSans3-Bold"), Some(("Source Sans 3".to_string(), "Bold".to_string()))); - let added = bundled_in_catalog(&db.catalog); - assert!(added > 0, "the first read of the catalog adds the bundled fonts"); assert!(db.catalog().families().iter().any(|f| f == "Inter"), "font pickers list a bundled family"); assert_eq!(bundled_in_catalog(db.catalog()), added, "later reads add them no second time"); } diff --git a/crates/text/src/fontdb/db.rs b/crates/text/src/fontdb/db.rs index b65dbab4f2..32895f707d 100644 --- a/crates/text/src/fontdb/db.rs +++ b/crates/text/src/fontdb/db.rs @@ -1,4 +1,4 @@ -use craft::font_catalog::{Catalog, FontEnv, Limits, Os, Source}; +use craft::font_catalog::{Catalog, FontEnv, Os, Source}; use super::build::make_face; use super::cache::{CanonicalNames, GlyphCache}; @@ -58,6 +58,11 @@ impl FontDb { faces.push(Arc::new(f)); } } + // The catalog reads the bytes in place, so font pickers list the bundled faces without a + // second copy of them in memory. + if let Err(e) = catalog.add_static(data, Source::Bundled) { + log::warn!("a bundled font is not in the font catalog: {e}"); + } } Self { faces: RwLock::new(faces), @@ -65,7 +70,6 @@ impl FontDb { images: Mutex::new(GlyphCache::default()), colours: Mutex::new(GlyphCache::default()), catalog: Arc::new(catalog), - bundled_cataloged: std::sync::Once::new(), file_faces: RwLock::new(super::FileFaces::default()), canonical_cache: Mutex::new(CanonicalNames::new()), #[cfg(not(target_arch = "wasm32"))] @@ -121,19 +125,9 @@ impl FontDb { /// The installed fonts this database finds by name, shared with the framework's font menus and /// pickers. Its lookups wait for its first scan ([`FontDb::scan_in_background`]). /// - /// The first call adds the bundled fonts to it as [`Source::Bundled`] faces, so font pickers - /// list them. A run that never looks a font up in the catalog, such as exporting a file without - /// type, does not hold the catalog's copies of their bytes. - // The catalog keeps its own copy of the bytes it is given. Adding the bundled fonts on first use - // can go once the catalog takes static bytes without copying them (craft-libs#4888). + /// It holds the bundled fonts as [`Source::Bundled`] faces, read from the binary in place, so + /// font pickers list them. pub fn catalog(&self) -> &Arc { - self.bundled_cataloged.call_once(|| { - for data in bundled_fonts() { - if let Err(e) = self.catalog.add_bytes(data.to_vec(), Source::Bundled, &Limits::default()) { - log::warn!("a bundled font is not in the font catalog: {e}"); - } - } - }); &self.catalog } From a397bb5265c34180d49a9a36fca32bfb4ace2c7c Mon Sep 17 00:00:00 2001 From: dotCooCoo Date: Sat, 5 Dec 2026 16:35:06 -0800 Subject: [PATCH 14/20] Print: Printer Setup no longer leaves a zombie process behind on Linux and macOS Printer Setup started system-config-printer, xdg-open or open and dropped the child, so the ended process stayed a zombie until the app quit. It now starts them through host_services::spawn_detached, which waits for the process on a thread. On Windows nothing changes. Builds on #11007, which adds spawn_detached. --- apps/vectorcraft/src/host_services.rs | 4 +- apps/vectorcraft/src/printing.rs | 81 +++++++++++++++++++++++---- 2 files changed, 73 insertions(+), 12 deletions(-) diff --git a/apps/vectorcraft/src/host_services.rs b/apps/vectorcraft/src/host_services.rs index 89ed8fe0d2..ec4f467292 100644 --- a/apps/vectorcraft/src/host_services.rs +++ b/apps/vectorcraft/src/host_services.rs @@ -84,13 +84,13 @@ fn reveal(path: &str) -> Result<(), String> { } /// The thread that waits for a process [`spawn_detached`] started; it returns the exit status. -type Reaper = std::thread::JoinHandle>; +pub(crate) type Reaper = std::thread::JoinHandle>; /// Starts `c` without the caller waiting for it. On Windows dropping the `Child` closes its handle, /// so there is no reaper. Elsewhere a thread waits for the process, so it is reaped when it ends /// instead of staying a zombie until the app exits. The thread starts first, so a process is never /// started without a waiter. -fn spawn_detached(c: &mut std::process::Command) -> std::io::Result> { +pub(crate) fn spawn_detached(c: &mut std::process::Command) -> std::io::Result> { #[cfg(windows)] let started = c.spawn().map(|_| None); #[cfg(not(windows))] diff --git a/apps/vectorcraft/src/printing.rs b/apps/vectorcraft/src/printing.rs index ba5b6a3a18..e522d57277 100644 --- a/apps/vectorcraft/src/printing.rs +++ b/apps/vectorcraft/src/printing.rs @@ -459,21 +459,82 @@ mod system { #[cfg(target_os = "macos")] { let _ = printer; - Command::new("open") - .arg("x-apple.systempreferences:com.apple.Print-Scan-Settings.extension") - .spawn() - .map(|_| ()) - .map_err(|e| e.to_string()) + let mut open = Command::new("open"); + open.arg("x-apple.systempreferences:com.apple.Print-Scan-Settings.extension"); + start_first([open]).map(drop).map_err(|e| e.to_string()) } #[cfg(not(any(windows, target_os = "macos")))] { - if Command::new("system-config-printer").spawn().is_ok() { - return Ok(()); - } - let url = printer.map_or_else(|| "http://localhost:631/printers/".to_string(), |p| format!("http://localhost:631/printers/{p}")); - Command::new("xdg-open").arg(url).spawn().map(|_| ()).map_err(|e| e.to_string()) + start_first(setup_commands(printer)).map(drop).map_err(|e| e.to_string()) } } + + /// The commands [`setup`] tries in order on Linux and the BSDs: the printer settings app, then the + /// CUPS web page for `printer` (or the printer list) in the browser. + #[cfg(not(any(windows, target_os = "macos")))] + pub(super) fn setup_commands(printer: Option<&str>) -> [Command; 2] { + let url = printer.map_or_else(|| "http://localhost:631/printers/".to_string(), |p| format!("http://localhost:631/printers/{p}")); + let mut open = Command::new("xdg-open"); + open.arg(url); + [Command::new("system-config-printer"), open] + } + + /// Starts the first of `commands` that starts, through [`crate::host_services::spawn_detached`], so + /// it is reaped when it ends. Returns the last error when none starts. + #[cfg(not(windows))] + pub(super) fn start_first(commands: impl IntoIterator) -> std::io::Result> { + let mut last = std::io::Error::other("no command to start"); + for mut c in commands { + match crate::host_services::spawn_detached(&mut c) { + Ok(reaper) => return Ok(reaper), + Err(e) => last = e, + } + } + Err(last) + } +} + +/// Linux keeps `/proc/` in state `Z` for a process that ended until its parent waits for it. +#[cfg(all(test, target_os = "linux"))] +mod setup_tests { + use super::system::{setup_commands, start_first}; + use std::process::Command; + + #[test] + fn printer_setup_tries_the_settings_app_then_the_cups_page() { + let [app, page] = setup_commands(Some("Office Laser")); + assert_eq!(app.get_program(), "system-config-printer"); + assert_eq!(app.get_args().count(), 0); + assert_eq!(page.get_program(), "xdg-open"); + assert_eq!(page.get_args().collect::>(), ["http://localhost:631/printers/Office Laser"]); + let [_, list] = setup_commands(None); + assert_eq!(list.get_args().collect::>(), ["http://localhost:631/printers/"]); + } + + #[test] + fn the_settings_fallback_is_reaped_once_it_ends() { + let dir = tempfile::tempdir().unwrap(); + let pid_file = dir.path().join("pid"); + let mut fallback = Command::new("sh"); + fallback.arg("-c").arg("echo $$ > \"$1\"; exit 3").arg("sh").arg(&pid_file); + let reaper = start_first([Command::new("vectorcraft-no-such-program"), fallback]).unwrap().expect("a reaper on Linux"); + let status = reaper.join().unwrap().unwrap(); + assert_eq!(status.code(), Some(3), "the fallback ran after the missing program"); + let pid = std::fs::read_to_string(&pid_file).unwrap(); + let pid = pid.trim(); + assert!(!pid.is_empty(), "the process wrote its pid"); + let state = std::fs::read_to_string(format!("/proc/{pid}/stat")) + .ok() + .and_then(|s| s.rsplit_once(") ").and_then(|(_, rest)| rest.split(' ').next().map(str::to_string))); + assert_ne!(state.as_deref(), Some("Z"), "process {pid} is still a zombie"); + } + + #[test] + fn with_no_command_starting_the_last_error_is_returned() { + // A missing program fails with NotFound; a directory fails with PermissionDenied. + let err = start_first([Command::new("vectorcraft-no-such-program"), Command::new("/")]).unwrap_err(); + assert_eq!(err.kind(), std::io::ErrorKind::PermissionDenied); + } } #[cfg(all(test, windows))] From 61f024cbbe4bd1da75d12a890ded3c7522e65846 Mon Sep 17 00:00:00 2001 From: dotCooCoo Date: Sat, 5 Dec 2026 16:43:20 -0800 Subject: [PATCH 15/20] i18n: drop the translated Impact Bursts rows Feature pull requests add English only (AGENTS.md rule 16); the translations go through storytold/craft-i18n. --- crates/ui-egui/src/i18n/bg.tsv | 7 ------- crates/ui-egui/src/i18n/bs.tsv | 7 ------- crates/ui-egui/src/i18n/ca.tsv | 7 ------- crates/ui-egui/src/i18n/cs.tsv | 7 ------- crates/ui-egui/src/i18n/da.tsv | 7 ------- crates/ui-egui/src/i18n/de.tsv | 7 ------- crates/ui-egui/src/i18n/el.tsv | 7 ------- crates/ui-egui/src/i18n/es.tsv | 7 ------- crates/ui-egui/src/i18n/fi.tsv | 7 ------- crates/ui-egui/src/i18n/fr.tsv | 8 -------- crates/ui-egui/src/i18n/hi.tsv | 7 ------- crates/ui-egui/src/i18n/hu.tsv | 7 ------- crates/ui-egui/src/i18n/id.tsv | 7 ------- crates/ui-egui/src/i18n/it.tsv | 7 ------- crates/ui-egui/src/i18n/ja.tsv | 7 ------- crates/ui-egui/src/i18n/ka.tsv | 7 ------- crates/ui-egui/src/i18n/ko.tsv | 7 ------- crates/ui-egui/src/i18n/nl.tsv | 7 ------- crates/ui-egui/src/i18n/pl.tsv | 7 ------- crates/ui-egui/src/i18n/pt-br.tsv | 7 ------- crates/ui-egui/src/i18n/ru.tsv | 7 ------- crates/ui-egui/src/i18n/sv.tsv | 7 ------- crates/ui-egui/src/i18n/tr.tsv | 7 ------- crates/ui-egui/src/i18n/uk.tsv | 7 ------- crates/ui-egui/src/i18n/vi.tsv | 7 ------- crates/ui-egui/src/i18n/zh-hans.tsv | 7 ------- crates/ui-egui/src/i18n/zh-hant.tsv | 7 ------- 27 files changed, 190 deletions(-) diff --git a/crates/ui-egui/src/i18n/bg.tsv b/crates/ui-egui/src/i18n/bg.tsv index d6afe61141..f4f97b728c 100644 --- a/crates/ui-egui/src/i18n/bg.tsv +++ b/crates/ui-egui/src/i18n/bg.tsv @@ -7575,13 +7575,6 @@ axis Y Axis Y ос Plasma Arc Плазмена дъга Charge Wave Вълна на заряд Spark Trail Следа от искри - Impact Bursts Ударни избухвания - Star Burst Звезден взрив - Ring Shock Пръстенов шок - Slash Arc Дъгова резка - Spark Fan Ветрило от искри - Debris Spray Пръскане отломки - Crack Line Линия на пукнатина Calligraphic Nibs Калиграфски писци Bristle Brushes Четки с косъм Fine Liner Тънък контур diff --git a/crates/ui-egui/src/i18n/bs.tsv b/crates/ui-egui/src/i18n/bs.tsv index abd219d97b..b125e378f5 100644 --- a/crates/ui-egui/src/i18n/bs.tsv +++ b/crates/ui-egui/src/i18n/bs.tsv @@ -6959,13 +6959,6 @@ axis Y Axis Y osa Plasma Arc Plazma luk Charge Wave Talas naboja Spark Trail Trag iskri - Impact Bursts Udarne eksplozije - Star Burst Zvjezdani prasak - Ring Shock Prstenasti šok - Slash Arc Luk reza - Spark Fan Lepeza iskri - Debris Spray Prskanje krhotina - Crack Line Linija pukotine Calligraphic Nibs Kaligrafski vrhovi Bristle Brushes Četkice s čekinjama Fine Liner Tanka linija diff --git a/crates/ui-egui/src/i18n/ca.tsv b/crates/ui-egui/src/i18n/ca.tsv index 364b1292fa..ac6c435613 100644 --- a/crates/ui-egui/src/i18n/ca.tsv +++ b/crates/ui-egui/src/i18n/ca.tsv @@ -391,13 +391,6 @@ antiAlias Sharp Nítid Plasma Arc Arc de plasma Charge Wave Ona de càrrega Spark Trail Estela d'espurnes - Impact Bursts Explosions d’impacte - Star Burst Explosió estel·lar - Ring Shock Xoc anular - Slash Arc Arc de tall - Spark Fan Ventall d’espurnes - Debris Spray Ruixat de runa - Crack Line Línia d’esquerda Art using a deleted global swatch keeps its colour. L’art que utilitza una mostra global suprimida conserva el seu color. Artboard Tauler Artboard Options Opcions del tauler diff --git a/crates/ui-egui/src/i18n/cs.tsv b/crates/ui-egui/src/i18n/cs.tsv index b51550748a..e2ad7a7d71 100644 --- a/crates/ui-egui/src/i18n/cs.tsv +++ b/crates/ui-egui/src/i18n/cs.tsv @@ -7828,13 +7828,6 @@ axis Y Axis osa Y Plasma Arc Plazmový oblouk Charge Wave Nabíjecí vlna Spark Trail Jiskrová stopa - Impact Bursts Rázové výbuchy - Star Burst Hvězdný výbuch - Ring Shock Prstencový šok - Slash Arc Oblouk seku - Spark Fan Vějíř jisker - Debris Spray Sprška úlomků - Crack Line Linie trhliny Calligraphic Nibs Kaligrafická pera Bristle Brushes Štětinové štětce Fine Liner Jemná linka diff --git a/crates/ui-egui/src/i18n/da.tsv b/crates/ui-egui/src/i18n/da.tsv index 6ee94687d3..88948a328d 100644 --- a/crates/ui-egui/src/i18n/da.tsv +++ b/crates/ui-egui/src/i18n/da.tsv @@ -9936,13 +9936,6 @@ axis Y Axis Y-akse Plasma Arc Plasmabue Charge Wave Opladningsbølge Spark Trail Gnistsvær - Impact Bursts Stødudbrud - Star Burst Stjerneudbrud - Ring Shock Ringchok - Slash Arc Hugbue - Spark Fan Gnistvifte - Debris Spray Debris-sprøjt - Crack Line Revnelinje Calligraphic Nibs Kalligrafiske penne Bristle Brushes Børstepensler Fine Liner Fin streg diff --git a/crates/ui-egui/src/i18n/de.tsv b/crates/ui-egui/src/i18n/de.tsv index ad2c2e393d..2999862096 100644 --- a/crates/ui-egui/src/i18n/de.tsv +++ b/crates/ui-egui/src/i18n/de.tsv @@ -7409,13 +7409,6 @@ axis Y Axis Y-Achse Plasma Arc Plasmabogen Charge Wave Ladewelle Spark Trail Funkenspur - Impact Bursts Aufprall-Bursts - Star Burst Sternburst - Ring Shock Ringschock - Slash Arc Slash-Bogen - Spark Fan Funkenfächer - Debris Spray Trümmerspray - Crack Line Risslinie Calligraphic Nibs Kalligrafie-Federn Bristle Brushes Borstenpinsel-Set Fine Liner Feiner Liner diff --git a/crates/ui-egui/src/i18n/el.tsv b/crates/ui-egui/src/i18n/el.tsv index eeb8fcdb85..3396a06dab 100644 --- a/crates/ui-egui/src/i18n/el.tsv +++ b/crates/ui-egui/src/i18n/el.tsv @@ -7822,13 +7822,6 @@ axis Y Axis Άξονας Y Plasma Arc Τόξο πλάσματος Charge Wave Κύμα φόρτισης Spark Trail Ίχνος σπινθήρων - Impact Bursts Εκρήξεις κρούσης - Star Burst Αστρική έκρηξη - Ring Shock Δακτυλιοειδές σοκ - Slash Arc Τόξο κοπής - Spark Fan Βεντάλια σπινθήρων - Debris Spray Ψεκασμός συντριμμιών - Crack Line Γραμμή ρωγμής Calligraphic Nibs Καλλιγραφικές πένες Bristle Brushes Πινέλα με τρίχες Fine Liner Λεπτή γραμμή diff --git a/crates/ui-egui/src/i18n/es.tsv b/crates/ui-egui/src/i18n/es.tsv index 9ee4ff3349..55e2ae101d 100644 --- a/crates/ui-egui/src/i18n/es.tsv +++ b/crates/ui-egui/src/i18n/es.tsv @@ -7808,13 +7808,6 @@ axis Y Axis Eje Y Plasma Arc Arco de plasma Charge Wave Onda de carga Spark Trail Estela de chispas - Impact Bursts Estallidos de impacto - Star Burst Estallido estelar - Ring Shock Choque anular - Slash Arc Arco de tajo - Spark Fan Abanico de chispas - Debris Spray Rocío de escombros - Crack Line Línea de grieta Calligraphic Nibs Plumillas caligráficas Bristle Brushes Pinceles de cerdas Fine Liner Delineador fino diff --git a/crates/ui-egui/src/i18n/fi.tsv b/crates/ui-egui/src/i18n/fi.tsv index 0ee8a35fa4..1116fcc5c6 100644 --- a/crates/ui-egui/src/i18n/fi.tsv +++ b/crates/ui-egui/src/i18n/fi.tsv @@ -7899,13 +7899,6 @@ axis Y Axis Y-akseli Plasma Arc Plasma-kaari Charge Wave Latausaalto Spark Trail Kipinävanne - Impact Bursts Iskupurkaukset - Star Burst Tähtipurkaus - Ring Shock Rengasshokki - Slash Arc Viiltokaari - Spark Fan Kipinäviuhka - Debris Spray Romusuihku - Crack Line Halkeamaviiva Calligraphic Nibs Kalligrafiakärjet Bristle Brushes Harjassiveltimet Fine Liner Ohut viiva diff --git a/crates/ui-egui/src/i18n/fr.tsv b/crates/ui-egui/src/i18n/fr.tsv index d2d8adebde..ef77114ade 100644 --- a/crates/ui-egui/src/i18n/fr.tsv +++ b/crates/ui-egui/src/i18n/fr.tsv @@ -7824,14 +7824,6 @@ axis Y Axis Axe Y Plasma Arc Arc de plasma Charge Wave Vague de charge Spark Trail Traînée d’étincelles - Spark Trail Traînée d'étincelles - Impact Bursts Éclatements d’impact - Star Burst Éclat d’étoile - Ring Shock Choc annulaire - Slash Arc Arc de taille - Spark Fan Éventail d’étincelles - Debris Spray Gerbe de débris - Crack Line Ligne de fissure Calligraphic Nibs Plumes calligraphiques Bristle Brushes Pinceaux à soies Fine Liner Traceur fin diff --git a/crates/ui-egui/src/i18n/hi.tsv b/crates/ui-egui/src/i18n/hi.tsv index 7dcfb8bfcf..14094a4a60 100644 --- a/crates/ui-egui/src/i18n/hi.tsv +++ b/crates/ui-egui/src/i18n/hi.tsv @@ -736,13 +736,6 @@ antiAlias Sharp शार्प Pause ठहराएँ Skip Next अगला Shuffle क्रमहीन - Impact Bursts प्रभाव विस्फोट - Star Burst तारा विस्फोट - Ring Shock वलय झटका - Slash Arc स्लैश चाप - Spark Fan चिंगारी पंखा - Debris Spray मलबा छिड़काव - Crack Line दरार रेखा Art using a deleted global swatch keeps its colour. हटाए गए ग्लोबल स्वॉच वाला आर्टवर्क अपना रंग बनाए रखता है। Artboard आर्टबोर्ड Artboard {n} of {total} {total} में से आर्टबोर्ड {n} diff --git a/crates/ui-egui/src/i18n/hu.tsv b/crates/ui-egui/src/i18n/hu.tsv index 9f515d7a4c..0bcb97fb7f 100644 --- a/crates/ui-egui/src/i18n/hu.tsv +++ b/crates/ui-egui/src/i18n/hu.tsv @@ -7813,13 +7813,6 @@ axis Y Axis Y tengely Plasma Arc Plazmaív Charge Wave Töltéshullám Spark Trail Szikracsík - Impact Bursts Ütésrobbanások - Star Burst Csillagrobbanás - Ring Shock Gyűrűs sokk - Slash Arc Vágásív - Spark Fan Szikralegyező - Debris Spray Törmelékspriccelés - Crack Line Repedésvonal Calligraphic Nibs Kalligrafikus tollhegyek Bristle Brushes Sörteecsetek Fine Liner Finom kontúr diff --git a/crates/ui-egui/src/i18n/id.tsv b/crates/ui-egui/src/i18n/id.tsv index 18e830f6c2..f831b57517 100644 --- a/crates/ui-egui/src/i18n/id.tsv +++ b/crates/ui-egui/src/i18n/id.tsv @@ -7718,13 +7718,6 @@ axis Y Axis Sumbu Y Plasma Arc Busur Plasma Charge Wave Gelombang Muatan Spark Trail Jejak Percikan - Impact Bursts Ledakan Benturan - Star Burst Ledakan Bintang - Ring Shock Syok Cincin - Slash Arc Busur Tebasan - Spark Fan Kipas Percikan - Debris Spray Semprotan Puing - Crack Line Garis Retak Calligraphic Nibs Pena kaligrafi Bristle Brushes Kuas-kuas bristle Fine Liner Garis halus diff --git a/crates/ui-egui/src/i18n/it.tsv b/crates/ui-egui/src/i18n/it.tsv index 2832c51144..32e5cd85d7 100644 --- a/crates/ui-egui/src/i18n/it.tsv +++ b/crates/ui-egui/src/i18n/it.tsv @@ -7448,13 +7448,6 @@ axis Y Axis Asse Y Plasma Arc Arco al plasma Charge Wave Onda di carica Spark Trail Scia di scintille - Impact Bursts Scoppi d’impatto - Star Burst Scoppio stellare - Ring Shock Shock anulare - Slash Arc Arco di fendente - Spark Fan Ventaglio di scintille - Debris Spray Spruzzo di detriti - Crack Line Linea di crepa Calligraphic Nibs Pennini calligrafici Bristle Brushes Pennelli a setole Fine Liner Tratto fine diff --git a/crates/ui-egui/src/i18n/ja.tsv b/crates/ui-egui/src/i18n/ja.tsv index 047b6b8f85..04289a09a4 100644 --- a/crates/ui-egui/src/i18n/ja.tsv +++ b/crates/ui-egui/src/i18n/ja.tsv @@ -9344,13 +9344,6 @@ axis Y Axis Y 軸 Plasma Arc プラズマアーク Charge Wave チャージウェーブ Spark Trail スパークトレイル - Impact Bursts インパクトバースト - Star Burst スターバースト - Ring Shock リングショック - Slash Arc スラッシュアーク - Spark Fan スパークファン - Debris Spray デブリススプレー - Crack Line クラックライン Calligraphic Nibs カリグラフィペン先 Bristle Brushes 剛毛ブラシ集 Fine Liner 細線ライナー diff --git a/crates/ui-egui/src/i18n/ka.tsv b/crates/ui-egui/src/i18n/ka.tsv index f5e3021811..d1376100da 100644 --- a/crates/ui-egui/src/i18n/ka.tsv +++ b/crates/ui-egui/src/i18n/ka.tsv @@ -9963,13 +9963,6 @@ axis Y Axis Y ღერძი Plasma Arc პლაზმის რკალი Charge Wave მუხტის ტალღა Spark Trail ნაპერწკლის კვალი - Impact Bursts დარტყმის აფეთქებები - Star Burst ვარსკვლავური აფეთქება - Ring Shock რგოლის შოკი - Slash Arc დარტყმის რკალი - Spark Fan ნაპერწკლის მარაო - Debris Spray ნამსხვრევების შპრიცი - Crack Line ბზარის ხაზი Calligraphic Nibs კალიგრაფიული წვერები Bristle Brushes ჯაგრის ფუნჯები Fine Liner წვრილი ხაზი diff --git a/crates/ui-egui/src/i18n/ko.tsv b/crates/ui-egui/src/i18n/ko.tsv index 9ac45229bc..9ed6977dfb 100644 --- a/crates/ui-egui/src/i18n/ko.tsv +++ b/crates/ui-egui/src/i18n/ko.tsv @@ -7420,13 +7420,6 @@ axis Y Axis Y축 Plasma Arc 플라즈마 아크 Charge Wave 차지 웨이브 Spark Trail 스파크 트레일 - Impact Bursts 충격 버스트 - Star Burst 스타 버스트 - Ring Shock 링 쇼크 - Slash Arc 슬래시 아크 - Spark Fan 스파크 팬 - Debris Spray 파편 스프레이 - Crack Line 크랙 라인 Calligraphic Nibs 서예 펜촉 Bristle Brushes 강모 브러시 모음 Fine Liner 가는 라이너 diff --git a/crates/ui-egui/src/i18n/nl.tsv b/crates/ui-egui/src/i18n/nl.tsv index 0fd17d8d41..0ef7948d89 100644 --- a/crates/ui-egui/src/i18n/nl.tsv +++ b/crates/ui-egui/src/i18n/nl.tsv @@ -9780,13 +9780,6 @@ axis Y Axis Y-as Plasma Arc Plasmaboog Charge Wave Laadgolf Spark Trail Vonkenspoor - Impact Bursts Impactbursts - Star Burst Sterburst - Ring Shock Ringshock - Slash Arc Slashboog - Spark Fan Vonkwaaier - Debris Spray Puinspuit - Crack Line Scheurlijn Calligraphic Nibs Kalligrafische penpunten Bristle Brushes Borstelpenselen Fine Liner Fijne liner diff --git a/crates/ui-egui/src/i18n/pl.tsv b/crates/ui-egui/src/i18n/pl.tsv index 23303b1f7b..9eb552d7a4 100644 --- a/crates/ui-egui/src/i18n/pl.tsv +++ b/crates/ui-egui/src/i18n/pl.tsv @@ -7681,13 +7681,6 @@ axis Y Axis Oś Y Plasma Arc Łuk plazmowy Charge Wave Fala ładunku Spark Trail Ślad iskier - Impact Bursts Wybuchy uderzenia - Star Burst Rozbłysk gwiazdy - Ring Shock Szok pierścieniowy - Slash Arc Łuk cięcia - Spark Fan Wachlarz iskier - Debris Spray Rozprysk odłamków - Crack Line Linia pęknięcia Calligraphic Nibs Stalówki kaligraficzne Bristle Brushes Pędzle włosiankowe Fine Liner Cienka linia diff --git a/crates/ui-egui/src/i18n/pt-br.tsv b/crates/ui-egui/src/i18n/pt-br.tsv index d2ac30dd4b..b9f399e3d8 100644 --- a/crates/ui-egui/src/i18n/pt-br.tsv +++ b/crates/ui-egui/src/i18n/pt-br.tsv @@ -7727,13 +7727,6 @@ axis Y Axis Eixo Y Plasma Arc Arco de plasma Charge Wave Onda de carga Spark Trail Rastro de faíscas - Impact Bursts Estouros de impacto - Star Burst Estouro estelar - Ring Shock Choque anelar - Slash Arc Arco de corte - Spark Fan Leque de faíscas - Debris Spray Spray de destroços - Crack Line Linha de rachadura Calligraphic Nibs Penas Caligráficas Bristle Brushes Pincéis de Cerdas Fine Liner Traço Fino diff --git a/crates/ui-egui/src/i18n/ru.tsv b/crates/ui-egui/src/i18n/ru.tsv index fb46850027..b3648d114c 100644 --- a/crates/ui-egui/src/i18n/ru.tsv +++ b/crates/ui-egui/src/i18n/ru.tsv @@ -7452,13 +7452,6 @@ axis Y Axis Ось Y Plasma Arc Плазменная дуга Charge Wave Волна заряда Spark Trail Искра-след - Impact Bursts Ударные вспышки - Star Burst Звёздный взрыв - Ring Shock Кольцевой шок - Slash Arc Дуга удара - Spark Fan Веер искр - Debris Spray Разлёт обломков - Crack Line Линия трещины Calligraphic Nibs Каллиграфические перья Bristle Brushes Щетинные кисти Fine Liner Тонкий лайнер diff --git a/crates/ui-egui/src/i18n/sv.tsv b/crates/ui-egui/src/i18n/sv.tsv index 4201b1187d..c1b66a1ad0 100644 --- a/crates/ui-egui/src/i18n/sv.tsv +++ b/crates/ui-egui/src/i18n/sv.tsv @@ -7812,13 +7812,6 @@ axis Y Axis Y-axel Plasma Arc Plasmabåge Charge Wave Laddningsvåg Spark Trail Gnistsvår - Impact Bursts Stötutbrott - Star Burst Stjärnutbrott - Ring Shock Ringchock - Slash Arc Huggbåge - Spark Fan Gnistfjäder - Debris Spray Skräpspray - Crack Line Spricklinje Calligraphic Nibs Kalligrafiska pennspetsar Bristle Brushes Borstpenslar Fine Liner Fin linje diff --git a/crates/ui-egui/src/i18n/tr.tsv b/crates/ui-egui/src/i18n/tr.tsv index b5a97cbed1..f037a841b3 100644 --- a/crates/ui-egui/src/i18n/tr.tsv +++ b/crates/ui-egui/src/i18n/tr.tsv @@ -9724,13 +9724,6 @@ axis Y Axis Y ekseni Plasma Arc Plazma Yayı Charge Wave Şarj Dalgası Spark Trail Kıvılcım İzi - Impact Bursts Darbe Patlamaları - Star Burst Yıldız Patlaması - Ring Shock Halka Şoku - Slash Arc Kesik Yay - Spark Fan Kıvılcım Yelpazesi - Debris Spray Enkaz Spreyi - Crack Line Çatlak Çizgisi Calligraphic Nibs Kaligrafi Uçları Bristle Brushes Kıl Fırçalar Fine Liner İnce Çizgi diff --git a/crates/ui-egui/src/i18n/uk.tsv b/crates/ui-egui/src/i18n/uk.tsv index 8cc635f710..6e3a291eae 100644 --- a/crates/ui-egui/src/i18n/uk.tsv +++ b/crates/ui-egui/src/i18n/uk.tsv @@ -7430,13 +7430,6 @@ axis Y Axis Вісь Y Plasma Arc Плазмова дуга Charge Wave Хвиля заряду Spark Trail Слід іскор - Impact Bursts Ударні спалахи - Star Burst Зоряний вибух - Ring Shock Кільцевий шок - Slash Arc Дуга удару - Spark Fan Віяло іскор - Debris Spray Розліт уламків - Crack Line Лінія тріщини Calligraphic Nibs Каліграфічні пера Bristle Brushes Щетинні пензлі Fine Liner Тонкий лайнер diff --git a/crates/ui-egui/src/i18n/vi.tsv b/crates/ui-egui/src/i18n/vi.tsv index 0f6ed2dddf..7da1aa1c06 100644 --- a/crates/ui-egui/src/i18n/vi.tsv +++ b/crates/ui-egui/src/i18n/vi.tsv @@ -7481,13 +7481,6 @@ axis Y Axis Trục Y Plasma Arc Cung plasma Charge Wave Sóng nạp Spark Trail Vệt tia lửa - Impact Bursts Nổ va chạm - Star Burst Nổ sao - Ring Shock Sốc vòng - Slash Arc Cung chém - Spark Fan Quạt tia lửa - Debris Spray Phun mảnh vụn - Crack Line Đường nứt Calligraphic Nibs Ngòi bút thư pháp Bristle Brushes Bộ cọ lông Fine Liner Nét mảnh diff --git a/crates/ui-egui/src/i18n/zh-hans.tsv b/crates/ui-egui/src/i18n/zh-hans.tsv index 284da32b71..37254dc84d 100644 --- a/crates/ui-egui/src/i18n/zh-hans.tsv +++ b/crates/ui-egui/src/i18n/zh-hans.tsv @@ -7661,13 +7661,6 @@ axis Y Axis Y 轴 Plasma Arc 等离子弧 Charge Wave 充能波 Spark Trail 火花尾迹 - Impact Bursts 冲击爆发 - Star Burst 星爆 - Ring Shock 环震 - Slash Arc 斩弧 - Spark Fan 火花扇 - Debris Spray 碎片喷溅 - Crack Line 裂纹 Calligraphic Nibs 书法笔尖 Bristle Brushes 鬃毛画笔集 Fine Liner 细勾线笔 diff --git a/crates/ui-egui/src/i18n/zh-hant.tsv b/crates/ui-egui/src/i18n/zh-hant.tsv index 593bb085e1..bd3c03e59d 100644 --- a/crates/ui-egui/src/i18n/zh-hant.tsv +++ b/crates/ui-egui/src/i18n/zh-hant.tsv @@ -7479,13 +7479,6 @@ axis Y Axis Y 軸 Plasma Arc 電漿弧 Charge Wave 充能波 Spark Trail 火花尾跡 - Impact Bursts 衝擊爆發 - Star Burst 星爆 - Ring Shock 環震 - Slash Arc 斬弧 - Spark Fan 火花扇 - Debris Spray 碎片噴濺 - Crack Line 裂紋 Calligraphic Nibs 書法筆尖 Bristle Brushes 鬃毛筆刷集 Fine Liner 細勾線筆 From 5d92e0435026f089c33ff7f6e68710bd44cf3a67 Mon Sep 17 00:00:00 2001 From: dotCooCoo Date: Sat, 5 Dec 2026 16:43:44 -0800 Subject: [PATCH 16/20] Tests: move the Impact Bursts checks into the brush names and counts test The assertions sat after the last test function, outside any function, so the engine tests did not compile. --- crates/engine/src/tests/brushlib.rs | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/crates/engine/src/tests/brushlib.rs b/crates/engine/src/tests/brushlib.rs index dd91c02ac7..d5397479b4 100644 --- a/crates/engine/src/tests/brushlib.rs +++ b/crates/engine/src/tests/brushlib.rs @@ -172,6 +172,12 @@ fn the_builtin_libraries_list_their_brush_names_and_counts() { [("Chalk Grain", "art"), ("Graphite Pencil", "art"), ("Wax Crayon", "art"), ("Charcoal Dust", "art")] ); assert_eq!((entry("dry-media")["name"].as_str(), entry("dry-media")["count"].as_u64()), (Some("Dry Media"), Some(4))); + let impact = run(&mut s, "brush.library", json!({"library": "impact-bursts"})); + assert_eq!( + impact["brushes"].as_array().unwrap().iter().map(|b| b["name"].as_str().unwrap()).collect::>(), + ["Star Burst", "Ring Shock", "Slash Arc", "Spark Fan", "Debris Spray", "Crack Line"] + ); + assert_eq!((libs[14]["name"].as_str(), libs[14]["count"].as_u64()), (Some("Impact Bursts"), Some(6))); let arrows = run(&mut s, "brush.library", json!({"library": "Arrows"})); assert_eq!( arrows["brushes"].as_array().unwrap().iter().map(|b| (b["name"].as_str().unwrap(), b["type"].as_str().unwrap())).collect::>(), @@ -1321,10 +1327,3 @@ fn a_library_file_that_repeats_a_brush_name_loads_with_the_later_one_numbered() let size = |b: Brush| if let BrushKind::Calligraphic(c) = b.kind { c.size } else { 0.0 }; assert_eq!(size(brush(&s, "Nib 2")), 2.0); } - - let impact = run(&mut s, "brush.library", json!({"library": "impact-bursts"})); - assert_eq!( - impact["brushes"].as_array().unwrap().iter().map(|b| b["name"].as_str().unwrap()).collect::>(), - ["Star Burst", "Ring Shock", "Slash Arc", "Spark Fan", "Debris Spray", "Crack Line"] - ); - assert_eq!((libs[14]["name"].as_str(), libs[14]["count"].as_u64()), (Some("Impact Bursts"), Some(6))); From d3ac629e672ba1856f4effa14ac6bad57f295983 Mon Sep 17 00:00:00 2001 From: dotCooCoo Date: Sat, 5 Dec 2026 16:46:46 -0800 Subject: [PATCH 17/20] Brushes: keep Impact Bursts with the other library builders The builder sat under the commands section header with a doubled blank line; it now ends the library builders, before that header. --- crates/engine/src/cmd/brushlib.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/crates/engine/src/cmd/brushlib.rs b/crates/engine/src/cmd/brushlib.rs index 7c61945a63..d62f427068 100644 --- a/crates/engine/src/cmd/brushlib.rs +++ b/crates/engine/src/cmd/brushlib.rs @@ -1217,9 +1217,6 @@ pub(crate) fn dry_media() -> BrushLibrary { built("Dry Media", Document::new(100.0, 100.0), brushes) } -// ---------- commands ---------- - - /// Impact Bursts: art brushes for hit sparks, shocks and crack strokes (original game VFX art). fn impact_bursts() -> BrushLibrary { let star = group(vec![ @@ -1284,6 +1281,8 @@ fn impact_bursts() -> BrushLibrary { built("Impact Bursts", Document::new(100.0, 100.0), brushes) } +// ---------- commands ---------- + fn builtin_info(b: &BuiltinBrushLibrary) -> LibraryInfo { LibraryInfo { id: b.id.into(), name: b.name.into(), category: "builtIn" } } From 3f0606b3e7d8570cb96acd79c38e969ed7d7e040 Mon Sep 17 00:00:00 2001 From: dotCooCoo Date: Sat, 5 Dec 2026 16:46:47 -0800 Subject: [PATCH 18/20] Docs: list Impact Bursts in the brush library counts docs/mcp.md names Impact Bursts and its six brushes with id impact-bursts, and the Dry Media brushes go back to Dry Media; the Strokes rows count sixteen generated libraries; an evidence bullet describes the library. The gaps.md status line keeps main's text. --- docs/gaps.md | 2 +- docs/mcp.md | 6 +++--- docs/target-app-parity.md | 5 +++-- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/docs/gaps.md b/docs/gaps.md index c9e0187673..e49d8ff4af 100644 --- a/docs/gaps.md +++ b/docs/gaps.md @@ -1,7 +1,7 @@ # Gaps > Status-bar snapping quick access (#8687, #8779): the bottom right offers Smart Guides, Snap to Point and Snap to Grid toggles plus the same live Snapping menu as the Control bar. Both use existing commands. Framework fit ranks omit the direct group first, then the dropdown, before the existing readouts or core status content narrow. The native buttons expose their current selected state. Scores and estimates are unchanged. -> **Last reviewed:** 2026-10-10 · **Last updated:** 2026-12-02 · **Change:** minor (G5: built-in Impact Bursts brush library; previously minor: G12: Retype panel font rows have an item context menu (Apply Font, sample sizes, Reset Retype Panel); scores and estimates unchanged; previously: G12: SVG Interactivity event rows have an item menu (Remove Event, Clear Events, Link JavaScript Files…); scores and estimates unchanged; previously: G12: History row menus adapted to shared Craft list/menu controls after rebase (#8845); scores and estimates unchanged; previously: G12: Document Info panel menu Selection Only (`ui.docInfo.selectionOnly`) counts the selection, and with no artwork selected it shows (No artwork selected) and artboards the Artboard tool has selected still show; scores and estimates unchanged; previously: G12: OpenType panel feature rows have an item context menu (Turn On / Turn Off, Reset OpenType Features); scores and estimates unchanged; previously: G3 lists shadows from the first light and graphics as done and drops angular cut caps, which Revolve's Cap closes, #8312; scores and estimates unchanged; previously: G12/M14: History row context menus, pending-edit snapshot targeting, keyboard access and document-switch dismissal (#8845); scores and estimates unchanged; previously: G3 lists shadows from the first light and graphics as done and drops angular cut caps, which Revolve's Cap closes, #8312; scores and estimates unchanged; previously: G12: Asset Export tile context menus; scores and estimates unchanged; previously: M14/G12: Appearance panel: right-click item context menus for rows (Duplicate, Delete, Hide/Show, Edit Effect, Clear Appearance, Reduce to Basic Appearance) with selection handling, #8809; previously: G12: Properties panel Quick Actions include contextual text actions (Create Outlines, Retype, Find and Replace…); scores and estimates unchanged; previously: G12: Actions panel item context menus for action sets (New Action…, New Set…, Duplicate Set, Delete Set, Set Options…) and actions (Play, Record, Duplicate, Delete, Action Options…, Batch…) with selection handling; clicking Duplicate on an action duplicates that action; headless tests in `crates/ui-egui/src/panels/actions.rs`; scores and estimates unchanged; previously: Scissors shows the actual proposed cut point while hovering, using its existing snapping and cut target (#8655); scores and estimates unchanged; previously: G12: Brushes panel: item right-click context menu (Brush Options, Duplicate Brush, Delete Brush) with selection handling; scores and estimates unchanged; previously: G12: Links panel row context menu (Relink…, Go To Link, Update Link, Edit Original, Show in Folder, Embed Image / Unembed…) with selection handling; scores and estimates unchanged; previously: Direct Selection: Space during an ordinary path's handle drag repositions its anchor and handles, including a Pen loan (#7237, request 3 only; scores and estimates unchanged); previously: SVG export preserves document units on root width/height for physical units, #864; G11 estimate 8–15 → 6–13 h; G4 and G13 Missing lists drop the shipped Touch Type, Snap to Glyph and Dimension tool, and G13's snapping entry keeps only what is still missing, the partial Snapping panel and the items not yet checked (#8387); G13 keeps one estimate (13–23 h); estimates unchanged; previously: Retype phase 1 (#4934): Type › Retype (`type.retype`) turns outlined text that exactly matches an available font back into point text; scores and estimates unchanged; previously: Production Preflight: output-aware fonts, text overflow, linked files and effective image resolution, clickable findings and automatic rechecking; scores and estimates unchanged; previously: PDF export writes the document language as the catalog's `/Lang`, #3644; Recolor Artwork follow-up (#8031, remaining #4028): native Lab input, picker swatch libraries and Assign-row menus; UI interaction regression coverage; scores and estimates unchanged; previously: Eraser review: hidden Rasterize and Along/Across stroke rows do not block preserving visible gradients; scores and estimates unchanged; previously: Eraser review: ordinary Group/Layer paints and reproducible evaluated gradient placements are preserved; other placements retain existing fitting; scores and estimates unchanged; previously: Eraser: shared fill-only area cutting for fixed and varied tips and the Alt-drag marquee, #6582; scores and estimates unchanged; previously: G4 type: modal Check Spelling dialog (Edit › Spelling › Check Spelling…), #4936; spell check complete; previously: Type: the Middle Eastern & South Asian composers are done as a per-paragraph choice with the Standard composers (#4935); G5: built-in Neon & Glow graphic style library (Cyan Neon, Magenta Laser, Amber Tube, Electric Lime, Pulse Violet, Cobalt Phosphor); estimate unchanged (3–13 h); previously: Tech Circuit brush library, G5; previously: G5: built-in Weather Icons symbol library (Sun, Moon, Cloud, Rain, Thunder, Snow); estimate 5–15 → 4–14 h; previously: 3D: the seams of white-light Extrude & Bevel, Inflate and Rotate, and the face seams of the 3D (Classic) effects, have round joins instead of miters; previously: PDF import: preserve Type 3 font text runs as named groups , or as live text in TextAs::Text mode if ToUnicode exists on non-colour fonts (TextAs::Outlines produces grouped outlines), #6740; scores and estimates unchanged; previously: icon-strip flyouts also resize from the top edge and the canvas-side top corner, keeping the moved top in workspaces (storytold/craft-libs#1094); scores and estimates unchanged; previously: #6865: oversized editing artboard import; Glyphs panel: Alternates for Current Selection applies an OpenType feature value (`salt=2`) to the selected letter alone, so an Arabic word stays joined, and Entire Font lists the unencoded glyphs, #5514; #6404: transform-aware Eyedropper character copying; scores and estimates unchanged; previously: G5: built-in Energy Beams brush library; estimate 5–15 → 4–14 h; previously minor: G5: built-in Skill Icons symbol library; estimate 6–16 → 5–15 h; previously minor: ruler double-click adds a guide at the pointer, #5239; G5: built-in Status Effects graphic style library; estimate 7–17 → 6–16 h; MCP docs catch-up for UI Frames and Map Markers; previously minor: G5: built-in Inventory Icons symbol library; estimate 8–18 → 7–17 h; previously minor: G9: `.ai` save names a variable font instance's design-space setting, #6388; previously minor: G5: built-in Game Trails brush library; estimate 9–19 → 8–18 h; previously minor: Edit › Edit Custom Dictionary…: its dialog adds, deletes and changes the custom dictionary's words, #4936; previously minor: docs tidy-up, no content change: stray notes at the top moved into the revision table; scores and estimates unchanged; previously minor: G5: built-in Game HUD graphic style library; estimate 10–20 → 9–19 h; previously minor: G5: built-in Map Markers symbol library; estimate 11–21 → 10–20 h; previously minor: right-click on type: Spelling › Auto Spell Check, with its check mark, #4936; previously minor: right-click on a word Auto Spell Check underlined: its suggestions, Ignore All and Add to Dictionary, #4936; previously minor: G2: Effect Gallery thumbnails and in-dialog preview; estimate 1–2 h → 0; Auto Spell Check: `edit.autoSpellCheck` underlines the unknown words, #4936; previously minor: PDF editable import preserves authored ActualText once, including empty/nested spans and authored ordering (#6165); cross-line/style layout remains approximate; scores and estimates unchanged; PDF marked-text export (#6309): compatible glyphs stay on one layout line with per-glyph offsets; scores and estimates unchanged; G5: built-in UI Frames symbol library with default 9-slice; estimate 11–21 h; previously minor: G5: dynamic symbol part on-canvas takes opacity, blend, gradient and pattern; docs Overlap/auto-corners sync; estimate 12–22 h; previously minor: interim macOS cursor delivery, #2292; native validation pending; scores and estimates unchanged; previously minor: Control bar › Snapping includes the existing Snap to Glyph and Alignment Guides toggles (#6164); scores and estimates unchanged; previously minor: G5 docs: Art brush Overlap, Pattern brush auto corners and Global Edit Shift-click leave-out moved from Missing to Done (code already shipped); previously minor: custom dictionary and Ignore All: `text.spelling.addWord`, `removeWord`, `changeWord`, `dictionary` and `ignoreAll`, #4936; previously minor: EPS import: embedded fonts (composite, Type 42, CID-keyed, Type 1, CFF FontSet) draw their glyphs; spell check engine: `text.spelling.check` and `text.spelling.suggest` on craft-proof, #4936; previously minor: floating tab groups collapse into the side icon rail and opened rail panels fold back into it, #5925 in part; G9: EPS gradients drawn as abutting strips import as one gradient, without seams; Tools stays beside the canvas with left-side panels; new gradients follow document color mode; Selection QoL: marquee modes and visible feedback, #5313; #3380 deletion-only review follow-up: independent survivors keep gradient placement, owned subpaths avoid discarded copies, and contracts/status/evidence are clarified; endpoint highlighting remains open; scores and estimates unchanged; Indian-language hyphenation review and license allowlist, #4947; opening a slow file shows a progress window, part of #5930; Hindi catalog and contributor loanword preferences; agent wording pass complete; wider native proofreading welcome; an image zoomed in on is separated, colorized or proofed only where it shows (#4155); scores and estimates unchanged; a document's first frame renders on the render worker, so opening a heavy file no longer freezes the window; scores and estimates unchanged; large images in CMYK documents are shrunk before they are separated into ink planes (#4155); scores and estimates unchanged; `.ai` paths with a Calligraphic brush open brushed, with the 6D Art Pen's channels, and Windows reads the pen's tilt and barrel rotation, #372; scores and estimates unchanged; Compound Shapes add-on, beyond Illustrator; scores and estimates unchanged; Contour add-on, beyond Illustrator; scores and estimates unchanged; a slow first frame is waited for instead of restarting without the graphics adapter, and the menu bar no longer waits for the installed fonts' scan; scores and estimates unchanged; Gradient stop editor: native Color-tab menu offers the five Color panel modes (#7918); validation pending; scores and estimates unchanged; Layers: hollow diamond and state tooltip distinguish own appearance from targeting and selection (#8710), retaining #8757's ring visibility; scores and estimates unchanged) · **Target:** Adobe Illustrator 2026 (30.x) +> **Last reviewed:** 2026-10-10 · **Last updated:** 2026-12-02 · **Change:** minor (G12: Retype panel font rows have an item context menu (Apply Font, sample sizes, Reset Retype Panel); scores and estimates unchanged; previously: G12: SVG Interactivity event rows have an item menu (Remove Event, Clear Events, Link JavaScript Files…); scores and estimates unchanged; previously: G12: History row menus adapted to shared Craft list/menu controls after rebase (#8845); scores and estimates unchanged; previously: G12: Document Info panel menu Selection Only (`ui.docInfo.selectionOnly`) counts the selection, and with no artwork selected it shows (No artwork selected) and artboards the Artboard tool has selected still show; scores and estimates unchanged; previously: G12: OpenType panel feature rows have an item context menu (Turn On / Turn Off, Reset OpenType Features); scores and estimates unchanged; previously: G3 lists shadows from the first light and graphics as done and drops angular cut caps, which Revolve's Cap closes, #8312; scores and estimates unchanged; previously: G12/M14: History row context menus, pending-edit snapshot targeting, keyboard access and document-switch dismissal (#8845); scores and estimates unchanged; previously: G3 lists shadows from the first light and graphics as done and drops angular cut caps, which Revolve's Cap closes, #8312; scores and estimates unchanged; previously: G12: Asset Export tile context menus; scores and estimates unchanged; previously: M14/G12: Appearance panel: right-click item context menus for rows (Duplicate, Delete, Hide/Show, Edit Effect, Clear Appearance, Reduce to Basic Appearance) with selection handling, #8809; previously: G12: Properties panel Quick Actions include contextual text actions (Create Outlines, Retype, Find and Replace…); scores and estimates unchanged; previously: G12: Actions panel item context menus for action sets (New Action…, New Set…, Duplicate Set, Delete Set, Set Options…) and actions (Play, Record, Duplicate, Delete, Action Options…, Batch…) with selection handling; clicking Duplicate on an action duplicates that action; headless tests in `crates/ui-egui/src/panels/actions.rs`; scores and estimates unchanged; previously: Scissors shows the actual proposed cut point while hovering, using its existing snapping and cut target (#8655); scores and estimates unchanged; previously: G12: Brushes panel: item right-click context menu (Brush Options, Duplicate Brush, Delete Brush) with selection handling; scores and estimates unchanged; previously: G12: Links panel row context menu (Relink…, Go To Link, Update Link, Edit Original, Show in Folder, Embed Image / Unembed…) with selection handling; scores and estimates unchanged; previously: Direct Selection: Space during an ordinary path's handle drag repositions its anchor and handles, including a Pen loan (#7237, request 3 only; scores and estimates unchanged); previously: SVG export preserves document units on root width/height for physical units, #864; G11 estimate 8–15 → 6–13 h; G4 and G13 Missing lists drop the shipped Touch Type, Snap to Glyph and Dimension tool, and G13's snapping entry keeps only what is still missing, the partial Snapping panel and the items not yet checked (#8387); G13 keeps one estimate (13–23 h); estimates unchanged; previously: Retype phase 1 (#4934): Type › Retype (`type.retype`) turns outlined text that exactly matches an available font back into point text; scores and estimates unchanged; previously: Production Preflight: output-aware fonts, text overflow, linked files and effective image resolution, clickable findings and automatic rechecking; scores and estimates unchanged; previously: PDF export writes the document language as the catalog's `/Lang`, #3644; Recolor Artwork follow-up (#8031, remaining #4028): native Lab input, picker swatch libraries and Assign-row menus; UI interaction regression coverage; scores and estimates unchanged; previously: Eraser review: hidden Rasterize and Along/Across stroke rows do not block preserving visible gradients; scores and estimates unchanged; previously: Eraser review: ordinary Group/Layer paints and reproducible evaluated gradient placements are preserved; other placements retain existing fitting; scores and estimates unchanged; previously: Eraser: shared fill-only area cutting for fixed and varied tips and the Alt-drag marquee, #6582; scores and estimates unchanged; previously: G4 type: modal Check Spelling dialog (Edit › Spelling › Check Spelling…), #4936; spell check complete; previously: Type: the Middle Eastern & South Asian composers are done as a per-paragraph choice with the Standard composers (#4935); G5: built-in Neon & Glow graphic style library (Cyan Neon, Magenta Laser, Amber Tube, Electric Lime, Pulse Violet, Cobalt Phosphor); estimate unchanged (3–13 h); previously: Tech Circuit brush library, G5; previously: G5: built-in Weather Icons symbol library (Sun, Moon, Cloud, Rain, Thunder, Snow); estimate 5–15 → 4–14 h; previously: 3D: the seams of white-light Extrude & Bevel, Inflate and Rotate, and the face seams of the 3D (Classic) effects, have round joins instead of miters; previously: PDF import: preserve Type 3 font text runs as named groups , or as live text in TextAs::Text mode if ToUnicode exists on non-colour fonts (TextAs::Outlines produces grouped outlines), #6740; scores and estimates unchanged; previously: icon-strip flyouts also resize from the top edge and the canvas-side top corner, keeping the moved top in workspaces (storytold/craft-libs#1094); scores and estimates unchanged; previously: #6865: oversized editing artboard import; Glyphs panel: Alternates for Current Selection applies an OpenType feature value (`salt=2`) to the selected letter alone, so an Arabic word stays joined, and Entire Font lists the unencoded glyphs, #5514; #6404: transform-aware Eyedropper character copying; scores and estimates unchanged; previously: G5: built-in Energy Beams brush library; estimate 5–15 → 4–14 h; previously minor: G5: built-in Skill Icons symbol library; estimate 6–16 → 5–15 h; previously minor: ruler double-click adds a guide at the pointer, #5239; G5: built-in Status Effects graphic style library; estimate 7–17 → 6–16 h; MCP docs catch-up for UI Frames and Map Markers; previously minor: G5: built-in Inventory Icons symbol library; estimate 8–18 → 7–17 h; previously minor: G9: `.ai` save names a variable font instance's design-space setting, #6388; previously minor: G5: built-in Game Trails brush library; estimate 9–19 → 8–18 h; previously minor: Edit › Edit Custom Dictionary…: its dialog adds, deletes and changes the custom dictionary's words, #4936; previously minor: docs tidy-up, no content change: stray notes at the top moved into the revision table; scores and estimates unchanged; previously minor: G5: built-in Game HUD graphic style library; estimate 10–20 → 9–19 h; previously minor: G5: built-in Map Markers symbol library; estimate 11–21 → 10–20 h; previously minor: right-click on type: Spelling › Auto Spell Check, with its check mark, #4936; previously minor: right-click on a word Auto Spell Check underlined: its suggestions, Ignore All and Add to Dictionary, #4936; previously minor: G2: Effect Gallery thumbnails and in-dialog preview; estimate 1–2 h → 0; Auto Spell Check: `edit.autoSpellCheck` underlines the unknown words, #4936; previously minor: PDF editable import preserves authored ActualText once, including empty/nested spans and authored ordering (#6165); cross-line/style layout remains approximate; scores and estimates unchanged; PDF marked-text export (#6309): compatible glyphs stay on one layout line with per-glyph offsets; scores and estimates unchanged; G5: built-in UI Frames symbol library with default 9-slice; estimate 11–21 h; previously minor: G5: dynamic symbol part on-canvas takes opacity, blend, gradient and pattern; docs Overlap/auto-corners sync; estimate 12–22 h; previously minor: interim macOS cursor delivery, #2292; native validation pending; scores and estimates unchanged; previously minor: Control bar › Snapping includes the existing Snap to Glyph and Alignment Guides toggles (#6164); scores and estimates unchanged; previously minor: G5 docs: Art brush Overlap, Pattern brush auto corners and Global Edit Shift-click leave-out moved from Missing to Done (code already shipped); previously minor: custom dictionary and Ignore All: `text.spelling.addWord`, `removeWord`, `changeWord`, `dictionary` and `ignoreAll`, #4936; previously minor: EPS import: embedded fonts (composite, Type 42, CID-keyed, Type 1, CFF FontSet) draw their glyphs; spell check engine: `text.spelling.check` and `text.spelling.suggest` on craft-proof, #4936; previously minor: floating tab groups collapse into the side icon rail and opened rail panels fold back into it, #5925 in part; G9: EPS gradients drawn as abutting strips import as one gradient, without seams; Tools stays beside the canvas with left-side panels; new gradients follow document color mode; Selection QoL: marquee modes and visible feedback, #5313; #3380 deletion-only review follow-up: independent survivors keep gradient placement, owned subpaths avoid discarded copies, and contracts/status/evidence are clarified; endpoint highlighting remains open; scores and estimates unchanged; Indian-language hyphenation review and license allowlist, #4947; opening a slow file shows a progress window, part of #5930; Hindi catalog and contributor loanword preferences; agent wording pass complete; wider native proofreading welcome; an image zoomed in on is separated, colorized or proofed only where it shows (#4155); scores and estimates unchanged; a document's first frame renders on the render worker, so opening a heavy file no longer freezes the window; scores and estimates unchanged; large images in CMYK documents are shrunk before they are separated into ink planes (#4155); scores and estimates unchanged; `.ai` paths with a Calligraphic brush open brushed, with the 6D Art Pen's channels, and Windows reads the pen's tilt and barrel rotation, #372; scores and estimates unchanged; Compound Shapes add-on, beyond Illustrator; scores and estimates unchanged; Contour add-on, beyond Illustrator; scores and estimates unchanged; a slow first frame is waited for instead of restarting without the graphics adapter, and the menu bar no longer waits for the installed fonts' scan; scores and estimates unchanged; Gradient stop editor: native Color-tab menu offers the five Color panel modes (#7918); validation pending; scores and estimates unchanged; Layers: hollow diamond and state tooltip distinguish own appearance from targeting and selection (#8710), retaining #8757's ring visibility; scores and estimates unchanged) · **Target:** Adobe Illustrator 2026 (30.x) > Panel readout copy (#8432, #8826): Info values and paint names, Links information, and named Document Info rows with no separate value follow the guarded immediate-copy policy landed in #9353. A plain first click copies the full value and reports "Copied the value"; accessible activation copies it too. Selectable readouts retain word selection on double-click, Shift/drag selection and keyboard Copy/Cut. Links Location retains #9521's path fitting and full-path tooltip as static text, with the same full-value primary/accessible copy and a native Copy Location button for keyboard use. Scores and estimates are unchanged. diff --git a/docs/mcp.md b/docs/mcp.md index c71be717b3..c1f823333f 100644 --- a/docs/mcp.md +++ b/docs/mcp.md @@ -8461,9 +8461,9 @@ error. ## Brush libraries -Brush libraries are read-only sets of brushes: fifteen generated in code (Art Ribbons, Ink and Wash, Calligraphic Nibs, Pressure Sensitive with Flex Ribbon, Pulse Stroke, Round Flow and Chisel Flow, Bristle -Brushes with one bristle brush for each tip shape, Pattern Borders, Decorative with Leaf Vine, Blossom Chain, Pennant Garland and Lantern String, Scatter Shapes, Stipple with Fine, Dense, Soft and Bold dot textures, Game Trails, Energy Beams, and Dry Media, Impact Bursts with the Chalk Grain, Graphite Pencil, Wax Crayon and -Charcoal Dust art brushes, id `dry-media`, Tech Circuit with Circuit Trace (art), Bus Lines and Terminal Nodes (pattern), id `tech-circuit`, Engraving with Fine Hatching, Dense Hatching, Tapered Hatching and Broken Hatching art brushes, id `engraving`, and Arrows with Solid, Open, Double, Chevron and Dashed Arrow art brushes, id `arrows`), the `.vectorcraft` files in the user library folder of the desktop app (User +Brush libraries are read-only sets of brushes: sixteen generated in code (Art Ribbons, Ink and Wash, Calligraphic Nibs, Pressure Sensitive with Flex Ribbon, Pulse Stroke, Round Flow and Chisel Flow, Bristle +Brushes with one bristle brush for each tip shape, Pattern Borders, Decorative with Leaf Vine, Blossom Chain, Pennant Garland and Lantern String, Scatter Shapes, Stipple with Fine, Dense, Soft and Bold dot textures, Game Trails, Energy Beams, Dry Media with the Chalk Grain, Graphite Pencil, Wax Crayon and +Charcoal Dust art brushes, id `dry-media`, Impact Bursts with Star Burst, Ring Shock, Slash Arc, Spark Fan, Debris Spray and Crack Line art brushes, id `impact-bursts`, Tech Circuit with Circuit Trace (art), Bus Lines and Terminal Nodes (pattern), id `tech-circuit`, Engraving with Fine Hatching, Dense Hatching, Tapered Hatching and Broken Hatching art brushes, id `engraving`, and Arrows with Solid, Open, Double, Chevron and Dashed Arrow art brushes, id `arrows`), the `.vectorcraft` files in the user library folder of the desktop app (User Defined) and the brushes of any document loaded with `brush.loadLibrary` (a document without brushes of its own has the default ones). `brush.libraries` lists them (`id`, `name`, `category`: `builtIn`, `user` or `loaded`, `count`) and `brush.library {library}` returns one's brushes (`name`, `type`; `library` is an id or a name). A name diff --git a/docs/target-app-parity.md b/docs/target-app-parity.md index 4f0ae8fc24..abee6604c7 100644 --- a/docs/target-app-parity.md +++ b/docs/target-app-parity.md @@ -359,7 +359,7 @@ dominate; 3D, graphs and automation are specialist). They sum to 105. Feature de | Drawing tools (Pen, Curvature, Pencil, shapes, Shaper) | 7 | 88% | Shaper construction widget, Pencil/Pen nuances; Touch Type (#2469), the Dimension tool (#1788) and the Blob Brush options (#2367) are done; see [ui-parity.md](ui-parity.md) | 8–13 | estimated; Curvature point display regression-tested (#1236, in part); Polygon/Star exact-size count persistence regression-covered; Live Corners' Relative rounding done (#3091), score unchanged; Copy and Cut with the Pen or Curvature tool take the anchors a Cmd/Ctrl-lent Direct Selection picked (#6123), score and hours unchanged; the Pen, Smart Pen and Curvature tool show the measurement readout with the rubber band off (#7043), score, gaps and hours unchanged; Scissors shares the Pen's path/align/intersect/anchor snaps (#6470), source and headless regressions below; Eraser preserves fill-only open-path area outside fixed and varied tip sweeps and Alt-drag marquees, including compound holes; clipping masks keep their remaining contours and empty-mask role; ordinary Group/Layer paints and evaluated gradient placements are preserved when the stored paint reproduces their appearance; replacement-art effects, plug-ins/Rasterize, along/across-stroke gradients and placements that cannot be reproduced keep their existing fitting; stroked open paths retain main behavior and result structure (#6582; `crates/engine/tests/it/eraser_open_fill.rs`), score and hours unchanged; Scissors cut-point preview covered in tool and Session regressions (#8655), scores and hours unchanged | | Path operations, Pathfinder, Shape Builder, Live Paint | 5 | 85% | Shape Builder on the reporter's file (#937: art past 4,096 segments is cut by lines again; unconfirmed on the file itself); gap detection shares Live Paint’s finder, with a 72 pt custom cap and the existing options | 4–8 | estimated; Shape Builder Gap Detection shares Live Paint’s spatial gap finder and temporary merge bridges (#2526); Custom is capped at 72 pt in the existing options dialog; compound attributes regression-tested (#1197); single-result source names survive SVG export/import (#1293), with [SVG ID semantics](https://www.w3.org/TR/SVG2/struct.html#IDAttribute) and original-shape tests; Simplify component selection and preview regression-tested (#1272); Simplify of a Direct Selection part of a path regression-tested (`tests/simplify_part.rs`); Divide open-cutting-path geometry and appearance regression-tested (#1307); the Shape Builder's edge-source grid is bounded in memory and files a segment once per cell (`planar.rs` test `rect_index_holds_a_bounded_number_of_references`); live compound shapes (Make, Alt-click, member Shape Modes, Release, Expand, saved and exported) regression-tested (#4522); Live Paint Bucket face drags, including narrow faces and one Undo, regression-tested (#6373) | | Colour, swatches, gradients, patterns, mesh, recolor | 7 | 92% | Picker Lab entry, picker libraries and Assign-row menus complete the deferred #4028 UI paths (#8031); scores and estimates unchanged; Eyedropper copies effective character dimensions across text transforms (#6404); 30.0's gradient additions are done (dither, perceptual blending, presets); freeform gradients in SVG/PDF, mixed spot/process gradients in SVG, PDF gradients mixing a spot color with RGB or Lab stops, and dithered spot gradient fills and Perceptual spot gradients with RGB or Lab stops other than white or more than 4,096 stops on their curve, which PDF export writes as images in process colors| 4–7 | estimated; Recolor model selection is available through the engine and MCP (#2520), and the dialog's color sliders (HSB, RGB, CMYK, Lab, Tint for a spot color) edit the selected row's new color in its mode, and the Edit tab's Global Adjust sliders (Saturation, Brightness, Temperature, Luminosity, -100% to 100%) change every recolored color at once (lowered from 96%: target moved); unpainted zero-width stroke restoration fixed (#1253), score and hours unchanged; Eyedropper source reads regression-tested (#1251); screen-bounded Recolor Edit chip list (#3416), score and hours unchanged; a point on a gradient mesh's outline locates on its edge on every side (#7006: `mesh_locate_takes_a_point_on_any_side_of_the_outline`, `mesh_add_line_exactly_on_the_edge_needs_no_tolerance`), score and hours unchanged; Color panel spectrum grows with the resized panel (#8005); the Color Wheel panel's Show Opacity sets the opacity of the fill, stroke, gradient stop or freeform point it edits (part of #978), score and hours unchanged; gradient stop editor color-mode menu (#7918) | -| Strokes, brushes, width profiles | 5 | 90% | Shift-double-click adjoining adjustment is implemented; brush libraries are done (fifteen generated libraries including Tech Circuit, Decorative, Engraving, Arrows, Stipple, Pressure Sensitive, Ink and Wash, Bristle Brushes, Game Trails, Energy Beams and Dry Media, User Defined, Other Library…, Save Brushes); Art brush Overlap and Pattern brush auto corners are done; remaining: pen pressure on macOS, the stylus wheel on native Wayland (it is read under X11 and XWayland, on macOS, on Windows through Wintab and in the web build), more built-in brush libraries, tilt, bearing and rotation on native Wayland and the web | 8–15 | estimated; width-point creation and adjoining adjustment regression-tested; dialog layout reviewed; evidence below; finite-arithmetic follow-up regressions and full CI passed (evidence below) | +| Strokes, brushes, width profiles | 5 | 90% | Shift-double-click adjoining adjustment is implemented; brush libraries are done (sixteen generated libraries including Tech Circuit, Decorative, Engraving, Arrows, Stipple, Pressure Sensitive, Ink and Wash, Bristle Brushes, Game Trails, Energy Beams, Dry Media and Impact Bursts, User Defined, Other Library…, Save Brushes); Art brush Overlap and Pattern brush auto corners are done; remaining: pen pressure on macOS, the stylus wheel on native Wayland (it is read under X11 and XWayland, on macOS, on Windows through Wintab and in the web build), more built-in brush libraries, tilt, bearing and rotation on native Wayland and the web | 8–15 | estimated; width-point creation and adjoining adjustment regression-tested; dialog layout reviewed; evidence below; finite-arithmetic follow-up regressions and full CI passed (evidence below) | | Appearance, transparency, graphic styles, masks | 5 | 97% | raster effect reach in preview bounds | 1–2 | estimated; Appearance panel row context menus (Duplicate, Delete, Hide/Show, Edit Effect…, Clear Appearance, Reduce to Basic Appearance) with unselected-row targeting, Transform typing, sliders, preview, and undo are covered in `crates/ui-egui/src/panels/tests_appearance.rs` | | Type core | 9 | 83% | Auto-leading style resets are implemented; Hyphenation… and Justification… options are done (#2310, #2755), and a paragraph's Auto Leading also sets the Character panel's Leading, the Alt+↑/↓ leading nudge and Fill with Placeholder Text; Optical Margin Alignment is done for point and area type and type on a path, right-to-left paragraphs included; remaining: Middle Eastern features beyond bidi layout (the Middle Eastern & South Asian and Standard composers are done per paragraph, #4935; `.ai`/EPS/PDF files carry no composer), optional group font-size preservation; transformed character controls fixed (#1034), see [type-parity.md](type-parity.md) | 14–19 | estimated; eleven-language pattern hyphenation in both composers, with grapheme and shaping-cluster protection (#4947, `hyphen::tests` and `layout::wrapping_tests`); Sanskrit patterns pending an allowlisted source; recent-font groups in font pickers (#3515); full-name font matches regression-tested (#1258); mixed paragraph alignment indication implemented; headless regressions, full integration CI and visual review pass; localized legacy family-name fallback with loaded/catalog regressions (#2208); Fractional Widths per type object regression-tested; color emoji fonts with bitmap glyphs (`sbix`, `CBDT`) draw and export; threading ports: every selected area type and type on a path shows its in and out ports (empty, arrow, red "+"), and the Selection tool threads from either, the in port into a frame before it, and a double-click on a threaded port breaks the thread there (`threads::tests::break_splits_the_thread_and_the_story_flows_into_the_first_part`, `select::tests::a_double_click_on_a_threaded_port_breaks_the_thread`, `canvas::tests::a_double_click_on_a_threaded_out_port_breaks_the_thread`) (#2572; `select::tests::a_click_on_the_in_port_threads_into_a_frame_before_it`, `text::tests::selected_type_shows_its_ports_in_each_state`, `threads::tests::add_before_threads_the_story_from_the_new_frame_into_the_clicked_one`, live screenshot); the Glyphs panel highlights and scrolls to the character selected with the Type tool (#4908, `panels::glyphs` tests); the OpenType panel lists only `ss01`–`ss20` sets present in the selected font and uses its custom names when supplied; Type-range desktop Copy publishes styled art and keeps font family, size and color on canvas Paste after editing (#5636); paint-only Arabic harakat keep joining with conditional GDEF-mark ownership and Insert Kashidas base-letter paint (`tests::harakat`) | | Type advanced (CJK, spelling, Touch Type, Retype) | 4 | 60% | editable ruby text in standard SVG and PDF artwork (written as outlines; see [type-parity.md](type-parity.md)), custom Mojikumi sets and the Mojikumi Settings dialog, Retype from images, Retype panel matching depth and fused glyphs (see [type-parity.md](type-parity.md)), Touch Type along a line for a character with no immediately preceding logical character on the same line in the same direction (movement along the baseline is disabled; baseline shift still works) | 20–28 | estimated; Retype (`type.retype`, exact and tolerance-based outline matches, #4934); No Break suppresses automatic breaks within the marked run (a forced line break still breaks); upright fallback for fullwidth `!` / `?` regression-tested; score and hours unchanged | @@ -618,7 +618,7 @@ about 1–1.5 agent-hours each, so the other rows (estimated on the older scale) | Drawing tools | 7 | 86% | Eraser preserves fill when cutting fill-only open paths with fixed or varied tips or Alt-drag marquees; painted-stroke paths retain main behavior and clipping masks keep their remaining contours or empty geometry, with reproducible evaluated gradient placement preserved on ordinary paths, compounds, groups and layers (#6582); replacement-art effects, plug-ins/Rasterize, along/across strokes and placements that cannot be reproduced retain fitting; rough-square Shaper recognition and orientation steps corrected; editable Shaper Groups landed; Pencil: Alt key toggles to Smooth Tool (#2001); remaining: Shaper construction widget/gesture refinements, pencil and the remaining pen modifier nuances, Blob Brush Merge Only with Selection, Touch Type, Live Corners' Relative rounding | 7–12 | | Path operations, Pathfinder, Shape Builder, Live Paint | 5 | 86% | Live Paint gap options, Shape Builder gap detection, options (Tool Options dialog, clicking a stroke in merge mode) and Shift-drag marquee | 3–6 | | Colour, swatches, gradients, patterns, mesh, recolor | 7 | 96% | Picker Lab entry, picker libraries and Assign-row menus complete the deferred #4028 UI paths (#8031); scores and estimates unchanged; Library panels' lists (swatch, Color Book, brush, symbol and graphic style libraries) fill a taller panel above its footer (#2992; scores and estimates unchanged); Swatches list fills a taller panel above its footer (#1638; `the_list_fills_a_tall_panel_above_its_footer`; scores and estimates unchanged); freeform gradients in SVG/PDF and mixed spot/process gradients in SVG (exported as stops; PDF export keeps the spot inks in a DeviceN shading, except next to RGB or Lab stops; dithered fills and Perceptual gradients with RGB or Lab stops other than white or more than 4,096 stops on their curve are written as images in process colors), pattern fills in Expand | 2–4; Eyedropper source reads regression-tested (#1251) | -| Strokes, brushes, width profiles | 5 | 90% | more built-in brush libraries (fifteen generated in code including Tech Circuit, Decorative, Engraving, Arrows, Stipple, Pressure Sensitive, Ink and Wash, Bristle Brushes, Game Trails, Energy Beams and Dry Media are done; Art brush Overlap and Pattern brush auto corners are done), pen pressure on macOS (the windowing layer reports none there), Stylus Wheel, tilt, bearing and rotation on native Wayland and the web | 8–15 | +| Strokes, brushes, width profiles | 5 | 90% | more built-in brush libraries (sixteen generated in code including Tech Circuit, Decorative, Engraving, Arrows, Stipple, Pressure Sensitive, Ink and Wash, Bristle Brushes, Game Trails, Energy Beams, Dry Media and Impact Bursts are done; Art brush Overlap and Pattern brush auto corners are done), pen pressure on macOS (the windowing layer reports none there), Stylus Wheel, tilt, bearing and rotation on native Wayland and the web | 8–15 | | Appearance, transparency, graphic styles, masks | 5 | 98% | Graphic Styles list fills a taller panel above its footer (#2992; scores and estimates unchanged); raster effect reach in preview bounds (flattener presets apply in PDF, EPS and print) | 1–2 | | Live vector effects | 5 | 85% | Outline Object, Pathfinder Hard/Soft Mix and Trap (since done: #3061, #3063, #3785), SVG Filters, Transform Patterns and Scale Strokes & Effects on a fill's or stroke's own Transform effect | 6–10 | | 3D and Materials | 4 | ~25% | Initial Revolve, Extrude & Bevel, Inflate and Rotate, with simple lighting; materials, light presets, shadows, ray tracing, Rotate (Classic), Map Art and more complete visibility remain | 25–45 | @@ -1438,6 +1438,7 @@ Moved from the ROADMAP's "Shipped so far" on 2026-10-10. Update it when a featur - **Decorative library** ([About brushes](https://helpx.adobe.com/illustrator/desktop/paint-and-fill/apply-and-edit-strokes/about-brushes.html)): Window › Brush Libraries › Decorative offers Leaf Vine, Blossom Chain, Pennant Garland and Lantern String. The four original vector pattern brushes repeat plant, flower and hanging ornament tiles along paths and take the stroke color as tints. The public source identifies Decorative as a classic brush library; these preset designs are VectorCraft's own. Evidence: `decorative_brushes_repeat_distinct_art_and_survive_a_saved_library` in `crates/engine/src/tests/brushlib.rs` covers distinct finite output, add/apply and saved-library reopening, and `the_window_menu_and_the_brushes_panel_open_brush_libraries` covers opening and clicking from the UI. - **Paint library** ([About brushes](https://helpx.adobe.com/illustrator/desktop/paint-and-fill/apply-and-edit-strokes/about-brushes.html)): Window › Brush Libraries › Paint offers Flat Sweep, Dry Drag, Loaded Stroke and Fan Sweep. These original art brushes stretch broad, broken, loaded and fanned vector marks along a path and take the stroke color as tints. The public source describes the Paint category's varied thickness, textured edges and natural effects; the preset designs and names are VectorCraft's own. Evidence: `paint_brushes_draw_distinct_marks_and_survive_a_saved_library` in `crates/engine/src/tests/brushlib.rs` covers finite output on short, long and curved paths, add/apply and saved-library reopening; `the_window_menu_and_the_brushes_panel_open_brush_libraries` covers opening and clicking from the UI. - **Dry Media library** ([help page](https://helpx.adobe.com/illustrator/desktop/paint-and-fill/apply-and-edit-strokes/about-brushes.html)): Window › Brush Libraries › Dry Media holds four art brushes with textured strokes like dry drawing materials, each 100 pt long: Chalk Grain (about 8 pt high), Graphite Pencil (about 2.3 pt), Wax Crayon (about 5.5 pt) and Charcoal Dust (about 7 pt). The brushes, their names, sizes and art are VectorCraft's own: each is filled vector paths from a fixed seed, at most 80 paths and 500 anchors, stretched along the path with Tints colorization, and the chalk and crayon art has even-odd gaps where the paper shows (`brush.libraries`, `brush.addFromLibrary`; `the_dry_media_library_holds_grainy_art_brushes_with_bounded_art`). + - **Impact Bursts library:** Window › Brush Libraries › Impact Bursts holds six art brushes, each 100 pt long, for hit sparks, shock rings and crack strokes: Star Burst, Ring Shock, Slash Arc, Spark Fan, Debris Spray and Crack Line. The brushes, their names and art are VectorCraft's own, generated in code with Tints colorization (`brush.libraries`, `brush.library`, `the_builtin_libraries_list_their_brush_names_and_counts`). - **Arrows library:** Window › Brush Libraries › Arrows holds five art brushes, each 100 pt long: Solid Arrow, Open Arrow (an outlined head), Double Arrow (a head at each end), Chevron Arrow (a second chevron on the shaft) and Dashed Arrow (five separate dashes and a head). Each brush stretches only the part between its guides, so the shaft follows the path's length and the heads keep their proportions, with Tints colorization. The brushes, their names and their art are VectorCraft's own, generated in code (`brush.libraries`, `brush.addFromLibrary`; `arrows_library_lists_renders_and_applies_original_brushes`, `dashed_arrow_keeps_separate_dashes_and_survives_library_save`). - **Brush names in library panels**: a built-in brush library's panel shows its brushes' names in the UI language, in its list rows and tooltips, and its Find field matches the name shown or the English name. This is VectorCraft's own rule. A User Defined or Other Library… library's brushes, and the document's Brushes panel, show names as they are stored. A click, a drag, Add to Brushes and `brush.addFromLibrary` still use the English name, so the brush comes into the document under that name (`built_in_library_brushes_are_listed_in_the_ui_language`, `built_in_library_brush_names_are_in_complete_catalogs`). - A canvas context menu: right-click selects the object under the pointer and lists what applies to the selection (Undo/Redo, clipboard, group, isolation, join, Remove Anchor Points when anchors are selected, masks, compound paths, guides, Transform, Arrange, Select, Export Selection; Outline Stroke when the selection has a visible stroke to outline, #5267; and on type Bullets and Numbering and Spelling › Auto Spell Check, checked while it is on), or the view commands on empty canvas. From 6e76ee0d743a61677616742afe2c7dbccde39efb Mon Sep 17 00:00:00 2001 From: dotCooCoo Date: Sat, 5 Dec 2026 17:07:46 -0800 Subject: [PATCH 19/20] Docs: count every built-in brush library docs/mcp.md names all twenty-one built-in libraries, adding Paint, Ornamental, Image Brush, Artistic Brushes and Vector Packs; the Strokes rows count twenty-one; the Impact Bursts bullet drops a brush length its art does not share. --- docs/mcp.md | 6 +++--- docs/target-app-parity.md | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/mcp.md b/docs/mcp.md index c1f823333f..0fbb417541 100644 --- a/docs/mcp.md +++ b/docs/mcp.md @@ -8461,9 +8461,9 @@ error. ## Brush libraries -Brush libraries are read-only sets of brushes: sixteen generated in code (Art Ribbons, Ink and Wash, Calligraphic Nibs, Pressure Sensitive with Flex Ribbon, Pulse Stroke, Round Flow and Chisel Flow, Bristle -Brushes with one bristle brush for each tip shape, Pattern Borders, Decorative with Leaf Vine, Blossom Chain, Pennant Garland and Lantern String, Scatter Shapes, Stipple with Fine, Dense, Soft and Bold dot textures, Game Trails, Energy Beams, Dry Media with the Chalk Grain, Graphite Pencil, Wax Crayon and -Charcoal Dust art brushes, id `dry-media`, Impact Bursts with Star Burst, Ring Shock, Slash Arc, Spark Fan, Debris Spray and Crack Line art brushes, id `impact-bursts`, Tech Circuit with Circuit Trace (art), Bus Lines and Terminal Nodes (pattern), id `tech-circuit`, Engraving with Fine Hatching, Dense Hatching, Tapered Hatching and Broken Hatching art brushes, id `engraving`, and Arrows with Solid, Open, Double, Chevron and Dashed Arrow art brushes, id `arrows`), the `.vectorcraft` files in the user library folder of the desktop app (User +Brush libraries are read-only sets of brushes: twenty-one generated in code (Art Ribbons, Ink and Wash, Calligraphic Nibs, Pressure Sensitive with Flex Ribbon, Pulse Stroke, Round Flow and Chisel Flow, Bristle +Brushes with one bristle brush for each tip shape, Paint, Pattern Borders, Decorative with Leaf Vine, Blossom Chain, Pennant Garland and Lantern String, Ornamental, Scatter Shapes, Stipple with Fine, Dense, Soft and Bold dot textures, Game Trails, Energy Beams, Dry Media with the Chalk Grain, Graphite Pencil, Wax Crayon and +Charcoal Dust art brushes, id `dry-media`, Impact Bursts with Star Burst, Ring Shock, Slash Arc, Spark Fan, Debris Spray and Crack Line art brushes, id `impact-bursts`, Tech Circuit with Circuit Trace (art), Bus Lines and Terminal Nodes (pattern), id `tech-circuit`, Engraving with Fine Hatching, Dense Hatching, Tapered Hatching and Broken Hatching art brushes, id `engraving`, Arrows with Solid, Open, Double, Chevron and Dashed Arrow art brushes, id `arrows`, Image Brush, Artistic Brushes and Vector Packs), the `.vectorcraft` files in the user library folder of the desktop app (User Defined) and the brushes of any document loaded with `brush.loadLibrary` (a document without brushes of its own has the default ones). `brush.libraries` lists them (`id`, `name`, `category`: `builtIn`, `user` or `loaded`, `count`) and `brush.library {library}` returns one's brushes (`name`, `type`; `library` is an id or a name). A name diff --git a/docs/target-app-parity.md b/docs/target-app-parity.md index abee6604c7..92b9e31227 100644 --- a/docs/target-app-parity.md +++ b/docs/target-app-parity.md @@ -359,7 +359,7 @@ dominate; 3D, graphs and automation are specialist). They sum to 105. Feature de | Drawing tools (Pen, Curvature, Pencil, shapes, Shaper) | 7 | 88% | Shaper construction widget, Pencil/Pen nuances; Touch Type (#2469), the Dimension tool (#1788) and the Blob Brush options (#2367) are done; see [ui-parity.md](ui-parity.md) | 8–13 | estimated; Curvature point display regression-tested (#1236, in part); Polygon/Star exact-size count persistence regression-covered; Live Corners' Relative rounding done (#3091), score unchanged; Copy and Cut with the Pen or Curvature tool take the anchors a Cmd/Ctrl-lent Direct Selection picked (#6123), score and hours unchanged; the Pen, Smart Pen and Curvature tool show the measurement readout with the rubber band off (#7043), score, gaps and hours unchanged; Scissors shares the Pen's path/align/intersect/anchor snaps (#6470), source and headless regressions below; Eraser preserves fill-only open-path area outside fixed and varied tip sweeps and Alt-drag marquees, including compound holes; clipping masks keep their remaining contours and empty-mask role; ordinary Group/Layer paints and evaluated gradient placements are preserved when the stored paint reproduces their appearance; replacement-art effects, plug-ins/Rasterize, along/across-stroke gradients and placements that cannot be reproduced keep their existing fitting; stroked open paths retain main behavior and result structure (#6582; `crates/engine/tests/it/eraser_open_fill.rs`), score and hours unchanged; Scissors cut-point preview covered in tool and Session regressions (#8655), scores and hours unchanged | | Path operations, Pathfinder, Shape Builder, Live Paint | 5 | 85% | Shape Builder on the reporter's file (#937: art past 4,096 segments is cut by lines again; unconfirmed on the file itself); gap detection shares Live Paint’s finder, with a 72 pt custom cap and the existing options | 4–8 | estimated; Shape Builder Gap Detection shares Live Paint’s spatial gap finder and temporary merge bridges (#2526); Custom is capped at 72 pt in the existing options dialog; compound attributes regression-tested (#1197); single-result source names survive SVG export/import (#1293), with [SVG ID semantics](https://www.w3.org/TR/SVG2/struct.html#IDAttribute) and original-shape tests; Simplify component selection and preview regression-tested (#1272); Simplify of a Direct Selection part of a path regression-tested (`tests/simplify_part.rs`); Divide open-cutting-path geometry and appearance regression-tested (#1307); the Shape Builder's edge-source grid is bounded in memory and files a segment once per cell (`planar.rs` test `rect_index_holds_a_bounded_number_of_references`); live compound shapes (Make, Alt-click, member Shape Modes, Release, Expand, saved and exported) regression-tested (#4522); Live Paint Bucket face drags, including narrow faces and one Undo, regression-tested (#6373) | | Colour, swatches, gradients, patterns, mesh, recolor | 7 | 92% | Picker Lab entry, picker libraries and Assign-row menus complete the deferred #4028 UI paths (#8031); scores and estimates unchanged; Eyedropper copies effective character dimensions across text transforms (#6404); 30.0's gradient additions are done (dither, perceptual blending, presets); freeform gradients in SVG/PDF, mixed spot/process gradients in SVG, PDF gradients mixing a spot color with RGB or Lab stops, and dithered spot gradient fills and Perceptual spot gradients with RGB or Lab stops other than white or more than 4,096 stops on their curve, which PDF export writes as images in process colors| 4–7 | estimated; Recolor model selection is available through the engine and MCP (#2520), and the dialog's color sliders (HSB, RGB, CMYK, Lab, Tint for a spot color) edit the selected row's new color in its mode, and the Edit tab's Global Adjust sliders (Saturation, Brightness, Temperature, Luminosity, -100% to 100%) change every recolored color at once (lowered from 96%: target moved); unpainted zero-width stroke restoration fixed (#1253), score and hours unchanged; Eyedropper source reads regression-tested (#1251); screen-bounded Recolor Edit chip list (#3416), score and hours unchanged; a point on a gradient mesh's outline locates on its edge on every side (#7006: `mesh_locate_takes_a_point_on_any_side_of_the_outline`, `mesh_add_line_exactly_on_the_edge_needs_no_tolerance`), score and hours unchanged; Color panel spectrum grows with the resized panel (#8005); the Color Wheel panel's Show Opacity sets the opacity of the fill, stroke, gradient stop or freeform point it edits (part of #978), score and hours unchanged; gradient stop editor color-mode menu (#7918) | -| Strokes, brushes, width profiles | 5 | 90% | Shift-double-click adjoining adjustment is implemented; brush libraries are done (sixteen generated libraries including Tech Circuit, Decorative, Engraving, Arrows, Stipple, Pressure Sensitive, Ink and Wash, Bristle Brushes, Game Trails, Energy Beams, Dry Media and Impact Bursts, User Defined, Other Library…, Save Brushes); Art brush Overlap and Pattern brush auto corners are done; remaining: pen pressure on macOS, the stylus wheel on native Wayland (it is read under X11 and XWayland, on macOS, on Windows through Wintab and in the web build), more built-in brush libraries, tilt, bearing and rotation on native Wayland and the web | 8–15 | estimated; width-point creation and adjoining adjustment regression-tested; dialog layout reviewed; evidence below; finite-arithmetic follow-up regressions and full CI passed (evidence below) | +| Strokes, brushes, width profiles | 5 | 90% | Shift-double-click adjoining adjustment is implemented; brush libraries are done (twenty-one generated libraries including Tech Circuit, Decorative, Engraving, Arrows, Stipple, Pressure Sensitive, Ink and Wash, Bristle Brushes, Game Trails, Energy Beams, Dry Media and Impact Bursts, User Defined, Other Library…, Save Brushes); Art brush Overlap and Pattern brush auto corners are done; remaining: pen pressure on macOS, the stylus wheel on native Wayland (it is read under X11 and XWayland, on macOS, on Windows through Wintab and in the web build), more built-in brush libraries, tilt, bearing and rotation on native Wayland and the web | 8–15 | estimated; width-point creation and adjoining adjustment regression-tested; dialog layout reviewed; evidence below; finite-arithmetic follow-up regressions and full CI passed (evidence below) | | Appearance, transparency, graphic styles, masks | 5 | 97% | raster effect reach in preview bounds | 1–2 | estimated; Appearance panel row context menus (Duplicate, Delete, Hide/Show, Edit Effect…, Clear Appearance, Reduce to Basic Appearance) with unselected-row targeting, Transform typing, sliders, preview, and undo are covered in `crates/ui-egui/src/panels/tests_appearance.rs` | | Type core | 9 | 83% | Auto-leading style resets are implemented; Hyphenation… and Justification… options are done (#2310, #2755), and a paragraph's Auto Leading also sets the Character panel's Leading, the Alt+↑/↓ leading nudge and Fill with Placeholder Text; Optical Margin Alignment is done for point and area type and type on a path, right-to-left paragraphs included; remaining: Middle Eastern features beyond bidi layout (the Middle Eastern & South Asian and Standard composers are done per paragraph, #4935; `.ai`/EPS/PDF files carry no composer), optional group font-size preservation; transformed character controls fixed (#1034), see [type-parity.md](type-parity.md) | 14–19 | estimated; eleven-language pattern hyphenation in both composers, with grapheme and shaping-cluster protection (#4947, `hyphen::tests` and `layout::wrapping_tests`); Sanskrit patterns pending an allowlisted source; recent-font groups in font pickers (#3515); full-name font matches regression-tested (#1258); mixed paragraph alignment indication implemented; headless regressions, full integration CI and visual review pass; localized legacy family-name fallback with loaded/catalog regressions (#2208); Fractional Widths per type object regression-tested; color emoji fonts with bitmap glyphs (`sbix`, `CBDT`) draw and export; threading ports: every selected area type and type on a path shows its in and out ports (empty, arrow, red "+"), and the Selection tool threads from either, the in port into a frame before it, and a double-click on a threaded port breaks the thread there (`threads::tests::break_splits_the_thread_and_the_story_flows_into_the_first_part`, `select::tests::a_double_click_on_a_threaded_port_breaks_the_thread`, `canvas::tests::a_double_click_on_a_threaded_out_port_breaks_the_thread`) (#2572; `select::tests::a_click_on_the_in_port_threads_into_a_frame_before_it`, `text::tests::selected_type_shows_its_ports_in_each_state`, `threads::tests::add_before_threads_the_story_from_the_new_frame_into_the_clicked_one`, live screenshot); the Glyphs panel highlights and scrolls to the character selected with the Type tool (#4908, `panels::glyphs` tests); the OpenType panel lists only `ss01`–`ss20` sets present in the selected font and uses its custom names when supplied; Type-range desktop Copy publishes styled art and keeps font family, size and color on canvas Paste after editing (#5636); paint-only Arabic harakat keep joining with conditional GDEF-mark ownership and Insert Kashidas base-letter paint (`tests::harakat`) | | Type advanced (CJK, spelling, Touch Type, Retype) | 4 | 60% | editable ruby text in standard SVG and PDF artwork (written as outlines; see [type-parity.md](type-parity.md)), custom Mojikumi sets and the Mojikumi Settings dialog, Retype from images, Retype panel matching depth and fused glyphs (see [type-parity.md](type-parity.md)), Touch Type along a line for a character with no immediately preceding logical character on the same line in the same direction (movement along the baseline is disabled; baseline shift still works) | 20–28 | estimated; Retype (`type.retype`, exact and tolerance-based outline matches, #4934); No Break suppresses automatic breaks within the marked run (a forced line break still breaks); upright fallback for fullwidth `!` / `?` regression-tested; score and hours unchanged | @@ -618,7 +618,7 @@ about 1–1.5 agent-hours each, so the other rows (estimated on the older scale) | Drawing tools | 7 | 86% | Eraser preserves fill when cutting fill-only open paths with fixed or varied tips or Alt-drag marquees; painted-stroke paths retain main behavior and clipping masks keep their remaining contours or empty geometry, with reproducible evaluated gradient placement preserved on ordinary paths, compounds, groups and layers (#6582); replacement-art effects, plug-ins/Rasterize, along/across strokes and placements that cannot be reproduced retain fitting; rough-square Shaper recognition and orientation steps corrected; editable Shaper Groups landed; Pencil: Alt key toggles to Smooth Tool (#2001); remaining: Shaper construction widget/gesture refinements, pencil and the remaining pen modifier nuances, Blob Brush Merge Only with Selection, Touch Type, Live Corners' Relative rounding | 7–12 | | Path operations, Pathfinder, Shape Builder, Live Paint | 5 | 86% | Live Paint gap options, Shape Builder gap detection, options (Tool Options dialog, clicking a stroke in merge mode) and Shift-drag marquee | 3–6 | | Colour, swatches, gradients, patterns, mesh, recolor | 7 | 96% | Picker Lab entry, picker libraries and Assign-row menus complete the deferred #4028 UI paths (#8031); scores and estimates unchanged; Library panels' lists (swatch, Color Book, brush, symbol and graphic style libraries) fill a taller panel above its footer (#2992; scores and estimates unchanged); Swatches list fills a taller panel above its footer (#1638; `the_list_fills_a_tall_panel_above_its_footer`; scores and estimates unchanged); freeform gradients in SVG/PDF and mixed spot/process gradients in SVG (exported as stops; PDF export keeps the spot inks in a DeviceN shading, except next to RGB or Lab stops; dithered fills and Perceptual gradients with RGB or Lab stops other than white or more than 4,096 stops on their curve are written as images in process colors), pattern fills in Expand | 2–4; Eyedropper source reads regression-tested (#1251) | -| Strokes, brushes, width profiles | 5 | 90% | more built-in brush libraries (sixteen generated in code including Tech Circuit, Decorative, Engraving, Arrows, Stipple, Pressure Sensitive, Ink and Wash, Bristle Brushes, Game Trails, Energy Beams, Dry Media and Impact Bursts are done; Art brush Overlap and Pattern brush auto corners are done), pen pressure on macOS (the windowing layer reports none there), Stylus Wheel, tilt, bearing and rotation on native Wayland and the web | 8–15 | +| Strokes, brushes, width profiles | 5 | 90% | more built-in brush libraries (twenty-one generated in code including Tech Circuit, Decorative, Engraving, Arrows, Stipple, Pressure Sensitive, Ink and Wash, Bristle Brushes, Game Trails, Energy Beams, Dry Media and Impact Bursts are done; Art brush Overlap and Pattern brush auto corners are done), pen pressure on macOS (the windowing layer reports none there), Stylus Wheel, tilt, bearing and rotation on native Wayland and the web | 8–15 | | Appearance, transparency, graphic styles, masks | 5 | 98% | Graphic Styles list fills a taller panel above its footer (#2992; scores and estimates unchanged); raster effect reach in preview bounds (flattener presets apply in PDF, EPS and print) | 1–2 | | Live vector effects | 5 | 85% | Outline Object, Pathfinder Hard/Soft Mix and Trap (since done: #3061, #3063, #3785), SVG Filters, Transform Patterns and Scale Strokes & Effects on a fill's or stroke's own Transform effect | 6–10 | | 3D and Materials | 4 | ~25% | Initial Revolve, Extrude & Bevel, Inflate and Rotate, with simple lighting; materials, light presets, shadows, ray tracing, Rotate (Classic), Map Art and more complete visibility remain | 25–45 | @@ -1438,7 +1438,7 @@ Moved from the ROADMAP's "Shipped so far" on 2026-10-10. Update it when a featur - **Decorative library** ([About brushes](https://helpx.adobe.com/illustrator/desktop/paint-and-fill/apply-and-edit-strokes/about-brushes.html)): Window › Brush Libraries › Decorative offers Leaf Vine, Blossom Chain, Pennant Garland and Lantern String. The four original vector pattern brushes repeat plant, flower and hanging ornament tiles along paths and take the stroke color as tints. The public source identifies Decorative as a classic brush library; these preset designs are VectorCraft's own. Evidence: `decorative_brushes_repeat_distinct_art_and_survive_a_saved_library` in `crates/engine/src/tests/brushlib.rs` covers distinct finite output, add/apply and saved-library reopening, and `the_window_menu_and_the_brushes_panel_open_brush_libraries` covers opening and clicking from the UI. - **Paint library** ([About brushes](https://helpx.adobe.com/illustrator/desktop/paint-and-fill/apply-and-edit-strokes/about-brushes.html)): Window › Brush Libraries › Paint offers Flat Sweep, Dry Drag, Loaded Stroke and Fan Sweep. These original art brushes stretch broad, broken, loaded and fanned vector marks along a path and take the stroke color as tints. The public source describes the Paint category's varied thickness, textured edges and natural effects; the preset designs and names are VectorCraft's own. Evidence: `paint_brushes_draw_distinct_marks_and_survive_a_saved_library` in `crates/engine/src/tests/brushlib.rs` covers finite output on short, long and curved paths, add/apply and saved-library reopening; `the_window_menu_and_the_brushes_panel_open_brush_libraries` covers opening and clicking from the UI. - **Dry Media library** ([help page](https://helpx.adobe.com/illustrator/desktop/paint-and-fill/apply-and-edit-strokes/about-brushes.html)): Window › Brush Libraries › Dry Media holds four art brushes with textured strokes like dry drawing materials, each 100 pt long: Chalk Grain (about 8 pt high), Graphite Pencil (about 2.3 pt), Wax Crayon (about 5.5 pt) and Charcoal Dust (about 7 pt). The brushes, their names, sizes and art are VectorCraft's own: each is filled vector paths from a fixed seed, at most 80 paths and 500 anchors, stretched along the path with Tints colorization, and the chalk and crayon art has even-odd gaps where the paper shows (`brush.libraries`, `brush.addFromLibrary`; `the_dry_media_library_holds_grainy_art_brushes_with_bounded_art`). - - **Impact Bursts library:** Window › Brush Libraries › Impact Bursts holds six art brushes, each 100 pt long, for hit sparks, shock rings and crack strokes: Star Burst, Ring Shock, Slash Arc, Spark Fan, Debris Spray and Crack Line. The brushes, their names and art are VectorCraft's own, generated in code with Tints colorization (`brush.libraries`, `brush.library`, `the_builtin_libraries_list_their_brush_names_and_counts`). + - **Impact Bursts library:** Window › Brush Libraries › Impact Bursts holds six art brushes for hit sparks, shock rings and crack strokes: Star Burst, Ring Shock, Slash Arc, Spark Fan, Debris Spray and Crack Line. The brushes, their names and art are VectorCraft's own, generated in code with Tints colorization (`brush.libraries`, `brush.library`, `the_builtin_libraries_list_their_brush_names_and_counts`). - **Arrows library:** Window › Brush Libraries › Arrows holds five art brushes, each 100 pt long: Solid Arrow, Open Arrow (an outlined head), Double Arrow (a head at each end), Chevron Arrow (a second chevron on the shaft) and Dashed Arrow (five separate dashes and a head). Each brush stretches only the part between its guides, so the shaft follows the path's length and the heads keep their proportions, with Tints colorization. The brushes, their names and their art are VectorCraft's own, generated in code (`brush.libraries`, `brush.addFromLibrary`; `arrows_library_lists_renders_and_applies_original_brushes`, `dashed_arrow_keeps_separate_dashes_and_survives_library_save`). - **Brush names in library panels**: a built-in brush library's panel shows its brushes' names in the UI language, in its list rows and tooltips, and its Find field matches the name shown or the English name. This is VectorCraft's own rule. A User Defined or Other Library… library's brushes, and the document's Brushes panel, show names as they are stored. A click, a drag, Add to Brushes and `brush.addFromLibrary` still use the English name, so the brush comes into the document under that name (`built_in_library_brushes_are_listed_in_the_ui_language`, `built_in_library_brush_names_are_in_complete_catalogs`). - A canvas context menu: right-click selects the object under the pointer and lists what applies to the selection (Undo/Redo, clipboard, group, isolation, join, Remove Anchor Points when anchors are selected, masks, compound paths, guides, Transform, Arrange, Select, Export Selection; Outline Stroke when the selection has a visible stroke to outline, #5267; and on type Bullets and Numbering and Spelling › Auto Spell Check, checked while it is on), or the view commands on empty canvas. From f7a35c1e028fb123b38d335c07a392814703a781 Mon Sep 17 00:00:00 2001 From: dotCooCoo Date: Sat, 5 Dec 2026 17:07:47 -0800 Subject: [PATCH 20/20] Strokes: closed lone anchors keep their dot under Tip-aligned arrowheads A closed subpath with no length in a path that ends open is painted as a square dot at the whole path's reach. The shortened-line pass skipped closed subpaths, so once the start cap moved to the shortened end the box no longer took in that dot. --- crates/doc/src/reach.rs | 35 ++++++++++++++++++++++++++++++++++- 1 file changed, 34 insertions(+), 1 deletion(-) diff --git a/crates/doc/src/reach.rs b/crates/doc/src/reach.rs index df9240fb54..d08354f8d4 100644 --- a/crates/doc/src/reach.rs +++ b/crates/doc/src/reach.rs @@ -331,7 +331,18 @@ impl StrokeLayer { // The renderer aligns the stroke along every subpath by whether the path ends closed. let side = self.side_reach(matches!(bp.elements().last(), Some(vectorcraft_geom::PathEl::ClosePath))); for (r, closed) in subpaths(&pieces.line) { - if closed || side <= 0.0 { + if side <= 0.0 { + continue; + } + if closed { + // A closed subpath with no length, a lone anchor included, paints the dot at the + // whole path's reach when the stroke draws dots. + if !self.draws_dots() || vectorcraft_geom::kurbo::segments(line[r.clone()].iter().copied()).any(|s| has_length(&s)) { + continue; + } + let lone = line[r.start].end_point().map(|p| Rect::from_points(p, p)); + let dot = segments(&line[r]).iter().map(ParamCurveExtrema::bounding_box).reduce(|a, b| a.union(b)).or(lone); + out = dot.map_or(out, |d| out.union(d.inflate(side, side))); continue; } let segs = drawn(&line[r.clone()]); @@ -768,6 +779,28 @@ mod tests { assert_eq!(bounds.x0, -5.0, "{bounds:?}"); } + /// A closed lone anchor in a path that ends open is painted as a dot at the whole path's reach, + /// so the box takes it in when a Tip-aligned arrowhead moves the start cap off that anchor. + #[test] + fn closed_lone_anchors_keep_their_dot_under_tip_aligned_arrowheads() { + let mut p = BezPath::new(); + p.move_to((0.0, 0.0)); + p.line_to((100.0, 0.0)); + p.move_to((0.0, 0.0)); + p.close_path(); + p.move_to((110.0, 0.0)); + p.line_to((120.0, 0.0)); + let st = stroke(10.0, |s| { + s.cap = LineCap::Square; + s.join = LineJoin::Bevel; + s.align = StrokeAlign::Inside; + s.start_arrow = Some(Arrowhead::Triangle); + s.arrow_align = ArrowAlign::Tip; + }); + let bounds = st.bounds_on(&p, p.bounding_box()); + assert_eq!(bounds.x0, -5.0, "the lone anchor's square dot reaches 5 left of it: {bounds:?}"); + } + #[test] fn rectangles_keep_exact_bounds_and_sharp_corners_spike_up_to_the_limit() { let sq = square();