exodeui 2.5.8 → 2.6.0
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 +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -5135,7 +5135,7 @@ class KC {
|
|
|
5135
5135
|
let k = 0;
|
|
5136
5136
|
K === "left" && (k = -s / 2), K === "right" && (k = s / 2);
|
|
5137
5137
|
const M = C.fontWeight || "normal", F = C.fontStyle || "normal";
|
|
5138
|
-
A.font = `${F} ${M} ${C.fontSize}px ${C.fontFamily}`;
|
|
5138
|
+
A.font = `${F} ${M} ${C.fontSize}px "${C.fontFamily}"`;
|
|
5139
5139
|
const y = s > 0 ? s : void 0;
|
|
5140
5140
|
w.fill && (A.fillStyle = w.fill.color, A.globalAlpha = (g.opacity ?? 1) * (w.fill.opacity ?? 1), A.fillText(h, k, 0, y)), w.stroke && w.stroke.width > 0 && (A.strokeStyle = w.stroke.color, A.lineWidth = w.stroke.width, A.globalAlpha = (g.opacity ?? 1) * (w.stroke.opacity ?? 1), A.strokeText(h, k, 0, y));
|
|
5141
5141
|
} else if (C.type === "Image") {
|