歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> opensuse 10.2或10.3字體顯示效果美化與優化

opensuse 10.2或10.3字體顯示效果美化與優化

日期:2017/2/28 17:16:59   编辑:Linux教程

openSUSE 10.3用起來字體總是覺得跟Ubuntu差很多,其實novell 在10.2的時候,由於和微軟的專利沖突,取消了這個技術。

現在我們從新打開它。

1)現下載我們需要build打開freetype2的包,然後把build成我們想要的包:

mkdir -p ~/download/freetype2

cd ~/download/freetype2

wgethttp://ftp.skynet.be/pub/suser-guru/...use102.src.rpm

TARGET_OPT=`case \`uname -m\` in i*86) echo --target=i586;; esac`

rpmbuild --rebuild $TARGET_OPT --with subpixel freetype2-*.guru.suse*.src.rpm

注意:在build之前,解決好依存關系gcc, make, python, glibc-devel, autoconf, automake and libtool

build 完後我們在下面的地方找到我們的rpm:

/usr/src/packages/RPMS/i586/ (32bit system)

or

/usr/src/packages/RPMS/x86_64/ (64bit system)

2)用我們build的包來更新系統的freetype2(需要root權限):

su

- rpm --freshen -hv /usr/src/packages/RPMS/*/freetype2-*.rpm

這樣我們就可以從新調試渲染效果,你會發現很大的改變!

Copyright © Linux教程網 All Rights Reserved