[karmic] Firefox 3.5 and openoffice do not stick to antialiasing render settings

Bug #67226 reported by Keidson Paiva de Freitas
140
This bug affects 25 people
Affects Status Importance Assigned to Milestone
Mozilla Firefox
New
Unknown
Ubuntu
Invalid
Undecided
Unassigned
Nominated for Lucid by Terry Zhou
firefox-3.5 (Ubuntu)
Triaged
Low
Unassigned
Nominated for Lucid by Terry Zhou

Bug Description

Binary package hint: firefox

The font in firefox is too blurry, maybe hinting is enabled.
The gnome interface font is ok, only firefox and openoffice suffers from this problem.

I already try to disable hinting on about:config in firefox, but this was disabled by default.

---------- -----------
There is a workaround mentioned in comment 109:

sudo rm /etc/fonts/conf.d/10*
sudo dpkg-reconfigure fontconfig
---------- -----------

==================
My /.fonts.conf looked like this:

<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
    <match target="font" >
        <edit mode="assign" name="rgba" >
            <const>none</const>
        </edit>
    </match>
    <match target="font" >
        <edit mode="assign" name="hinting" >
            <bool>true</bool>
        </edit>
    </match>
    <match target="font" >
        <edit mode="assign" name="hintstyle" >
            <const>hintfull</const>
        </edit>
    </match>
    <match target="font" >
        <edit mode="assign" name="antialias" >
            <bool>true</bool>
        </edit>
    </match>
    <dir>/home/jack/.fontmatrix</dir>
</fontconfig>

After deleting:

    <match target="font" >
        <edit mode="assign" name="hintstyle" >
            <const>hintfull</const>
        </edit>
    </match>

everything seems to be fixed.

Revision history for this message
Jonh Wendell (wendell) wrote :

Hi. Thanks for your bug report.

Can you do the following steps? (Assuming you're using edgy):

- Open Edit/Preferences;
- Go to "Content" tab
- Click on "Advanced" button (under fonts & colors group)
- Choose the fonts:
  Proportional -> Serif (Size: 16)
  Serif -> serif
  Sans-serif -> sans-serif
  Monospace -> monospace (Size: 12)
- Hit "OK" Button

- Try to open the ugly pages.

What happened? Problem solved?

Changed in firefox:
status: Unconfirmed → Needs Info
Revision history for this message
Keidson Paiva de Freitas (keidson) wrote :

Actually my font configuration is already set like you suggested, the problem is that the fonts looks like bold all the time.

I am sending one screenshot of firefox and gedit for compare.

Thanks.

Revision history for this message
Jonh Wendell (wendell) wrote :

Well, that's good. There is no bug...

If you don't like the big fonts, choose 14 or 12 in font size, instead of 16.

Revision history for this message
rubinstein (rubinstein) wrote :

> Well, that's good. There is no bug...

I have to disagree. If you look at the screenshot, you see clearly that the Firefox menu has autohinted blurry fonts.

IKeidson, if you choose subpixel rendering and full hinting in your font config settings, does it get better?

Revision history for this message
Jonh Wendell (wendell) wrote :

Keidson: What do you think? Is your problem about big fonts? Is it solved by adjusting font sizes?

Or are you talking about something i did not understand?

Revision history for this message
Keidson Paiva de Freitas (keidson) wrote :

Oskar your tip is right.

Look at the screenshot now, all fonts look great now, even in openoffice they got better (not perfect but better :)).

Thanks a lot for the tip.

And Jonh, are you using a lcd or a crt monitor?

Maybe in your computer you can't see the difference because you are using an crt monitor, and i am using a lcd on my laptop.

Oskar just got the point, because the lcd really has better results when using subpixel rendering.

Thanks a lot again.

Revision history for this message
Jonh Wendell (wendell) wrote :

Great.

I do use both, laptop and desktop.
By the way, you've solved your problem, right?

I guess we can close this bug, ok?

