Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Firefox text rendering is poor

Graphical Environments, Managers, Multimedia & Desktop questions.
Post Reply
Message
Author
Magnusmaster
Posts: 168
Joined: 2010-06-12 22:50

Firefox text rendering is poor

#1 Post by Magnusmaster »

Ever since I updated Firefox to version 52, the font rendering for the websites (not the UI) is very poor, and different from that of any other app. It seems it uses full hinting, instead of the slight hinting which is the font setting I use. Here are some screenshots: http://imgur.com/a/Wv3hQ

How can I fix this?

User avatar
bw123
Posts: 4015
Joined: 2011-05-09 06:02
Has thanked: 1 time
Been thanked: 28 times

Re: Firefox text rendering is poor

#2 Post by bw123 »

I couldn't see the image with links2 or find a clickable link to view on your imgur link. I don't use javascript, not even for pron sites. javascript is insecure, so my best guess is it looks horrible?
How can I fix this?
Don't know, but maybe if you post more info about debian version, how (and where) you got the ff52, and what desktop you are using, some other nice people will give you some hints?
resigned by AI ChatGPT

Magnusmaster
Posts: 168
Joined: 2010-06-12 22:50

Re: Firefox text rendering is poor

#3 Post by Magnusmaster »

I am using debian sid, with firefox-esr from experimental. Upstream Firefox has the same issue.

Bulkley
Posts: 6382
Joined: 2006-02-11 18:35
Has thanked: 2 times
Been thanked: 39 times

Re: Firefox text rendering is poor

#4 Post by Bulkley »

Magnusmaster wrote:I am using debian sid, with firefox-esr from experimental.
That explains it.

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: Firefox text rendering is poor

#5 Post by debiman »

you definitely should have included that information in your op.

i can see the font doesn't look too perfect on your scrot.

have you scoured firefox' font settings in about:config?

could it have sth to do with FF's switch to gtk3?

TonyT
Posts: 575
Joined: 2006-09-04 11:57

Re: Firefox text rendering is poor

#6 Post by TonyT »

You can handle hinting for the UI with userchrome.css and the Body of Webpages with usercontent.css.

Firefox supports:

font-smooth: auto;
font-smooth: never;
font-smooth: always;

text-rendering: auto;
text-rendering: optimizeSpeed;
text-rendering: optimizeLegibility;
text-rendering: geometricPrecision;

Magnusmaster
Posts: 168
Joined: 2010-06-12 22:50

Re: Firefox text rendering is poor

#7 Post by Magnusmaster »

TonyT wrote:You can handle hinting for the UI with userchrome.css and the Body of Webpages with usercontent.css.

Firefox supports:

font-smooth: auto;
font-smooth: never;
font-smooth: always;

text-rendering: auto;
text-rendering: optimizeSpeed;
text-rendering: optimizeLegibility;
text-rendering: geometricPrecision;
Sadly setting those properties in usercontent.css does nothing.

TonyT
Posts: 575
Joined: 2006-09-04 11:57

Re: Firefox text rendering is poor

#8 Post by TonyT »

In about:config try changing:

gfx.canvas.azure.backends =
gfx.content.azure.backends =

to the way it used to be: cairo

Magnusmaster
Posts: 168
Joined: 2010-06-12 22:50

Re: Firefox text rendering is poor

#9 Post by Magnusmaster »

That was the first thing I tried. Sadly, it didn't do anything.

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: Firefox text rendering is poor

#10 Post by debiman »

Magnusmaster wrote:That was the first thing I tried.
really?
why didn't you mention this in your original post?
makes me wonder, what was the second thing you tried? and the third?

ruffwoof
Posts: 298
Joined: 2016-08-20 21:00

Re: Firefox text rendering is poor

#11 Post by ruffwoof »

Try ...

apt-get install ttf-mscorefonts-installer
apt-get install ttf-liberation

In Firefox Edit, Preferences, Content and set the default font to perhaps Arial, then click advanced and uncheck 'Allow pages to choose their own font'

Magnusmaster
Posts: 168
Joined: 2010-06-12 22:50

Re: Firefox text rendering is poor

#12 Post by Magnusmaster »

I managed to fix it by adding these settings in my fonts.conf file. Firefox should have picked up the XFCE settings, but didn't.

Code: Select all

<edit mode="assign" name="lcdfilter">
   <const>lcddefault</const>
  </edit>
   <edit mode="assign" name="hinting">
   <const>true</const>
  </edit>
   <edit mode="assign" name="hintstyle">
   <const>hintslight</const>
  </edit>
  <edit mode="assign" name="embeddedbitmap">
   <bool>false</bool>
  </edit>

Post Reply