LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-30-2003, 09:13 AM   #1
Mithrilhall
Member
 
Registered: Feb 2002
Location: Adamstown, Pitcairn Islands
Distribution: Neon
Posts: 291

Rep: Reputation: 30
Phoenix/Mozilla antialiasing fonts


Could someone tell me how I can get my fonts to looks as good as they do in Conqueror?

thanks
 
Old 06-30-2003, 09:22 AM   #2
Azmeen
Senior Member
 
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307

Rep: Reputation: 47
Grab some TTF fonts from your Windows partitions or from the net, and put them somewhere within X path, most likely /usr/X11/lib/fonts/TTF.

After that just run:
fc-cache -fv /usr/X11/lib/fonts/TTF

Restart your X session, and you should have prettier fonts on Moz/any other GTK apps.
 
Old 06-30-2003, 09:40 AM   #3
Mithrilhall
Member
 
Registered: Feb 2002
Location: Adamstown, Pitcairn Islands
Distribution: Neon
Posts: 291

Original Poster
Rep: Reputation: 30
Talking Re:

Thanks....I'll give it a shot when I get home.
 
Old 06-30-2003, 09:48 AM   #4
syscrash2k
LQ Newbie
 
Registered: Jun 2003
Location: Canada
Distribution: Slackware
Posts: 12

Rep: Reputation: 0
Mozilla and Firebird both need to be recompiled for XFT.
 
Old 06-30-2003, 10:09 AM   #5
Mithrilhall
Member
 
Registered: Feb 2002
Location: Adamstown, Pitcairn Islands
Distribution: Neon
Posts: 291

Original Poster
Rep: Reputation: 30
Re

How would I compile it? Is it any different than a normal compile?


Thanks again.
 
Old 06-30-2003, 12:29 PM   #6
DaCypher
LQ Newbie
 
Registered: Jun 2003
Distribution: Debian 3.0rev2
Posts: 17

Rep: Reputation: Disabled
Compiling mozilla from source is not very fun. Theres a bunch of dependencies that you'll probably have to search around for, and it takes quite a bit of time to compile. Firebird is probably a better solution (I think it runs a lot smoother and its lets bloated, IMO). Most firebird binaries have XFT enabled so this shouldn't be an issue. If you have downloaded the latest Firebird binary, just make sure you have TTF as mentioned in the first reply. One thing that I have noticed with Firebird is that even with the XFT enabled binary, the application itself (menus, tab bar, etc) does not take advantage of antialiased/truetype fonts (although, it seems to render the web pages with prettier fonts without a problem). However, if you compile the mozilla source with --enable-xft the whole application looks like it uses AA fonts. Does anyone know of a precompiled mozilla with xft enabled that is greater than v1.3? Or maybe a hidden option somewhere, or a different binary that allows the Firebird application to fully take advantage of AA?
 
Old 06-30-2003, 01:01 PM   #7
Mithrilhall
Member
 
Registered: Feb 2002
Location: Adamstown, Pitcairn Islands
Distribution: Neon
Posts: 291

Original Poster
Rep: Reputation: 30
Can someone point me to where I can find the source-code for Phoenix? I can only find the cvs.

Thanks
 
Old 06-30-2003, 01:18 PM   #8
durden2.0
Member
 
Registered: May 2003
Distribution: redhat 9.0
Posts: 113

Rep: Reputation: 15
Ok I moved some ttf into the directory /usr/X11R6/lib/X11/fonts/TTF
and I tried that fc-chache command but said it didnt exist? How exactly do you type it and what does it do?
 
Old 06-30-2003, 01:21 PM   #9
durden2.0
Member
 
Registered: May 2003
Distribution: redhat 9.0
Posts: 113

Rep: Reputation: 15
ok sorry about the double post but I got the command to work. However I get this error
" Can't save cache in"/usr/X11R6/lib/X11/fonts/TTF"
fc-cache: failed "
Any ideas? I think I might be using the wrong directory, but that is where I had to put the fonts so I wasn't sure. Thanks again
 
Old 06-30-2003, 01:34 PM   #10
contrasutra
LQ Guru
 
Registered: Mar 2003
Location: New Jersey
Distribution: Arch Linux
Posts: 1,445

Rep: Reputation: 47
http://pryan.org/phoenix/

This place has XFT enabled builds of Firebird for Debian, Redhat 8/9, Slackware, and Suse.
 
Old 06-30-2003, 07:41 PM   #11
Azmeen
Senior Member
 
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307

Rep: Reputation: 47
Quote:
Originally posted by durden2.0
ok sorry about the double post but I got the command to work. However I get this error
" Can't save cache in"/usr/X11R6/lib/X11/fonts/TTF"
fc-cache: failed "
Any ideas? I think I might be using the wrong directory, but that is where I had to put the fonts so I wasn't sure. Thanks again
Did you su before you ran fc-cache? You need to have write permissions on your TTF dir in order to cache the fonts.

Try listing the files in there, if you find a bunch of MS TTF fonts in there (Verdana, Garamond, etc), then most likely this is where you copied them.
 
Old 07-01-2003, 01:05 AM   #12
durden2.0
Member
 
Registered: May 2003
Distribution: redhat 9.0
Posts: 113

Rep: Reputation: 15
Ok I went back and did su before I ran the cache command. It worked, however, the fonts don't show up in the options menu for fonts inside mozilla/firebird??? Not sure what to do about that yet.
 
Old 07-01-2003, 03:25 AM   #13
Azmeen
Senior Member
 
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307

Rep: Reputation: 47
Quote:
Originally posted by durden2.0
Ok I went back and did su before I ran the cache command. It worked, however, the fonts don't show up in the options menu for fonts inside mozilla/firebird??? Not sure what to do about that yet.
You might need to restart X, or (though unlikely) reboot.

I'm very sure that's how I got all my fonts to be used in GTK apps under KDE.

I'm at work now (Windowsland), I'll refer when I get back home.
 
  


Reply



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
ttf fonts antialiasing is not working evil_empire Fedora 10 04-01-2005 01:41 PM
Fonts look bad w/o antialiasing ssobeht Debian 4 03-08-2005 05:02 AM
Compiling kde 3.3: I get no antialiasing on fonts fax8 Slackware 4 10-08-2004 10:27 AM
xfce antialiasing fonts solferino Linux - Software 1 10-04-2004 04:34 AM
Mozilla Font Antialiasing? Crickit Linux - Software 3 04-10-2003 05:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:46 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration