Subject: Fontconfig error: Cannot load default config file
To: None <>
From: Rui-Xiang Guo <>
List: tech-x11
Date: 12/07/2005 00:03:05
Hi, all.
I use the builtin fontconfig with native X and run some gtk2 related pkgs,
then I always see the error message and it can't display the correct fonts.
It seems our builtin fontconfig is useless...
Maybe it lost some files -
hive[/home/rxg]% find /usr/X11R6 -name fonts.conf
hive[/home/rxg]% find /usr/X11R6 -name fonts.dtd

I find nothing, but look into /usr/xsrc/xfree/xc/extras/fontconfig/
# install config files
install:: $(DESTDIR)$(CONFDIR)/fonts.conf $(DESTDIR)$(CONFDIR)/fonts.dtd

$(DESTDIR)$(CONFDIR)/fonts.conf:: fonts.conf
        if [ -f $@ ]; then \
                echo "Not overwriting existing $@"; \
        else \
                $(INSTALL_DATA) fonts.conf $(DESTDIR)$(CONFDIR)/fonts.conf; \

$(DESTDIR)$(CONFDIR)/fonts.dtd:: fonts.dtd
        $(INSTALL_DATA) fonts.dtd $(DESTDIR)$(CONFDIR)/fonts.dtd

Is there something wrong?