@mlightcad/mtext-renderer 0.8.9 → 0.8.11

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/lib/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ export { getColorByIndex } from './common';
1
2
  export * from './common/eventManager';
2
3
  export * from './font';
3
4
  export * from './renderer';
@@ -189,6 +189,11 @@ export declare class MTextProcessor {
189
189
  private processGeometries;
190
190
  private processWord;
191
191
  private processStack;
192
+ /**
193
+ * Convert a legacy top-anchored vOffset (used by stack/sub/sup logic) into
194
+ * the current baseline-anchored coordinate system.
195
+ */
196
+ private convertTopAlignedVOffset;
192
197
  private processBlank;
193
198
  private recordLineBreak;
194
199
  private processChar;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mlightcad/mtext-renderer",
3
- "version": "0.8.9",
3
+ "version": "0.8.11",
4
4
  "description": "AutoCAD MText renderer based on Three.js",
5
5
  "license": "MIT",
6
6
  "author": "MLight Lee <mlight.lee@outlook.com>",