mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-08 20:01:37 +00:00
The editing data now has the layout of the .ai files it was learned from: - Lines end in CR LF. Line breaks inside strings stay escaped. - The header adds %%For (the document's author), %%Canvassize 16383, %AI7_ImageSettings, %AI5_ArtFlags, %AI5_TargetResolution, %AI5_OpenViewLayers (a digit for each layer, 7 shown and 6 hidden) and %AI7_GridSettings (the document's grid spacing and subdivisions), in the order those files have them. - The setup starts with 0 Bn (no gradient definitions). - The palette starts with the Registration swatch: Xs in a CMYK document, Xz with black's CMYK equivalent in an RGB one. Reading the file back does not add a swatch for it. - Each layer and sublayer carries its name as an XML id in an /ArtDictionary after Ln. An object named like a layer gets a numbered id. - The LastModified dates of the PieceInfo dictionaries end in +00'00'.