mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-15 05:55:32 +00:00
Files saved for version 11 write the keys of their text document by name (/DocumentResources, /FontSet, /StreamTag) and the kinds of its strikes by their long names (/FrameStrike). The reader found no stories in them, so their text objects were filled with the page's type in painting order: type outside the artboards was lost, and type on them could land in another text object. The keys the reader uses now get their numbers from the dictionary they sit in, from the root down, before the document is read. A run whose style is written by name as a style's number takes that style. Files saved for later versions that write a newer key by name among the numbered ones (a font record's VersionString, a paragraph's ParagraphDirection) have those keys read too.