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)
(earliest affected)
Inherited From OOo
Hardware: x86 (IA32) All
: medium normal
Assignee: Not Assigned
Depends on:
Blocks: Formatting-Mark
  Show dependency treegraph
Reported: 2014-06-14 15:31 UTC by Simo Kaupinmäki
Modified: 2023-02-26 10:37 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:

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

Note You need to log in before you can comment on or make changes to this bug.
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):


Reproducible: always
Found in LO (on Debian stable), (on Windows), and (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 Yousuf Philips (jay) (retired) 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.
Comment 3 QA Administrators 2015-07-18 17:42:42 UTC Comment hidden (obsolete)
Comment 4 Adolfo Jayme Barrientos 2015-07-19 22:22:28 UTC
Valid enhancement still.
Comment 5 QA Administrators 2016-09-20 10:17:56 UTC Comment hidden (obsolete)
Comment 6 QA Administrators 2019-12-03 14:16:21 UTC Comment hidden (obsolete)
Comment 7 QA Administrators 2021-12-03 04:31:11 UTC Comment hidden (obsolete)
Comment 8 Martin Sourada 2023-02-26 10:37:07 UTC
Still present in:
Version: (X86_64) / LibreOffice Community
Build ID: 77cd3d7ad4445740a0c6cf977992dafd8ebad8df
CPU threads: 8; OS: Linux 6.1; UI render: default; VCL: gtk3
Locale: cs-CZ (cs_CZ.UTF-8); UI: cs-CZ
Calc: threaded