mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-26 12:21:08 +01:00
Type a filter returned went to layout with its character and paragraph styles only parsed, and a style equal to one of the type's runs was not checked at all, so a filter could set leading of 1e9, 100,000 tab stops, a scale of 0 or a Kinsoku set the document does not have. - The ranges the character and paragraph style commands keep each attribute to move to CharStyle::check_ranges and ParaStyle::check_ranges in vectorcraft-doc (text/attr_ranges.rs). charStyle.new, charStyle.edit, charStyle.setAttrs and the paragraph style commands call them, and so does the filter write path, for every run and paragraph style, including one the type already has. - A paragraph style's custom Kinsoku set must name one of the document's sets, and takes that set's characters. - The character style commands now also refuse tracking and kerning outside -1000 to 10000, rotation outside -360 to 360, a miter limit outside 1 to 500, Small Caps outside 1 to 200, negative dash lengths and a variable font axis setting that is not a number. Each refusal names the object and the field, and the document does not change. Docs: docs/plugins.md, docs/mcp.md, docs/target-app-parity.md.