mirror of
https://github.com/storytold/indd-utils.git
synced 2026-11-20 01:00:46 +01:00
The byte after the string tag is a script code in some strings, not always 0. Read a layer name at offset 19 of chunk 0x304 when the tag is there, accept any second byte in find_string and in the style GUID pattern. Evidence in objects.md. compare.py --exclude own/, trustworthy pairs: coverage 98.10 % -> 98.11 % (+912 values): Layer Name 188 wrong -> 0, StyleUniqueId +479 paragraph and +245 character styles, 4 more styles whose IDML GUID differs from the stored one (a known kind). All pairs 96.24 % -> 96.25 %. Extras unchanged (8,968), no new failures or warnings, schema failures 0 on pairs. diff_outputs.py: 383 outputs differ: 455 layer names that were empty now have their name (346 files), and 1,538 styles gain StyleUniqueId. No other change.