Bug 149848 - Highlighting crops preceding italics erroneously
Summary: Highlighting crops preceding italics erroneously
Status: RESOLVED DUPLICATE of bug 43643
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.0 all versions
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-04 12:46 UTC by stefan.hoenig
Modified: 2023-10-13 07:20 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Erroneous Character Highlighting versus correct Background Color function (15.76 KB, application/vnd.oasis.opendocument.text)
2022-07-04 12:54 UTC, stefan.hoenig
Details
Sample No. 2 with a V and a Formula Object added (20.47 KB, application/vnd.oasis.opendocument.text)
2023-07-23 16:08 UTC, stefan.hoenig
Details

Note You need to log in before you can comment on or make changes to this bug.
Description stefan.hoenig 2022-07-04 12:46:47 UTC
Description:
When highlighting characters in italics, the preceding italicized characters are cropped erroneously, whereas setting the background color yields pristine results.

Steps to Reproduce:
Consider the following to be an arbitrary sample:
1. Set font to Liberation Serif.
2. Type a capital 'K' in italics.
2. Type a capital 'L' and make the 'L' subscript (non-italic or italic).
3. Highlight both characters. 

Actual Results:
The upper right serif of the 'K' is clipped erroneously. In general, the previous character is truncated erroneously.

Expected Results:
Like the Background Color function does. (This is a bad workaround since it colors the whole paragraph's background.)



Reproducible: Always


User Profile Reset: Yes



Additional Info:
Use Microsoft Word as a possible reference.
Comment 1 stefan.hoenig 2022-07-04 12:54:06 UTC
Created attachment 181108 [details]
Erroneous Character Highlighting versus correct Background Color function
Comment 2 Shinji Enoki 2022-07-05 12:25:17 UTC
Reproduced in:

Version: 7.3.4.2 / LibreOffice Community
Build ID: 728fec16bd5f605073805c3c9e7c4212a0120dc5
CPU threads: 8; OS: Linux 5.18; UI render: default; VCL: gtk3
Locale: ja-JP (ja_JP.UTF-8); UI: ja-JP
Calc: threaded

Version: 7.4.0.0.alpha1+ / LibreOffice Community
Build ID: f817b3de1aa827d93e2a622735c4d570514f4849
CPU threads: 8; OS: Linux 5.18; UI render: default; VCL: gtk3
Locale: ja-JP (ja_JP.UTF-8); UI: ja-JP
Calc: threaded
Comment 3 stefan.hoenig 2023-07-23 16:02:52 UTC
For those who might dismiss this bug as insignificant, I added a second attachment where the K has been changed in a V so that the ugliness becomes more obvious. Furthermore, a Formula Object isn't highlighted at all which is also displayed in my second attachment.
Comment 4 stefan.hoenig 2023-07-23 16:08:11 UTC
Created attachment 188525 [details]
Sample No. 2 with a V and a Formula Object added
Comment 5 Stéphane Guillou (stragu) 2023-10-13 07:20:46 UTC

*** This bug has been marked as a duplicate of bug 43643 ***