|
replace your /etc/fonts/fonts.conf with this one(don't forget backup your original one firstly) and get better chinese diaplay. Oh, Linuxsir doesn't allow upload such file, so I have to change the name to fonts.conf.txt, rename it yourself.
What's more, there are PKGBUILD for the latest freetype 2.1.8 and fontconfig 2.2.2.
freetype 2.1.8:
# $Id: PKGBUILD,v 1.18 2004/04/30 03:22:41 judd Exp $
# Maintainer: judd <jvinet@zeroflux.org>
force=y
pkgname=freetype2
pkgver=2.1.8
pkgrel=1
pkgdesc="TrueType font rendering library"
url="http://freetype.sourceforge.net"
depends=('glibc' 'zlib')
source=(ftp://gd.tuwien.ac.at/publishing/freetype/freetype2/freetype-$pkgver.tar.bz2)
install=freetype2.install
md5sums=('f717615787a1aadbdb164d1bc23c2308')
build() {
cd $startdir/src/freetype-$pkgver
# enable the bytecode interpreter
# patch -Np1 -i ../bytecode.patch
./configure --prefix=/usr
make || return 1
make DESTDIR=$startdir/pkg install
}
fontconfig 2.2.2:
# $Id: PKGBUILD,v 1.5 2004/02/07 20:49:19 judd Exp $
# Maintainer: judd <jvinet@zeroflux.org>
pkgname=fontconfig
pkgver=2.2.2
pkgrel=1
pkgdesc="A library for configuring and customizing font access"
url="http://www.freedesktop.org/software/fontconfig"
depends=('expat' 'freetype2' 'zlib')
backup=('etc/fonts/local.conf' 'etc/fonts/fonts.conf')
source=(http://pdx.freedesktop.org/softw ... eleases/fontconfig-$pkgver.tar.gz)
md5sums=('af6e9a8addfa89aa68d703d5eb004185')
build() {
cd $startdir/src/$pkgname-$pkgver
# patch -Np1 -i ../freetype.patch
./configure --prefix=/usr --sysconfdir=/etc
make || return 1
make DESTDIR=$startdir/pkg install
install -D -m644 ../fonts.conf $startdir/pkg/etc/fonts/fonts.conf
mkdir -p $startdir/pkg/usr/X11R6/bin
ln -sf /usr/bin/fc-cache $startdir/pkg/usr/X11R6/bin/fc-cache
}
after you have compiled two packages, using pacman -U to update your system, logout X, relogin, see the diffirent. |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有帐号?注册
x
|