Gentoo Archives: gentoo-dev

From: Seemant Kulleen <seemant@g.o>
To: gentoo-dev@g.o
Subject: [gentoo-dev] Fonts, Xfree, Linux
Date: Fri, 30 May 2003 09:31:20
1 Hi All,
3 OK, the above combination, as we all know, blows dogs. Having said that, I have some ideas. First, to reiterate as in my last e-mail: xfree-4.3.0-r3 is moving towards *NOT* installing *ANY* fonts at all. All the xfree built-in fonts will move to separate packages in media-fonts. Additionally *ALL* fonts will be in /usr/share/fonts, rather than /usr/X11R6/lib/X11/fonts (and I had to hold back from exaggerating it to say /usr/X11R6/lib/X11/R6/include/lib/X/X11/X11R6/misc/lib/fonts :P).
5 The idea is that this will be a centralised location for system fonts. All user custom fonts would go into /usr/share/fonts (or perhaps /usr/local/share/fonts -- not sure on that one, and not sure how much complexity it would add).
7 Anyway, RedHat developed a tool called chkfontpath which updates /etc/X11/fs/config with font paths to be added, removed, queried and what not. It seems most binary distros distribute this utility. We had a look at it (popt is a required dependency for it), and I've asked Graham (vladimir@g.o) to come up with a perl equivalent for it. To me, it seems that coding that in C and using popt is overkill.
9 So the idea he and I discussed was to have this utility (or set of utilities) to update the fontpaths in /etc/X11/fs/config as well as /etc/X11/XF86Config (IF the font path is other than unix:/7100 in that file).
11 Now, here's the question. Gentoo policy dictates that we do not touch files in /etc. During emerge, this is fine, we can provide a file to be etc-update'd. The concern is during emerge unmerge, when a font path is to be removed.
13 I guess the question is: do we violate policy on these two files, or is there a more clever solution to this? One thought which comes up is to have the utility just check which font paths exist in /usr/share/fonts and make sure both files have them. Again, that would violate policy :/
15 The other thought which arises is to have those files in /usr/share/xfree or some such, but I'm not entirely comfortable with that, either.
18 Thoughts, opinions, criticisms?
20 Thanks,
22 --
23 Seemant Kulleen
24 Developer and Project Co-ordinator,
25 Gentoo Linux
27 Public Key:
28 Key fingerprint = 23A9 7CB5 9BBB 4F8D 549B 6593 EDA2 65D8 3458 780E


Subject Author
Re: [gentoo-dev] Fonts, Xfree, Linux Paul de Vrieze <pauldv@g.o>
Re: [gentoo-dev] Fonts, Xfree, Linux Ian Phillips <ianp@×××××.com>
Re: [gentoo-dev] Fonts, Xfree, Linux Terje Kvernes <terjekv@××××××××.no>
Re: [gentoo-dev] Fonts, Xfree, Linux Svyatogor <svyatogor@g.o>
Re: [gentoo-dev] Fonts, Xfree, Linux Spider <spider@g.o>
Re: [gentoo-dev] Fonts, Xfree, Linux George Shapovalov <george@g.o>
Re: [gentoo-dev] Fonts, Xfree, Linux Matthew Kennedy <mkennedy@g.o>