[Bug 29341] Make some fontconfig paths configurable

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Dec 28 09:06:30 UTC 2010


--- Comment #5 from Nicolas Mailhot <nicolas.mailhot at laposte.net> 2010-12-28 01:06:29 PST ---
(In reply to comment #4)
> The confdir vs masterconfdir distinction looks like an overkill to me.  Why do
> you need both?

That's mainly historical, I didn't want to be too invasive and move
/etc/fonts/fonts.conf (no idea how many places this part is hardcoded into).

Unless you want to prohibit users changing fonts.conf, and force them to make
all their changes in detached /etc/fonts/conf.d files, you need to keep a
directory in /etc to put it in

Granted, if FHS support had been built in fontconfig from the start, and not
retrofited now, the directory structure would probably have looked more like :


with :
/usr/share/xml/fontconfig/ ← dtd and other schema files,
/usr/share/xml/fontconfig.dtd if we're sure there will only be one dtd file

/usr/share/fontconfig/ ← configuration snippets, templates, etc

/etc/fontconfig.conf ← master configuration file


I tried to limit changes to the strict minimum to be FHS compliant and silence
rpm warnings

Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the fonts-bugs mailing list