Will they ever fix font rendering in firefox 4?

Discussion about official Mozilla Firefox builds
Locked
User avatar
Omega X
Posts: 8225
Joined: October 18th, 2007, 2:38 pm
Location: A Parallel Dimension...

Re: Will they ever fix font rendering in firefox 4?

Post by Omega X »

hews310 wrote:
Omega X wrote:Because Direct2D and DirectWrite are Microsoft systems.

Some of the bugs/inferiorities are due to Firefox though as Bas Schouten & Jonathan Kew explain on this bug:
https://bugzilla.mozilla.org/show_bug.cgi?id=635490


They both mention the same AA issue where DirectWrite didn't support the AA method.
They also mention that except for edge cases, Firefox was identical to IE9.

So after they fix the AA issue then what? The complaints will still be there because DirectWrite uses different kerning and sub pixel positioning than GDI.
hews310
Posts: 378
Joined: January 17th, 2011, 11:22 am

Re: Will they ever fix font rendering in firefox 4?

Post by hews310 »

Omega X wrote:They both mention the same AA issue where DirectWrite didn't support the AA method.
They also mention that except for edge cases, Firefox was identical to IE9.

It isn't identical, IE9 creates more space with no or light colour shading between letters which reduces the blurry/letters joining effect, see my attachment in comment 32
https://bugzilla.mozilla.org/show_bug.cgi?id=635490#c32
avada
Posts: 1934
Joined: February 10th, 2008, 6:30 am
Location: Hungary

Re: Will they ever fix font rendering in firefox 4?

Post by avada »

hews310 wrote:
Omega X wrote:They both mention the same AA issue where DirectWrite didn't support the AA method.
They also mention that except for edge cases, Firefox was identical to IE9.

It isn't identical, IE9 creates more space with no or light colour shading between letters which reduces the blurry/letters joining effect, see my attachment in comment 32
https://bugzilla.mozilla.org/show_bug.cgi?id=635490#c32

That is precisely what Omega X was talking about when he mentioned kerning and subpixel positioning.
hews310
Posts: 378
Joined: January 17th, 2011, 11:22 am

Re: Will they ever fix font rendering in firefox 4?

Post by hews310 »

avada wrote:
hews310 wrote:
Omega X wrote:They both mention the same AA issue where DirectWrite didn't support the AA method.
They also mention that except for edge cases, Firefox was identical to IE9.

It isn't identical, IE9 creates more space with no or light colour shading between letters which reduces the blurry/letters joining effect, see my attachment in comment 32
https://bugzilla.mozilla.org/show_bug.cgi?id=635490#c32

That is precisely what Omega X was talking about when he mentioned kerning and subpixel positioning.

Omega X said:

"complaints will still be there because DirectWrite uses different kerning and sub pixel positioning than GDI"

GDI is hardware acceleration off, I am saying IE9 does not deliver identical results to FF4 both with hardware acceleration/DirectWrite enabled, IE9 creates more space between letters reducing the blurring/letter joining effect you get on FF4.
avada
Posts: 1934
Joined: February 10th, 2008, 6:30 am
Location: Hungary

Re: Will they ever fix font rendering in firefox 4?

Post by avada »

hews310 wrote:Omega X said:

"complaints will still be there because DirectWrite uses different kerning and sub pixel positioning than GDI"

GDI is hardware acceleration off, I am saying IE9 does not deliver identical results to FF4 both with hardware acceleration/DirectWrite enabled, IE9 creates more space between letters reducing the blurring/letter joining effect you get on FF4.

No one said it delivers identical results, because of the mentioned things. Also if I remember correctly IE uses GDI for font rendering.
hews310
Posts: 378
Joined: January 17th, 2011, 11:22 am

Re: Will they ever fix font rendering in firefox 4?

Post by hews310 »

avada wrote:No one said it delivers identical results, because of the mentioned things. Also if I remember correctly IE uses GDI for font rendering.

Only for sites in compatibility mode/forced IE6-8 standards mode.
avada
Posts: 1934
Joined: February 10th, 2008, 6:30 am
Location: Hungary

Re: Will they ever fix font rendering in firefox 4?

Post by avada »

I just noticed that anti-aliasing tuner was updated. (a month ago...) Anyway. I installed it and fonts look rather better. Not sure how it works though, because changing and applying settings didn't change anything visibly.
User avatar
Omega X
Posts: 8225
Joined: October 18th, 2007, 2:38 pm
Location: A Parallel Dimension...

Re: Will they ever fix font rendering in firefox 4?

Post by Omega X »

hews310 wrote:
"complaints will still be there because DirectWrite uses different kerning and sub pixel positioning than GDI"

GDI is hardware acceleration off, I am saying IE9 does not deliver identical results to FF4 both with hardware acceleration/DirectWrite enabled, IE9 creates more space between letters reducing the blurring/letter joining effect you get on FF4.


