Bug 119156 - Font anchors not working for combining characters inserted via menu insert -> special characters.
Summary: Font anchors not working for combining characters inserted via menu insert ->...
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Special-Character Diacritics
  Show dependency treegraph
 
Reported: 2018-08-08 13:07 UTC by Georgy Litvinov
Modified: 2024-08-04 08:18 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Example document. In first paragpraph main character and added combining diacritic mark via Insert Special Character menu. In second paragraph the same combination after copy to text editor (pluma) an (8.13 KB, application/vnd.oasis.opendocument.text)
2018-08-08 13:07 UTC, Georgy Litvinov
Details
Font with anchors modified to emphasize this problem. (255.57 KB, application/x-font-ttf)
2018-08-08 13:11 UTC, Georgy Litvinov
Details
First para is bad (after insert). Second is the same, after copy to txt and back (good).) (7.03 KB, image/png)
2018-08-08 13:15 UTC, Georgy Litvinov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Georgy Litvinov 2018-08-08 13:07:15 UTC
Created attachment 144029 [details]
Example document. In first paragpraph main character and added combining diacritic mark via Insert Special Character menu. In second paragraph the same combination after copy to text editor (pluma) an

After insertion of special character (in the same font as main character) it renders not as it should by font configuration. Specifically, it should be anchored to main character as it configured in font.
I suppose it is associated with the fact that inserted charater added in different span.
Comment 1 Georgy Litvinov 2018-08-08 13:11:40 UTC
Created attachment 144031 [details]
Font with anchors modified to emphasize this problem.
Comment 2 Georgy Litvinov 2018-08-08 13:15:33 UTC
Created attachment 144033 [details]
First para is bad (after insert). Second is the same, after copy to txt and back (good).)
Comment 3 Buovjaga 2018-09-07 17:35:27 UTC
For me, the diacritic in the bottom paragraph is above the character (perfectly in the middle). So not like in your screenshot, where it is inside it.

I suppose I set to NEW, purely by observing the file.

In 3.6.7, the bottom paragraph looks the same as the top.

Arch Linux 64-bit
Version: 6.2.0.0.alpha0+
Build ID: 033a68c49fe2b8aa397832d92d400eb0259ea809
CPU threads: 8; OS: Linux 4.18; UI render: default; VCL: gtk3_kde5; 
Locale: fi-FI (fi_FI.UTF-8); Calc: threaded
Built on September 5th 2018
Comment 4 Georgy Litvinov 2018-09-07 18:17:23 UTC
I suppose you haven't installed included font. Included font have anchors to specify combining position. The problem is if we have text with normal character and combining character in span, then LO shows combination of two characters as if there were no anchors. If font doesn't have anchors in tested character combination you won't see the difference.
Comment 5 QA Administrators 2019-09-08 05:02:50 UTC Comment hidden (obsolete)
Comment 6 Georgy Litvinov 2021-03-22 11:19:17 UTC Comment hidden (obsolete)
Comment 7 Georgy Litvinov 2021-03-22 11:20:07 UTC
Bug is still present.

Version: 7.2.0.0.alpha0+ / LibreOffice Community
Build ID: 43f4769ae537310a6fe6a1edfbc6687cc26fd996
CPU threads: 8; OS: Linux 3.10; UI render: default; VCL: gtk3
Locale: en-GB (en_GB.utf8); UI: en-US
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2021-03-20_00:16:48
Calc: threaded
Comment 8 Mike Kaganski 2024-08-04 08:10:22 UTC
I don't see the problem using Version: 24.8.0.2 (X86_64) / LibreOffice Community
Build ID: 57ceca7d2eefdf83e7c9b4135a017f3361a8133f
CPU threads: 24; OS: Windows 11 X86_64 (10.0 build 26100); UI render: default; VCL: win
Locale: en-US (ru_RU); UI: en-US
Calc: CL threaded

I installed the provided font; and opening the sample document, I see in both lines, that the diacritic is in the middle of the character Ж, as you show in your screenshot's bottom line.

WORKSFORME?
Comment 9 Mike Kaganski 2024-08-04 08:18:56 UTC
Fixed by commit ab0a4543cab77ae0c7c0a79feb8aebab71163dd7 (tdf#124116 Correct Writer text shaping across formatting changes, 2024-05-22).