Bug 390898

Summary: virtual keyboard using !plasma fonts
Product: [Plasma] kscreenlocker Reporter: Harald Sitter <sitter>
Component: breeze-themeAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED UPSTREAM    
Severity: normal CC: bhush94, mgraesslin, simonandric5
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: keyboard with fontconfig defaulting to noto
keyboard with fontconfig defaulting to dejavu

Description Harald Sitter 2018-02-22 10:37:46 UTC
Created attachment 110893 [details]
keyboard with fontconfig defaulting to noto

(might be bug in qt)

the virtual keyboard seems to ignore the fonts set in systemsettings and instead falls through to fontconfig. I am attaching two screenshots that show this. one is using dejavu the other is using noto. this is most noticeable with digits. if you compare the 1 in the keyboards "&123" you will find the one in the keyboard having a "serif" (line at the bottom) of the 1, noto does not.

noto.png is
➜ fc-match  'Sans'        
NotoSans_Regular.ttf: "Noto Sans" "Regular"

dejavu.png is 
➜ fc-match  'Sans' 
DejaVuSans.ttf: "DejaVu Sans" "Book"
Comment 1 Harald Sitter 2018-02-22 10:38:12 UTC
Created attachment 110894 [details]
keyboard with fontconfig defaulting to dejavu
Comment 2 Martin Flöser 2018-02-22 18:52:40 UTC
As we don't configure the virtual keyboard to use a different font: that's Qt.