fix(arch, table): what the 1.6.0 README renders showed

- The exterior dimension chains follow the plot scale. DIMSCALE is the
  plan's scale while they are drawn and is put back afterwards; a 1:50
  chain's 2.5 text had been 2.5 drawing units, 0.05 mm on the sheet.
- A headless TABLE merges its title row, as AutoCAD's TABLE does; a long
  title no longer wraps inside the first column over the header row.
- A headless TABLE's cell margin scales with the lettering. A flat 1.0 was
  0.02 mm on a 1:50 schedule; tables at the default 2.5 text are unchanged.
- drawing_new writes the Standard text style in arial.ttf, as AutoCAD
  2026's acadiso.dwt ships it: txt has no superscript two, so 'm²' read
  'm?' live and rendered as a box headlessly. The five bundled templates
  are rebuilt and build_templates --check reproduces them.

Each fix has a test that fails on the old code.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FKFStjEFzpGyLq5bMpWxTd
This commit is contained in:
Umut CAN
2026-09-25 00:17:10 +03:00
co-authored by Claude Opus 5.5
parent 554daff8d0
commit 7e7fe11a71
13 changed files with 182 additions and 370 deletions
+7 -7
View File
@@ -489,7 +489,7 @@ $SKPOLY
9
$TDCREATE
40
2461306.528125
2461308.9858101853
9
$TDUCREATE
40
@@ -497,7 +497,7 @@ $TDUCREATE
9
$TDUPDATE
40
2461306.528125
2461308.9858101853
9
$TDUUPDATE
40
@@ -929,11 +929,11 @@ $PSTYLEMODE
9
$FINGERPRINTGUID
2
{629792F3-C911-49E6-B9A0-300331D1DFBB}
{F0BBB091-B6E3-4896-AD21-EB815B809E89}
9
$VERSIONGUID
2
{ACABCD08-CEC8-4984-94D2-99D2ED56844B}
{CA4E384E-EE93-48E0-A671-949D2BCF158F}
9
$EXTNAMES
290
@@ -2205,7 +2205,7 @@ Standard
42
2.5
3
txt
arial.ttf
4
0
@@ -4709,7 +4709,7 @@ DictionaryVariables
280
0
1
1.4.4 @ 2026-09-22T09:40:30.915301+00:00
1.4.4 @ 2026-09-24T20:39:34.868575+00:00
0
DICTIONARYVAR
5
@@ -4721,7 +4721,7 @@ DictionaryVariables
280
0
1
1.4.4 @ 2026-09-22T09:40:30.933095+00:00
1.4.4 @ 2026-09-24T20:39:34.887094+00:00
0
ENDSEC
0