vectorcraft/crates
bflatastic 6780ffae60 Fix #33: position and size fields evaluate math typed before the unit suffix
A `*` or `/` operand had to be a bare number, so `1080/2 px` (the number
replaced by an expression, the field's suffix still there) read as nothing.
The unit after a factor or divisor now measures the whole expression, in
every unit (`Unit::parse`, shared by every unit field). Numeric fields
(num_field, opt_field, plain/mixed fields) select their whole text, unit
included, when they gain focus or are double-clicked, so typing replaces it;
unitless fields gain the same arithmetic (`parse_number`, `45*2°`).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-06 00:08:10 +07:00
..
brush M4.39: SVG symbols as <symbol>/<use>, hidden layers on Save, Dublin Core metadata 2026-10-05 09:03:52 +07:00
cad M4.93: DXF drawings open and place with layout, scale or fit, centring and merged layers 2026-10-05 15:24:21 +07:00
color M4.98: freeform gradients export to SVG as images clipped to their shapes 2026-10-05 13:25:16 +07:00
doc Fix #33: position and size fields evaluate math typed before the unit suffix 2026-10-06 00:08:10 +07:00
effects M4.58: raster effects in PDF on every kind of object 2026-10-05 11:52:34 +07:00
engine Fix #85: empty point type placed by a click is discarded when editing ends 2026-10-06 00:08:09 +07:00
eps M4.92: Print to a PostScript file 2026-10-05 17:01:36 +07:00
format M4.38: native and .ai save options: each artboard to its own file, linked files, ICC profiles, PDF content 2026-10-05 15:24:19 +07:00
geom Robustness: VectorCraft never crashes — no panics in shipped code 2026-10-05 06:28:59 +07:00
mcp M4.70: PSD export, flat or with layers, groups for sublayers and text layers named after their text 2026-10-05 16:12:03 +07:00
metafile M4.91: EPS and PostScript files open and place 2026-10-05 16:51:54 +07:00
pathops Robustness: VectorCraft never crashes — no panics in shipped code 2026-10-05 06:28:59 +07:00
pdf M4.87: PDF 1.3 compatibility: transparency flattened with the chosen preset 2026-10-05 18:05:36 +07:00
render M4.70: PSD export, flat or with layers, groups for sublayers and text layers named after their text 2026-10-05 16:12:03 +07:00
svg Fix #136: SVG export and CSS write each style's numeric font-weight 2026-10-05 23:36:29 +07:00
testkit M4.62: PDF/.ai layers from optional content: named layers with visibility, print state and lock; art that is off as hidden layers 2026-10-05 13:05:12 +07:00
text M4.74: real text with embedded subset fonts in PDF 2026-10-05 16:25:21 +07:00
tools Fix #85: empty point type placed by a click is discarded when editing ends 2026-10-06 00:08:09 +07:00
trace Robustness: VectorCraft never crashes — no panics in shipped code 2026-10-05 06:28:59 +07:00
ui-egui Fix #33: position and size fields evaluate math typed before the unit suffix 2026-10-06 00:08:10 +07:00