mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-11 17:44:02 +00:00
When the pass that reads the document and the saved PDF preference together failed with a data error, open read the whole document a second time without the preference. A document past a read budget, or with any other data error, was then read up to the budget again before it was refused. Open now reads it again only when the first pass stopped at a pdfCompatible that is not a boolean, which it tells by reading the preference alone over the bytes up to the first pass's error position.