LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1710|回复: 8

字体问题

[复制链接]
发表于 2007-8-29 18:56:10 | 显示全部楼层 |阅读模式
憋了好久了,看图``看代码特别麻烦

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
发表于 2007-8-29 21:19:48 | 显示全部楼层
google 下 字距太宽
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-8-29 22:33:18 | 显示全部楼层
平时都是:google "英文全角"
谢谢提供keyword
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-8-29 22:36:46 | 显示全部楼层
没有找到 具体一点吧:
我的51-local.conf

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- /etc/fonts/conf.avail/51-local.conf file to configure system font access -->
<fontconfig>
    <!-- Load local system customization file -->
    <include ignore_missing="yes">local.conf</include>
    <match target="font">
        <test target="pattern" name="lang" compare="contains">
            <string>zh</string>
            <string>ja</string>
            <string>ko</string>
        </test>
        <edit name="spacing">
            <const>proportional</const>
        </edit>
        <edit name="globaladvance">
            <bool>false</bool>
        </edit>
    </match>
    <match target="font">
        <test target="pattern" name="lang" compare="contains">
            <string>zh-tw</string>
            <string>zh-cn</string>
            <string>ja</string>
            <string>ko</string>
        </test>
        <test name="spacing" compare="eq">
            <const>mono</const>
        </test>
        <edit name="globaladvance" mode="assign">
            <bool>false</bool>
        </edit>
    </match>
</fontconfig>
回复 支持 反对

使用道具 举报

发表于 2007-8-30 09:29:45 | 显示全部楼层
这是什么字体?虽然有的时候碰到。不过还是非常少见到英文这样。

看看是不是什么    双宽度修正。在字体微调那篇文章应该提到一点。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-8-30 15:46:14 | 显示全部楼层
http://www.ibm.com/developerworks/cn/linux/l-job-scheduling.html
帮忙看看浏览这个时怎样

我的还是不行.
51-local.conf :
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- /etc/fonts/conf.avail/51-local.conf file to configure system font access -->
<fontconfig>
    <!-- Load local system customization file -->
    <include ignore_missing="yes">local.conf</include>
    <match target="font">
        <test target="pattern" name="lang" compare="contains">
            <string>zh</string>
            <string>ja</string>
            <string>ko</string>
        </test>
        <edit name="spacing">
            <const>proportional</const>
        </edit>
        <test name="spacing" compare="eq">
            <const>dual</const>
            <const>mono</const>
        </test>
        <edit name="globaladvance">
            <bool>false</bool>
        </edit>
    </match>
</fontconfig>

已经参考了http://www.linuxsir.cn/bbs/showthread.php?t=266659
回复 支持 反对

使用道具 举报

发表于 2007-8-30 16:34:05 | 显示全部楼层
这是不是等宽字体的问题?

里面加个<const>mono</const>这个干嘛?

终端字体怎么样?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-8-31 07:39:21 | 显示全部楼层
正常
附图片

<const>mono</const> 没问题

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
回复 支持 反对

使用道具 举报

发表于 2007-8-31 14:39:24 | 显示全部楼层
你的终端下用的根本不是等宽字体。都有重叠。

还有我认为前面图里面也不是等宽字体。是人为等宽的,就是把所有字体都拉的一样宽。不够的就空出来。

你看看那个A比a宽。等宽字体应该是一样宽的
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表