Firefox menu fonts

The default menu fonts on Firefox in ubuntu look pretty bad. I mean they are too big and bulky, in contrast to the nice and crisp ubuntu fonts.

Here is what I did to overcome the issue.

Create this userChrome.css  in ~/.mozilla/firefox/{whatever}.default/chrome/ & put the following code inside it & restart FF.

window {
 font-size: 12px !important;
}

menubar, menubutton, menulist, menu, menuitem, textbox, toolbar, tab,
tree, tooltip
{
   font-size: 12px !important;
}

And adjust the "12px" to whatever looks right. "px"="pixels", obviously. You could try point sizes with "pt" instead;
then, if your DPI is set properly, the values should be the same as for everything else.

I found this solution from the various ubuntu forums.

EDIT: Also, goto about:config and search for layout.css.dpi and change value to '0' from '-1'

About

A software professional & an amateur wildlife photographer

Tumblr