分页: 1 / 1
OpenOffice的字体有的救吗?!
发表于 : 2006-11-05 10:02
由 hookilah
毛刺太严重的,菜单字体也很难看,不知道有什么解决的办法?!特别是英文的
发表于 : 2006-11-05 10:10
由 gnix_oag
OpenOffice.org 提供一个替换字体的功能。您可以用操作系统上安装的字体来替代 OpenOffice.org 屏幕显示及打印文档使用的字体。通过菜单命令“工具 - 选项 - OpenOffice.org - 替换字体”就可以设定。
要更改标准的 OpenOffice.org 使用界面的字体 Andale Sans UI ,采用另外一个字体,并设定替换字体的选项“自动”。
发表于 : 2006-11-05 10:31
由 hookilah
gnix_oag 写了:OpenOffice.org 提供一个替换字体的功能。您可以用操作系统上安装的字体来替代 OpenOffice.org 屏幕显示及打印文档使用的字体。通过菜单命令“工具 - 选项 - OpenOffice.org - 替换字体”就可以设定。
要更改标准的 OpenOffice.org 使用界面的字体 Andale Sans UI ,采用另外一个字体,并设定替换字体的选项“自动”。
你指的是这样??没有改观啊。
发表于 : 2006-11-05 12:49
由 gnix_oag
换其它的中文字体试试
发表于 : 2006-11-05 20:12
由 Truth
只是替换界面显示字体
并没有替换其他字体
你需要设置默认使用的中文字体和英文字体
发表于 : 2006-11-06 9:17
由 hookilah
gnix_oag 写了:换其它的中文字体试试
都试过了,界面效果并没有改善
发表于 : 2006-11-06 14:01
由 glade
看上去没有开反锯齿
我也遇到类似问题
发表于 : 2006-11-06 22:26
由 lex.de
我也遇到类似问题,但是还不知道如何解决。
我猜想当我们关闭AA功能的时候,其它gtk程序知道使用内嵌的bitmap字体。而openoffice的机制有所不同,所以显示就成这样了。
不知道openoffice的字体显示是通过什么控制的?
一个临时解决方案
发表于 : 2006-11-09 19:28
由 lex.de
这个问题可以通过修改/etc/fonts/font.conf来临时解决。
大致的方法是控制不同字号的显示方式,比如Arial, Times New Roman, Courier New等字体在小于等于14号,
,中文的字体在小于等于20号时都用非AA的方式来显示。(见下面用红色标记出的部分)
- <match target="font" >
<test name="family" compare="contains" >
<string>Song</string>
<string>Sun</string>
<string>Kai</string>
<string>Ming</string>
</test>
<edit name="globaladvance">
<bool>false</bool>
</edit>
<edit name="spacing">
<int>0</int>
</edit>
<edit name="hinting">
<bool>true</bool>
</edit>
<edit name="autohint">
<bool>false</bool>
</edit>
<edit name="antialias" mode="assign">
<bool>true</bool>
</edit>
<test name="pixelsize" compare="less_eq">
<int>20</int>
</test>
<edit name="antialias" mode="assign" >
<bool>false</bool>
</edit>
</match>
<match target="font" >
<test name="family" compare="contains" >
<string>Arial</string>
<string>Times</string>
<string>Courier</string>
</test>
<edit name="globaladvance">
<bool>false</bool>
</edit>
<edit name="spacing">
<int>0</int>
</edit>
<edit name="hinting">
<bool>true</bool>
</edit>
<edit name="autohint">
<bool>false</bool>
</edit>
<edit name="antialias" mode="assign">
<bool>true</bool>
</edit>
<test name="pixelsize" compare="less_eq">
<int>14</int>
</test>
<edit name="antialias" mode="assign" >
<bool>false</bool>
</edit>
</match>
需要说明的是,我把这段代码直接插入到/etc/fonts/fonts.conf中。这并不是一个安全的方式,起码更新系统后这个文件有可能被覆盖掉。我只是为了省事而已。
修改完之后我可以将界面的字体设为Arial 9号,但AA,Hinting等选项仍旧保持选中。这样的话,除了上面指定的字体及字号外其他的还用AA显示。这也保证了在Openoffice中即便使用Arial, Times等字体时,他们也可以不产生毛刺。之所以能够这样,是因为同样的字号在gnome和OO中显示出来的大小可以是不一样的。
具体的效果见附件。
Re: 一个临时解决方案
发表于 : 2006-11-28 23:45
由 hookilah
lex.de 写了:这个问题可以通过修改/etc/fonts/font.conf来临时解决。
大致的方法是控制不同字号的显示方式,比如Arial, Times New Roman, Courier New等字体在小于等于14号,
,中文的字体在小于等于20号时都用非AA的方式来显示。(见下面用红色标记出的部分)
- <match target="font" >
<test name="family" compare="contains" >
<string>Song</string>
<string>Sun</string>
<string>Kai</string>
<string>Ming</string>
</test>
<edit name="globaladvance">
<bool>false</bool>
</edit>
<edit name="spacing">
<int>0</int>
</edit>
<edit name="hinting">
<bool>true</bool>
</edit>
<edit name="autohint">
<bool>false</bool>
</edit>
<edit name="antialias" mode="assign">
<bool>true</bool>
</edit>
<test name="pixelsize" compare="less_eq">
<int>20</int>
</test>
<edit name="antialias" mode="assign" >
<bool>false</bool>
</edit>
</match>
<match target="font" >
<test name="family" compare="contains" >
<string>Arial</string>
<string>Times</string>
<string>Courier</string>
</test>
<edit name="globaladvance">
<bool>false</bool>
</edit>
<edit name="spacing">
<int>0</int>
</edit>
<edit name="hinting">
<bool>true</bool>
</edit>
<edit name="autohint">
<bool>false</bool>
</edit>
<edit name="antialias" mode="assign">
<bool>true</bool>
</edit>
<test name="pixelsize" compare="less_eq">
<int>14</int>
</test>
<edit name="antialias" mode="assign" >
<bool>false</bool>
</edit>
</match>
需要说明的是,我把这段代码直接插入到/etc/fonts/fonts.conf中。这并不是一个安全的方式,起码更新系统后这个文件有可能被覆盖掉。我只是为了省事而已。
修改完之后我可以将界面的字体设为Arial 9号,但AA,Hinting等选项仍旧保持选中。这样的话,除了上面指定的字体及字号外其他的还用AA显示。这也保证了在Openoffice中即便使用Arial, Times等字体时,他们也可以不产生毛刺。之所以能够这样,是因为同样的字号在gnome和OO中显示出来的大小可以是不一样的。
具体的效果见附件。
谢谢你的回复,试过了你的脚本,似乎对我的系统不起左右。
我把sursong这个字体删除以后,中文字体改善了。但是英文字体仍旧不理想。
我使用的是下面这个美化方案http://forum.ubuntu.org.cn/viewtopic.php?t=19325&postdays=0&postorder=asc&start=0
其中在“首选项”-》字体中将“平滑”设置为“灰度“或者”次像素平滑“的话,oo里的字体没有问题,但是浏览网页的时候英文字体又不理想。如果设置为“无”的话,浏览网页没有任何问题,但是oo中的英文还是回有毛刺。不知道还有什么方法吗?谢谢
发表于 : 2006-11-30 19:48
由 lex.de
你重排过/etc/fonts/fonts.conf中serif, sans serif, monospace吗?
比如,
<alias>
<family>serif</family>
<prefer>
<family>Arial</family>
<family>Simsun</family>
...
发表于 : 2006-11-30 21:14
由 dogfox
可以尝试修改定义字体,至于边框字体可以不管了
发表于 : 2006-12-01 9:56
由 hookilah
anyway.十分感谢各位,最终还是用雅黑来美化。啥问题都没有了:)