mirror of
https://github.com/storytold/designcraft.git
synced 2026-10-27 11:46:51 -06:00
The first-line indent was added to the left indent whatever the paragraph's direction, so a right-to-left paragraph's first line moved the wrong way. With the hanging indent a numbered list uses — right indent 10 mm, first line −10 mm — the first line went 10 mm outside the frame on the left while the wrapped lines sat where it should have been. It is the paragraph's start-side indent, which is the right one in a right-to-left paragraph; the drop-cap case beside it already made that distinction. Measured on a 200 pt column with that hanging indent: first line right edge 200 (the frame's edge, as InDesign sets it) wrapped right edge 171.65 (10 mm in) every line left edge >= 0 (nothing outside the frame) and the same paragraph left to right is unchanged, first line at 0 and wrapped lines 10 mm in. The test checks both directions; the right-to-left half fails without the change. 359 composition tests pass unchanged.