Bug 387759 - Konsole Lacks the "Ambiguous-width characters" Option
Summary: Konsole Lacks the "Ambiguous-width characters" Option
Status: REPORTED
Alias: None
Product: konsole
Classification: Applications
Component: font (show other bugs)
Version: 20.04.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2017-12-10 07:42 UTC by 2wxsy58236r3
Modified: 2020-05-28 18:02 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Effect in Konsole, Font: Migu 1M (13.00 KB, image/png)
2017-12-10 07:42 UTC, 2wxsy58236r3
Details
Effect in gnome-terminal (https://wiki.gnome.org/Apps/Terminal), Font: Migu 1M (14.30 KB, image/png)
2017-12-10 07:44 UTC, 2wxsy58236r3
Details

Note You need to log in before you can comment on or make changes to this bug.
Description 2wxsy58236r3 2017-12-10 07:42:25 UTC
Created attachment 109282 [details]
Effect in Konsole, Font: Migu 1M

Related: Bug 41744
The issue in Bug 41744 still exists in version 17.08.3.

OVERVIEW
The option "Ambiguous-width characters" is unavailable. Thus, all ambiguous-width characters are considered "narrow". Symbols such as "●", "★" and "※" will be shown overlapping other characters.

STEPS TO REPRODUCE
1) Prepare a text containing ambiguous-width characters, such as "●", "★" and "※".
2) Display the text in Konsole (e.g. using "cat" to display the text file)

ACTUAL RESULT
The symbols overlapped other normal characters. (Please see attachment)

EXPECTED RESULT
An option "Ambiguous-width characters" with two choices, "Narrow" and "Wide", should be provided. When "Wide" is chosen, the characters do not overlap.
Comment 1 2wxsy58236r3 2017-12-10 07:44:00 UTC
Created attachment 109283 [details]
Effect in gnome-terminal (https://wiki.gnome.org/Apps/Terminal), Font: Migu 1M
Comment 2 2wxsy58236r3 2020-05-06 08:54:12 UTC
As of 20.04.0, ambiguous-width characters/symbols (e.g. "★") are still overlapping other characters.

To display those characters correctly, I have to use the tool uni2characterwidth (added in D15757) to regenerate CharacterWidth.cpp with `--ambiguous-width=2`, and then re-compile Konsole.

[1] https://phabricator.kde.org/D15757