Files
vectorcraft/crates/engine
dotCooCoo 81faa1787d PDF export: warn when art at the trim edge stops short of the bleed
When a PDF page carries a bleed (a PDF/X preset, bleed.useDocument or an
explicit bleed), the export now adds one warning that counts the objects
that reach an artboard's trim edge (within 0.5 pt) on a side whose bleed
is more than 0.5 pt but end before that side's bleed edge. Hidden
objects, guides, unpainted paths and objects at 0% opacity are left out.
Objects with brushed strokes or an opacity mask, area type, type on a
path, and groups that hold one of them are not measured. Template
layers, layers with an opacity mask, and layers that don't print unless
includeNonPrinting is on are left out. Clip groups and clipping layers
are measured by the art inside the clipping path's geometric bounds and
by the fill and stroke the clipping path paints itself. Art and page
boxes are written unchanged.

When OK in File > Document Setup raises the bleed on a side, the status
bar counts the objects that stop short of the new bleed on the sides OK
raised. A page of the art's bounds does not warn, and neither does an
Export for Screens PDF row when Include Bleed grows the artboards or the
page holds assets, layers or a selection. .ai saves do not warn.

The message has a row in every catalog; docs/mcp.md and the exportPdf
params text describe the check.
2026-11-15 17:59:49 -08:00
..