mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-13 09:39:52 +00:00
Characters take two new attributes, `akiLeft` and `akiRight`: space before and after each character in reading order, in thousandths of an em from 0 to 1000, measured as tracking is. `text.setFormat`, `text.setRangeStyle` and character styles set them; values that are not numbers or are outside the range are refused, and a file holding one outside the range opens with the nearer end. Both are saved only when not 0. - Layout: Left is the space above a character in vertical type and on its right in right-to-left type. Wrapping counts the space, a line's end keeps it when aligned, and justification and Optical kerning leave it at its set width. A ligature, a letter with its marks and a tate-chu-yoko block take the values of their first character. - With Fractional Widths off or System Layout on, the space before and the space after a character are each set in whole points and added to its rounded width, so justification keeps them at that width. A tate-chu-yoko block rounds the space above and below it the same way. - Character panel: with Show East Asian Options on, Insert Aki Left and Insert Aki Right fields with 0, 250, 500 and 1000 in their menus; Reset Panel sets both to 0. - Character Style Options › Advanced Character Formats shows Insert Aki Left and Insert Aki Right, with the Character panel's 0, 250, 500 and 1000 in their menus; a typed value below 0 or past 1000 sets 0 or 1000, and Reset Panel unsets both. - SVG export: live text places each character the space moves, and type on a path with Insert Aki is written as outlines. Docs: docs/mcp.md, docs/target-app-parity.md.