Bug 409882

Summary: Glyphs injected via fontconfig alias are not displayed
Product: [Applications] konsole Reporter: Eugene Shalygin <eugene.shalygin+bugzilla.kde>
Component: fontAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED UPSTREAM    
Severity: normal CC: kdelibs-bugs, nate
Priority: NOR    
Version: master   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: terminals and kate

Description Eugene Shalygin 2019-07-17 02:51:07 UTC
Created attachment 121571 [details]
terminals and kate

I want to display text that uses some glyphs from other fonts, that are referred to via FontConfig aliases. The main use case is Powerline with Konsole. This does not work for some weeks. It works neither in Konsole nor in Kate (see the attached screenshot). Fontconfig setup did not change and the substitution works in gnome-terminal and QTextEditor

Not sure if the bug is submitted to the proper component.

STEPS TO REPRODUCE
1. Install FontAwesome and create a Fontconfig alias from your terminal font to FontAwesome.
2. "echo '\uf240'" should output the battery symbol. 

OBSERVED RESULT

No battery symbol.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: git master
KDE Frameworks Version: git master
Qt Version: 5.12.4

ADDITIONAL INFORMATION

Screenshot with gnome-terminal (top), Konsole (middle), and Kate is attached. The Gnome terminal renders text correctly, Konsole fails, and the promt, copied to Kate, is shown incorrectly too.
Comment 1 Eugene Shalygin 2020-04-29 16:11:10 UTC
Works fine with Qt 5.15.0 beta4