PDF export: the art-bounds warning appears only with Preserve Editing on

A PDF of the art's bounds never carries Preserve Editing data, and the
export adds its warning only when Preserve Editing was on. docs/mcp.md
and the document.exportPdf params text now say so.
This commit is contained in:
dotCooCoo
2026-11-12 15:41:04 -08:00
parent cfff971d06
commit 5beed58f0f
2 changed files with 3 additions and 2 deletions
File diff suppressed because one or more lines are too long
+2 -1
View File
@@ -956,7 +956,8 @@ or `range`), named `<file>-<artboard>.<ext>`, and returns `{path, files}` (a PDF
SVG writes one file per artboard of a `range`); `useArtboards: false` exports the bounds of the visible art with what
its effects paint, the effects of groups, type and images included. `artboard.fitToArt` measures the art the same
way. `document.exportPdf {useArtboards: false}` writes that one page as well, and ignores `artboard`, `artboards` and
`range`. A PDF of that page, from either command, carries no Preserve Editing data and comes back with a warning.
`range`. A PDF of that page, from either command, carries no Preserve Editing data; when Preserve Editing is on (as it
is in VectorCraft Default), the export comes back with a warning that says so.
Export As PDF continues in the Save PDF dialog with Use Artboards on or off; with it off, the dialog has no
Artboards section and the page is the bounds of the visible art.