Revision history for this message
Keidson Paiva de Freitas (keidson) wrote :

The problem was solved changing the font hinting to subpixel (lcd) in font properties under gnome.

Changed in firefox:
assignee: nobody → keidson
status: Needs Info → Fix Released
Revision history for this message
Jonh Wendell (wendell) wrote :

We're rejecting this bug report, once this isn't a real bug.

Changed in firefox:
assignee: keidson → nobody
status: Fix Released → Rejected
Revision history for this message
In , Bugzilla-lostreality (bugzilla-lostreality) wrote :

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1) Gecko/20061010 Firefox/2.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20061204 GranParadiso/3.0a1

The dropdown menus at the top of each page have the text sorta fuzzy looking with red/blue tints around the edges of some of the letters when using Gran Paradiso Alpha 1.

Reproducible: Always

Revision history for this message
In , Bugzilla-lostreality (bugzilla-lostreality) wrote :

Created an attachment (id=248671)
What a menu looks like under 3.0a1

If you compare this to 2.0, you can tell that the right pixel is cut off of each line of text. It is most obvious on the lowercase 's' on the bottom two options shown in that picture. The left pixel is also cut off of each line, but it is harder to tell. All of the text is clearly "dimmer" looking and not properly aliased for cleartype display, causing it to not look as sharp as it should and does under 2.0 and other browsers. Another small change noticeable is the space between the T and F on the second and third lines is 1 pixel less in 3.0a1 for some reason.

Revision history for this message
In , Bugzilla-lostreality (bugzilla-lostreality) wrote :

Created an attachment (id=248672)
What a menu looks like under 2.0

Revision history for this message
In , Googulator (netrolller-3d) wrote :

It seems that Cairo is unable to correctly detect the subpixel ordering of the screen, and does a BGR-ordered ClearType on the text. Or maybe a result of both Cairo and Windows attempting to antialias the text.

Revision history for this message
In , Googulator (netrolller-3d) wrote :

Confirming bug in Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20061208 Minefield/3.0a1.

