Debian如何使用Ubuntu的字体渲染?
- leung531
- 帖子: 51
- 注册时间: 2009-03-03 13:32
- 联系:
Debian如何使用Ubuntu的字体渲染?
Ubuntu对哪几个包打了patch?重新编译后可直接用于Debian吗?
windows 7 & Ubuntu 10.04
thinkpad sl400 2743bc5 + intel core2 t6570 + DDR2 4G + 250G
thinkpad sl400 2743bc5 + intel core2 t6570 + DDR2 4G + 250G
- linlee
- 帖子: 1132
- 注册时间: 2007-10-20 11:30
- leung531
- 帖子: 51
- 注册时间: 2009-03-03 13:32
- 联系:
Re: Debian如何使用Ubuntu的字体渲染?
你用什么关键字找到的……我搜了好久也没发现这个……linlee 写了:http://acidjou.net16.net/?p=10
这里有介绍
windows 7 & Ubuntu 10.04
thinkpad sl400 2743bc5 + intel core2 t6570 + DDR2 4G + 250G
thinkpad sl400 2743bc5 + intel core2 t6570 + DDR2 4G + 250G
- Yume
- 帖子: 1015
- 注册时间: 2010-05-24 12:16
Re: Debian如何使用Ubuntu的字体渲染?
学习了...
-
- 帖子: 69
- 注册时间: 2006-04-24 0:36
- nmsfan
- 帖子: 18958
- 注册时间: 2009-10-16 22:46
- 来自: finland
Re: Debian如何使用Ubuntu的字体渲染?
sulow 写了:网页失效了,
请问有人有保留吗?
多谢了。。
>>>>推Ubuntu 桌面培训~~<<<<
>>>>想加入/了解gimp汉化吗,点我吧~<<<<
——————————————————————
不推荐wubi,也不推荐你给别人推荐wubi…………
随心而为的感觉真好……
强推mayhem!!
强推ensiferum
>>>>想加入/了解gimp汉化吗,点我吧~<<<<
——————————————————————
不推荐wubi,也不推荐你给别人推荐wubi…………
随心而为的感觉真好……
强推mayhem!!
强推ensiferum
- acid303
- 帖子: 547
- 注册时间: 2009-04-03 16:06
Re: Debian如何使用Ubuntu的字体渲染?
俺之前发到了linuxsir上了,这里转贴一下吧:
1. 打LCD补丁(注:现在的testing和sid的cairo都不用打补丁了,请直接跳到字体设置)
方法一:添加 http://mozilla.debian.net 源,升级到新版的cairo(这个源为各个Debian发行版提供新版的iceweasel)
安装方法请移步到:http://mozilla.debian.net/
方法二:自己打LCD补丁
2. 字体设置
~/.fonts.conf 里添加下面内容(~/.fonts.conf 默认没有需要自己新建)
注意: gnome用户需要参考下面第一张截图的设置
1. 打LCD补丁(注:现在的testing和sid的cairo都不用打补丁了,请直接跳到字体设置)
方法一:添加 http://mozilla.debian.net 源,升级到新版的cairo(这个源为各个Debian发行版提供新版的iceweasel)
安装方法请移步到:http://mozilla.debian.net/
方法二:自己打LCD补丁
代码: 全选
mkdir build_cairo && cd build_cairo
apt-get source cairo
sudo aptitude build-dep cairo
sudo aptitude install devscripts
wget http://archive.ubuntu.com/ubuntu/pool/main/c/cairo/cairo_1.8.10-2ubuntu1.debian.tar.gz
tar xvf cairo_1.8.10-2ubuntu1.debian.tar.gz
cd cairo-1.8.10 && patch -Np1 <../debian/patches/04_lcd_filter.patch
dch -l local "LCD Patch"
fakeroot debian/rules binary
cd .. && sudo dpkg -i *.deb
~/.fonts.conf 里添加下面内容(~/.fonts.conf 默认没有需要自己新建)
代码: 全选
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
<match target="font">
<edit mode="assign" name="rgba">
<const>rgb</const>
</edit>
</match>
<match target="font">
<edit mode="assign" name="hinting">
<bool>true</bool>
</edit>
</match>
<match target="font">
<edit mode="assign" name="hintstyle">
<const>hintslight</const>
</edit>
</match>
<match target="font">
<edit mode="assign" name="antialias">
<bool>true</bool>
</edit>
</match>
<match target="font">
<edit mode="assign" name="lcdfilter">
<const>lcddefault</const>
</edit>
</match>
</fontconfig>
- xxxcjr
- 帖子: 102
- 注册时间: 2007-01-01 9:03
-
- 帖子: 69
- 注册时间: 2006-04-24 0:36
Re: Debian如何使用Ubuntu的字体渲染?
多谢acid303兄,
刚折腾好ubuntu,等哪天心血来潮再重装debian试试吧。。
附上与ubuntu原始字体的对比图: 两者的差距微乎其微,应该可以忽略不计了。。
acid兄用的是雅黑??
刚折腾好ubuntu,等哪天心血来潮再重装debian试试吧。。
附上与ubuntu原始字体的对比图: 两者的差距微乎其微,应该可以忽略不计了。。
acid兄用的是雅黑??
-
- 帖子: 69
- 注册时间: 2006-04-24 0:36
- tangmumao_wefls
- 帖子: 2899
- 注册时间: 2011-02-11 14:09
- 系统: AnthonOS Next
- 来自: 在那不遥远的地方
- 联系:
Re: Debian如何使用Ubuntu的字体渲染?
patches.ubuntu.com(从一年以前的Linux Format上找到的笨兔补丁网站)
-
- 帖子: 3173
- 注册时间: 2010-01-13 23:26