In your example, there are the exact same amount of pixels between letters. The difference is that Firefox does darker sub pixels. In most cases its hard to tell the difference unless you zoom extremely up close.

My point in the quote was that some people hate the DirectWrite text looks regardless and prefer the GDI look.
Meol
Posts: 86
Joined: April 5th, 2008, 1:12 am

Re: Will they ever fix font rendering in firefox 4?

Post by Meol »

Anti-Aliasing Tuner

can those settings be accessed manually?
the tuner seems to cover a lot more than previously discussed
hews310
Posts: 378
Joined: January 17th, 2011, 11:22 am

Re: Will they ever fix font rendering in firefox 4?

Post by hews310 »

Omega X wrote:In your example, there are the exact same amount of pixels between letters. The difference is that Firefox does darker sub pixels. In most cases its hard to tell the difference unless you zoom extremely up close.

First there aren't the same amount of pixels, look at the second m and e in remember, between the last e and r, between the n and d in and, the e and p and e and t in petty, IE9 is using less pixels or much lighter pixels between letters for a reason, to make them clearer, reduce any letter joining effect, mentioned in comment 11

https://bugzilla.mozilla.org/show_bug.cgi?id=635490#c32
https://bugzilla.mozilla.org/show_bug.cgi?id=635490#c11

Omega X wrote:My point in the quote was that some people hate the DirectWrite text looks regardless and prefer the GDI look.

I wouldn't hate if it looked better, problem is it pretty clearly doesn't for the majority of people. I am sure it can be done properly, but microsoft/mozilla have not got it right yet.

Meol wrote:Anti-Aliasing Tuner

can those settings be accessed manually?
the tuner seems to cover a lot more than previously discussed

Looks interesting, does it work with directwrite, I'll test it out and report back....
ac15cc1x
Posts: 10
Joined: January 9th, 2011, 9:39 am

Re: Will they ever fix font rendering in firefox 4?

Post by ac15cc1x »

i couldn't get any good combination with the tuner. :(
psishock
Posts: 150
Joined: February 9th, 2011, 5:11 am

Re: Will they ever fix font rendering in firefox 4?

Post by psishock »

Meol wrote:Anti-Aliasing Tuner

can those settings be accessed manually?
the tuner seems to cover a lot more than previously discussed

wow, this is pretty neat stuff. It does sightly improve the clearness of the rendering, i might even stay on hardware accelerated rendering after all. :D
Only the spaces between letters seems a bit messed, but that (hopefully) can get fixed without too much trouble.

some random examples, all with hardware acceleration enabled of course:
Image
Image
Image
User avatar
_Dexter_
Posts: 1436
Joined: August 30th, 2008, 6:54 pm
Location: Miami

Re: Will they ever fix font rendering in firefox 4?

Post by _Dexter_ »

Those of you having text rendering problems, and running at a high DPI, might want to try this and see if it helps.

Under Custom DPI setting uncheck the box that says to use Windows XP style scaling. Doing so will 'activate' DPI awareness which Fx4 does support. But be forewarned that many other programs do not support it which will make their text blurry looking. You can correct this under the Compatibility tab for these programs by checking the option that refers to DPI.

I don't seem to have a rendering problem so I can't really tell if this will help some of you. It's worth the try.
Intel i7 Core Quad @ 4.25Ghz | Cooler Master Hyper 212 Plus | 12GB PC3-16000 RAM | ASUS HD6970 2GB - 12.3 CATS | ASUS PA246Q IPS 24" LCD 16:10 | OCZ AGILITY-EX SSD SLC | Windows 7 SP1 x64 Ultimate
hews310
Posts: 378
Joined: January 17th, 2011, 11:22 am

Re: Will they ever fix font rendering in firefox 4?

Post by hews310 »

psishock wrote:
Meol wrote:Anti-Aliasing Tuner

can those settings be accessed manually?
the tuner seems to cover a lot more than previously discussed

wow, this is pretty neat stuff. It does sightly improve the clearness of the rendering, i might even stay on hardware accelerated rendering after all. :D
Only the spaces between letters seems a bit messed, but that (hopefully) can get fixed without too much trouble.

This seems pretty good although I'm not sure the GDI rendering is the same as with hardware acceleration off, need to to do a bit of testing to verify. I am quite liking the Default>Natural setting. Changes take place as soon as you hit apply and close, they do not affect any other applications.
psishock
Posts: 150
Joined: February 9th, 2011, 5:11 am

Re: Will they ever fix font rendering in firefox 4?

Post by psishock »

hews310 wrote:This seems pretty good although I'm not sure the GDI rendering is the same as with hardware acceleration off, need to to do a bit of testing to verify.

Its definitely hardware accelerated, even on the GDI modes. I've got the best results with Clear Type+GDI normal on the short test.

Try the infamous fishtank test from microsoft, the acceleration impact is most definitely there, even with those "GDI" rendering modes.
Locked