feat: enhance complex linetype rendering with DWG text style data, gap midpoint centering, and theme defaults
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user