Place: a placed dimension reuses an equal composite font of the same name

When the document defined a composite font with the same name and the same
definition as one a placed dimension used, but spelled in more than the 256
bytes a dimension's family keeps (a case-insensitive match such as Kelvin
signs for k), placement copied the incoming font under a new name instead of
reusing the document's. The byte limit now applies only to an alias under
another name; a same-name reuse keeps the dimension's own spelling.

Merging main had also left a second, unguarded rename of a dimension's
family next to the guarded one, so a renamed family that was too long or
only differed in case was still written. The unguarded rename is removed.

docs/mcp.md describes how file.place renames a placed dimension's family.
This commit is contained in:
dotCooCoo committed 2026-12-04 16:00:35 -08:00
1 parent 2b5ca4f2ad
commit b8e11fb2c7
3 files changed
+40 -8

No files matched your search

+2
View File
@@ -11790,6 +11790,8 @@ with `link: false` or from `dataBase64` it is one group. `at` centres it, `rect`
swaps the selected object (keeping its place and transform), `template` puts it on a new template layer.
When placed editable art names a font family it does not define as a composite font, and the document defines a
composite font of that name, the placed type gets a free name such as "Name 2" so it keeps the font it was laid out in.
A placed live dimension's label options take the same new name, so a redrawn label keeps that font; a document
composite font with the same name and the same definition is reused, and the dimension keeps its own spelling of it.
A DCS file (Desktop Color Separation, version 1.0 or 2.0: an EPS file whose header names one EPS program per printing
plate, <http://www.telegraphics.net/doc/DCS.txt>) is placed only from its `path` with link, as one linked image
([Import DCS files](https://helpx.adobe.com/illustrator/desktop/add-and-import-files/import-other-file-types/import-dcs-files.html)).