@pixldocs/canvas-renderer 0.5.118 → 0.5.120

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.
@@ -15645,7 +15645,7 @@ function PixldocsPreview(props) {
15645
15645
  !canvasSettled && /* @__PURE__ */ jsx("div", { style: { position: "absolute", inset: 0, display: "flex", alignItems: "center", justifyContent: "center", minHeight: 200 }, children: /* @__PURE__ */ jsx("div", { style: { color: "#888", fontSize: 14 }, children: "Loading preview..." }) })
15646
15646
  ] });
15647
15647
  }
15648
- const PACKAGE_VERSION = "0.5.118";
15648
+ const PACKAGE_VERSION = "0.5.120";
15649
15649
  const roundParityValue = (value) => {
15650
15650
  if (typeof value !== "number") return value;
15651
15651
  return Number.isFinite(value) ? Number(value.toFixed(3)) : value;
@@ -16064,7 +16064,7 @@ class PixldocsRenderer {
16064
16064
  await this.waitForCanvasScene(container, cloned, i);
16065
16065
  }
16066
16066
  console.log(`[canvas-renderer][pdf-unified] mounted ${cloned.pages.length} page(s), handing off to client exportMultiPagePdf`);
16067
- const { exportMultiPagePdf, preparePagesForExport } = await import("./vectorPdfExport-CJd8RINw.js");
16067
+ const { exportMultiPagePdf, preparePagesForExport } = await import("./vectorPdfExport-CxWPJs_l.js");
16068
16068
  const prepared = preparePagesForExport(
16069
16069
  cloned.pages,
16070
16070
  canvasWidth,
@@ -18259,7 +18259,7 @@ async function assemblePdfFromSvgs(svgResults, options = {}) {
18259
18259
  }
18260
18260
  if (shouldOutlineText) {
18261
18261
  try {
18262
- const { convertAllTextToPath } = await import("./svgTextToPath-FrpfjI8G.js");
18262
+ const { convertAllTextToPath } = await import("./svgTextToPath-DR7QIEWZ.js");
18263
18263
  pageSvg = await convertAllTextToPath(pageSvg, fontBaseUrl, { mode: outlineSubMode });
18264
18264
  try {
18265
18265
  dumpSvgTextDiagnostics(pageSvg, i, PARITY_TAG, "STAGE-1b-after-text-to-path-raw");
@@ -18420,30 +18420,31 @@ function setAutoShrinkDebug(enabled) {
18420
18420
  }
18421
18421
  export {
18422
18422
  API_URL as A,
18423
- dumpSvgTextDiagnostics as B,
18424
- embedFont as C,
18425
- embedFontsForConfig as D,
18426
- embedFontsInPdf as E,
18423
+ configHasAutoShrinkText$1 as B,
18424
+ dumpSvgTextDiagnostics as C,
18425
+ embedFont as D,
18426
+ embedFontsForConfig as E,
18427
18427
  FONT_FALLBACK_DEVANAGARI as F,
18428
- ensureFontsForResolvedConfig as G,
18429
- extractFontFamiliesFromSvgs as H,
18430
- getEmbeddedJsPDFFontName as I,
18431
- isBundledAssetUrl as J,
18432
- isFontAvailable as K,
18433
- isPrivateUrl as L,
18434
- loadGoogleFontCSS as M,
18435
- normalizeFontFamily as N,
18436
- resolveFontWeight as O,
18428
+ embedFontsInPdf as G,
18429
+ ensureFontsForResolvedConfig as H,
18430
+ extractFontFamiliesFromSvgs as I,
18431
+ getEmbeddedJsPDFFontName as J,
18432
+ isBundledAssetUrl as K,
18433
+ isFontAvailable as L,
18434
+ isPrivateUrl as M,
18435
+ loadGoogleFontCSS as N,
18436
+ normalizeFontFamily as O,
18437
18437
  PACKAGE_VERSION as P,
18438
- resolveFromForm as Q,
18439
- resolveTemplateData as R,
18440
- rewriteSvgFontsForJsPDF as S,
18438
+ resolveFontWeight as Q,
18439
+ resolveFromForm as R,
18440
+ resolveTemplateData as S,
18441
18441
  TRIANGLE_STROKE_MITER_LIMIT as T,
18442
- setAutoShrinkDebug as U,
18443
- setBundledAssetPrefixes as V,
18444
- warmResolvedTemplateForPreview as W,
18445
- warmTemplateFromForm as X,
18446
- canvasImageLoader as Y,
18442
+ rewriteSvgFontsForJsPDF as U,
18443
+ setAutoShrinkDebug as V,
18444
+ setBundledAssetPrefixes as W,
18445
+ warmResolvedTemplateForPreview as X,
18446
+ warmTemplateFromForm as Y,
18447
+ canvasImageLoader as Z,
18447
18448
  getAbsoluteBounds as a,
18448
18449
  getProxiedImageUrl as b,
18449
18450
  bakeEdgeFade as c,
@@ -18459,16 +18460,16 @@ export {
18459
18460
  FONT_FALLBACK_MATH as m,
18460
18461
  normalizeShapeType as n,
18461
18462
  FONT_FALLBACK_SYMBOLS as o,
18462
- FONT_FILES as p,
18463
- PixldocsPreview as q,
18463
+ parseTextMarkdown as p,
18464
+ FONT_FILES as q,
18464
18465
  renderSmartElementToSvg as r,
18465
- PixldocsRenderer as s,
18466
- applyThemeToConfig as t,
18467
- assemblePdfFromSvgs as u,
18468
- awaitFontsForConfig as v,
18469
- collectFontDescriptorsFromConfig as w,
18470
- collectFontsFromConfig as x,
18471
- collectImageUrls as y,
18472
- configHasAutoShrinkText$1 as z
18466
+ PixldocsPreview as s,
18467
+ PixldocsRenderer as t,
18468
+ applyThemeToConfig as u,
18469
+ assemblePdfFromSvgs as v,
18470
+ awaitFontsForConfig as w,
18471
+ collectFontDescriptorsFromConfig as x,
18472
+ collectFontsFromConfig as y,
18473
+ collectImageUrls as z
18473
18474
  };
18474
- //# sourceMappingURL=index-LbVR8GZp.js.map
18475
+ //# sourceMappingURL=index-Dm9AEQy0.js.map