@pixldocs/canvas-renderer 0.5.147 → 0.5.148
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-NMZJF9C9.js → index-BkhtOI5W.js} +5 -5
- package/dist/{index-NMZJF9C9.js.map → index-BkhtOI5W.js.map} +1 -1
- package/dist/{index-D78ekQx5.cjs → index-Bt1m9Esp.cjs} +5 -5
- package/dist/{index-D78ekQx5.cjs.map → index-Bt1m9Esp.cjs.map} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/{vectorPdfExport-_m5TiQjK.js → vectorPdfExport-BX2pT0Zn.js} +68 -4
- package/dist/vectorPdfExport-BX2pT0Zn.js.map +1 -0
- package/dist/{vectorPdfExport-DmFmkPUr.cjs → vectorPdfExport-JGntLQJQ.cjs} +68 -4
- package/dist/vectorPdfExport-JGntLQJQ.cjs.map +1 -0
- package/package.json +1 -1
- package/dist/vectorPdfExport-DmFmkPUr.cjs.map +0 -1
- package/dist/vectorPdfExport-_m5TiQjK.js.map +0 -1
|
@@ -15956,9 +15956,9 @@ function captureFabricCanvasSvgForPdf(fabricInstance, canvasWidth, canvasHeight)
|
|
|
15956
15956
|
}
|
|
15957
15957
|
return svgString;
|
|
15958
15958
|
}
|
|
15959
|
-
const resolvedPackageVersion = "0.5.
|
|
15959
|
+
const resolvedPackageVersion = "0.5.148";
|
|
15960
15960
|
const PACKAGE_VERSION = resolvedPackageVersion;
|
|
15961
|
-
const DEPLOYMENT_VERSION_MARKER = "__PIXLDOCS_CANVAS_RENDERER_VERSION__:0.5.
|
|
15961
|
+
const DEPLOYMENT_VERSION_MARKER = "__PIXLDOCS_CANVAS_RENDERER_VERSION__:0.5.148";
|
|
15962
15962
|
const roundParityValue = (value) => {
|
|
15963
15963
|
if (typeof value !== "number") return value;
|
|
15964
15964
|
return Number.isFinite(value) ? Number(value.toFixed(3)) : value;
|
|
@@ -16393,7 +16393,7 @@ class PixldocsRenderer {
|
|
|
16393
16393
|
await this.waitForCanvasScene(container, cloned, i);
|
|
16394
16394
|
}
|
|
16395
16395
|
console.log(`[canvas-renderer][pdf-unified] mounted ${cloned.pages.length} page(s), handing off to client exportMultiPagePdf`);
|
|
16396
|
-
const { exportMultiPagePdf, preparePagesForExport } = await import("./vectorPdfExport-
|
|
16396
|
+
const { exportMultiPagePdf, preparePagesForExport } = await import("./vectorPdfExport-BX2pT0Zn.js");
|
|
16397
16397
|
const prepared = preparePagesForExport(
|
|
16398
16398
|
cloned.pages,
|
|
16399
16399
|
canvasWidth,
|
|
@@ -18495,7 +18495,7 @@ async function prepareLiveCanvasSvgForPdf(rawSvg, pageWidth, pageHeight, pageKey
|
|
|
18495
18495
|
if (options == null ? void 0 : options.stripPageBackground) stripRootPageBackgroundFromSvg(svgToDraw);
|
|
18496
18496
|
sanitizeSvgTreeForPdf(svgToDraw);
|
|
18497
18497
|
try {
|
|
18498
|
-
const { bakeTextAnchorPositionsFromLiveSvg, logTextMeasurementDiagnostic } = await import("./vectorPdfExport-
|
|
18498
|
+
const { bakeTextAnchorPositionsFromLiveSvg, logTextMeasurementDiagnostic } = await import("./vectorPdfExport-BX2pT0Zn.js");
|
|
18499
18499
|
try {
|
|
18500
18500
|
await logTextMeasurementDiagnostic(svgToDraw);
|
|
18501
18501
|
} catch {
|
|
@@ -18845,4 +18845,4 @@ export {
|
|
|
18845
18845
|
collectFontDescriptorsFromConfig as y,
|
|
18846
18846
|
collectFontsFromConfig as z
|
|
18847
18847
|
};
|
|
18848
|
-
//# sourceMappingURL=index-
|
|
18848
|
+
//# sourceMappingURL=index-BkhtOI5W.js.map
|