Cleartype 可以讓螢幕上的字體更清晰美觀,尤其是中文字體。
我已在 ArchLinux 下使用正常,也應用在 Gentoo 上沒問題,
特此分享,有興趣的朋友可嘗試一下。
須 patch 的套件有3個:
freetype-2.2.1
cairo-1.2.6
libXft-2.1.12
不同的版本尚不知是否可以,請依據上述版本。
freetype-2.2.1.ebuild:
src_unpack() {
unpack ${A}
use bindist ...
epatch "${FILESDIR}"/freetype-2.2.1-subpixel-disable-quantization.diff
cairo-1.2.6.ebuild:
PATCHES="${FILESDIR}/cairo-1.2.4-lcd-cleartype-like.diff"
src_compile() {
libXft-2.1.12.ebuild:
PATCHES="${FILESDIR}/libXft-2.1.10-lcd-cleartype.diff"
pkg_setup() {
patch 檔案下載:
http://aur.archlinux.org/packages/cairo ... -like.diff
http://aur.archlinux.org/packages/freet ... ation.diff
http://aur.archlinux.org/packages/libxf ... rtype.diff