Repository navigation
DXF writer: keep the multileader word break before AC1027 (#904) - #905
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
AutoCAD writes group 295 in the MText context from R2000 on; the writer only wrote it for AC1027+, so older files read back the default (true). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
acsgh
marked this pull request as ready for review
December 3, 2026 20:27
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #904
Commits:
006be1abRed tests (tests/dxf_multileader_word_break.rs): a multileader withword_breakoff/on written as DXF in AC1015, AC1018, AC1021, AC1024, AC1027 and AC1032 and read back, plus a check that the MULTILEADER carries group 295 in every version. Onmain,word_break_off_survives_a_dxf_round_trip_in_every_versionandthe_dxf_writer_writes_group_295_in_every_versionfail at AC1015 (the value comes backtrue; no 295 is written); the "on" case passes becausetrueis the reader's default.d6bf214eFix:section_writer.rswrites 295 in every version, in both places that write the MText context. The three tests pass.Red commit confirmed in CI (run 47180253932: the two tests above fail on Ubuntu, macOS and Windows; nothing else fails).
Ran on the last commit:
cargo test: 3722 passed, 0 failedCloses #Nis aboveBug: red-tests commit first, fix commit second, same PR
cargo testpasses on the last commit (say what you ran)No formatting-only or unrelated changes
🤖 Generated with Claude Code