关于终端下的字体

系统字体配置、中文显示和输入法问题
回复
zgc8004
帖子: 11
注册时间: 2007-09-18 18:56

关于终端下的字体

#1

帖子 zgc8004 » 2008-04-18 12:45

各位大哥,我现在按照论坛上ubuntu用xp字体美化的方法把字体美化了(我是英文环境,有装中文语言),其他程序字体都很漂亮了,但是就是终端下面的字体很模糊,也大致按照ee的“黑曲曲”帖子做了,但是没有一点效果,不知道哪位高人有没其他办法,或者把ee帖子里的讲得更清楚点,我是新手,拜托大家了!
头像
bones7456
帖子: 8495
注册时间: 2006-04-12 20:05
来自: 杭州
联系:

#2

帖子 bones7456 » 2008-04-18 15:56

那就到irc里面找ee呗...
关注我的blog: ε==3
leeyee
帖子: 723
注册时间: 2006-04-11 9:01

#3

帖子 leeyee » 2008-04-18 15:58

终端字体模糊可能是因为你打开了终端粗体支持,把profile里的allow bold text去掉看看呢
I would love to change the world, but they won't give me the source code.
http://hi.baidu.com/wienerlee
头像
carbont
帖子: 3406
注册时间: 2007-11-22 10:20
来自: 北京

#4

帖子 carbont » 2008-04-18 15:58

终端里面就不美化了得了。
得清楚最重要。
lenovo Thinkpad R60i 0657 LHC
windowsXP……准备换回ubuntu了。

Twitter: @carbont
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

#5

帖子 eexpress » 2008-04-18 17:33

情况不明,去irc问吧。要wm term 的情况啊。
● 鸣学
zgc8004
帖子: 11
注册时间: 2007-09-18 18:56

#6

帖子 zgc8004 » 2008-04-19 13:50

是这样的,我原本没有~/.fonts.conf这个文件,我新建了一个,然后内容为

代码: 全选

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- /etc/fonts/fonts.conf file to configure system font access --><fontconfig>
<!-- Font directory list --> <dir>/usr/share/fonts</dir>
 <dir>/usr/share/X11/fonts</dir>
 <dir>/usr/local/share/fonts</dir>
 <dir>~/.fonts</dir>
<fontconfig>
<!-- Add by eexpress -->
<!-- 使用楷体补全Courier没有的字符 -->
   <alias>
                <family>Courier 10 Pitch</family>
                <prefer>
                        <family>AR PL ZenKai Uni</family>
                </prefer>
        </alias>
<!-- 遇到楷体和Courier就加粗,并且开反锯齿 -->
        <match target="font">
                <test name="family" compare="contains">
                        <string>Kai</string>
                        <string>Courier</string>
                </test>
                <edit name="embolden" mode="assign">
                        <bool>true</bool>
                </edit>
                <edit name="antialias" mode="assign">
                        <bool>true</bool>
                </edit>
        </match>
</fontconfig> 
原来是没有AR PL ZenKai Uni这个字体的,我下载了一个,权限也改了,但是重启后,终端没有一点改变,还是很模糊,终端字体设为bitstream vera sans mono 10
leeyee
帖子: 723
注册时间: 2006-04-11 9:01

#7

帖子 leeyee » 2008-04-28 13:40

8.04 字体hinting的一个bug:
https://bugs.launchpad.net/gnome-terminal/+bug/190848
解决方法:

代码: 全选

cd /etc/fonts/conf.d/
sudo rm 10-hinting-medium.conf
sudo ln -s ../conf.avail/10-hinting-full.conf
I would love to change the world, but they won't give me the source code.
http://hi.baidu.com/wienerlee
spiritfrog
帖子: 274
注册时间: 2007-08-04 13:04

#8

帖子 spiritfrog » 2008-05-01 11:44

模糊的是中文还是英文?
如果是英文模糊,检查系统- 外观 -字体- 等宽字,按照xp字体美化的话,这里是否用的宋体?选择用英文字体就可以了。 终端中的字体用的是系统设定的等宽字体。
leeyee
帖子: 723
注册时间: 2006-04-11 9:01

#9

帖子 leeyee » 2008-05-03 14:09

spiritfrog 写了:模糊的是中文还是英文?
如果是英文模糊,检查系统- 外观 -字体- 等宽字,按照xp字体美化的话,这里是否用的宋体?选择用英文字体就可以了。 终端中的字体用的是系统设定的等宽字体。
这个bug改字体是没有用的,hint没有做,字体怎么改都是模糊的。 :D
I would love to change the world, but they won't give me the source code.
http://hi.baidu.com/wienerlee
回复