Adjusting the space on the last line
You can adjust the space on the last line with
-ah-adjust-last-line-spacing. When adjusting with
text-align: justify, there may be a difference in the space between words on the last line and the immediately preceding line. In such a case, you can specify ‘true’ for ‘axf:adjust-last-line-spacing’ to reduce the difference in the space between the last line and the previous line. The default value is ‘false’ and does nothing. Note that this processing is applied when all the following three conditions are met: ‘text-align’ is ‘justify’; ‘text-align-last’ is not ‘justify’ and Breaking Paragraphs into Lines (BPIL) algorithms such as
-ah-line-break: bpil
-ah-adjust-last-line-spacing: false;
Lorem ipsum dolor sit amet, consectetur adipiscing. Pellentesque sapien sapien. Morbi in pharetra antesed tincidunt ni si cur sus luctus.
-ah-adjust-last-line-spacing: true;
You can specify ‘true’ to widen the word spacing on the third line so that the difference between the word spacing on the last third line and the second line immediately before is smaller.
Lorem ipsum dolor sit amet, consectetur adipiscing. Pellentesque sapien sapien. Morbi in pharetra antesed tincidunt ni si cur sus luctus.
Behavior when -ah-flush-zone is specified
-ah-flush-zone is a setting to adjust the space at the end of the last line, but if the result of adjusting the space by specifying -ah-adjust-last-line-spacing satisfies the condition of -ah-flush-zone, -ah-flush-zone will be applied
-ah-adjust-last-line-spacing: true, -ah-flush-zone: 2em;
Lorem ipsum dolor sit amet, consectetur adipiscing. Pellentesque sapien sapien. Morbi in pharetra antesed tincidunt ni si cur sus luctus.