@pixldocs/canvas-renderer 0.5.498 → 0.5.499

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.
@@ -34373,7 +34373,7 @@ function captureFabricCanvasSvgForPdf(fabricInstance, canvasWidth, canvasHeight)
34373
34373
  }
34374
34374
  return svgString;
34375
34375
  }
34376
- const resolvedPackageVersion = "0.5.498";
34376
+ const resolvedPackageVersion = "0.5.499";
34377
34377
  const PACKAGE_VERSION = resolvedPackageVersion;
34378
34378
  async function crPhase(name, fn) {
34379
34379
  const now = () => typeof performance !== "undefined" ? performance.now() : Date.now();
@@ -34388,7 +34388,7 @@ async function crPhase(name, fn) {
34388
34388
  cur.ms += Math.round(now() - t0);
34389
34389
  }
34390
34390
  }
34391
- const DEPLOYMENT_VERSION_MARKER = "__PIXLDOCS_CANVAS_RENDERER_VERSION__:0.5.498";
34391
+ const DEPLOYMENT_VERSION_MARKER = "__PIXLDOCS_CANVAS_RENDERER_VERSION__:0.5.499";
34392
34392
  const roundParityValue = (value) => {
34393
34393
  if (typeof value !== "number") return value;
34394
34394
  return Number.isFinite(value) ? Number(value.toFixed(3)) : value;
@@ -35213,7 +35213,7 @@ class PixldocsRenderer {
35213
35213
  await crPhase("pdf_scene2", () => this.waitForCanvasScene(container, cloned, i));
35214
35214
  }
35215
35215
  console.log(`[canvas-renderer][pdf-unified] mounted ${cloned.pages.length} page(s), handing off to client exportMultiPagePdf`);
35216
- const { exportMultiPagePdf, preparePagesForExport } = await import("./vectorPdfExport-D8iQi9WT.js");
35216
+ const { exportMultiPagePdf, preparePagesForExport } = await import("./vectorPdfExport-DrdqdTij.js");
35217
35217
  const prepared = preparePagesForExport(
35218
35218
  cloned.pages,
35219
35219
  canvasWidth,
@@ -37581,7 +37581,7 @@ async function prepareLiveCanvasSvgForPdf(rawSvg, pageWidth, pageHeight, pageKey
37581
37581
  if (options == null ? void 0 : options.stripPageBackground) stripRootPageBackgroundFromSvg(svgToDraw);
37582
37582
  sanitizeSvgTreeForPdf(svgToDraw);
37583
37583
  try {
37584
- const { bakeTextAnchorPositionsFromLiveSvg, logTextMeasurementDiagnostic } = await import("./vectorPdfExport-D8iQi9WT.js");
37584
+ const { bakeTextAnchorPositionsFromLiveSvg, logTextMeasurementDiagnostic } = await import("./vectorPdfExport-DrdqdTij.js");
37585
37585
  try {
37586
37586
  await logTextMeasurementDiagnostic(svgToDraw);
37587
37587
  } catch {
@@ -37685,7 +37685,7 @@ async function assemblePdfFromSvgs(svgResults, options = {}) {
37685
37685
  format: [firstPage.width, firstPage.height],
37686
37686
  compress: true
37687
37687
  });
37688
- if (title) pdf.setProperties({ title, creator: "Pixldocs" });
37688
+ if (title) pdf.setProperties({ title, creator: "PixlDocs" });
37689
37689
  const fontBaseUrl = options.fontBaseUrl ?? (typeof window !== "undefined" ? window.location.origin + "/fonts/" : "/fonts/");
37690
37690
  const { extractFontFamiliesFromSvgs: extractFontFamiliesFromSvgs2 } = await Promise.resolve().then(() => pdfFonts);
37691
37691
  const fontFamilies = extractFontFamiliesFromSvgs2(svgResults.map((s) => s.svg));
@@ -38023,4 +38023,4 @@ export {
38023
38023
  awaitFontsForConfig as y,
38024
38024
  buildTeaserBlurFlatKeys as z
38025
38025
  };
38026
- //# sourceMappingURL=index-lbU-Xs_t.js.map
38026
+ //# sourceMappingURL=index-DV1y20kD.js.map