LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 07-02-2009, 06:28 AM   #1
adityavpratap
Member
 
Registered: Dec 2004
Location: Hyderabad, India
Distribution: Slackware 13, Ubuntu 12.04
Posts: 431

Rep: Reputation: 32
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,
 
Old 07-02-2009, 11:01 PM   #2
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-14.1
Posts: 1,220

Rep: Reputation: 177Reputation: 177
Could you post some screenshots?
 
Old 07-03-2009, 06:25 AM   #3
adityavpratap
Member
 
Registered: Dec 2004
Location: Hyderabad, India
Distribution: Slackware 13, Ubuntu 12.04
Posts: 431

Original Poster
Rep: Reputation: 32
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?
Attached Images
File Type: jpg snapshot3.jpg (169.0 KB, 56 views)
 
Old 07-03-2009, 06:46 AM   #4
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
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 ?
 
Old 07-03-2009, 07:13 AM   #5
adityavpratap
Member
 
Registered: Dec 2004
Location: Hyderabad, India
Distribution: Slackware 13, Ubuntu 12.04
Posts: 431

Original Poster
Rep: Reputation: 32
Quote:
Originally Posted by H_TeXMeX_H View Post
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.
 
Old 07-03-2009, 07:42 AM   #6
adityavpratap
Member
 
Registered: Dec 2004
Location: Hyderabad, India
Distribution: Slackware 13, Ubuntu 12.04
Posts: 431

Original Poster
Rep: Reputation: 32
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.
 
Old 07-03-2009, 05:43 PM   #7
dugan
Senior Member
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 4,631

Rep: Reputation: 1429Reputation: 1429Reputation: 1429Reputation: 1429Reputation: 1429Reputation: 1429Reputation: 1429Reputation: 1429Reputation: 1429Reputation: 1429
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

Last edited by dugan; 07-03-2009 at 06:07 PM.
 
Old 07-03-2009, 06:25 PM   #8
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-14.1
Posts: 1,220

Rep: Reputation: 177Reputation: 177
Quote:
Originally Posted by dugan View Post
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.
 
Old 07-03-2009, 10:45 PM   #9
dugan
Senior Member
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 4,631

Rep: Reputation: 1429Reputation: 1429Reputation: 1429Reputation: 1429Reputation: 1429Reputation: 1429Reputation: 1429Reputation: 1429Reputation: 1429Reputation: 1429
I assume his previous version was a Dropline package, not a Slackware package. Dropline probably built it with --enable-system-cairo.
 
Old 07-03-2009, 11:41 PM   #10
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-14.1
Posts: 1,220

Rep: Reputation: 177Reputation: 177
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.
 
Old 07-04-2009, 09:16 AM   #11
adityavpratap
Member
 
Registered: Dec 2004
Location: Hyderabad, India
Distribution: Slackware 13, Ubuntu 12.04
Posts: 431

Original Poster
Rep: Reputation: 32
True 3.0.11 is Dropline package. I'll download the source and compile it with the option suggested and revert back to you.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to install fonts and anti-aliasing? lefthanded Slackware 2 07-23-2007 10:57 AM
How to disable anti-aliasing of fonts in Fluxbox? Swift&Smart Slackware 2 01-30-2006 09:51 PM
anti-aliasing Chinese fonts ibm Linux - Software 0 07-11-2004 10:30 PM
Anti-aliasing fonts Panzerfrost Linux - Newbie 6 09-13-2003 09:22 AM
[Mozilla 1.4] Anti Aliasing GUI / Fonts 4hp Mandriva 2 09-02-2003 07:56 AM


All times are GMT -5. The time now is 07:11 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration