@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.
@@ -34391,7 +34391,7 @@ function captureFabricCanvasSvgForPdf(fabricInstance, canvasWidth, canvasHeight)
34391
34391
  }
34392
34392
  return svgString;
34393
34393
  }
34394
- const resolvedPackageVersion = "0.5.498";
34394
+ const resolvedPackageVersion = "0.5.499";
34395
34395
  const PACKAGE_VERSION = resolvedPackageVersion;
34396
34396
  async function crPhase(name, fn) {
34397
34397
  const now = () => typeof performance !== "undefined" ? performance.now() : Date.now();
@@ -34406,7 +34406,7 @@ async function crPhase(name, fn) {
34406
34406
  cur.ms += Math.round(now() - t0);
34407
34407
  }
34408
34408
  }
34409
- const DEPLOYMENT_VERSION_MARKER = "__PIXLDOCS_CANVAS_RENDERER_VERSION__:0.5.498";
34409
+ const DEPLOYMENT_VERSION_MARKER = "__PIXLDOCS_CANVAS_RENDERER_VERSION__:0.5.499";
34410
34410
  const roundParityValue = (value) => {
34411
34411
  if (typeof value !== "number") return value;
34412
34412
  return Number.isFinite(value) ? Number(value.toFixed(3)) : value;
@@ -35231,7 +35231,7 @@ class PixldocsRenderer {
35231
35231
  await crPhase("pdf_scene2", () => this.waitForCanvasScene(container, cloned, i));
35232
35232
  }
35233
35233
  console.log(`[canvas-renderer][pdf-unified] mounted ${cloned.pages.length} page(s), handing off to client exportMultiPagePdf`);
35234
- const { exportMultiPagePdf, preparePagesForExport } = await Promise.resolve().then(() => require("./vectorPdfExport-6Hi7Og4W.cjs"));
35234
+ const { exportMultiPagePdf, preparePagesForExport } = await Promise.resolve().then(() => require("./vectorPdfExport-D_CxvBL-.cjs"));
35235
35235
  const prepared = preparePagesForExport(
35236
35236
  cloned.pages,
35237
35237
  canvasWidth,
@@ -37599,7 +37599,7 @@ async function prepareLiveCanvasSvgForPdf(rawSvg, pageWidth, pageHeight, pageKey
37599
37599
  if (options == null ? void 0 : options.stripPageBackground) stripRootPageBackgroundFromSvg(svgToDraw);
37600
37600
  sanitizeSvgTreeForPdf(svgToDraw);
37601
37601
  try {
37602
- const { bakeTextAnchorPositionsFromLiveSvg, logTextMeasurementDiagnostic } = await Promise.resolve().then(() => require("./vectorPdfExport-6Hi7Og4W.cjs"));
37602
+ const { bakeTextAnchorPositionsFromLiveSvg, logTextMeasurementDiagnostic } = await Promise.resolve().then(() => require("./vectorPdfExport-D_CxvBL-.cjs"));
37603
37603
  try {
37604
37604
  await logTextMeasurementDiagnostic(svgToDraw);
37605
37605
  } catch {
@@ -37703,7 +37703,7 @@ async function assemblePdfFromSvgs(svgResults, options = {}) {
37703
37703
  format: [firstPage.width, firstPage.height],
37704
37704
  compress: true
37705
37705
  });
37706
- if (title) pdf.setProperties({ title, creator: "Pixldocs" });
37706
+ if (title) pdf.setProperties({ title, creator: "PixlDocs" });
37707
37707
  const fontBaseUrl = options.fontBaseUrl ?? (typeof window !== "undefined" ? window.location.origin + "/fonts/" : "/fonts/");
37708
37708
  const { extractFontFamiliesFromSvgs: extractFontFamiliesFromSvgs2 } = await Promise.resolve().then(() => pdfFonts);
37709
37709
  const fontFamilies = extractFontFamiliesFromSvgs2(svgResults.map((s) => s.svg));
@@ -38038,4 +38038,4 @@ exports.setAutoShrinkDebug = setAutoShrinkDebug;
38038
38038
  exports.setBundledAssetPrefixes = setBundledAssetPrefixes;
38039
38039
  exports.warmResolvedTemplateForPreview = warmResolvedTemplateForPreview;
38040
38040
  exports.warmTemplateFromForm = warmTemplateFromForm;
38041
- //# sourceMappingURL=index-CUZInOyk.cjs.map
38041
+ //# sourceMappingURL=index-BgLKkRdm.cjs.map