d3c447aad7
- Fix fonts location
26 lines
1.3 KiB
Plaintext
26 lines
1.3 KiB
Plaintext
--- modules/xttfm.ttfm.orig Mon Dec 4 09:57:57 2000
|
|
+++ modules/xttfm.ttfm Sun Jan 21 18:06:01 2001
|
|
@@ -29,8 +29,8 @@
|
|
export X11BASE; X11BASE=/usr/X11R6
|
|
export PATH; PATH=/bin:/sbin:/usr/bin:/usr/sbin:$PREFIX/bin:$PREFIX/sbin:$X11BASE/bin
|
|
export TEMPFILE; TEMPFILE="`mktemp /tmp/ttfm.tmpXXX`"
|
|
-export DefaultFontPath; DefaultFontPath=$PREFIX/share/fonts/TrueType
|
|
-export XTTFFONTPATH; XTTFFONTPATH="${X11BASE}/lib/X11/fonts/TrueType"
|
|
+export DefaultFontPath; DefaultFontPath=$PREFIX/lib/X11/fonts/TrueType
|
|
+export XTTFFONTPATH; XTTFFONTPATH="${PREFIX}/lib/X11/fonts/TrueType"
|
|
export TTFINFOPATH; TTFINFOPATH="${PREFIX}/bin/ttfinfo"
|
|
export AlIASPATTERN; ALIASPATTERN="\"added by ttfm - \$targetname - \$fontencoding\""
|
|
export DEFAULTMING_NAME; DEFAULTMING_NAME="default_ming"
|
|
@@ -107,11 +107,6 @@
|
|
sed -e "/$ALIASPATTERN/d" $XTTFFONTPATH/fonts.alias > $TEMPFILE
|
|
mv -f $TEMPFILE $XTTFFONTPATH/fonts.alias
|
|
|
|
- # Remove font files.
|
|
- # We only remove those fonts in $DefaultFontPath which are symbolic.
|
|
- filetype=`file "$DefaultFontPath/$targetname" |grep -e "^$DefaultFontPath/$targetname: symbolic link to"`
|
|
- [ ! "X$filetype" = "X" ] && rm -f "$DefaultFontPath/$targetname"
|
|
- rm -f "$XTTFFONTPATH/$targetname"
|
|
done
|
|
}
|
|
|