mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-19 15:08:40 +00:00
Value fields and length strings read `x`, `X` and `×` as a multiplication sign: `10x2` is 20, `2x3 mm` is 6 mm and `3cmx50%` is 1.5 cm. A lowercase `x` right after a `p` stays the `px` unit, so `2px x 3` is 6 px and `2px3` is not read. The change is in `Unit::parse` and `parse_number`, so every field that reads its text through them takes it. Each sign counts toward the 128-sign limit, which is checked before the text is copied. Docs: docs/mcp.md, docs/ui-parity.md, docs/target-app-parity.md.