blob: 9e15ddd4afa833e8ceac6a062650e9d640d5baf6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- fcpackage.2_1/fontconfig/setfontdirs.orig 2002-08-01 18:17:33.000000000 +0200
+++ fcpackage.2_1/fontconfig/setfontdirs 2002-12-11 21:31:37.000000000 +0200
@@ -6,15 +6,15 @@
export LANG
FONTDIRS=fontdirs$$
trap "rm $FONTDIRS" 0
-sh ./findfonts ${1+"$@"} > $FONTDIRS
+sh ./findfonts ${1+"$@"} |awk '!/\/usr\/X11R6\/lib\/X11\/fonts/ { print }' > $FONTDIRS
cp fonts.conf.in fonts.conf
chmod +w fonts.conf
ed fonts.conf << EOF
/FONTPATH_END/a
-<!-- Font directory list configured on `date` -->
.
+r $FONTDIRS
a
+ <dir>/usr/X11R6/lib/X11/fonts</dir>
<dir>~/.fonts</dir>
.
|