+ -
当前位置:首页 → 问答吧 → firefox字体忽隐乎现……

firefox字体忽隐乎现……

时间:2004-09-10

来源:互联网

升级到了官方的xorg-6.8
firefox是中文portage里原来编译的。

如图,标注的模糊处应为文字,当点击该连接/鼠标从上面移过时,所有模糊同时变为正常。

PS:今天为了测试xorg-x11,开启了nvdia显卡的
PHP 代码:
Option     "RenderAccel"                "true" 
参数
上传的图像
err-firefox.png (41.3 KB, 633 次查看)

作者: hutigers   发布时间: 2004-09-10

I now have some problem, but it happened from 2 days ago.

作者: gamedragon   发布时间: 2004-09-10

引用:
最初由 gamedragon 发表
I now have some problem, but it happened from 2 days ago.
some :ask :ask
You mean same?
Did you fix it?

作者: hutigers   发布时间: 2004-09-11

please disable the option
Option "RenderAccel" "true"

作者: younker   发布时间: 2004-09-11

引用:
最初由 younker 发表
please disable the option
Option "RenderAccel" "true"
这是一个冲突吗?

:ask :ask

作者: hutigers   发布时间: 2004-09-11

引用:
最初由 younker 发表
please disable the option
Option "RenderAccel" "true"
的确是这样,二楼也试试。

作者: hutigers   发布时间: 2004-09-11

I add this line
Option "RenderAccel" "true"
few weeks ago, it works fine for me. This problem just happened 2 days ago and it only happened to chinese webpage. I don't know why.
I will try to comment such line.

作者: gamedragon   发布时间: 2004-09-11

I do not add this line
Option "RenderAccel" "true"
but I have the same promble,is it a bug of xorg-x11-6.8.0?

作者: liqishan   发布时间: 2004-09-12

我没升级也是这样的
xorg是6.7的

作者: wangxudong   发布时间: 2004-09-12

不明白,我这儿偏就正常!
上传的图像
snapshot1.png (89.8 KB, 398 次查看)

作者: Hauser   发布时间: 2004-09-12

引用:
最初由 liqishan 发表
I do not add this line
Option "RenderAccel" "true"
but I have the same promble,is it a bug of xorg-x11-6.8.0?
我的不加那个参数就没有问题。
但是,不加那个参数,阴影的时候,就比较慢了。

作者: hutigers   发布时间: 2004-09-12

引用:
最初由 Hauser 发表
不明白,我这儿偏就正常!
我的显卡比较早,Geforce 2 GO,笔记本专用的那种。

:o :o

作者: hutigers   发布时间: 2004-09-12

我全新编译的中文portage里的mozilla就没事。而起,mozilla的flash中右键,居然可以看见文字。

我打算清空ccache重新编译firefox一次。

作者: hutigers   发布时间: 2004-09-12

Hauser的字体真PP,是用中文portage里面的吗?

作者: liqishan   发布时间: 2004-09-12

在不禁用Option "RenderAccel" "true"的情况下,
这个bug没法解决吗?
看起来似乎是只有中文会有问题,这个bug解决起来又可能遥遥无期了
我用了firefly的字体补丁,会不会是这个造成的不兼容

作者: snoopyxp   发布时间: 2004-09-13

我如果打开了Option "RenderAccel" "true",也是这样,也曾经怀疑是用firefly假粗体补丁造成的,不过我装了没有打补丁的libxft2,结果是一样的。所以应该是驱动本身的问题了。

为什么Hauser的就没有问题呢?
难道根显卡有关,我的Geforce mx400

作者: halcyon79   发布时间: 2005-06-26

我突然发现,大家可以试试把aa打开,这样似乎就没有这个字体乱掉的问题了,当然如果你使用的字体不是带有点阵的,似乎也没有这个问题。
而且即使aa打开了,也不会出现字体难看的情况。比如12号的simsun依然会显示其中的点阵字体

作者: halcyon79   发布时间: 2005-06-26

引用:
作者: liqishan
Hauser的字体真PP,是用中文portage里面的吗?
@Hauser, Verdana?

作者: zhllg   发布时间: 2005-06-26

maybe ?

enable antialias for English fonts in "~/.fonts.conf"

作者: fiag   发布时间: 2005-06-27

i use this in ~/.fonts.conf, but no effect.
代码:
<match target="font">
        <test name="family" qual="any">
 <string>Times New Roman</string>
 <string>Times</string>
 <string>Tahoma</string>
 <string>Terminal</string>
 <string>Courier New</string>
        </test>
        <edit name="hinting" mode="assign">
 <bool>true</bool>
        </edit>
        <edit name="antialias" mode="assign">
 <bool>true</bool>
        </edit>
