mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-14 18:16:01 +00:00
When the layers with their live envelopes didn't draw as the page, and didn't with the drawn art of every live envelope put back either, every envelope of type got its drawn art back wherever the layers were still used: the editing data trusted, the objects that differ coming in as the page's art, or a .ai whose layers would open alone opening alone. Art that differed anywhere on the page cost every envelope of type its editable type, though putting its drawn art back changed nothing. Now each envelope of type is weighed in the page check's own drawing, on the pixels that it and its drawn art ink (the two drawn together on a layer of their own, without the rest of the layers). It keeps its drawn art and hidden type where the layers with it differ from the page in more of those pixels than its own check allows against its drawn art (10%, or 3% with all their neighbours), or where the envelopes that stay live would together differ there in more of a page than half of what the page check allows (a budget of its own, the same size as the one their own checks share). Art differing on its pixels still holds it. It also keeps its drawn art, as before, where the layers don't draw it where it is and as itself, on the page or off it: under a clip or an opacity mask, in a group with an appearance of its own, or in another envelope, a repeat or a blend. Another envelope on no page stays live, except on a page that holds all the art (an EPS's art box), where one reaching past the page keeps its drawn art. Past 12 on the pages, all keep it. A .ai whose layers would open alone still opens alone: its envelopes of type are settled again as they were with the page, in the same order and with the same checks, so each that opens live draws as it was weighed, and those the page held get their drawn art back. Where the differing objects are to come in as the page's art and can't with envelopes of type live (an object that holds type isn't replaced), every envelope of type gets its drawn art back and that is tried again, as before. Where putting back the drawn art of every live envelope makes the layers draw as the page, it is still put back. On 224 of our own files (used locally), envelopes of type that open live go from 174 to 186 in 8 files, none fewer; no file changes between its layers and its PDF part. Part of #3179. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>