You are not logged in.
I attempt to change my font through switch2's "Use font" option, and Firefox refuses to reflect the changes while other GTK+ apps do. So far I've received two answers as to why it happened:
1. Firefox uses its own GTK implementation.
2. Firefox uses XUL to specify font.
What's the truth here, and how can I get Firefox to follow GTK+'s font rules? It reflects other rules just fine.
SOLVED: It seems like the best (and only?) way to edit Firefox's main font is to create ~/.mozilla/firefox/<profile_hash>/chrome/userChrome.css and add the following to it:
* { font: <weight> <style> <size> <family> !important; }
Last edited by xelados (2007-06-08 02:37:06)
Offline
Have you tried "export GDK_USE_XFT=1"?
E: http://wiki.archlinux.org/index.php/Firefox#Fonts
Last edited by igglybuff (2007-06-06 09:28:32)
Offline
I tried the tip outlined in the Firefox Fonts area (with setting DPI to 0). It didn't seem to change anything. Where would I use the export command? I tried it in a terminal and didn't get any output. I restarted Firefox to check and the font's still the same.
Offline
You can test it by starting firefox from the same terminal to which to exported GDK_USE_XFT
So, in the same terminal-window, type the following sequence:
$ export GDK_USE_XFT=1
$ firefox
If you find it to work to your liking, you can add the export command to ~/.bashrc
Stand back, intruder, or i'll blast you out of space! I am Klixon and I don't want any dealings with you human lifeforms. I'm a cyborg!
Offline
klixon: That doesn't seem to work. Firefox's font is still Bitstream Vera Sans when my GTK+ font is Tahoma.
Offline
try edit/modify this file:
~/.gtkrc-2.0
this is where theme and font for gtk are written
Offline