mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-24 17:56:50 -06:00
The Character panel's Small Caps, Superscript and Subscript buttons were disabled, with "(on the roadmap)" tips, and always drawn off, and the panel menu's items of the same names were disabled, although text.setFormat and text.setRangeStyle already set smallCaps and position. The reference app applies all three from the Character panel menu. The three buttons and menu items now turn small caps and the superscript or subscript position on and off for the selected type, or for the text the Type tool has selected, in Document Setup's proportions. Turning Superscript on turns Subscript off, and turning Subscript on turns Superscript off. They show as on when the first selected character has the attribute, as the All Caps, Underline and Strikethrough toggles do. docs/mcp.md did not mention smallCaps and position; it now describes them for text.setFormat and text.setRangeStyle. Docs: docs/mcp.md, docs/target-app-parity.md.