Oxygen as default font

Sebastian Kügler sebas at kde.org
Wed Mar 5 14:07:45 UTC 2014


On Wednesday, March 05, 2014 13:34:36 Jonathan Riddell wrote:
> On Wed, Mar 05, 2014 at 02:06:43PM +0100, Marco Martin wrote:
> > On Wednesday 05 March 2014 13:36:33 Sebastian Kügler 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?
> 
> we install oxygen to /usr/share/fonts/truetype/oxygen-fonts
> 
> it may be easiest to just release oxygen font separately and have it
> as a build depends of kde-runtime, that way people who install
> kde-runtime into something other than /usr can just install the
> package.

It doesn't solve the problem, though. People will still need to install the 
oxygen font, either from package or from "source" using cmake. How it's split 
at packaging level doesn't change this. (I've actually considered your 
suggestion already, but found that it doesn't actually solve the problem for 
me.)
-- 
sebas

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


More information about the Plasma-devel mailing list