mirror of
https://github.com/storytold/indd-utils.git
synced 2026-11-21 09:40:47 +01:00
Write PointSize, CharacterAki and LineAki of layout grids whatever their value: the corpus now has pages and named grids with other values, all equal to the IDML. Read the flag before the grid's font style (1 = built-in key, $ID/). Named grids take their own chunk 0xCD02 when they have one (grids made by the user), otherwise the document's layout grid preference, which the built-in [Page Grid] equals in 803 of 803 pairs; before, they took the pages' grid. One reader now decodes the grid layout for pages, named grids and the preferences. Evidence in objects.md. compare.py --exclude own/, trustworthy pairs: coverage 98.12 % -> 98.14 % (+2,418 values: page PointSize and LineAki 875 each, page FontStyle 44, named grids +624 including 32 more elements, 47 wrong values fixed), documents >= 99 % 182 -> 184; all pairs 96.26 % -> 96.28 %. Extras unchanged (8,968), no new failures or warnings, schema failures 0 on pairs. diff_outputs.py: 663 outputs differ, in the grids of pages, master pages, named grids and the two grid preferences.