[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
suboptimal default fontconfig configuration
while debugging a font rendering problem on NetBSD/i386 5.0_STABLE
and -current systems running native Xorg, I noticed that the default
fontconfig configuration (/etc/fonts/...) is somehow suboptimal:
/etc/fonts/fonts.conf seems to be outdated: it contains functionality
which has been moved to separate configuration files (.../conf.d) in the
It should probably be updated based on the default file which ships with
NetBSD's fontconfig (xsrc/external/mit/fontconfig/dist/fonts.conf.in).
Or is there a reason to keep this file as it currently is?
All the default [0-9]0-9]-*.conf files shipping with fontconfig are just
installed to /etc/fonts/conf.d, which means that all of them are enabled
by default. The fontconfig default is to just enable some of them
(see CONF_FILES and CONF_LINKS in
xsrc/external/mit/fontconfig/dist/conf.d/Makefile.am). Enabling all of
them like it's currently done means that for example bitmap fonts are
accepted and rejected at the same time (see 70-yes-bitmaps.conf and
What about installing those config files to /etc/fonts/conf.avail and
symlinking _some_ of them (probably the subset listed in CONF_LINKS)
from /etc/fonts/conf.d, as it's recommended in the fontconfig README?
This email fills a much-needed gap in the archives.
Main Index |
Thread Index |