@pixldocs/canvas-renderer 0.5.120 → 0.5.122
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-DjwTSk_C.cjs → index-BObeaBCm.cjs} +4 -4
- package/dist/{index-DjwTSk_C.cjs.map → index-BObeaBCm.cjs.map} +1 -1
- package/dist/{index-Dm9AEQy0.js → index-vqyuTJLz.js} +4 -4
- package/dist/{index-Dm9AEQy0.js.map → index-vqyuTJLz.js.map} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/{pdfFonts-DpkEz6IN.cjs → pdfFonts-BPQ8WSXF.cjs} +79 -3
- package/dist/pdfFonts-BPQ8WSXF.cjs.map +1 -0
- package/dist/{pdfFonts-BUnZcHhp.js → pdfFonts-CZpNVjX9.js} +86 -10
- package/dist/pdfFonts-CZpNVjX9.js.map +1 -0
- package/dist/{svgTextToPath-DR7QIEWZ.js → svgTextToPath-Bsxjuz6-.js} +2 -2
- package/dist/{svgTextToPath-DR7QIEWZ.js.map → svgTextToPath-Bsxjuz6-.js.map} +1 -1
- package/dist/{svgTextToPath-DcQKj5Mc.cjs → svgTextToPath-BytLBSI5.cjs} +2 -2
- package/dist/{svgTextToPath-DcQKj5Mc.cjs.map → svgTextToPath-BytLBSI5.cjs.map} +1 -1
- package/dist/{vectorPdfExport-CxWPJs_l.js → vectorPdfExport-CD0Jz7Cc.js} +15 -5
- package/dist/vectorPdfExport-CD0Jz7Cc.js.map +1 -0
- package/dist/{vectorPdfExport-yAT4k3Je.cjs → vectorPdfExport-DIYIL06v.cjs} +15 -5
- package/dist/vectorPdfExport-DIYIL06v.cjs.map +1 -0
- package/package.json +1 -1
- package/dist/pdfFonts-BUnZcHhp.js.map +0 -1
- package/dist/pdfFonts-DpkEz6IN.cjs.map +0 -1
- package/dist/vectorPdfExport-CxWPJs_l.js.map +0 -1
- package/dist/vectorPdfExport-yAT4k3Je.cjs.map +0 -1
|
@@ -15663,7 +15663,7 @@ function PixldocsPreview(props) {
|
|
|
15663
15663
|
!canvasSettled && /* @__PURE__ */ jsxRuntime.jsx("div", { style: { position: "absolute", inset: 0, display: "flex", alignItems: "center", justifyContent: "center", minHeight: 200 }, children: /* @__PURE__ */ jsxRuntime.jsx("div", { style: { color: "#888", fontSize: 14 }, children: "Loading preview..." }) })
|
|
15664
15664
|
] });
|
|
15665
15665
|
}
|
|
15666
|
-
const PACKAGE_VERSION = "0.5.
|
|
15666
|
+
const PACKAGE_VERSION = "0.5.122";
|
|
15667
15667
|
const roundParityValue = (value) => {
|
|
15668
15668
|
if (typeof value !== "number") return value;
|
|
15669
15669
|
return Number.isFinite(value) ? Number(value.toFixed(3)) : value;
|
|
@@ -16082,7 +16082,7 @@ class PixldocsRenderer {
|
|
|
16082
16082
|
await this.waitForCanvasScene(container, cloned, i);
|
|
16083
16083
|
}
|
|
16084
16084
|
console.log(`[canvas-renderer][pdf-unified] mounted ${cloned.pages.length} page(s), handing off to client exportMultiPagePdf`);
|
|
16085
|
-
const { exportMultiPagePdf, preparePagesForExport } = await Promise.resolve().then(() => require("./vectorPdfExport-
|
|
16085
|
+
const { exportMultiPagePdf, preparePagesForExport } = await Promise.resolve().then(() => require("./vectorPdfExport-DIYIL06v.cjs"));
|
|
16086
16086
|
const prepared = preparePagesForExport(
|
|
16087
16087
|
cloned.pages,
|
|
16088
16088
|
canvasWidth,
|
|
@@ -18277,7 +18277,7 @@ async function assemblePdfFromSvgs(svgResults, options = {}) {
|
|
|
18277
18277
|
}
|
|
18278
18278
|
if (shouldOutlineText) {
|
|
18279
18279
|
try {
|
|
18280
|
-
const { convertAllTextToPath } = await Promise.resolve().then(() => require("./svgTextToPath-
|
|
18280
|
+
const { convertAllTextToPath } = await Promise.resolve().then(() => require("./svgTextToPath-BytLBSI5.cjs"));
|
|
18281
18281
|
pageSvg = await convertAllTextToPath(pageSvg, fontBaseUrl, { mode: outlineSubMode });
|
|
18282
18282
|
try {
|
|
18283
18283
|
dumpSvgTextDiagnostics(pageSvg, i, PARITY_TAG, "STAGE-1b-after-text-to-path-raw");
|
|
@@ -18487,4 +18487,4 @@ exports.setAutoShrinkDebug = setAutoShrinkDebug;
|
|
|
18487
18487
|
exports.setBundledAssetPrefixes = setBundledAssetPrefixes;
|
|
18488
18488
|
exports.warmResolvedTemplateForPreview = warmResolvedTemplateForPreview;
|
|
18489
18489
|
exports.warmTemplateFromForm = warmTemplateFromForm;
|
|
18490
|
-
//# sourceMappingURL=index-
|
|
18490
|
+
//# sourceMappingURL=index-BObeaBCm.cjs.map
|