mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-19 17:58:10 +00:00
Version 2 files (markers m and l) start their settings after a 1-bit picture, so the page box is read two bytes after the settings offset in the header, and their drawn objects keep the fill at byte 105 and the shape at 136. Files with the marker l flag drawn objects 0xc0 and are now read; the marker d, which no sample shows, is refused. A record that does not start with 24, or a drawn object of an unknown type, ends the walk instead of reading the bytes after it as records. A rectangle's radius follows its height directly. A layer's kind comes from the object type in its own loda (11 grid, 12 guides, 17 desktop), so drawing layers flagged 0x10 or 0x08 are no longer dropped or taken for the desktop. Object type 0x25 is read as a path from version 10, and arrowhead ids are looked for from version 6. PROVENANCE.md now cites the Kaitai specification, the ZIP specification, the file utility's magic, PRONOM and the public sample files whose bytes each row was checked against.