feat: enhance complex linetype rendering with DWG text style data, gap midpoint centering, and theme defaults

This commit is contained in:
minsung
2026-07-30 17:59:08 +09:00
parent 1a664f677a
commit 3d3e052f3e
20 changed files with 55456 additions and 16 deletions
+1 -1
View File
@@ -328,7 +328,7 @@ export class SlugTextBatch {
colorInt: number, alignH: number, alignV: number): void {
const eng = this.engine;
const lines = String(text).split('\n');
const scale = height / eng.capHeightEm;
const scale = height;
const lineStep = height * 5 / 3; // CAD default MTEXT line spacing
const blockH = (lines.length - 1) * lineStep + height;