@mlightcad/mtext-renderer 0.4.2 → 0.4.3

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 CHANGED
@@ -10537,7 +10537,7 @@ class hn extends gn {
10537
10537
  }
10538
10538
  getCode(e) {
10539
10539
  if (this.font.fontData.header.fontType === $.BIGFONT)
10540
- throw new Error("Bigfont is not supported yet");
10540
+ throw new Error(`Can't get font glyph for '${e}' because big font is not supported yet!`);
10541
10541
  return e.charCodeAt(0);
10542
10542
  }
10543
10543
  }