Bug 35907 - [FORMATTING] Using numbers with RTL text breaks underline
Summary: [FORMATTING] Using numbers with RTL text breaks underline
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected)
Inherited From OOo
Hardware: x86-64 (AMD64) All
: low normal
Assignee: Not Assigned
Depends on:
Blocks: RTL-CTL
  Show dependency treegraph
Reported: 2011-04-02 08:18 UTC by Shimi Chen
Modified: 2020-02-29 10:10 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:

Some underlined Hebrew text with a number. (10.42 KB, application/vnd.oasis.opendocument.text)
2011-04-05 02:51 UTC, Shimi Chen
Incorrect rendering with LO (18.15 KB, application/pdf)
2018-09-17 16:18 UTC, Eyal Rozenberg

Note You need to log in before you can comment on or make changes to this bug.
Description Shimi Chen 2011-04-02 08:18:48 UTC
To reproduce:
-Open LibreOffice Writer
-Write some underlined text in an RTL language(tested Hebrew and Arabic)
-Write a number(still in the same underline)
Result: the underline breaks.
This does not happen in English.
Comment 1 Christopher M. Penalver 2011-04-04 20:55:14 UTC
Shimi Chen, could you please attach a Writer document that demonstrates this problem?
Comment 2 Shimi Chen 2011-04-05 02:51:31 UTC
Created attachment 45268 [details]
Some underlined Hebrew text with a number.

The underline is broken before each number.
Comment 3 Jan Holesovsky 2011-04-07 10:26:44 UTC
This must be a kind of off-by-one error ;-)  When I zoom it, it is always one pixel thick; and in some zoom levels the gap disappears completely...
Comment 4 Shimi Chen 2011-09-16 00:32:14 UTC
I would like to point out that it's not just a zoom issue. Even if the interface is set to a zoom level that does not break the underline, when the document is printed the underline is always broken, which leads to an unprofessional looking documents.
Comment 5 Björn Michaelsen 2011-12-23 11:49:33 UTC Comment hidden (obsolete)
Comment 6 Lior Kaplan 2011-12-24 07:31:48 UTC
Still happens in 3.5.0 beta 2, changing to status NEW.
Comment 7 Abdulaziz Ayed 2013-01-22 12:54:28 UTC
still broken in
Comment 8 Julien Nabet 2013-08-18 07:51:02 UTC
Abdulaziz: I propose you to keep on the discussion you began on dev mailing list: http://nabble.documentfoundation.org/crash-in-master-td4070134.html

So, here the information you brought:
-you work under linux Ubuntu.
-you built from source (last git pull in 13 Aug)
-new LO profile. 

Could you try to retrieve a backtrace by following this link: https://wiki.documentfoundation.org/QA/BugReport/Debug_Information#GNU.2FLinux:_How_to_get_a_backtrace ?
Ideally, it could be very useful to have all debug in console + symbols in bt, could you add in your autogen.inpu, if not already there this:
(you'll need to run "make clean" and it'll take more space but it may worth it).

Khaled: I thought you might be interested in this tracker so I put you on cc.
Comment 9 Eyal Rozenberg 2013-10-12 07:58:34 UTC
Seeing this bug with Win7 on X86-64, with v. release.

I've increased the severity based on Shimi's comment #4.
Comment 10 Abdulaziz Ayed 2013-10-24 04:48:07 UTC
 Julien Nabet :
see this https://bugs.freedesktop.org/show_bug.cgi?id=69510
Comment 11 QA Administrators 2015-04-01 14:40:45 UTC Comment hidden (obsolete)
Comment 12 Shimi Chen 2015-04-01 15:00:41 UTC
Using LibreOffice Arch Linux build-2.
Underline still breaks as described in original report.
However, the break seems now to be smaller than the time it was reported. It seems hardly noticeable when the document is printed but still appears vividly inside Writer.
Comment 13 Alexander Polkhovskiy 2015-07-02 08:27:49 UTC
Also break in underluned when using non-break space.
ID: 88805f81e9fe61362df02b9941de8e38a9b5fd16
Locale: ru_RU
Win 8.1 x64
Comment 14 QA Administrators 2016-09-20 10:13:56 UTC Comment hidden (obsolete)
Comment 15 Khaled Hosny 2016-09-21 07:55:48 UTC
Still an issue.
Comment 16 Omer Zak 2017-11-01 19:57:42 UTC
Still happens in:

Build ID: 1:5.4.2-3~bpo9+1
CPU threads: 8; OS: Linux 4.9; UI render: default; VCL: gtk2; 
Locale: en-US (en_US.utf8); Calc: group

OS: Debian 64bit Stretch (Debian 9.2, with some backported packages)
Comment 17 Eyal Rozenberg 2018-03-02 12:56:39 UTC
Seeing this with LO on GNU/Linux.

However, the manifestation is slightly different: I see breaks in the underlining: between בשפת and RTL, between מספר and 8, between וגם and 7 - but I DON'T see a break between מספר and 12, nor after the 12.
Comment 18 Eyal Rozenberg 2018-09-17 16:13:53 UTC
Please also post a PDF of the incorrect rendering to compare against.
Comment 19 Eyal Rozenberg 2018-09-17 16:18:32 UTC
Created attachment 144948 [details]
Incorrect rendering with LO

Posting a rendering with LO build 5d19a1bfa650b796764388cd8b33a5af1f5baa1b - as per the description in my earlier comment.

(so, obviously, the bug still manifests with
Comment 20 QA Administrators 2019-09-18 02:52:11 UTC Comment hidden (obsolete)
Comment 21 Eyal Rozenberg 2020-02-29 10:10:53 UTC
Still seeing this issue manifest with:

Build ID: b0a288ab3d2d4774cb44b62f04d5d28733ac6df8
CPU threads: 4; OS: Linux 5.2; UI render: default; VCL: gtk3; 
Locale: he-IL (en_IL); UI-Language: en-US

However! Different fonts present somewhat different behavior, in the sense that not all breaks appear. Specifically, if you change the font in attachment 45268 [details] (Simchi Chen's attachment from 2011) to David CLM, the break before the number 12 is gone.