figcraft/apps/figcraft-cli/tests
YTwsy 33dcb1aef6
Refuse incomplete SVG/PDF exports beyond the depth limit (#218)
SVG and PDF exports check the visible subtree's depth before bounds or drawing and refuse, with an actionable message, a document nested past 256 levels instead of silently leaving the deep layers out; nothing partial is written, and an inner layer can still be exported. The CLI and MCP report the same error. Fixes #208.

Also: on Windows, figcraft and figcraft-cli link with an 8 MB main-thread stack (Windows gives 1 MB where Linux and macOS give 8), so an export at the depth limit no longer overflows it.

Co-authored-by: bflatastic <bflatastic@users.noreply.github.com>
2026-10-14 05:23:28 +07:00
..
cli.rs M0.9: MCP server + figcraft-cli, PDF export, web app, release/CI packaging, vector edit mode, workspace lint cleanup 2026-10-09 13:31:53 -04:00
export_depth.rs Refuse incomplete SVG/PDF exports beyond the depth limit (#218) 2026-10-14 05:23:28 +07:00
fonts.rs M7: headless renders use system fonts 2026-10-12 09:32:42 +07:00
pdf.rs M6: PDF export depth and REST conditional and variable-mode actions (#65) 2026-10-10 10:57:58 +07:00
pdf_print.rs M6: PDF print options (bleed, marks, CMYK) (#92) 2026-10-10 20:50:29 +07:00