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

This commit is contained in:
minsung committed 2026-07-30 17:59:08 +09:00
1 parent 1a664f677a
commit 3d3e052f3e
20 files changed
+55456 -16

No files matched your search

+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;