mirror of
https://github.com/storytold/indd-utils.git
synced 2026-11-19 16:50:48 +01:00
- GREP styles (0x1BBA) and line styles (0x1BBB) are decoded and written as AllGREPStyles and AllLineStyles on styles, text defaults and paragraph ranges; empty lists are not written. - Nested style delimiters (^c), ^t, ^L, ^p, ^9 and ^S in brackets map to Dropcap, Tabs, Repeat, EndNestedStyle, Digits and Sentence. - An AppliedFont whose family name (with <hhhh> escapes decoded) is a composite font's name is written as CompositeFont/<name>, except in character styles, which keep the name. compare.py --exclude own/, trustworthy pairs: ParagraphStyle AllGREPStyles 152/152, TextDefault 48/48, text ranges 320/320, AllLineStyles 6/6 and 9/9, ParagraphStyle AllNestedStyles 54 -> 124/124, TextDefault 4 -> 10/10, ParagraphStyle AppliedFont 4,664 -> 4,803/4,804, TextDefault 1,232 -> 1,250/1,251, text ranges 84,909 -> 85,587/85,587. No new extra values; no pair loses values.