[Libreoffice-bugs] [Bug 114160] ZWJ shouldn't be treated as breaking character

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Dec 1 09:51:29 UTC 2017


https://bugs.documentfoundation.org/show_bug.cgi?id=114160

--- Comment #5 from Mike Kaganski <mikekaganski at hotmail.com> ---
First, Zero-Width Joiner character is supposed to act on special character
sequences that produce connected forms [1]. In such sequences, it is not always
used between the connected characters; sometimes it's the last character in the
sequence. When it is used not adjacent to the characters that might create such
sequences, it is just a combining character, which shouldn't allow breaking
between it and the previous character, but wrapping behaviour after the ZWJ is
that of the previous character (i.e., if normally it's permitted to break line
after the previous character, then it would be possible to break after sequence
of that character and ZWJ).

As NBSP prohibits breaks before it, it should not be possible to break between
ZWJ and NBSP. Based on this, it looks like there is a problem here. I don't
confirm it because of not enough competence here.

Btw: do you possibly want to use ZWNBSP instead of ZWJ?

[1] https://en.wikipedia.org/wiki/Zero-width_joiner

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20171201/ecd2e5b9/attachment.html>


More information about the Libreoffice-bugs mailing list