vectorcraft/xtask/src
Reinhard Schuerer 79dd751d3b Draw non-native art in .ai editing data from its PDF
A /ForeignObject (non-native art: the content of a placed PDF, which
Illustrator shows but doesn't edit) was left out with a note. The
letterhead of #861 keeps its fan of swooshes that way: a radial gradient
in a 3-point PDF, scaled 271 times and clipped by the swoosh paths, so
the page lost its main graphic.

The reader now decodes the object's ASCII85 /Data, has the PDF importer
read the PDF, and fits its art to the object's box as a group named
"Non-native art": /Bounds measured from /Origin with y down, then
/RTransform, which lands exactly on the clipping paths around both
objects of that file; the PDF's content is kept in its own y-up
coordinates, so it is flipped into the box. Ids are the document's and
the PDF's swatches stay unlinked; its images join the document by
content key. A PDF that can't be read is left out with a note, as
before.

The EPS crate now uses the PDF crate (same layer; allowed in the layer
check like render and metafile).

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017ZwZjADUZP4VzvrFGpiZch
2026-10-10 17:58:55 +07:00
..
affinity_corpus.rs AF.4: validate and harden Affinity 3 artboards, text and images 2026-10-09 13:45:55 +00:00
assets.rs M4.10: neutral file, preference and MCP wording; vendor-name CI gate 2026-10-04 11:47:28 +07:00
brands.rs Docs: name the reference app again in ROADMAP and docs/mcp.md 2026-10-04 23:19:45 +07:00
bundle.rs Fix #295: open files from the macOS Finder and Dock 2026-10-08 05:28:50 +07:00
ico.rs app icon: regal engraved dragon (owner's ArtCraft drawing), Dock/taskbar/launcher wiring, palette docs 2026-10-02 09:45:30 -04:00
layers.rs Draw non-native art in .ai editing data from its PDF 2026-10-10 17:58:55 +07:00
main.rs build(web): copy web fonts with cargo xtask, not sh 2026-10-09 17:18:54 +03:00
sha256.rs Clippy 1.99: use as_chunks for constant-size chunks, and say the gate targets the latest stable 2026-10-09 10:43:23 -04:00
stats.rs M2/M8/M9/M4.4: drawing + transform tools, live effects, PDF export/import, file/batch commands; UI restyled to measured Illustrator metrics (Medium Dark, categorized toolbar, hint bar, task bar, Layers) 2026-09-30 06:55:49 -04:00
version.rs CI: cargo fmt xtask/src/version.rs (the fmt gate failed on main) 2026-10-04 10:23:06 +07:00
web_fonts.rs build(web): copy web fonts with cargo xtask, not sh 2026-10-09 17:18:54 +03:00