LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Phoenix/Mozilla antialiasing fonts (https://www.linuxquestions.org/questions/linux-software-2/phoenix-mozilla-antialiasing-fonts-69025/)

Mithrilhall 06-30-2003 09:13 AM

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

thanks

Azmeen 06-30-2003 09:22 AM

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.

Mithrilhall 06-30-2003 09:40 AM

Re:
 
Thanks....I'll give it a shot when I get home.

syscrash2k 06-30-2003 09:48 AM

Mozilla and Firebird both need to be recompiled for XFT.

Mithrilhall 06-30-2003 10:09 AM

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


Thanks again.

DaCypher 06-30-2003 12:29 PM

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?

Mithrilhall 06-30-2003 01:01 PM

Can someone point me to where I can find the source-code for Phoenix? I can only find the cvs.

Thanks

durden2.0 06-30-2003 01:18 PM

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?

durden2.0 06-30-2003 01:21 PM

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

contrasutra 06-30-2003 01:34 PM

http://pryan.org/phoenix/

This place has XFT enabled builds of Firebird for Debian, Redhat 8/9, Slackware, and Suse.

Azmeen 06-30-2003 07:41 PM

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.

durden2.0 07-01-2003 01:05 AM

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.

Azmeen 07-01-2003 03:25 AM

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.


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