Bug 390898 - virtual keyboard using !plasma fonts
Summary: virtual keyboard using !plasma fonts
Status: RESOLVED UPSTREAM
Alias: None
Product: kscreenlocker
Classification: Plasma
Component: breeze-theme (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-22 10:37 UTC by Harald Sitter
Modified: 2018-04-05 09:46 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
keyboard with fontconfig defaulting to noto (72.74 KB, image/png)
2018-02-22 10:37 UTC, Harald Sitter
Details
keyboard with fontconfig defaulting to dejavu (74.44 KB, image/png)
2018-02-22 10:38 UTC, Harald Sitter
Details

Note You need to log in before you can comment on or make changes to this bug.
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.