Manuel Mall wrote:
a) Yes UAX#14 always breaks at the of a sequence of spaces
b) But is also says that it assumes any trailing spaces in a line are being removed This "conflicts" with XSL-FO which can force spaces being retained therefore adjustments to the algorithm are necessary to cater for that.

Computing line breaking opportunities and discarding whitespace at the
end (or beginning) of a line are different matters. If whitespace has
to be retained, trailing spaces after a non-space string may simply mean
the previous line breaking opportunity has to be used, because otherwise
the string including the trailing spaces will overflow the line area.
The trailing whitespace may also influence text justification.

J.Pietschmann

Reply via email to