https://bugs.freedesktop.org/show_bug.cgi?id=57652

stfhell <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #6 from stfhell <[email protected]> ---
Like Roman, I think that handling of U+00A0 and U+2060 are not really related,
though U+2060 indeed provides a good way for someone who wishes to keep U+00A0
Word-compatible _and _ wishes to have a flexible-width non-breaking space. But
getting a real, working WJ shouldn't prevent users from using a real Unicode
nonbreaking space.

I was trying to find out how one could use WJ in a Unicode compliant way with
spaces. Of course, strictly speaking, one shouldn't use it with SP: "The word
joiner can be used to prevent line breaking with other characters that do not
have nonbreaking variants, such as U+2009 thin space or U+2015 horizontal bar,
by bracketing the character." (Unicode 6.2, p. 546) SP U+0020 actually has a
nonbreaking variant (U+00A0)... (But U+2009 also has: U+202F - so the Unicode
Consortium might have become a little confused about spaces, or they might have
created U+202F more with Asian writing systems in mind.)

The quoted passage seems to indicate that WJ should "bracket" a normally
breaking space to get a nonbreaking variant:

WJ + U+2009 + WJ

On the other hand, SP has a line-breaking behaviour that differs from other
spaces: "In particular, when NO-BREAK SPACE follows SPACE, there is a break
opportunity after the SPACE and the NO-BREAK SPACE will go as visible space
onto the next line. [...] When SPACE follows NO-BREAK SPACE, there is no break,
because there never is a break in front of SPACE."
(http://www.unicode.org/reports/tr14/tr14-30.html#GL) So it seems that

SP + WJ

would be enough in the case of SP U+0020.

If compatibility with old-fashioned word processors like Word (or, of course,
LibreOffice/OpenOffice) is what makes using U+00A0 in a Unicode compliant way
difficult, WJ is no practical solution as well. Word displays it as a box
character, and treats it exactly like that (as a "break wherever you please"
box). But of course, LO should correctly support WJ anyway, wherever people use
it.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to