Bug 367658

Summary: newer "fonts"-directory is not found by general configurations
Product: unknown Reporter: FabiB <plusfabi>
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED UPSTREAM    
Severity: normal CC: kdelibs-bugs
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
URL: https://bugreports.qt.io/browse/QTBUG-55507
Latest Commit: Version Fixed In:

Description FabiB 2016-08-21 22:14:07 UTC
at first - i really dont know if this is the right component to report to bug against, so please move if wanted.

KDE Software in general dont respects the new directory for user fonts -> $XDG_DATA_HOME/fonts (in most cases this is ~/.local/share/fonts). Only the old, deprecated path, ~/.fonts is supported. All my fonts in $XDG_DATA_HOME/fonts are found by libreoffice and stuff, but not in KDE settings ('kcmshell5 fontinst' can list them but you cant select them in 'kcmshell5 fontinst' or konsole)

Reproducible: Always

Steps to Reproduce:
1. use $XDG_DATA_HOME/fonts for your user font installation
2. start kcmshell5 fonts

Actual Results:  
you cant choose any of your user fonts

Expected Results:  
you should be able to select fonts from $XDG_DATA_HOME/fonts, since ~/.fonts is deprecated now.

https://lists.freedesktop.org/archives/fontconfig/2014-July/005270.html
https://wiki.archlinux.org/index.php/Fonts#Manual_installation
Comment 1 Matthew Dawson 2016-08-21 22:24:54 UTC
I believe this is an issue from Qt, as Qt reports the location location as ~/.fonts, and not $XDG_DATA_HOME/fonts.  Can you please report the bug to them, and add a comment here with the url of the Qt bug?  If they report back a change is required in KDE, please reopen this bug.

Note that KConfig isn't the right place for this, as KConfig only helps an application manage its configuration files, and doesn't actually supply fonts.
Comment 2 FabiB 2016-08-24 15:36:19 UTC
Qt Bugreport -> https://bugreports.qt.io/browse/QTBUG-55507

> Note that KConfig isn't the right place for this, as KConfig only helps an application manage its configuration files, and doesn't actually supply fonts.
i really dont know where a better place is... not for KDE Software and not for Qt.. sorry for this :(