mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-27 15:31:54 +00:00
Import PDF: linked pages read the file once and keep blank pages
linkPages read and checked the whole PDF again for every page it linked. The pages are now read from the file opened once. With cropTo: bounding, a blank page stopped the open with "has no art to place"; it now gets its crop box, as opening the page as art does.
This commit is contained in:
+1
-1
@@ -1279,7 +1279,7 @@ opens at its size in points, the file's numbers times the `UserUnit` (one above
|
||||
such a page opens from that data at the page's size.
|
||||
`linkPages: true` (File › Open's Import PDF dialog: Import PDF pages as links) opens each page `pages` picks as a
|
||||
placed document linked to that page of the file, as `file.place` with `link` places one, instead of as editable art.
|
||||
Each page gets an artboard of its `cropTo` box (`bounding`: its art's bounds), in a row from the left 36 pt apart, and
|
||||
Each page gets an artboard of its `cropTo` box (`bounding`: its art's bounds; a blank page gets its crop box), in a row from the left 36 pt apart, and
|
||||
a layer named after the page (`Page 2`). The document opens in CMYK when most of those pages are painted mostly in
|
||||
CMYK, unless `colorMode` names a mode. All the pages' objects share one copy of the file. The Links panel lists each
|
||||
page, and `links.embed` makes a page editable art.
|
||||
|
||||
Reference in New Issue
Block a user