@pixldocs/canvas-renderer 0.5.108 → 0.5.109
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.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/{svgTextToPath-C20Obtt2.js → svgTextToPath-B2UVS22F.js} +9 -1
- package/dist/{svgTextToPath-DTKsddnS.cjs.map → svgTextToPath-B2UVS22F.js.map} +1 -1
- package/dist/{svgTextToPath-DTKsddnS.cjs → svgTextToPath-CeL46_ks.cjs} +9 -1
- package/dist/svgTextToPath-CeL46_ks.cjs.map +1 -0
- package/package.json +1 -1
- package/dist/svgTextToPath-C20Obtt2.js.map +0 -1
|
@@ -499,6 +499,14 @@ const FONT_FILES = {
|
|
|
499
499
|
light: "/fonts/Hind-Light.ttf",
|
|
500
500
|
medium: "/fonts/Hind-Medium.ttf",
|
|
501
501
|
semibold: "/fonts/Hind-SemiBold.ttf"
|
|
502
|
+
},
|
|
503
|
+
// ── Math / Operator Symbol Fallback ──
|
|
504
|
+
// Carries glyphs that NotoSans-Regular's Latin subset is missing
|
|
505
|
+
// (≠ ≤ ≥ ≈ ∞ → ← × ÷ ∑ √ ∈ ∀ ∃ etc.). Used as a tertiary fallback
|
|
506
|
+
// ONLY for chars classified as 'math' that the main font + Noto Sans
|
|
507
|
+
// both lack.
|
|
508
|
+
"Noto Sans Math": {
|
|
509
|
+
regular: "/fonts/NotoSansMath-Regular.ttf"
|
|
502
510
|
}
|
|
503
511
|
};
|
|
504
512
|
function isJsPdfEmbeddableTrueType(bytes) {
|
|
@@ -1311,4 +1319,4 @@ export {
|
|
|
1311
1319
|
convertDevanagariTextToPath,
|
|
1312
1320
|
preloadDevanagariFont
|
|
1313
1321
|
};
|
|
1314
|
-
//# sourceMappingURL=svgTextToPath-
|
|
1322
|
+
//# sourceMappingURL=svgTextToPath-B2UVS22F.js.map
|