Further investigation shown that Cairo selects the wrong contrast level when rendering the text. Setting contrast to 1.0 using ClearType fixes the issue (although text will likely to look weird in other places if that is set). Probably Cairo incorrectly reads the contrast values and takes them as if they were squared (e.g. a level of 1.4 is treated as 1.4^2, that's around 2.0, while 1.0 is processed as 1,0^2=1.0). Another thing I noticed is that if you hover over the menu items, the bug disappears, but opening a submenu causes it to re-appear. Testcase coming soon.

Revision history for this message
In , Googulator (netrolller-3d) wrote :

Created an attachment (id=248910)
Testcase

Testcase. Hover over the menu in it to trigger the bug.

Revision history for this message
In , Googulator (netrolller-3d) wrote :

It looks like the culprit is in cairo-win32-font.c, judging from these comments (line 1186):

"* Otherwise, we need to draw using software fallbacks. We create a mask
 * surface by drawing the the glyphs onto a DIB, black-on-white then
 * inverting. GDI outputs gamma-corrected images so inverted black-on-white
 * is very different from white-on-black. We favor the more common
 * case where the final output is dark-on-light."

After that (at line 1212):

"* For ClearType, we need a 4-channel mask. If we are compositing on
 * a surface with alpha, we need to compute the alpha channel of
 * the mask (we just copy the green channel). But for a destination
 * surface without alpha the alpha channel of the mask is ignored"
(Let's not forget that our surface is semi-transparent, so it does have an alpha!)

And a few lines later (line 1225):

"* XXX: Hacky, should expose this in cairo_image_surface"

Probably this is a bug in Cairo itself, but it seems to need quite a major rewrite.

Revision history for this message
In , Vladimir Vukicevic (vvuk) wrote :

*** Bug 355972 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Dao (dao) wrote :

*** Bug 357456 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Jwbaker-acm (jwbaker-acm) wrote :

Created an attachment (id=289559)
Screenshot

Firefox 3.0 does something differently with on-screen type. This leads to excessive color fringing in some cases. Please see the attached screenshot (which may not make any sense if you don't use an LCD screen). The upper text is from Firefox 2.0 and the lower is from 3.0b1

Revision history for this message
In , Roc-ocallahan (roc-ocallahan) wrote :

Is it different from other GTK/Pango apps on your system?

Revision history for this message
In , Jwbaker-acm (jwbaker-acm) wrote :

Created an attachment (id=289572)
Screenshot of native text

Screenshot is the same sentence typed into gedit with the same font, Droid Sans 12.

Revision history for this message
In , Roc-ocallahan (roc-ocallahan) wrote :

Ok, I'm not really sure what's going on here. Michael might be able to help out next week.

Revision history for this message
In , Sylvain Pasche (sylvain-pasche) wrote :

This may be related to the cairo version. I could see differences in rendering between cairo 1.4 (native GTK apps) and the more recent Firefox cairo. See bug 375591 comment 6

Revision history for this message
In , Stream (stream) wrote :

Created an attachment (id=308313)
screenshot from lineage2.com

On hover the bug is still visible. See the attachment. Why this bug is not blocker, when clear type technology is used mostly in LCD monitors, and its full of them now.

Revision history for this message
In , Dylan Grose (dkbg) wrote :

Yes, I can confirm this behaviour as well on Ubuntu Gutsy and Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9b4pre) Gecko/2008022304 Minefield/3.0b4pre. The problem is exactly as described by the bug creator.

Revision history for this message
In , 12345667890gregfdbdfsdbd (12345667890gregfdbdfsdbd-deactivatedaccount-deactivatedaccount) wrote :

I can confirm the same problem on Fedora 9 and Manfield 3.0 beta 4.

Revision history for this message
In , Sylvain Pasche (sylvain-pasche) wrote :

*** Bug 375591 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Sylvain Pasche (sylvain-pasche) wrote :

This is clearly a cairo issue. See:

https://bugs.freedesktop.org/show_bug.cgi?id=10301

Things are actually stalled upstream unfortunately. Ubuntu/Debian users are lucky because their cairo is patched against this bug.

Revision history for this message
In , Tgstrick (tgstrick) wrote :

Created an attachment (id=314121)
ClearType/Opacity bug in 3 Beta 5 - Inline HTML (No layers/DHTML)

Seems like this bug has gotten worse in 3 Beta 5... I'm using opacity to fade out adjacent month dates in our in-house web calendars, and in Beta 5 the '1' digits are suffering badly. This is all relatively positioned CSS, no floats, no z-indexing or layers. Problem goes away with ClearType turned off.

Revision history for this message
In , 6XGate (sixxgate) wrote :

This bug also manifests itself in the chrome as well if the element or it's parent uses opacity or has rounded borders (-moz-border-radius) The Glasser extension screenshots show this problem alot:

http://www.neowin.net/forum/index.php?showtopic=632112

Revision history for this message
In , Sauron-ubufox (sauron-ubufox) wrote :

I absolutely consider the Glasser extension an essential now, but this bug is really bugging me quite a lot. I tried turning off ClearType, but the font looks absolutely hideous on a LCD monitor.

Revision history for this message
In , Kliu (kliu) wrote :

*** Bug 431904 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Aurelius-bw (aurelius-bw) wrote :

The Glasser Extension does not work properly because of this ...

Revision history for this message
In , Redsign (redsign) wrote :

That's nothing new but there also many websites that just look crappy because of this. It's really sad that this doesn't get fixed for 3.0.

Revision history for this message
In , Kliu (kliu) wrote :

*** Bug 434666 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Bugzilla-dailybuzz (bugzilla-dailybuzz) wrote :

Created an attachment (id=321706)
A sample HTML file showing css opacity usage with various color text and background

Revision history for this message
In , Bugzilla-dailybuzz (bugzilla-dailybuzz) wrote :

Created an attachment (id=321707)
opacity_test_p.html with cleartype enabled

Rendered in Firefox 3 RC1 on Windows Vista.

Revision history for this message
In , Bugzilla-dailybuzz (bugzilla-dailybuzz) wrote :

Created an attachment (id=321708)
opacity_test_p.html with cleartype disabled

Rendered in Firefox 3 RC1 on Windows Vista.

Revision history for this message
In , Sylvain Pasche (sylvain-pasche) wrote :

*** Bug 436760 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Kliu (kliu) wrote :

*** Bug 370429 has been marked as a duplicate of this bug. ***

affects: firefox (Ubuntu) → firefox-3.5 (Ubuntu)
Changed in firefox-3.5 (Ubuntu):
status: Invalid → Incomplete
Changed in firefox-3.5 (Ubuntu):
status: Incomplete → New
tags: added: apport-collected
xteejx (xteejx)
Changed in firefox-3.5 (Ubuntu):
status: New → Incomplete
xteejx (xteejx)
Changed in openoffice.org (Ubuntu):
status: New → Incomplete
Stef Walter (stefw)
Changed in firefox-3.5 (Ubuntu):
status: Incomplete → New
Changed in openoffice.org (Ubuntu):
status: Incomplete → New
xteejx (xteejx)
Changed in firefox-3.5 (Ubuntu):
importance: Undecided → Low
status: New → Triaged
Changed in openoffice.org (Ubuntu):
importance: Undecided → Low
status: New → Confirmed
Changed in firefox:
status: Unknown → New
xteejx (xteejx)
Changed in openoffice.org (Ubuntu):
status: Confirmed → Incomplete
Changed in firefox-3.5 (Ubuntu):
status: Triaged → Incomplete
Changed in firefox-3.5 (Ubuntu):
status: Incomplete → New
Changed in openoffice.org (Ubuntu):
status: Incomplete → New
xteejx (xteejx)
summary: - Font is too blurry in firefox interface and pages rendering
+ Firefox 3.5 and openoffice do not stick to antialiasing render settings
summary: - Firefox 3.5 and openoffice do not stick to antialiasing render settings
+ [jaunty] Firefox 3.5 and openoffice do not stick to antialiasing render
+ settings
tags: added: regression-release
xteejx (xteejx)
Changed in firefox-3.5 (Ubuntu):
status: New → Triaged
Changed in openoffice.org (Ubuntu):
status: New → Incomplete
xteejx (xteejx)
Changed in openoffice.org (Ubuntu):
status: Incomplete → Invalid
importance: Low → Undecided
xteejx (xteejx)
Changed in firefox-3.5 (Ubuntu):
status: Triaged → Fix Released
xteejx (xteejx)
Changed in firefox-3.5 (Ubuntu):
status: Fix Released → Incomplete
xteejx (xteejx)
summary: - [jaunty] Firefox 3.5 and openoffice do not stick to antialiasing render
+ [karmic] Firefox 3.5 and openoffice do not stick to antialiasing render
settings
Chris Cheney (ccheney)
affects: openoffice.org (Ubuntu) → ubuntu
116 comments hidden view all 196 comments
Revision history for this message
Fnyar (bmcnally) wrote :

I've upgraded to 9.10 and have this same problem where Firefox 3.5 doesn't seem to respect Gnome's font settings. I've got blurry fonts as others have reported. I didn't have this problem under 9.04 with Firefox 3.0 but I do recall having it until 9.04 under Firefox 3.5 when I installed it.

Revision history for this message
Fnyar (bmcnally) wrote :

I should add that none of the proposed solutions in this thread so far have solved the issue.

Revision history for this message
Fnyar (bmcnally) wrote :

Never mind. The suggestion about creating ~/.fonts.conf DOES appear to fix the problem.

Revision history for this message
scg34 (s-c-graham) wrote :

Actually, none of the above worked for me, but I did find a solution at:
http://ubuntuforums.org/showthread.php?p=8195398

Specifically:
sudo rm /etc/fonts/conf.d/10-hinting-slight.conf
sudo ln -s /etc/fonts/conf.avail/10-hinting-full.conf /etc/fonts/conf.d/

Revision history for this message
John Barley (strange-cathect) wrote :

Teej,

I can confirm that I have this problem and am running GeForce video card and the update to 9.10 caused this issue.

Revision history for this message
John Barley (strange-cathect) wrote :

I can also verify that deleting my fonts.conf had no effect after logging back in...

Revision history for this message
JorgeAzevedo (cenomail) wrote :

in the appearance menu setting the font rendering to best shapes does not affect firefox 3.5, tested on a Radeon 9200 and a Mobility Radeon 9700. this has nothing to do graphics drivers.

with Jean-Philippe Fleury solution of creating a fonts.conf, the problem is apparently solved. Thx so much!

Revision history for this message
moxie (jack-spoenk) wrote :

I had the same problem in Firefox, Galeon or Konqueror in Ubuntu Studio 9.10, 64bit, fresh install.

After reading all the replies I came up with a solution that works, in my case, and based on the suggestion by Jean-Philippe Fleury:

My /.fonts.conf looked like this:

<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
    <match target="font" >
        <edit mode="assign" name="rgba" >
            <const>none</const>
        </edit>
    </match>
    <match target="font" >
        <edit mode="assign" name="hinting" >
            <bool>true</bool>
        </edit>
    </match>
    <match target="font" >
        <edit mode="assign" name="hintstyle" >
            <const>hintfull</const>
        </edit>
    </match>
    <match target="font" >
        <edit mode="assign" name="antialias" >
            <bool>true</bool>
        </edit>
    </match>
    <dir>/home/jack/.fontmatrix</dir>
</fontconfig>

After deleting:

    <match target="font" >
        <edit mode="assign" name="hintstyle" >
            <const>hintfull</const>
        </edit>
    </match>

everything seems to be fixed.
Nevertheless I hope this will be fixed with an update soon, for all those not used to spend hours and hours fixing it (or worse, leave Ubuntu behind and moving back to Windows... Arghhhhh)

Revision history for this message
libertarian (david-treumann) wrote :

This bug affects me too. Updated from 9.04 to 9.10, using intel graphics.

Revision history for this message
xteejx (xteejx) wrote :

Marking this Triaged, there should be enough information here for a developer to debug this and begin working on it, so I shall leave it in their capable hands. Thank you guys for reporting this and keeping it updated, and good luck :)

Changed in firefox-3.5 (Ubuntu):
status: Incomplete → Triaged
description: updated
Revision history for this message
Ruytenburch (ruytenburch) wrote :

Yesterday I updgraded my work PC to Ubuntu 9.10.
I suffered the same problem.

I noticed that in /etc/fonts/conf.d there were the following links:

10-antialias.conf
10-hinting.conf
10-hinting-full.conf
10-hinting-slight.conf
11-lcd-filter-lcddefault.conf

Removing 10-hinting-slight.conf and adding 10-sub-pixel-rgb.conf worked for me.

Revision history for this message
Igor Gomes (igorgomes) wrote : Re: [Bug 67226] Re: [karmic] Firefox 3.5 and openoffice do not stick to antialiasing render settings

I do confirm this workaround.

Igor Gomes

Revision history for this message
zeckenleger (gho-nexgo) wrote :

It affects me too. And Firefox doesn't show any page with the installed msttcorefonts.
So it seems Firefox doesn't care about any font-setting in the system.

Revision history for this message
xteejx (xteejx) wrote :

It might help if this can be commented on by someone with this problem at the Mozilla tracker, if not to get their attention.

Revision history for this message
schrodycat (junk-jimandbarb) wrote :

Ruytenburch's workaround takes care of it. Just removed /etc/fonts/conf.d/10-hinting-slight.conf and the fonts look good now after restarting FF.

Revision history for this message
another_sam (anothersam) wrote :

sudo rm /etc/fonts/conf.d/10*
sudo dpkg-reconfigure fontconfig

worked for me. seen at:
http://ubuntuforums.org/showthread.php?p=8270524#post8206035

full thread at ubuntu forums:
http://ubuntuforums.org/showthread.php?p=8270524

Michael Nagel (nailor)
description: updated
Revision history for this message
Alejandro Perez (alejandro-perez-mendez) wrote :

Hi,

I have applied the work around defined in #109 and it partially worked. Now, Virtualbox and other QT applications (i.e. Skype) look awful, with pixelated 90's-like fonts.

Revision history for this message
Richard Gabriel (dj-dick) wrote :

Hi,

I was also affected by this bug.
I've tried the workaround from comment #109. After restarting FF, nothing has changed.
So I tried to restart the system. After restart, the fonts in FF are OK, and the fonts in Skype (2.1.0 beta) are also OK.

Thanks for the workaround and good luck in resolving this bug!

Revision history for this message
Frederik Elwert (frederik-elwert) wrote :

I think it’s enough to remove 10-hinting-slight.conf. This solved the problem in firefox for me without affecting Qt apps.

Revision history for this message
In , Wesley-johnston (wesley-johnston) wrote :

(In reply to comment #37)
Have you tried doing an rgb->hsl conversion and using one of those numbers? I don't really understand what's going on there (pardon the bug spam if I'm way off track), but just glancing at the patch, it seems like lightness might be a better match.

Revision history for this message
Alejandro Perez (alejandro-perez-mendez) wrote :

Hi,

I can confirm that just removing 10-hinting-slight.conf works also for me, without affecting Qt application.

Thanks!

Revision history for this message
In , Ken-adcstudio (ken-adcstudio) wrote :

It doesn't just effect opacity. Check out http://www.mobify.me/ for a real world example. The "Learn More" text has an opacity set for .9999, but the upper right hand "Sign-up" doesn't. Changing color to other then white (via firebug) helps. To see it even better, turn off backgrounds with firebug.

Using Vista 64 with ClearType, FF 3.5.5 and FF 3.6 beta.

Revision history for this message
In , Ken-adcstudio (ken-adcstudio) wrote :

I noticed that the growl like new mail notification on Thunderbird 3.0b4 has the strangely colored anti aliasing too.

Revision history for this message
In , Serenity-katz (serenity-katz) wrote :

I was going to submit for a new bug, but this is exactly the same thing here. Xft and Cairo color fringing has been a long standing problem, and David Turner (you know, Mr. Freetype) wrote a patch addressing it loooong time ago. Somehow the Freedesktop.org people just wouldn't accept it, then again they don't always make the best decisions when it comes to font rendering. However, since Mozilla by default uses embedded libcairo, I really don't see any reason the patch can't be applied when building. Turner patches can be found on his site at freetype:

http://david.freetype.org/lcd/

which will not work for current versions of Cairo now, but there's the ubuntu patch derived from it:

http://archive.ubuntu.com/ubuntu/pool/main/c/cairo/cairo_1.8.6-1ubuntu2.diff.gz

I also have my own version adapted from Turner's original patch that applies cleanly against cairo 1.8.* -- which is the sole reason I build Firefox from source on my laptop. It would be great if Mozilla can just apply this patch when building release binaries, as it would save a lot of eyesore for users.

Revision history for this message
In , Mozilla-behdad (mozilla-behdad) wrote :

Ubuntu patches cairo and fontconfig to use the newer FreeType subpixel filters, whereas upstream cairo doesn't (yet). The whole thing is very controversial since those filters are suspected to infringe patents in the US...

So, that's where the discrepancy comes from...

Revision history for this message
In , Ken-adcstudio (ken-adcstudio) wrote :

This build (http://www.osnews.com/comments/22543) of "Firefox 3.7 with built-in Direct2D acceleration" seems to have fixed the issue (uses different font renderer?). I was suspecting some sort of hex math rounding issue, or using the full number instead of each channel's number separately.

Revision history for this message
In , Ken-adcstudio (ken-adcstudio) wrote :

Please see Bug 512136 (https://bugzilla.mozilla.org/show_bug.cgi?id=512136)
for windows possible related bug, with a test for windows vista/7 with cleartype https://bug363861.bugzilla.mozilla.org/attachment.cgi?id=321706

Revision history for this message
In , Sylvain Pasche (sylvain-pasche) wrote :

*** This bug has been marked as a duplicate of bug 363861 ***

Revision history for this message
In , Sylvain Pasche (sylvain-pasche) wrote :

*** Bug 512136 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Sylvain Pasche (sylvain-pasche) wrote :

(In reply to comment #15)
> Please see Bug 512136 (https://bugzilla.mozilla.org/show_bug.cgi?id=512136)
> for windows possible related bug, with a test for windows vista/7 with
> cleartype https://bug363861.bugzilla.mozilla.org/attachment.cgi?id=321706

That's bug 363861, which isn't related to this one.

Revision history for this message
In , Ken-adcstudio (ken-adcstudio) wrote :

the new DirectWrite backend in Cairo, and demonstrated in this build (http://www.basschouten.com/media/blogs/blog/warning.html) fixes the issue for me (on Vista x64).

Revision history for this message
In , Serenity-katz (serenity-katz) wrote :

> ... The whole thing is very controversial
> since those filters are suspected to infringe patents in the US...

But the specific patch mentioned doesn't directly do anything about glyphs. It only enables lcdfilter options if it's _already compiled_ into the system's FreeType libs; that is, any patent issue would lie not in cairo, but in the freetype binaries because the distribution or the user chose to enable patented features, so it shouldn't be a problem for Mozilla source to include that patch. Am I misunderstanding the situation here?

Revision history for this message
In , Mozilla-behdad (mozilla-behdad) wrote :

Can you require a freetype new enough to have that API? (I think they were introduced in 2.3.0). Or doing dlopen tricks again?

Revision history for this message
In , Serenity-katz (serenity-katz) wrote :

> Can you require a freetype new enough to have that API? (I think they were
> introduced in 2.3.0). Or doing dlopen tricks again?

Turner's first lcd patch was for cairo-1.0.4, which was what, 3 years ago? The patch I use was originally for cairo-1.2.4, also ancient. I'd think the lib version is a non-issue here.

Revision history for this message
In , Mozilla-behdad (mozilla-behdad) wrote :

However, I think it is, if the base system is still RHEL5.

Revision history for this message
In , Serenity-katz (serenity-katz) wrote :

RHEL5 itself has Cairo > 1.2.4 already, why would it be a problem?

Revision history for this message
In , Mozilla-behdad (mozilla-behdad) wrote :

I'm talking about FreeType version. Cairo doesn't matter since Mozilla ships its own cairo.

Revision history for this message
In , Serenity-katz (serenity-katz) wrote :

I meant to say, if the cairo version is recent enough, freetype is probably ok--which was not true. I compiled freetype-2.2.1 (that's what RHEL5 has I think), and patched cairo fails when linking against it. Bummer.

xteejx (xteejx)
tags: added: karmic
Revision history for this message
Detlef Lechner (detlef-lechner) wrote :

The bug persists in Firefox version 3.5.7.
'~$ uname -a; Linux T43 2.6.31-17-generic #54-Ubuntu SMP Thu Dec 10 16:20:31 UTC 2009 i686 GNU/Linux'

Revision history for this message
Alexander Obersht (alexander-obersht) wrote :

This bug doesn't affect FF 3.5.x for me (Karmic) but does affect FF 3.6 (Karmic - stable PPA; Lucid). I was able to reproduce this bug in different installations. It's always the same and only affects FF 3.6.

Displaying first 40 and last 40 comments. View all 196 comments or add a comment.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.