Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Weird anti-aliasing with Firefox
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Monq
n00b
n00b


Joined: 11 Feb 2011
Posts: 40
Location: Spain

PostPosted: Fri Jan 25, 2019 1:40 pm    Post subject: Weird anti-aliasing with Firefox Reply with quote

Compare Firefox:
https://i.imgur.com/CQiJkeI.png

To Chrome:
https://i.imgur.com/uVf5lH3.png

Every font in my system looks good except the ones in Firefox. They don't look as smooth. I've tried both firefox and firefox-bin. Anybody knows the cause?

My fontconfig configuration:

Code:
tux ~ # eselect fontconfig list
Available fontconfig .conf files (* is enabled):
  [1]   10-autohint.conf
  [2]   10-hinting-full.conf
  [3]   10-hinting-medium.conf
  [4]   10-hinting-none.conf
  [5]   10-hinting-slight.conf *
  [6]   10-no-sub-pixel.conf
  [7]   10-scale-bitmap-fonts.conf *
  [8]   10-sub-pixel-bgr.conf
  [9]   10-sub-pixel-rgb.conf *
  [10]  10-sub-pixel-vbgr.conf
  [11]  10-sub-pixel-vrgb.conf
  [12]  10-unhinted.conf
  [13]  11-lcdfilter-default.conf
  [14]  11-lcdfilter-legacy.conf
  [15]  11-lcdfilter-light.conf
  [16]  20-unhint-small-dejavu-sans.conf
  [17]  20-unhint-small-dejavu-sans-mono.conf
  [18]  20-unhint-small-dejavu-serif.conf
  [19]  20-unhint-small-vera.conf *
  [20]  25-unhint-nonlatin.conf
  [21]  30-metric-aliases.conf *
  [22]  40-nonlatin.conf *
  [23]  45-generic.conf *
  [24]  45-latin.conf *
  [25]  49-sansserif.conf *
  [26]  50-user.conf *
  [27]  51-local.conf *
  [28]  57-dejavu-sans.conf
  [29]  57-dejavu-sans-mono.conf
  [30]  57-dejavu-serif.conf
  [31]  60-generic.conf *
  [32]  60-latin.conf *
  [33]  60-liberation.conf
  [34]  65-fonts-persian.conf *
  [35]  65-khmer.conf
  [36]  65-nonlatin.conf *
  [37]  69-unifont.conf *
  [38]  70-no-bitmaps.conf
  [39]  70-yes-bitmaps.conf
  [40]  80-delicious.conf *
  [41]  90-synthetic.conf *


The only thing I changed was enabling "10-sub-pixel-rgb.conf", which is what I like, but it doesn't seem to work for Firefox.

I use KDE but I have KDE configured to obey the system-wide settings, which is what it does.
Back to top
View user's profile Send private message
Monq
n00b
n00b


Joined: 11 Feb 2011
Posts: 40
Location: Spain

PostPosted: Sun Jan 27, 2019 11:29 am    Post subject: Reply with quote

Building freetype with the infinality USE flag and configuring it a bit fixed this. Looks like you don't have any other option than using infinality if you want good fonts on Linux.
Back to top
View user's profile Send private message
runningnak3d
n00b
n00b


Joined: 05 Sep 2018
Posts: 39

PostPosted: Sun Jan 27, 2019 12:29 pm    Post subject: Reply with quote

I refuse to use Firefox for the sole reason that it does something funky with font rendering and I just don't have time to figure out what.

When it comes to Gentoo as a whole, I pretty much run the default font configuration, the only thing that I add are the Ubuntu fonts, and some TTF fonts -- but fontconfig, and all other font rendering is bone stock.

Firefox is the ONLY application that has weird font issues. I have gone into preferences, and forced Firefox to use specific fonts (unchecked the "allow sites to override" or whatever the checkbox is) and it still looks like crap.

The rest of my system and applications look absolutely gorgeous font wise, so Mozilla is just doing something weird and I don't have time to figure out what it is.

-- Brian
Back to top
View user's profile Send private message
Monq
n00b
n00b


Joined: 11 Feb 2011
Posts: 40
Location: Spain

PostPosted: Sun Jan 27, 2019 12:37 pm    Post subject: Reply with quote

I was using firefox-bin and I suspected the problem was that that package was using a statically built version of freetype or something like that, that's why I built the regular firefox, but it didn't help.
Back to top
View user's profile Send private message
runningnak3d
n00b
n00b


Joined: 05 Sep 2018
Posts: 39

PostPosted: Sun Jan 27, 2019 1:02 pm    Post subject: Reply with quote

If you do manage to figure it out, please post your solution.

Now that I found that you can add multi-row tabs back with some CSS (I really miss Tab Mix Plus), I would love to be able to switch back to FF.

-- Brian
Back to top
View user's profile Send private message
Monq
n00b
n00b


Joined: 11 Feb 2011
Posts: 40
Location: Spain

PostPosted: Sun Jan 27, 2019 1:07 pm    Post subject: Reply with quote

I already posted the solution... https://forums.gentoo.org/viewtopic-p-8304606.html#8304606
Back to top
View user's profile Send private message
runningnak3d
n00b
n00b


Joined: 05 Sep 2018
Posts: 39

PostPosted: Sun Jan 27, 2019 1:12 pm    Post subject: Reply with quote

LMAO -- sorry about that. I was so irritated about the font rendering in FF, that when I saw your first post I just jumped right in and replied without bothering to read the rest.

Don't post angry applies to anger towards applications and not just people ;)

Thank you very much!

EDIT: I don't know where / how you found this, but I am posting this from FF because OMG the fonts look as good, and in some cases better than Chrome now.

Again -- thank you!

-- Brian
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 13496

PostPosted: Sun Jan 27, 2019 5:20 pm    Post subject: Reply with quote

runningnak3d wrote:
If you do manage to figure it out, please post your solution.

Now that I found that you can add multi-row tabs back with some CSS (I really miss Tab Mix Plus), I would love to be able to switch back to FF.
In the spirit of helping others, would you mind posting a link to these CSS instructions? Tab Mix Plus is/was quite popular, and there are probably many people who would like to recreate as much of it as the crippled post-Quantum Firefox permits.
Back to top
View user's profile Send private message
runningnak3d
n00b
n00b


Joined: 05 Sep 2018
Posts: 39

PostPosted: Sun Jan 27, 2019 11:45 pm    Post subject: Reply with quote

Hu wrote:
In the spirit of helping others, would you mind posting a link to these CSS instructions? Tab Mix Plus is/was quite popular, and there are probably many people who would like to recreate as much of it as the crippled post-Quantum Firefox permits.


Absolutely!

https://github.com/Izheil/Quantum-Nox-Firefox-Dark-Full-Theme

If there is interest, I would be glad to make another post with a howto for just the multi-row tabs. If you aren't familiar with how to customize Firefox, his instructions are a little ... meh.

-- Brian
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum