@pixldocs/canvas-renderer 0.5.413 → 0.5.414
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-xSOFCztI.cjs → index-CzyHWKIb.cjs} +7 -12
- package/dist/index-CzyHWKIb.cjs.map +1 -0
- package/dist/{index-BTyRFQIc.js → index-DMA8h19g.js} +7 -12
- package/dist/index-DMA8h19g.js.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/{vectorPdfExport-dyKsZkp-.js → vectorPdfExport-DaYe9eLB.js} +4 -4
- package/dist/{vectorPdfExport-dyKsZkp-.js.map → vectorPdfExport-DaYe9eLB.js.map} +1 -1
- package/dist/{vectorPdfExport-2r6G4ALY.cjs → vectorPdfExport-f5bQ2qJF.cjs} +4 -4
- package/dist/{vectorPdfExport-2r6G4ALY.cjs.map → vectorPdfExport-f5bQ2qJF.cjs.map} +1 -1
- package/package.json +1 -1
- package/dist/index-BTyRFQIc.js.map +0 -1
- package/dist/index-xSOFCztI.cjs.map +0 -1
|
@@ -14628,13 +14628,8 @@ const PageCanvas = forwardRef(
|
|
|
14628
14628
|
const asRect0 = obj.getBoundingRect();
|
|
14629
14629
|
let didReflowTextChild = false;
|
|
14630
14630
|
for (const child of obj.getObjects()) {
|
|
14631
|
-
|
|
14632
|
-
|
|
14633
|
-
if (isRotatedChild) {
|
|
14634
|
-
if (child.__asLiveOrigAngle == null) {
|
|
14635
|
-
child.__asLiveOrigAngle = child.angle ?? 0;
|
|
14636
|
-
}
|
|
14637
|
-
continue;
|
|
14631
|
+
if (child.__asLiveOrigAngle == null) {
|
|
14632
|
+
child.__asLiveOrigAngle = child.angle ?? 0;
|
|
14638
14633
|
}
|
|
14639
14634
|
if (child instanceof fabric.Group && (child.__cropGroup || ((_k = child._ct) == null ? void 0 : _k.isCropGroup))) {
|
|
14640
14635
|
const ct = child.__cropData;
|
|
@@ -25522,9 +25517,9 @@ function captureFabricCanvasSvgForPdf(fabricInstance, canvasWidth, canvasHeight)
|
|
|
25522
25517
|
}
|
|
25523
25518
|
return svgString;
|
|
25524
25519
|
}
|
|
25525
|
-
const resolvedPackageVersion = "0.5.
|
|
25520
|
+
const resolvedPackageVersion = "0.5.414";
|
|
25526
25521
|
const PACKAGE_VERSION = resolvedPackageVersion;
|
|
25527
|
-
const DEPLOYMENT_VERSION_MARKER = "__PIXLDOCS_CANVAS_RENDERER_VERSION__:0.5.
|
|
25522
|
+
const DEPLOYMENT_VERSION_MARKER = "__PIXLDOCS_CANVAS_RENDERER_VERSION__:0.5.414";
|
|
25528
25523
|
const roundParityValue = (value) => {
|
|
25529
25524
|
if (typeof value !== "number") return value;
|
|
25530
25525
|
return Number.isFinite(value) ? Number(value.toFixed(3)) : value;
|
|
@@ -26338,7 +26333,7 @@ class PixldocsRenderer {
|
|
|
26338
26333
|
await this.waitForCanvasScene(container, cloned, i);
|
|
26339
26334
|
}
|
|
26340
26335
|
console.log(`[canvas-renderer][pdf-unified] mounted ${cloned.pages.length} page(s), handing off to client exportMultiPagePdf`);
|
|
26341
|
-
const { exportMultiPagePdf, preparePagesForExport } = await import("./vectorPdfExport-
|
|
26336
|
+
const { exportMultiPagePdf, preparePagesForExport } = await import("./vectorPdfExport-DaYe9eLB.js");
|
|
26342
26337
|
const prepared = preparePagesForExport(
|
|
26343
26338
|
cloned.pages,
|
|
26344
26339
|
canvasWidth,
|
|
@@ -28658,7 +28653,7 @@ async function prepareLiveCanvasSvgForPdf(rawSvg, pageWidth, pageHeight, pageKey
|
|
|
28658
28653
|
if (options == null ? void 0 : options.stripPageBackground) stripRootPageBackgroundFromSvg(svgToDraw);
|
|
28659
28654
|
sanitizeSvgTreeForPdf(svgToDraw);
|
|
28660
28655
|
try {
|
|
28661
|
-
const { bakeTextAnchorPositionsFromLiveSvg, logTextMeasurementDiagnostic } = await import("./vectorPdfExport-
|
|
28656
|
+
const { bakeTextAnchorPositionsFromLiveSvg, logTextMeasurementDiagnostic } = await import("./vectorPdfExport-DaYe9eLB.js");
|
|
28662
28657
|
try {
|
|
28663
28658
|
await logTextMeasurementDiagnostic(svgToDraw);
|
|
28664
28659
|
} catch {
|
|
@@ -29058,4 +29053,4 @@ export {
|
|
|
29058
29053
|
buildTeaserBlurFlatKeys as y,
|
|
29059
29054
|
collectFontDescriptorsFromConfig as z
|
|
29060
29055
|
};
|
|
29061
|
-
//# sourceMappingURL=index-
|
|
29056
|
+
//# sourceMappingURL=index-DMA8h19g.js.map
|