Bug 442976

Summary: Font Management uses ~/.fonts/ – should use $XDG_DATA_HOME/fonts/ or $HOME/.local/share/fonts/
Product: [Applications] systemsettings Reporter: Graham Perrin <grahamperrin>
Component: kcm_fontinstAssignee: Plasma Bugs List <plasma-bugs>
Status: CONFIRMED ---    
Severity: normal CC: nate, sfalken
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: FreeBSD   
See Also: https://bugs.kde.org/show_bug.cgi?id=367650
Latest Commit: Version Fixed In:

Description Graham Perrin 2021-09-26 12:11:05 UTC
Comparable to bug 367650 for kfontview … or, is this a duplicate?

<https://forums.freebsd.org/threads/79999/#post-533304> noted that Font Management uses: 

~/.fonts/

Subsequent discussion in IRC drew attention to: 

<https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html#variables>

<https://gitlab.freedesktop.org/fontconfig/fontconfig/-/commit/8c255fb185d5651b57380b0a9443001e8051b29d#baa0db2f57cfa5d87d2cde0c3f53e02db4e19d46_28_29> describes future removal.
Comment 1 Graham Perrin 2021-09-26 12:19:48 UTC
% file $HOME/.fonts/
/home/grahamperrin/.fonts/: directory
% file $HOME/.local/share/
/home/grahamperrin/.local/share/: directory
% file $HOME/.local/share/fonts
/home/grahamperrin/.local/share/fonts: cannot open `/home/grahamperrin/.local/share/fonts' (No such file or directory)
% pkg provides kcm_fontinst
Name    : plasma5-plasma-workspace-5.22.5
Desc    : Plasma5 Plasma workspace
Repo    : FreeBSD
Filename: usr/local/lib/qt5/plugins/kcm_fontinst.so
% 

----

Operating System: FreeBSD 14.0
KDE Plasma Version: 5.22.5
KDE Frameworks Version: 5.86.0
Qt Version: 5.15.2
Kernel Version: 14.0-CURRENT (64-bit)
Graphics Platform: X11
Memory: 15.9 GiB of RAM
Graphics Processor: AMD TURKS
Comment 2 Shawn W Dunn 2024-02-01 16:02:20 UTC
This bug causes issues with flatpak

https://github.com/flatpak/flatpak/issues/5675