You are not logged in.

#1 2006-12-13 21:52:35

augustob
Member
From: Florianópolis, Brazil
Registered: 2006-03-17
Posts: 135

Firefox and fraction font sizes

Today I was experimenting with GTK font sizes, and noticed that my new least-favorite app doesn't even handle that correctly.

Check this out:

Exhibit A: GTK font size 7
ffequalzw5.png

Exhibit B: GTK font size 7.5
ffunequalus0.png

Notice how the font in Thunar's menu changed and Firefox's didn't? Through testing 7.9 as a font size I came to the conclusion that it isn't even rounding to the nearest integer, just outright ignoring the decimals.

Is there a solution for this?

Offline

#2 2006-12-13 22:09:22

skymt
Member
Registered: 2006-11-27
Posts: 443

Re: Firefox and fraction font sizes

augustob wrote:

Is there a solution for this?

Yes, but you won't like it. Crack open your UserChrome.css file (in ~/.mozilla/firefox/<garbage>.default/chrome/) and do something like this:

.chromeclass-menubar {
    font-size: 10pt !important;
}

EDIT: To set the default font size for everything (not just the menu bar), use "*" instead of ".chromeclass-menubar".

Offline

#3 2006-12-13 22:24:37

paem
Member
Registered: 2006-10-09
Posts: 14

Re: Firefox and fraction font sizes

Or you can use Stylish, it doesn't require restart to commit changes.

Offline

#4 2006-12-13 22:36:46

skymt
Member
Registered: 2006-11-27
Posts: 443

Re: Firefox and fraction font sizes

paem wrote:

Or you can use Stylish, it doesn't require restart to commit changes.

Good point. I hadn't noticed that Stylish styles chrome too.

Offline

Board footer

Powered by FluxBB