Bug 274361 - Firefox fonts hinting and size
Summary: Firefox fonts hinting and size
Status: RESOLVED FIXED
: 199676 228559 232508 (view as bug list)
Alias: None
Product: openSUSE 10.2
Classification: openSUSE
Component: Firefox (show other bugs)
Version: Final
Hardware: Other Other
: P5 - None : Major (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-14 16:47 UTC by Forgotten User CRPsQFwJ3b
Modified: 2008-03-27 21:43 UTC (History)
3 users (show)

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
my fonts rendering with subpixel hinting (33.46 KB, image/png)
2007-05-17 12:42 UTC, Forgotten User CRPsQFwJ3b
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Forgotten User CRPsQFwJ3b 2007-05-14 16:47:36 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.
Comment 1 Forgotten User CRPsQFwJ3b 2007-05-14 16:48:04 UTC
*** Bug 199676 has been marked as a duplicate of this bug. ***
Comment 2 Forgotten User CRPsQFwJ3b 2007-05-14 16:48:13 UTC
*** Bug 228559 has been marked as a duplicate of this bug. ***
Comment 3 Forgotten User CRPsQFwJ3b 2007-05-14 16:48:22 UTC
*** Bug 232508 has been marked as a duplicate of this bug. ***
Comment 4 Mike Fabian 2007-05-14 18:03:31 UTC
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.
Comment 5 Mike Fabian 2007-05-14 18:05:43 UTC
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).
Comment 6 Wolfgang Rosenauer 2007-05-17 12:26:45 UTC
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.
Comment 7 Forgotten User CRPsQFwJ3b 2007-05-17 12:41:12 UTC
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.
Comment 8 Forgotten User CRPsQFwJ3b 2007-05-17 12:42:03 UTC
Created attachment 140774 [details]
my fonts rendering with subpixel hinting
Comment 9 Wolfgang Rosenauer 2008-03-27 18:09:20 UTC
Please retest with Firefox 3 betas.
Comment 10 Forgotten User CRPsQFwJ3b 2008-03-27 19:31:02 UTC
You can mark this bug as fixed. Font rendering is okay with FF3
Comment 11 Wolfgang Rosenauer 2008-03-27 21:43:00 UTC
Thanks. Closing