mirror of
https://github.com/storytold/indd-utils.git
synced 2026-11-20 01:00:46 +01:00
Text attribute 0x42AE (value type 0x42DF) holds the OpenType feature of a glyph chosen from its alternates: u16 count, then per feature four tag bytes and a u32 number. IDML writes it as Properties/OpenTypeFeatures, a list of [$ID/<tag>, number]. The converter writes values with one feature and leaves out the empty lists that styles store. Evidence (docs/format/attributes.md, alternate glyphs): 127 of 127 runs in the trustworthy pairs, 11 tags; tag byte order checked on 7 big-endian files. compare.py --exclude own/: trustworthy values reproduced 28,698,890 -> 28,699,017 (+127, all CSR.P.OpenTypeFeatures gaps); extras 92,883 unchanged; no pair loses values; 0 conversion failures.