mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-12 05:22:48 +00:00
Merge pull request #5513 from dotCooCoo/fix/mcp-docs-vertical-and-action-duplicate
MCP docs: vertical text uses vert alternates, and duplicate defaults to the current set
This commit is contained in:
+5
-4
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user