@mlightcad/mtext-renderer 0.9.2 → 0.9.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1233 -1195
- package/dist/index.umd.cjs +8 -8
- package/dist/mtext-renderer-worker.js +373 -335
- package/lib/renderer/mtextProcessor.d.ts +3 -0
- package/package.json +1 -1
- package/lib/renderer/mtext.charBoxes.test.d.ts +0 -1
|
@@ -72,6 +72,8 @@ export declare class MTextProcessor {
|
|
|
72
72
|
*/
|
|
73
73
|
private _currentHorizontalAlignment;
|
|
74
74
|
private _lastCharBoxTarget;
|
|
75
|
+
private _lineHasRenderableChar;
|
|
76
|
+
private _pendingEmptyLineFontSizeAdjust?;
|
|
75
77
|
private _currentIndent;
|
|
76
78
|
private _currentLeftMargin;
|
|
77
79
|
private _currentRightMargin;
|
|
@@ -214,6 +216,7 @@ export declare class MTextProcessor {
|
|
|
214
216
|
private getCharShape;
|
|
215
217
|
private startNewLine;
|
|
216
218
|
private advanceToNextLine;
|
|
219
|
+
private applyPendingEmptyLineYAdjust;
|
|
217
220
|
private resolveCharBoxTarget;
|
|
218
221
|
/**
|
|
219
222
|
* Apply translation on the specified buffer geometries according to text alignment setting
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|