LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   messed up anti-aliasing of fonts in Firefox 3.5 (https://www.linuxquestions.org/questions/slackware-14/messed-up-anti-aliasing-of-fonts-in-firefox-3-5-a-737176/)

adityavpratap 07-02-2009 06:28 AM

messed up anti-aliasing of fonts in Firefox 3.5
 
Hi!

Installed Firefox 3.5 on my Slackware 12.2 laptop with XFCE4 , in /usr/local/.

I have FireFox 3.0.11 already installed in /usr/bin/. My problem is though 3.0.11 displays the fonts beautifully, anti-aliasing is broken in 3.5 (even the interface fonts are ugly). I don't know whether to put this question in Slackware forum or Firefox forum.

Eagerly awaiting suggestions,

Daedra 07-02-2009 11:01 PM

Could you post some screenshots?

adityavpratap 07-03-2009 06:25 AM

1 Attachment(s)
Please refer the attachment (Though I doubt whether my problem will be clear in the attachment). The 'w's and 'y's are especially jagged. Please look at the address bar (http://www ....). The letters containing vertical strokes are also badly rendered. It is almost like two verticle strokes. Other applications that are kde based (like kpdf, for example) are also suffering from this problem.
Has it got something to do with Qt?

H_TeXMeX_H 07-03-2009 06:46 AM

Firefox in almost all cases uses GTK, so because it happens in more than one application, it may not be FF related. How did you install FF 3.5 ? Did you make any other changes before this happened ?

adityavpratap 07-03-2009 07:13 AM

Quote:

Originally Posted by H_TeXMeX_H (Post 3595401)
How did you install FF 3.5 ? Did you make any other changes before this happened ?

Downloaded the tar ball from Firefox then unzipped / untarred it to /usr/local. And I don't remember having done any changes I have made to the system except for installing dropline gnome, a fortnight back.

adityavpratap 07-03-2009 07:42 AM

While googling I found these links which might be relevant in the present context -
http://ubuntuforums.org/showpost.php...51&postcount=7
http://ubuntuforums.org/showthread.php?p=7094387
though these pertain to Ubuntu.

However, 10-hinting-slight.conf is not present in either conf.available or conf.d in /etc/fonts.

dugan 07-03-2009 05:43 PM

I don't know about the Qt apps, and I haven't used Firefox 3.5, but this sounds like a long-standing issue with the binary Firefox distribution.

The Firefox binary is statically linked against its own Cairo libraries. It won't respect your system's font settings. You can solve the problem by building a dynamically linked Firefox from source.

Doesn't Dropline have its own Firefox build? It must provide a SlackBuild. Use it to build 3.5, and your Firefox problems should be solved.

If not, I have an old Firefox 3 SlackbBuild in the Beautiful Fonts thread. You an adapt it for 3.5 (probably just by changing the VERSION) and use it to build a dynamically linked Firefox.
http://www.linuxquestions.org/questi...01#post3324601

Daedra 07-03-2009 06:25 PM

Quote:

Originally Posted by dugan (Post 3595949)
I don't know about the Qt apps, and I haven't used Firefox 3.5, but this sounds like a long-standing issue with the binary Firefox distribution.

The Firefox binary is statically linked against its own Cairo libraries. It won't respect your system's font settings. You can solve the problem by building a dynamically linked Firefox from source.

Doesn't Dropline have its own Firefox build? It must provide a SlackBuild. Use it to build 3.5, and your Firefox problems should be solved.

If not, I have an old Firefox 3 SlackbBuild in the Beautiful Fonts thread. You an adapt it for 3.5 (probably just by changing the VERSION) and use it to build a dynamically linked Firefox.
http://www.linuxquestions.org/questi...01#post3324601

I was thinking the same thing. It's strange though that he said his previous version wasn't doing it cause I assume it was also statically linked to its own cairo binary.

dugan 07-03-2009 10:45 PM

I assume his previous version was a Dropline package, not a Slackware package. Dropline probably built it with --enable-system-cairo.

Daedra 07-03-2009 11:41 PM

Yeah that makes sense, he just needs to recompile from source. Just FYI, the slackware64-current firefox slackbuild is a source build, so now we have your build and a official one which is good.

adityavpratap 07-04-2009 09:16 AM

True 3.0.11 is Dropline package. I'll download the source and compile it with the option suggested and revert back to you.


All times are GMT -5. The time now is 08:18 PM.