mirror of
https://github.com/storytold/indd-utils.git
synced 2026-11-19 16:50:48 +01:00
Read class 0x660B (text kept from a placed EPS or PDF graphic) as a page item and write it as EPSText: ItemTransform, PathBoundingBox (chunk 0x154), EPSTextData (chunk 0x6611 in big-endian order without two tail fields, base64), EPSTextAttributeBounds (chunk 0x6612) and the text wrap. element_values.py collects the EPSText values every element has. compare.py --exclude own/: - trustworthy 97.72% -> 97.90% (+22,108 values; EPSText 633 of 633 elements, with transform, bounds, text data and text wrap all equal) - all pairs 95.89% -> 96.02% - extra values unchanged in trustworthy pairs (26,256); all pairs 304,533 -> 305,985: 1 stale pair whose IDML lacks its EPS text - not yet reproduced: EPSText StrokeType (634), OverprintFill (33), StrokeDashAndGap (7)