Oxygen as default font

Sebastian Kügler sebas at kde.org
Wed Mar 5 13:17:06 UTC 2014


On Wednesday, March 05, 2014 14:06:43 Marco Martin wrote:
> > picked up by fontconfig, though. This means, installing it to a non-/usr
> > prefix will likely mean the font is never going to be found for the user.
> > There's a trick to fix this: fonts are picked up from XDG_DATA_HOME/fonts
> > and ~/.fonts/ by default on most systems. So what I'm doing now is
> > symlining the Oxygen font (conditionally) in one of those dirs (~/.fonts/
> > if XDG_DATA_HOME isn't set).
> 
> so would symlink in the home if the prefix is not /usr?
> one thing that may be useful is to see how packagers expect fonts to be 
> installed?

Correct.

For packagers, we're likely installing into /usr, which means the font will 
get found automatically (it ends up in /usr/share/fonts, which is default). 
This trick is for those that install their Plasma into non-/usr.
-- 
sebas

http://www.kde.org | http://vizZzion.org | GPG Key ID: 9119 0EF9


More information about the Plasma-devel mailing list