Bug 80027 - Word joiner (U+2060) after space (U+0020) should prevent a line break
Summary: Word joiner (U+2060) after space (U+0020) should prevent a line break
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version: 3.5.4 release
Hardware: x86 (IA32) All
: medium normal
Assignee: Not Assigned
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-14 15:31 UTC by Simo Kaupinmäki
Modified: 2014-06-16 10:41 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
A set of test cases (14.39 KB, application/vnd.oasis.opendocument.text)
2014-06-14 15:33 UTC, Simo Kaupinmäki
Details

Description Simo Kaupinmäki 2014-06-14 15:31:32 UTC
A word joiner (U+2060) added directly before or after a regular space (U+0020) should cancel the line break opportunity normally offered by the space. This seems to be the case if a word joiner is positioned directly before a space. However, if the word joiner is positioned directly after the space, LO allows a line break (unless the previous word is the first word in the paragraph and not hyphenated). In addition, if a word joiner is added both before and after the space, the first word joiner seems to have no effect at all.

After a thin space (U+2009), a word joiner properly prevents a line break from happening.

The correct non-breaking behaviour of WJ × SP or SP × WJ can be verified in the Line Break Chart of the Unicode standard (version 6.3.0):

http://www.unicode.org/Public/UNIDATA/auxiliary/LineBreakTest.html

Reproducible: always
Found in LO 3.5.4.2 (on Debian stable), 4.2.4.2 (on Windows), and 4.3.0.0.beta2 (on both Debian and Windows)

See bug 57652 for further discussion about word joiner. The issue described there looks a little more complicated, but these issues may be related.

(Bug 80000 may also be related as regards the different line-breaking behaviour of the first word in the paragraph.)
Comment 1 Simo Kaupinmäki 2014-06-14 15:33:39 UTC
Created attachment 101052 [details]
A set of test cases
Comment 2 Jay Philips 2014-06-14 22:18:59 UTC
Confirmed on Linux Mint with 4.2.4. This is similar to bug 80000, though that bug did feature U+2010 and not U+2009.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.