Recently I tried fontconfig 2.2 and had to spend a while restoring hand-tuned /etc/fonts/fonts.conf because it was wiped during the installation. With 2.2, I noticed that I'm not supposed to put local changes to the system wide default fonts.conf any more. However, it'd be nice to back up the file instead of just overwriting it when 'make install' is run. Quite a lot of people tweaked the file to meet their needs and it'd be pretty distressing to begin from the scratch after installing 2.2. BTW, is there any way to *remove* some font directories from the font search path by directives in local.conf? Otherwise, I'm afraid some users have to keep modifying the default systemwide config file if they want to exclude some directories from the scanning path.
I'd like to know if there's a simple way to get automake to do this.
I found no simple way to backup the existing fonts.conf, so I just added several lines to the Makefile.am; now an existing fonts.conf will be moved to fonts.conf.bak. And, current CVS has a selectfont mechanism to edit the set of available fonts at runtime by filename; check it out and see if it does what you want.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.