Bug 393863 - Ligatures incorrectly used, at least in some cases
Summary: Ligatures incorrectly used, at least in some cases
Status: RESOLVED FIXED
Alias: None
Product: kompare
Classification: Applications
Component: viewpart (show other bugs)
Version: 4.1.3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Kompare developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-04 23:42 UTC by Chris Spiegel
Modified: 2022-12-11 06:02 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Spiegel 2018-05-04 23:42:20 UTC
Kompare can (apparently depending on font?) convert multiple characters into ligatures, which is not desireable when comparing text.

I've seen this with the font Noto Sans Mono.  It can quickly be demonstrated with the following (probably requires zsh/bash or similar shell):

diff <(echo) <(printf "fi ffi\n1234")|kompare -
Comment 1 Christoph Feck 2018-05-31 22:29:37 UTC
Using QFont::PreferNoShaping could help, but it will also disable shaping text in Arabic and Indic text, where this is considered a bug.
Comment 2 Justin Zobel 2022-11-26 00:13:54 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 3 Bug Janitor Service 2022-12-11 05:06:59 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Chris Spiegel 2022-12-11 06:02:24 UTC
After testing, I can't reproduce this with any font that I've tried.  Looks like it's been fixed.  Thanks!