Changing default path to install fonts?

Alan Coopersmith Alan.Coopersmith at Sun.COM
Tue Oct 6 11:08:37 PDT 2009


Alan Coopersmith wrote:
> +AC_DEFUN([XORG_FONTDIR],[
> +	fontdir="${libdir}/X11/fonts/$1"

As long as I'm preparing for a mass font module update, should
this default path become ${datadir}/X11/fonts instead?

It looks like Fedora & Ubuntu install under /usr/share/X11/fonts.
packages.debian.org says they're using /usr/share/fonts/X11.
Gentoo appears to use /usr/share/fonts (without the X11).

I'm planning on moving the OpenSolaris font packages to install under
/usr/share/fonts soon as well.

It seems there's at least critical mass of distros behind ${datadir}
instead of ${libdir} as a default, but some will still have to use
--with-fontdir options since we haven't all agreed on whether X11
still belongs in the path or where.

Any other votes?   Should a variable be added to the fontutils.pc
so that it only needs to be set when building fontutils and all other
packages inherit from there?

-- 
	-Alan Coopersmith-           alan.coopersmith at sun.com
	 Sun Microsystems, Inc. - X Window System Engineering



More information about the xorg-devel mailing list