mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-05 05:22:58 -05:00
Docs: composite fonts that placed editable art brings, and their errors
docs/mcp.md now says which composite fonts file.place and links.embed bring with editable art, when a placed font keeps its name, reuses an equal one or takes a free name, and quotes the errors that stop the placement before either document changes.
This commit is contained in:
1 parent
b9701cd035
commit
a92e961058
1 file changed
+13
+13
@@ -11803,6 +11803,19 @@ clipping path when placed, linked, relinked, updated, or embedded. `file.place.i
|
||||
report CMYK for these images. VectorCraft's native CMYK limit is 67,108,864 pixels. Composites with transparency,
|
||||
images beyond that limit, and native samples beyond the allocation allowance use the RGB import path, subject to
|
||||
its allocation limit. Importing individual layers with `layers: true` retains its existing behavior.
|
||||
Editable art that `file.place` places (with `link: false` or from `dataBase64`) and that `links.embed` embeds brings
|
||||
the composite fonts its type and graph labels name, including those of the symbols, patterns and brushes it uses.
|
||||
Placement first reuses an equal composite font with the same name (in any case) in the document, keeping its name.
|
||||
Otherwise, a composite font whose name the document already uses (for a different composite font, a part of one, or a family its
|
||||
type or styles name) or that an installed font has, joins under a free name such as "Name 2", unless the document
|
||||
already has an equal definition under another name, which the placed art then uses; the placed art is renamed to
|
||||
match. Before either document changes, the placement fails and changes nothing with one of these errors: "a document
|
||||
keeps at most 256 composite fonts" (when the placed art uses more than 256, the document has more than 256, or more
|
||||
than 256 remain after equal definitions are shared); "two incoming composite fonts are named `<name>`"; "`<name>` is
|
||||
the name of an installed font"; "the composite fonts in the placed art and document cannot stand together"; "no free
|
||||
name for a placed composite font"; or an error for an invalid definition as stored in the file, such as
|
||||
"`<name>` can't name a composite font", "a composite font keeps at most 64 character sets" or a part's size out of range.
|
||||
Placement does not trim composite font or character set names as `type.compositeFonts.set` does.
|
||||
|
||||
`file.place.info` describes a file without placing it and `image.info` reports a placed image's link, colour mode and
|
||||
effective ppi. `file.place.queue` loads the place cursor (the `place` tool) with several files: headless, drive it
|
||||
|
||||
Reference in new issue
Block a user