Created attachment 116464 [details]
Konsole vs Sakura wide font rendering.
Every modern terminal I test (sakura, st, xterm, gnome, termite) is able to render wide fonts correctly. I really don't understand why Konsole is unable to do the same since forever.
STEPS TO REPRODUCE
1. Configure some nice fonts with powerline glyphs (e.g. fira code)
2. Render them in konsole (see attached script).
Half of each font is rendered.
Highlight with mouse to copy any of the fonts is nearly impossible.
Fonts should be fully rendered as in any other terminal (see attached screenshot).
Selecting and copying with the mouse should work as with any other text.
Linux/KDE Plasma: NEON latest updates.
At some point in time fonts were rendered correctly when disabling bi-directional text rendering in Konsole settings. Cannot remember which version.
Created attachment 116465 [details]
Ruby script to test devicons/fontawesome glyphs.
> I really don't understand why Konsole is unable to do the same since forever.
Qt unfortunately does not support duospaced fonts, only monospaced fonts.
Konsole 18.12 will render characters individually instead of using the Qt character advances to work around this limitation, and will also have an updated Unicode database for wide characters, but I am not sure what Konsole does for characters that could be wide or narrow, depending on the context.
Please test the 18.12 beta release or current master.
*** Bug 401421 has been marked as a duplicate of this bug. ***
Pretty sure this is already fixed in 18.12, yeah.
Please re-open if you find that 18.12 (once it's released) doesn't fix this for you. Thanks!
Just updated my KDE Neon with latest packages that include applications 18.12.0 and unfortunately the font rendering is still bad. See attached screenshot.
Konsole is in version 18.12.0.
Created attachment 116920 [details]
Wide font rendering test in konsole 18.12
*** Bug 392172 has been marked as a duplicate of this bug. ***
*** Bug 404128 has been marked as a duplicate of this bug. ***
The fix is done and awaits for review https://phabricator.kde.org/D18784
*** Bug 404525 has been marked as a duplicate of this bug. ***
*** Bug 378124 has been marked as a duplicate of this bug. ***