mirror of
https://github.com/storytold/wordcraft.git
synced 2026-11-06 18:51:26 +00:00
LibreOffice sizes a line holding only in-line pictures by the pictures alone. Its font's ascent and descent don't count: measured in LibreOffice, a 3.6 pt rule's line is 3.6 pt, where WordCraft (following Word) made it 15.5 pt. - A new document setting, `Settings::object_lines_fit_objects`, makes the layout size such lines by the pictures alone. The ODT reader turns it on, so other documents keep Word's layout. An equation or any text on the line keeps the font's height. - A document with no page layout at all (no styles.xml) opened on Word's Letter page with 1 inch margins. It now uses the region's paper with LibreOffice's 2 cm margins. WordCraft's own rendering of LibreOffice's elegant agenda comes close to LibreOffice's: its pixel difference halves, from 17,428 to about 8,950. Across the corpus WordCraft's rendering difference falls from 487k to 469k. No document gets worse, and round trips are unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GBVQLyDnrG8Tn1yDQcUabC