Bug 424089 - Variable width font not rendered properly on KDE Konsole
Summary: Variable width font not rendered properly on KDE Konsole
Status: RESOLVED DUPLICATE of bug 401094
Alias: None
Product: konsole
Classification: Applications
Component: font (show other bugs)
Version: 19.12.3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-11 07:16 UTC by Srix
Modified: 2022-01-04 00:14 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
konosle variable width font error (97.26 KB, image/png)
2020-07-11 07:16 UTC, Srix
Details
konsole master complex text (27.83 KB, image/png)
2020-07-17 12:40 UTC, tcanabrava
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Srix 2020-07-11 07:16:41 UTC
Created attachment 130033 [details]
konosle variable width font error

SUMMARY
Konsole on Kubuntu 20.04 ( Konsole-19.12.3, KDE FX 5.68.0, Qt 5.12.8) does not support  variable width fonts (eg. indic language fonts) and renders it as monospace. This results in unreadable output. 

However,  Konsole on Kubuntu 18.04 (konsole -17.12.13,  KDE fx  - 5.61.0, QT 5.12.3) is rendering correctly.

STEPS TO REPRODUCE
1. Open Konsole on Kubuntu 20.04

2. In the Konsole Terminal run the following commands
$ echo தமிழ் வணக்கம்
$ printf "\u0ba4\u0bae\u0bbf\u0bb4\u0bcd\u0020\u0bb5\u0ba3\u0b95\u0bcd\u0b95\u0bae\u0bcd\n"

Both should print "தமிழ் வணக்கம்". 

3. The rendered font is not readable. 

4. When the same is tried in Konsole on Kubuntu 18.04 it is perfectly rendered. 

OBSERVED RESULT
test is garbled. Attached image

EXPECTED RESULT
$ echo தமிழ் வணக்கம்
தமிழ் வணக்கம்
$ printf "\u0ba4\u0bae\u0bbf\u0bb4\u0bcd\u0020\u0bb5\u0ba3\u0b95\u0bcd\u0b95\u0bae\u0bcd\n"
தமிழ் வணக்கம்


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kubuntu 20.04 / 5.18.5
(available in About System)
KDE Plasma Version: 5.18.5
KDE Frameworks Version: KDE FX 5.68.0
Qt Version:  Qt 5.12.8

ADDITIONAL INFORMATION
Comment 1 tcanabrava 2020-07-17 12:40:18 UTC
Created attachment 130200 [details]
konsole master complex text
Comment 2 tcanabrava 2020-07-17 12:40:32 UTC
Seems correct in master.
Comment 3 Christoph Feck 2020-08-03 18:21:59 UTC
This is not about monospaced fonts, but about Unicode shaping. Konsole rendered characters individually to fix issues with Emoji, so Qt could not combine them via its text shaping algorithms.

This should be fixed with Konsole version 20.08 to be released in the coming weeks, see bug 401094.
Comment 4 ninjalj 2022-01-04 00:14:58 UTC

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