@pixldocs/canvas-renderer 0.5.164 → 0.5.165

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.
@@ -12078,7 +12078,7 @@ function setInTree(nodes, elementId, targetProperty, value) {
12078
12078
  }
12079
12079
  if (targetProperty === "text" && node.type === "text") {
12080
12080
  const overflowPolicy = String(node.overflowPolicy ?? "grow-and-push");
12081
- if (overflowPolicy !== "auto-shrink" && typeof node.height !== "number") {
12081
+ if (overflowPolicy !== "auto-shrink") {
12082
12082
  delete node.height;
12083
12083
  }
12084
12084
  }
@@ -15605,7 +15605,7 @@ function normalizeConfigForEC2Parity(config) {
15605
15605
  if (isStack && node.stackSpacing == null) node.stackSpacing = 8;
15606
15606
  if (node.type === "text") {
15607
15607
  const overflowPolicy = String(node.overflowPolicy ?? "grow-and-push");
15608
- if (overflowPolicy !== "auto-shrink" && typeof node.height !== "number") {
15608
+ if (overflowPolicy !== "auto-shrink") {
15609
15609
  delete node.height;
15610
15610
  }
15611
15611
  }
@@ -16018,9 +16018,9 @@ function captureFabricCanvasSvgForPdf(fabricInstance, canvasWidth, canvasHeight)
16018
16018
  }
16019
16019
  return svgString;
16020
16020
  }
16021
- const resolvedPackageVersion = "0.5.164";
16021
+ const resolvedPackageVersion = "0.5.165";
16022
16022
  const PACKAGE_VERSION = resolvedPackageVersion;
16023
- const DEPLOYMENT_VERSION_MARKER = "__PIXLDOCS_CANVAS_RENDERER_VERSION__:0.5.164";
16023
+ const DEPLOYMENT_VERSION_MARKER = "__PIXLDOCS_CANVAS_RENDERER_VERSION__:0.5.165";
16024
16024
  const roundParityValue = (value) => {
16025
16025
  if (typeof value !== "number") return value;
16026
16026
  return Number.isFinite(value) ? Number(value.toFixed(3)) : value;
@@ -16455,7 +16455,7 @@ class PixldocsRenderer {
16455
16455
  await this.waitForCanvasScene(container, cloned, i);
16456
16456
  }
16457
16457
  console.log(`[canvas-renderer][pdf-unified] mounted ${cloned.pages.length} page(s), handing off to client exportMultiPagePdf`);
16458
- const { exportMultiPagePdf, preparePagesForExport } = await import("./vectorPdfExport-C-XaAhxd.js");
16458
+ const { exportMultiPagePdf, preparePagesForExport } = await import("./vectorPdfExport-C0lD4Sum.js");
16459
16459
  const prepared = preparePagesForExport(
16460
16460
  cloned.pages,
16461
16461
  canvasWidth,
@@ -18557,7 +18557,7 @@ async function prepareLiveCanvasSvgForPdf(rawSvg, pageWidth, pageHeight, pageKey
18557
18557
  if (options == null ? void 0 : options.stripPageBackground) stripRootPageBackgroundFromSvg(svgToDraw);
18558
18558
  sanitizeSvgTreeForPdf(svgToDraw);
18559
18559
  try {
18560
- const { bakeTextAnchorPositionsFromLiveSvg, logTextMeasurementDiagnostic } = await import("./vectorPdfExport-C-XaAhxd.js");
18560
+ const { bakeTextAnchorPositionsFromLiveSvg, logTextMeasurementDiagnostic } = await import("./vectorPdfExport-C0lD4Sum.js");
18561
18561
  try {
18562
18562
  await logTextMeasurementDiagnostic(svgToDraw);
18563
18563
  } catch {
@@ -18907,4 +18907,4 @@ export {
18907
18907
  collectFontDescriptorsFromConfig as y,
18908
18908
  collectFontsFromConfig as z
18909
18909
  };
18910
- //# sourceMappingURL=index-Gj2Xgcsf.js.map
18910
+ //# sourceMappingURL=index-CQGSjfcH.js.map