mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-17 23:52:58 +00:00
When the import refuses a file's PDF part and its editing data can't be read either, the error named only the PDF part. It now adds "its editing data couldn't be read either (<why>)", as layers already do (crates/eps/src/import.rs). The reasons come from the editing data reader (a size limit, damaged compression) and from the private data streams (larger than 256 MB, another filter or decode parameters, damaged zlib data). A file without editing data, and an open with pages picked, layers off or the editing data off, keep the PDF part's error. Part of #4366.