25 May 2007

linux firefox font size woes


i've been putting up with some annoying font size problems with firefox in linux for a while. and finally it annoyed me enough to go figure out what was wrong. i use gnome as my desktop and everything on the desktop has a consistent font size in the menu bar, except for firefox.



so digging around, it turns out the the dpi detection on my version of firefox (2.0.0.3) on gentoo is broken. so if i manually set it to the correct dpi (you can get it from xdpyinfo) by typing "about:config" in the address bar and looking up "dpi":



then everything becomes happy again:


You can reply to me about this on Twitter: