mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-24 09:46:59 -06:00
Type › Optical Margin Alignment was a disabled menu item. The reference app's Optical Margin Alignment hangs Roman punctuation and the edges of letters such as W and A outside the margins of every paragraph of a type object. type.opticalMarginAlignment (Type › Optical Margin Alignment) turns it on or off for the selected type in one undo step, and the menu item is checked while the type has it on. In every left-to-right paragraph of point and area type, quotation marks, hyphens, full stops and commas at a line's start or end hang wholly outside the margin there. Asterisks, tildes, ellipses, en and em dashes, colons and semicolons hang by half their width, and A, V, W, Y, v, w and y hang by a tenth of theirs. A punctuation mark followed by a quotation mark hangs with it. Left-aligned lines hang at their left margin, right-aligned lines hang at their right margin, and centered and justified lines hang at both. Lines break where they did before, and the space that justification adds between glyphs leaves out the gaps next to a hanging punctuation mark. The setting is off for new type and for documents from before it, and the type object saves it only when it is on. The Type menu's checks for Optical Margin Alignment, Type Orientation and the Type on a Path effects now read the type inside a selected group, as the commands do. Docs: docs/mcp.md, docs/target-app-parity.md, docs/type-parity.md.