You are not logged in.

#1 2020-04-14 03:59:32

duynguyen
Member
Registered: 2020-04-14
Posts: 9

[SOLVED] Bad font rendering in Firefox and some other applications

In google chrome, everything looks fine. You can see from the images below:
gnome-pomodoro: uCrvxoQ.png
firefox: hn07NtC.png
chrome: zHZd0au.png

I'm currently using Xfce4. I have:
hinting: full
anti-aliasting: enabled
default font: Tahoma 13.5
default monospace font: Source code pro 14
dpi: 96

output of fc-list:

duy@duy:~/.local/share$ fc-list | pastebinit
https://pastebin.com/Q8HA23Eg

My solution:
The problem seems to come from Tahoma font so I change it to Liberation

Last edited by duynguyen (2020-04-14 14:39:42)

Offline

#2 2020-04-14 07:47:29

seth
Member
Registered: 2012-09-03
Posts: 29,857

Re: [SOLVED] Bad font rendering in Firefox and some other applications

Chrome ignores most fonconfig settigns and the rest probably "suffers" from the full hinting, try hintslight.

Online

#3 2020-04-14 13:57:55

duynguyen
Member
Registered: 2020-04-14
Posts: 9

Re: [SOLVED] Bad font rendering in Firefox and some other applications

seth wrote:

Chrome ignores most fonconfig settigns and the rest probably "suffers" from the full hinting, try hintslight.

I've tried. It did not help

I find out that if I set the dpi to 90 the pomodoro looks fine. If I zoom firefox page in a liitle bit, it looks find too

Last edited by duynguyen (2020-04-14 14:04:04)

Offline

#4 2020-04-14 14:00:28

seth
Member
Registered: 2012-09-03
Posts: 29,857

Re: [SOLVED] Bad font rendering in Firefox and some other applications

"Tried" how and "did not help" how? Did you notice any impact from the altered setting?

Sanity check:

loginctl session-status

Online

#5 2020-04-14 14:07:13

duynguyen
Member
Registered: 2020-04-14
Posts: 9

Re: [SOLVED] Bad font rendering in Firefox and some other applications

I set it in the setting. Nothing changed, It all looked the same as before

Offline

#6 2020-04-14 14:08:47

seth
Member
Registered: 2012-09-03
Posts: 29,857

Re: [SOLVED] Bad font rendering in Firefox and some other applications

I'm not sure how xfce handles this, but did you re-login to the session?

Online

#7 2020-04-14 14:14:10

sevendogs
Member
From: Texas
Registered: 2016-01-24
Posts: 201

Re: [SOLVED] Bad font rendering in Firefox and some other applications

OP: do you have bitmap font scaling enabled? This has always caused my Firefox fonts to be bad. I normally enable the "no bitmaps" config available in /etc/fonts/conf.avail and delete the "scale bitmaps" (not sure the exact name) symlink in the /etc/fonts/conf.d directory.

Not sure this will resolve your issue but it normally does with my set up.


"Give a man a truth and he will think for a day. Teach a man to reason and he will think for a lifetime"

Offline

#8 2020-04-14 14:17:49

duynguyen
Member
Registered: 2020-04-14
Posts: 9

Re: [SOLVED] Bad font rendering in Firefox and some other applications

seth wrote:

I'm not sure how xfce handles this, but did you re-login to the session?

yes
I don't know why but when I change the font settings, everything still looks the same except for when I change the dpi

Offline

Board footer

Powered by FluxBB