cadcraft/crates/fonts
asimfali 678ff555ae
MTEXT: paragraph indents and tab stops are in drawing units (#895)
* MTEXT: paragraph indents and tab stops are in drawing units

AutoCAD writes \pi, \pl, \pr and tab stops in drawing units, not multiples of the text
height. A file with \pi27.485 on 6-high text in a 120-wide box laid out with a 165-unit first
line indent: the first line vanished and wrapped words landed elsewhere. The JSON mtext
parameters indent, firstIndent, rightIndent and tabs follow (a list's default indent is now
3 text heights, in drawing units).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

* MTEXT editor: list indent of three text heights in drawing units, matching the new \p units

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: simanov <asimfali@mail.ru>
Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-authored-by: Brandon Thomas <echelon@gmail.com>
2026-10-13 05:13:16 -04:00
..
src MTEXT: paragraph indents and tab stops are in drawing units (#895) 2026-10-13 05:13:16 -04:00
tests feat(text): MTEXT paragraph formatting (indents, tabs, lists) and columns (#547) 2026-10-11 12:47:12 -04:00
Cargo.toml Right-to-left drawing text: bidi and Arabic-script shaping (Persian, Arabic, Urdu) (#315) 2026-10-11 11:13:29 -04:00
build.rs fonts: embed craft-fonts when built with CRAFT_FONTS_DIR (#321) 2026-10-11 11:13:43 -04:00