MCP docs: vertical text uses vert alternates, and duplicate defaults to the current set

add_text's vertical option turns on the OpenType vert feature, so the docs no
longer say it leaves glyph orientation unchanged. ui.actionSet.duplicate uses
the current set when set is omitted, with or without action.
This commit is contained in:
dotCooCoo
2026-11-04 12:50:33 +07:00
committed by bflatastic
parent 0ccf9d4fdd
commit d9cfaf9041
+5 -4
View File
@@ -450,8 +450,9 @@ For example, create editable Japanese area type with the engine's vertical writi
```
`vertical` also applies to point type and to `path` + `mode` (`area` or `onPath`). Omit it or pass `false`
for horizontal writing. This is the same option as `text.create` / `text.createInPath`; it does not change
the engine's existing glyph orientation or CJK composition.
for horizontal writing. This is the same option as `text.create` / `text.createInPath`. Vertical text turns
on the OpenType `vert` feature, so a font's vertical glyph alternates are used; it does not change the engine's
CJK composition.
For SVG/SVGZ, `export`'s top-level `outlineText: true` writes text as paths; DXF takes it too (its type is outlined anyway unless `preserve: editability`).
PDF instead uses `options: {"advanced": {"outlineText": true}}`; its default is false (live text).
@@ -1810,8 +1811,8 @@ already walks Image Trace. Short agent entry points:
not restore a deleted set.
`ui.actionSet.duplicate {set?: index, action?: index}` copies the action at `action` in set `set` to right after it
in the same set, and returns `{set, action}`; without `action` it copies the set with all its actions to right after
it, by default the current set, and returns `{set}`. The copy is named after the original with " copy" added, a
copied set gets an id of its own, and the copy is selected. An index past the last set or action is an error. The
it, and returns `{set}`. In both cases `set` defaults to the current set. The copy is named after the original with
" copy" added, a copied set gets an id of its own, and the copy is selected. An index past the last set or action is an error. The
panel menu's Duplicate runs this for the selected action, else the current set.
- Image Trace: `imageTrace.presets`, `imageTrace.make {id?, preset?, params?, view?}` (or `imageTrace.makeAndExpand`),
`imageTrace.setView`, `imageTrace.expand`, `imageTrace.release`. A key inside `params` that is not one of the trace