X
Tap here to go to the mobile version of the site.

Support Forum

[regression] Text rendering is incorrect

Posted

Those three operations should make the text rendering correct:

Disable hardware acceleration Set gfx.canvas.azure.backends to direct2d1.1,cairo Set gfx.content.azure.backends to direct2d1.1,cairo

https://renderingenginetest.netlify.com/

Dark theme can be tested by reversing the foreground and background colors in the HTML.

For reference, here is the correct GDI rendering of this website:

https://i.imgur.com/dWuZfbD.png https://i.imgur.com/M4oKd7i.png

In Firefox ESR 52.4.1 (32-bit), text renders correctly:

https://i.imgur.com/InrXmeI.png https://i.imgur.com/kn3bZra.png

which is the same as the GDI rendering of this website, except for some line spacing issues.

However, in Firefox 70.0b6 (32-bit), the rendering regressed and text no longer renders correctly:

https://i.imgur.com/Jn2NxGJ.png https://i.imgur.com/qDxww7y.png

Line spacing is correct, but don't let this distract you from how profoundly unsmooth the rendering is in the light theme version. The dark theme version is nearly identical though.

Those three operations should make the text rendering correct: Disable hardware acceleration Set gfx.canvas.azure.backends to direct2d1.1,cairo Set gfx.content.azure.backends to direct2d1.1,cairo https://renderingenginetest.netlify.com/ Dark theme can be tested by reversing the foreground and background colors in the HTML. For reference, here is the correct GDI rendering of this website: https://i.imgur.com/dWuZfbD.png https://i.imgur.com/M4oKd7i.png In Firefox ESR 52.4.1 (32-bit), text renders correctly: https://i.imgur.com/InrXmeI.png https://i.imgur.com/kn3bZra.png which is the same as the GDI rendering of this website, except for some line spacing issues. However, in Firefox 70.0b6 (32-bit), the rendering regressed and text no longer renders correctly: https://i.imgur.com/Jn2NxGJ.png https://i.imgur.com/qDxww7y.png Line spacing is correct, but don't let this distract you from how profoundly unsmooth the rendering is in the light theme version. The dark theme version is nearly identical though.
Quote

Additional System Details

Installed Plug-ins

  • Adobe PDF Plug-In For Firefox and Netscape 19.12.20036
  • NPWLPG
  • Shockwave Flash 32.0 r0
  • Vizzed Retro Game Room Plugin

Application

  • User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0

More Information

TyDraniu
  • Top 25 Contributor
316 solutions 1779 answers

PiotrGrochowski said

Those three operations should make the text rendering correct: Disable hardware acceleration Set gfx.canvas.azure.backends to direct2d1.1,cairo Set gfx.content.azure.backends to direct2d1.1,cairo

If you disabled HA, enumerating 'direct2d1.1' was redundant. You've been using cairo for text rendering.

Recently cairo code has been removed from the browser. See bug 1517077.

''PiotrGrochowski [[#question-1268750|said]]'' <blockquote> Those three operations should make the text rendering correct: Disable hardware acceleration Set gfx.canvas.azure.backends to direct2d1.1,cairo Set gfx.content.azure.backends to direct2d1.1,cairo </blockquote> If you disabled HA, enumerating 'direct2d1.1' was redundant. You've been using cairo for text rendering. Recently cairo code has been removed from the browser. See [https://bugzilla.mozilla.org/show_bug.cgi?id=1517077 bug 1517077].
Was this helpful to you?
Quote

Question owner

What a facepalm it is that high quality text rendering has been removed. It is a regression. It is a dealbreaker because many if not most webpages have text in them so I'm not using the recent version.

What a facepalm it is that high quality text rendering has been removed. It is a regression. It is a dealbreaker because many if not most webpages have text in them so I'm not using the recent version.
Was this helpful to you?
Quote
McCoy
  • Top 10 Contributor
534 solutions 5035 answers
See this Reddit thread : https://www.reddit.com/r/firefox/comments/cz6nys/firefox_69_breaks_windows_font_rendering/
Was this helpful to you?
Quote

Question owner

Has anyone tested whether this regression is crossplatform? (all platforms using Mozilla's open-source DirectWrite renderer as opposed to the system native text rendering engine)

Has anyone tested whether this regression is crossplatform? (all platforms using Mozilla's open-source DirectWrite renderer as opposed to the system native text rendering engine)

Modified by PiotrGrochowski

Was this helpful to you?
Quote

Question owner

https://fontgammatest.netlify.com/ is the test of gamma.

https://fontgammatest.netlify.com/ is the test of gamma.
Was this helpful to you?
Quote

Question owner

To this day, Firefox ESR 52.4.1 (32-bit) is one of the only browsers to even remotely allow standard GDI rendering.

To this day, Firefox ESR 52.4.1 (32-bit) is one of the only browsers to even remotely allow standard GDI rendering.
Was this helpful to you?
Quote
Ask a question

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.