mirror of
https://github.com/storytold/indd-utils.git
synced 2026-11-19 16:50:48 +01:00
Write TextPreference UseCidMojikumi and UseNewVerticalScaling from bytes 168 and 170 of preferences chunk 0x280 when they are equal (803 of 803 pairs). Write BaselineFrameGridColor in the preferences and in every object style by an observed rule over stored data: the interface colour of chunk 0x2834 (u32 at 20) when not 0, otherwise Charcoal if byte 168 of chunk 0x280 is 1 and LightBlue if it is 0 (803 of 803 pairs). Evidence in preferences.md. compare.py --exclude own/, trustworthy pairs: coverage 98.15 % -> 98.16 % (wrong values fixed: object style colours 581, preference colour 132, UseCidMojikumi and UseNewVerticalScaling 129 each), documents >= 99 % 184 -> 187; all pairs 96.29 % -> 96.30 %. Extras unchanged (8,968), no new failures or warnings, schema failures 0 on pairs. diff_outputs.py: 4,077 outputs differ, only in Resources/Preferences.xml and Resources/Styles.xml: the two text preferences now come from the INDD (order of attributes; values change where byte 168 is 1), and the colour changes where the rule gives Charcoal.