</match>

作者: fiag   发布时间: 2005-06-27

[quote=fiag]i use this in ~/.fonts.conf, but no effect.
代码:
<match target="font">
        <test name="family" qual="any">
 <string>Times New Roman</string>
 <string>Times</string>
 <string>Tahoma</string>
 <string>Terminal</string>
 <string>Courier New</string>
        </test>
        <edit name="hinting" mode="assign">
 <bool>true</bool>
        </edit>
        <edit name="antialias" mode="assign">
 <bool>true</bool>
        </edit>
</match>
应该是打开汉字的aa才可以,或者使用没有内嵌点阵的字体也可以

不知道是为了什么,分特啊。

作者: halcyon79   发布时间: 2005-06-27

刚刚为了玩xcompmgr改了下xorg.org,发现这个问题突然解决了。
贴下改的参数
Load "xtt"

Section "Device"
Option "AGPMode" "4"
Option "AGPFastWrite" "1"
Option "EnablePageFlip" "1"
EndSection

Section "Extensions"
Option "Composite" "Enable"
EndSection

怀疑是显卡参数的问题,或者xtt

后来又出来这个问题了,ft
还是关闭aa好使。

作者: fiag   发布时间: 2005-06-28

引用:
作者: fiag
刚刚为了玩xcompmgr改了下xorg.org,发现这个问题突然解决了。
贴下改的参数
Load "xtt"

Section "Device"
Option "AGPMode" "4"
Option "AGPFastWrite" "1"
Option "EnablePageFlip" "1"
EndSection

Section "Extensions"
Option "Composite" "Enable"
EndSection

怀疑是显卡参数的问题,或者xtt

后来又出来这个问题了,ft
还是关闭aa好使。
打开aa好用吧?

作者: halcyon79   发布时间: 2005-06-28

好象解决了,我关掉了所有TTF的16以下的AA,好象没有再出这种问题了。大家试试看呢?

代码:
 <match target="font">
 <test name="family" qual="any">
 <string>Tahoma</string>
 <string>Verdana</string>
 <string>Trebuchet MS</string>
 <string>Times New Roman</string>
 <string>Impact</string>
 <string>Georgia</string>
 <string>Comic Sans MS</string>
 <string>Arial Black</string>
 <string>Arial</string>
 <string>Andale Mono</string>
 <string>Webdings</string>
 <string>Courier New</string>
 <string>SimSun</string>
 <string>Batang</string>
 <string>BatangChe</string>
 <string>MinLiU</string>
 <string>Guilm</string>
 <string>GuilmChe</string>
 <string>Dotum</string>
 <string>DotumChe</string>
 <string>Gungsuh</string>
 <string>GungsuhChe</string>
 </test>
 <test name="pixelsize" compare="less">
 <double>16</double>
 </test>
 <edit name="hinting" mode="assign">
 <bool>true</bool>
 </edit>
 <edit name="autohint" mode="assign">
 <bool>false</bool>
 </edit>
 <edit name="antialias" mode="assign">
 <bool>false</bool>
 </edit>
 </match>

作者: Steve3d   发布时间: 2005-06-29

这样能解决页面上字体的问题,但是程序标题上的字体有的时候还是会花掉。。不过原因总算是知道了,AA字体和非AA的字体一起显示的时候,NV的render extension就会出问题。

作者: Steve3d   发布时间: 2005-06-29

我也有这个问题.
RenderAccel设为true
和firefly的补丁没关系,xorg6.8.2 , 6.8.99, mozilla, firefox都有这个问题

作者: ZDN   发布时间: 2005-06-29

小结:使用nvidia模块时
开启 RenderAccel 和 汉字的AA冲突,就会导致汉字和英文夹杂时,出现英文字体破碎的问题

解决办法,要么关闭RenderAccel,要么关闭全部字体的AA

试试看关掉了所有TTF的16以下的AA

当然放大字体后就又出问题哦了。而且英文字体关闭AA后即便是小字体也不好看。

关闭 RenderAccel 没有什么别的影响吧

作者: fiag   发布时间: 2005-06-29

nvnews的论坛里有个nvidia的开发者经常在,叫 zander .
可以试试把问题反映给他
http://www.nvnews.net/vbulletin/forumdisplay.php?f=14
另外大家都是用的什么版本?

作者: ZDN   发布时间: 2005-06-29

不过我的怎么是打开了aa就没有这个问题了?刚才把英文字体和中文字体的aa都关了,结果英文字体乱了。

作者: halcyon79   发布时间: 2005-06-29