We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Firefox shows incorrect bold fonts with hardware acceleration enabled

  • 13 个回答
  • 3 人有此问题
  • 1 次查看
  • 最后回复者为 REiT

more options

I have a AMD GPU and last drivers (14.9). With hardware acceleration enabled firefox shows fonts a little different from the normal. Two examples:

Hardware acceleration enabled: http://alojaimagens.com/images/ps83cu73hgewe9kk6ya.png

Hardware acceleration disable: http://alojaimagens.com/images/ubvvd0d4r3ok7w6ymyb.png

Why this happens? How fix this?

Best Regards.

I have a AMD GPU and last drivers (14.9). With hardware acceleration enabled firefox shows fonts a little different from the normal. Two examples: Hardware acceleration enabled: http://alojaimagens.com/images/ps83cu73hgewe9kk6ya.png Hardware acceleration disable: http://alojaimagens.com/images/ubvvd0d4r3ok7w6ymyb.png Why this happens? How fix this? Best Regards.

所有回复 (13)

more options

From Mozilla help files;

Try disabling graphics hardware acceleration. Since this feature was added to Firefox, it has gradually improved, but there still are a few glitches.

more options

Yes, when I disabled this function fonts back to the normal. But this a serious question because this option became enabled on default.

more options

Yes, I found out about that myself and filed a bug report. Leave Hardware turned off. Not having it should not hurt.

1031347 – Firefox Full Installer Changes User Settings

more options

But there are some open bug ticket for this issue? Is expected to be resolved?

more options

You can try to create a new Boolean pref on the about:config page via the right-click context menu with the name layout.paint_rects_separately and set the value to true and leave hardware acceleration and Direct2D enabled.

  • layout.paint_rects_separately = true

That way you still have the benefit from hardware acceleration, but may not suffer from rendering issues.

You can open the about:config page via the location/address bar. You can accept the warning and click "I'll be careful" to continue.

more options

I tried this but don't work. I think Mozilla should consider having this option disabled by default.

I tested with Google Chrome and nothing like this happen.

more options

It is possible that Firefox uses a different font (bolder version) when hardware acceleration is used.

You can right-click on a web page and select "Inspect Element" to open the Inspector (Firefox/Tools > Web Developer). You can check the font used for selected text in the Font tab in the right pane of the Inspector.

more options

Really sorry for delay, but had some problems.

I see that this problem has not been solved yet. The firefox with when enabled hardware acceleration continues to "blur" the fonts.

Even in firefox TAB you can check this. Let me give an example: http://s16.postimg.org/9a2pwgm8l/firefoxblurfonts.png

The first example is with hardware acceleration enabled and second with disabled. You can see clearly the difference.

more options

The top image is pushed over one letter. Is there something invisible there?

more options

What you mean with invisible?

You can see other example:

Enable: http://s1.postimg.org/yp14ox54f/enable.png

Disable: http://s1.postimg.org/uer272pf3/disable.png

With Hardware acceleration ON fonts come blur.

more options

From Mozilla help files;

Try disabling graphics hardware acceleration. Since this feature was added to Firefox, it has gradually improved, but there still are a few glitches.

more options

You can try to disable OMTC and leave hardware acceleration in Firefox enabled.

  • about:config page: layers.offmainthreadcomposition.enabled = false

You can open the about:config page via the location/address bar. You can accept the warning and click "I'll be careful" to continue.

more options

Yes, disabling fix this problem. But I lost the advantages of this feature.

cor-el, thank you for the suggestion. But unfortunately don't resolve and put worst: http://s18.postimg.org/6nwe739u1/ayers_offmainthreadcomposition_enabled_false.png