mirror of
https://github.com/storytold/indd-utils.git
synced 2026-11-19 16:50:48 +01:00
Every composite font is written, in UID order. Chunk 0xCB02 is read as four flagged strings, a u32, a u16 and the entry list, which ends the chunk; the count search remains for other layouts (it took a wrong position in one 12.1 document). Entries get RelativeSize and BaselineShift (the first two f64), HorizontalScale and VerticalScale, Locked from the u16 after the numbers (204 false), and no CustomCharacters on the first entry of each font, the base font (1,434 of 1,434). Text attribute 0x1BFA is ParagraphBorderGapColor, 0 being Swatch/None. Evidence in fonts.md and attributes.md. compare.py --exclude own/, trustworthy pairs: 97.84 % -> 97.91 % (+17,964 values, 0 lost on any key); CompositeFontEntry 7,306 -> 8,589 of 8,589 elements (AppliedFont 8,553: one document whose IDML names its families in English), CompositeFont 1,434 of 1,434, TextRange PSR.P.ParagraphBorderGapColor 0 -> 2,745 of 2,745. Extras 93,569 -> 93,520: the 49 CustomCharacters extras are gone.