Skip to content

Export 2 changes - #58

Open
tsdraft-export[bot] wants to merge 2 commits into
mainfrom
export
Open

tsdraft-export[bot] wants to merge 2 commits into
mainfrom
export

Conversation

@tsdraft-export

Copy link
Copy Markdown
Contributor

This pull request was opened by the export from tsdraft's development repository. Each commit
here is one change made there.

Merge it with squash, or with rebase to keep one commit per change. Don't push to this branch:
the next export replaces anything that did not come from it.

sc-frederick and others added 2 commits November 24, 2026 18:14
…a font tsdraft lacks

- An edit changes an xref layer's linetype in its host, as `e.layer("SURVEY|BOUNDARY", { linetype: "SURVEY|PHANTOM2" })`, to a linetype the host holds. Both writers mark it as the host's override, so a reload of the xref keeps it.
- An edit's additions may use a text style of the file whose font tsdraft does not hold, such as a firm's Baskerville Old Face, for a text justified left and a paragraph of one column, which the leading CAD app lays out itself. Anything else tsdraft would lay out from the font's widths is refused in such a style: a justified text or attribute, a paragraph in columns, a multileader, a dimension, and a table row that holds text. A file's style is now matched to the font it names in any spelling, such as `ROMANS.SHX`, or `cour.ttf` with no family.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
- `e.change(handle, { boxHeight: 0 })` fits a multileader's note box to its text. A file can store a box taller than its note, and the leading CAD app sizes the note's mask by that height, so the mask can hide what lies below the note. 0 is what the app writes for a new note that does not wrap. A multileader with no note, an annotative one, a note in columns and an entity of another kind are refused. The picture draws the mask as tall as the note, so the change shows in no picture.
- A read multileader's note gives `boxHeight`, the height of its box as the file stores it, when above 0.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
@tsdraft-export tsdraft-export Bot changed the title Editing: an xref layer's linetype in its host, and a file's style in a font tsdraft lacks Export 2 changes Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant