@pixldocs/canvas-renderer 0.5.141 → 0.5.142
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-auyDeEWG.cjs → index-CBXAcuts.cjs} +4 -4
- package/dist/{index-auyDeEWG.cjs.map → index-CBXAcuts.cjs.map} +1 -1
- package/dist/{index-DA3Nf1nG.js → index-MJxDhnDv.js} +4 -4
- package/dist/{index-DA3Nf1nG.js.map → index-MJxDhnDv.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/{vectorPdfExport-Bkg5qekb.js → vectorPdfExport-CnC7-RiI.js} +26 -5
- package/dist/vectorPdfExport-CnC7-RiI.js.map +1 -0
- package/dist/{vectorPdfExport-v46WzRNa.cjs → vectorPdfExport-fTlcySFg.cjs} +26 -5
- package/dist/vectorPdfExport-fTlcySFg.cjs.map +1 -0
- package/package.json +1 -1
- package/dist/vectorPdfExport-Bkg5qekb.js.map +0 -1
- package/dist/vectorPdfExport-v46WzRNa.cjs.map +0 -1
|
@@ -15956,7 +15956,7 @@ function captureFabricCanvasSvgForPdf(fabricInstance, canvasWidth, canvasHeight)
|
|
|
15956
15956
|
}
|
|
15957
15957
|
return svgString;
|
|
15958
15958
|
}
|
|
15959
|
-
const PACKAGE_VERSION = "0.5.
|
|
15959
|
+
const PACKAGE_VERSION = "0.5.142";
|
|
15960
15960
|
const roundParityValue = (value) => {
|
|
15961
15961
|
if (typeof value !== "number") return value;
|
|
15962
15962
|
return Number.isFinite(value) ? Number(value.toFixed(3)) : value;
|
|
@@ -16381,7 +16381,7 @@ class PixldocsRenderer {
|
|
|
16381
16381
|
await this.waitForCanvasScene(container, cloned, i);
|
|
16382
16382
|
}
|
|
16383
16383
|
console.log(`[canvas-renderer][pdf-unified] mounted ${cloned.pages.length} page(s), handing off to client exportMultiPagePdf`);
|
|
16384
|
-
const { exportMultiPagePdf, preparePagesForExport } = await import("./vectorPdfExport-
|
|
16384
|
+
const { exportMultiPagePdf, preparePagesForExport } = await import("./vectorPdfExport-CnC7-RiI.js");
|
|
16385
16385
|
const prepared = preparePagesForExport(
|
|
16386
16386
|
cloned.pages,
|
|
16387
16387
|
canvasWidth,
|
|
@@ -18479,7 +18479,7 @@ async function prepareLiveCanvasSvgForPdf(rawSvg, pageWidth, pageHeight, pageKey
|
|
|
18479
18479
|
if (options == null ? void 0 : options.stripPageBackground) stripRootPageBackgroundFromSvg(svgToDraw);
|
|
18480
18480
|
sanitizeSvgTreeForPdf(svgToDraw);
|
|
18481
18481
|
try {
|
|
18482
|
-
const { bakeTextAnchorPositionsFromLiveSvg } = await import("./vectorPdfExport-
|
|
18482
|
+
const { bakeTextAnchorPositionsFromLiveSvg } = await import("./vectorPdfExport-CnC7-RiI.js");
|
|
18483
18483
|
await bakeTextAnchorPositionsFromLiveSvg(svgToDraw);
|
|
18484
18484
|
} catch (e) {
|
|
18485
18485
|
console.warn("[canvas-renderer][pdf-export] anchor-bake pass failed (continuing):", e);
|
|
@@ -18824,4 +18824,4 @@ export {
|
|
|
18824
18824
|
collectFontDescriptorsFromConfig as y,
|
|
18825
18825
|
collectFontsFromConfig as z
|
|
18826
18826
|
};
|
|
18827
|
-
//# sourceMappingURL=index-
|
|
18827
|
+
//# sourceMappingURL=index-MJxDhnDv.js.map
|