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.
Planning an alias read dimension option families only from document art.
A dimension inside an art brush's art was reached for graph label families
but not for its own options, so an incoming composite font could take the
family that dimension names, and the dimension's label would switch to the
incoming font on redraw. The brush walk now notes dimension options too.
When placed editable art uses a composite font whose name the document
already gives a different font, the placed type is renamed to a free name
such as "Name 2". A dimension's label was renamed, but the dimension's own
options kept the old name, so the next redraw of the label (moving a point,
a refresh) switched it to the document's other font.
- The adoption walker renames a dimension's font family with its label,
keeping a spelling that already names the same font.
- Planning reserves the families destination dimensions name.
- A generated alias stays within the 256 bytes a dimension's family keeps,
and a font that an incoming dimension uses reuses only an equivalent
font whose name fits.
Rotate draws a plane for every fill and stroke, but rendered mode only
checked the top fill and the strokes before drawing the image. A
gradient fill below a solid top fill was drawn as a flat color in the
rendered image instead of falling back to shaded faces with the
warning. Extrude & Bevel and Inflate still check only the top fill and
strokes they build solids from.
When placed editable art names a font family that its file does not define
as a composite font, and the document defines a composite font of that
name, the placed type was measured in the file's font but drew in the
document's composite font after placement. The placed type now gets a free
name such as "Name 2", so it keeps the font it was laid out in. Placing the
same art again reuses that name.
- The renaming also covers the fonts a file carries for its type and the
label font of a live dimension, so they stay paired with the renamed runs.
- An installed family is not renamed.
- The installed-name check applies only to the composite fonts a
placement adds, so a definition already in the document does not stop it.
- docs/mcp.md describes the renaming under file.place.
`cargo xtask layers` read only `#![doc(test(attr(...)))]` written
directly, so a library root that lowered its doc tests with
`#![cfg_attr(<cond>, doc(test(attr(allow(unsafe_code)))))]` still passed
the check that its doc tests deny unsafe code.
A `doc(...)` inside `cfg_attr(...)`, at any depth, now counts. Since the
check does not evaluate the condition, such an attribute can only lower
the level: an `allow`, `warn` or `expect` of `unsafe_code` inside it
lowers it, and a `deny` or `forbid` inside it does not count, as for a
lint attribute inside `cfg_attr` within `doc(test(attr(...)))`.
The reader opens a PowerClip frame whose clipped objects were all left out
(bitmaps, text and other objects it doesn't read yet, or contents past the
import limits) as a plain shape, and the warnings only said that objects
were left out, so an empty frame had no explanation.
Opening a drawing of version 4 or later now adds the line "CDR PowerClip
frames whose contents were left out opened empty, as plain shapes" whenever
the reader left objects out or stopped at a limit. Drawings of versions 1 to
3, which the reader opens without frames, don't get it. The reader's
warnings don't say which frames lost their contents, so the line is shown
for every such drawing.
docs/mcp.md says what OK and Apply do with the agent settings after
input injected through the control channel reached Preferences, and
what an OK sent by a control request does.
DWG drawings open and place through the DXF reader since #10802, but
the M4 row in docs/roadmap.md still listed DWG under Left. The row now
lists DWG import with its pull request, and Left keeps DWG export (use
DXF).
When input injected through the control channel reached the open
Preferences window, an edit on AI Integrations (such as a read or write
folder) could reach the draft and be saved later by a person's OK or
Apply, outside the automation roots. That let an agent driving the UI
widen the folders it may open from and save to.
The window now records that automation drove it. While it stays open,
OK and Apply put the agent settings back as they were read and refuse
them with a message; the person changes them in a Preferences window
they open again. An OK or Apply that a control request sends is refused
without touching the draft.