Bug 79 - the system-wide default fonts.conf should be backed up when installing
Summary: the system-wide default fonts.conf should be backed up when installing
Status: RESOLVED FIXED
Alias: None
Product: fontconfig
Classification: Unclassified
Component: library (show other bugs)
Version: 2.2
Hardware: All All
: high normal
Assignee: Keith Packard
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-29 11:03 UTC by Jungshik Shin
Modified: 2004-12-03 14:26 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Jungshik Shin 2003-04-29 11:03:36 UTC
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.
Comment 1 Keith Packard 2003-05-08 07:36:01 UTC
I'd like to know if there's a simple way to get automake to do this.
Comment 2 Keith Packard 2004-12-04 09:26:23 UTC
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.