找回密码
 注册
查看: 1293|回复: 1

Fonts.conf配置中alias的使用

[复制链接]
发表于 2004-1-5 10:42:53 | 显示全部楼层 |阅读模式
在fedora的原始配置中和大虾的修改配置中,有如下一段:
<!--
  Alias well known font names to available TrueType fonts
-->
        <alias>
                <family>Times</family>
                <accept><family>Times New Roman</family></accept>
        </alias>
        <alias>
                <family>Helvetica</family>
                <accept><family>Verdana</family></accept>
        </alias>
        <alias>
                <family>Arial</family>
                <accept><family>Verdana</family></accept>
        </alias>
        <alias>
                <family>Courier</family>
                <accept><family>Courier New</family></accept>
        </alias>
这段配置的本意是将ttf字体排在点阵字体前,但alias中acccept的含义是:Fonts matching the family element are edited to prepend the list of prefered families before the matching family, append the acceptable familys after the matching family and append the default families to the end of the family list。
因此这段配置将ttf字体排在点阵字体后,与本意不符,请问我的理解是否正确?
发表于 2004-1-5 16:55:40 | 显示全部楼层
应该是前面。这段的本意是将微软字体作为通用名字的替换。比如系统需要Times字体的时候,会优先选择Times New Roman字体。
回复

使用道具 举报

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

本版积分规则

GMT+8, 2025-2-10 23:28 , Processed in 0.047620 second(s), 16 queries .

© 2001-2025 Discuz! Team. Powered by Discuz! X3.5.

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