Bugzilla – Bug 274361
Firefox fonts hinting and size
Last modified: 2008-03-27 21:43:00 UTC
Please for the next release of Firefox enable hinting by default by setting the following settings (no fonts.conf is required!): font.FreeType2.enable TRUE font.FreeType2.autohinted TRUE font.FreeType2.unhinted FALSE Also please make firefox not apply it's default 96dpi by making it *only* use X's via: layout.css.dpi 0 I will mark all related bugs as duplicate to this one as it sums up the situation. Regards.
*** Bug 199676 has been marked as a duplicate of this bug. ***
*** Bug 228559 has been marked as a duplicate of this bug. ***
*** Bug 232508 has been marked as a duplicate of this bug. ***
Using the autohinter font.FreeType2.autohinted TRUE is not a good choice for many good TrueType fonts when a freetype2 package compiled with the byte code interpreter is available.
And why does firefox have its own variables for these settings anyway? Wouldn't it be better if firefox just behaved like all other GTK2 applications? (That's what I requested in bug #232508).
layout.css.dpi is set to -1 currently which seems to mean max(96dpi, System setting). Does it really make a difference with "0"? Before enabling freetype2 we have to find out what it means in the end. Does it make a difference? Could you show us a screenshot where we can see the difference with those settings? (In reply to comment #5) > And why does firefox have its own variables for these settings anyway? > > Wouldn't it be better if firefox just behaved like all other > GTK2 applications? maybe, and maybe nobody expanded GTK support to reuse these GTK settings in mozilla yet. I almost don't have any clue about fonts otherwise I would have looked into this some time ago.
Hmmmmmmm. I have compiled freetype with subpixel hinting on my system and it seems like Firefox uses that and ignores the mentioned configs as well as the gnome(gtk+?) configuration. Could it be that because of the missing subpixel hinting in upstream it falls back gracefuly to non-hinting or badly chosen hitning? I will attach a shot of how fonts look here, so you can compare to the ones on your system.
Created attachment 140774 [details] my fonts rendering with subpixel hinting
Please retest with Firefox 3 betas.
You can mark this bug as fixed. Font rendering is okay with FF3
Thanks. Closing