View previous topic :: View next topic |
Author |
Message |
gojuka Apprentice
Joined: 18 Oct 2002 Posts: 235 Location: Kingston, Ontario, Canada
|
Posted: Sat May 29, 2004 3:46 pm Post subject: Firefox UI Fonts |
|
|
How do I change the fonts Firefox uses for it's user interface? I'm running Firefox under IceWM. The fonts that Firefox is using for it's menus and toolbars are too small.
I emerged a utility called "switch2" which allows me to choose my GTK theme and font, and that seems to work for other GTK apps, but it only partially works for Firefox. When I change the GTK theme, Firefox uses the new theme (colours and widgets), but it does not use the font I specify.
Mark _________________ we're outta control |
|
Back to top |
|
|
firephoto Veteran
Joined: 29 Oct 2003 Posts: 1612 Location: +48° 5' 23.40", -119° 48' 30.00"
|
Posted: Sat May 29, 2004 4:37 pm Post subject: |
|
|
I have this file in my home directory.
~/.gtkrc-2.0
Code: | gtk-font-name = "Bitstream Vera Sans 11" |
It sets the font type/size for firefox and thunderbird and other gtk apps. I'm using KDE.
In the firefox options under fonts set your diplay resolution to system settings and measure the line it gives you with a ruler. In your X* config have your monitor physical size set.
Code: | Section "Monitor"
DisplaySize 652 245 #physical monitor size in mm
|
I'm have twinview running so the system things my resolution is 2048x768 so that's why my size is so big. |
|
Back to top |
|
|
gojuka Apprentice
Joined: 18 Oct 2002 Posts: 235 Location: Kingston, Ontario, Canada
|
Posted: Sat May 29, 2004 7:37 pm Post subject: |
|
|
Thanks! That worked. The switch2 utility created a .gtkrc-2.0 file for me:
Code: | # -- THEME AUTO-WRITTEN DO NOT EDIT
include "/home/mark/.themes/TigertCrack/gtk-2.0/gtkrc"
style "user-font"
{
font_name="Luxi Sans 12"
}
widget_class "*" style "user-font"
include "/home/mark/.gtkrc.mine"
# -- THEME AUTO-WRITTEN DO NOT EDIT
|
But it doesn't seem to work as advertised. I added the line you gave me to the file and that seemed to work.
Cheers,
Mark _________________ we're outta control |
|
Back to top |
|
|
twiggy n00b
Joined: 25 Nov 2003 Posts: 65 Location: Sweden
|
Posted: Sun May 30, 2004 12:13 pm Post subject: |
|
|
"Xft.dpi: 80" Helped me to get right size of fonts _________________ Bite my shiny metal ass! |
|
Back to top |
|
|
BlinkEye Veteran
Joined: 21 Oct 2003 Posts: 1046 Location: Gentoo Forums
|
Posted: Thu Dec 13, 2007 1:00 pm Post subject: |
|
|
firephoto wrote: | I have this file in my home directory.
~/.gtkrc-2.0
Code: | gtk-font-name = "Bitstream Vera Sans 11" |
It sets the font type/size for firefox and thunderbird and other gtk apps. I'm using KDE. |
Thx, solved my issues too. Finally a way to have proper fonts for non-KDE apps without the need of installing gnome-control-center. _________________ Easily backup up your system? klick
Get rid of SSH Brute Force Attempts / Script Kiddies klick |
|
Back to top |
|
|
golding Apprentice
Joined: 07 Jun 2005 Posts: 232 Location: Adelaide / South Australia
|
Posted: Thu Dec 13, 2007 1:09 pm Post subject: |
|
|
Of course you could have just used the fonts section under the FF setup dialogue. It has a minimum font size option, thats how I control the font size in FF and it is DE independent _________________ Regards, Robert
..... Some people can tell what time it is by looking at the sun, but I have never been able to make out the numbers. |
|
Back to top |
|
|
BlinkEye Veteran
Joined: 21 Oct 2003 Posts: 1046 Location: Gentoo Forums
|
Posted: Thu Dec 13, 2007 2:20 pm Post subject: |
|
|
well, these settings set the fonts for page content only - we're talking about the menu (and in case of thunderbird of everything but the content of a mail) ... _________________ Easily backup up your system? klick
Get rid of SSH Brute Force Attempts / Script Kiddies klick |
|
Back to top |
|
|
gerard27 Advocate
Joined: 04 Jan 2004 Posts: 2377 Location: Netherlands
|
Posted: Thu Dec 13, 2007 4:25 pm Post subject: |
|
|
Hi all,
I had the same problem.
In another post someone advised to install
Works like a charm!
Gerard. _________________ To install Gentoo I use sysrescuecd.Based on Gentoo,has firefox to browse Gentoo docs and mc to browse (and edit) files.
The same disk can be used for 32 and 64 bit installs.
You can follow the Handbook verbatim.
http://www.sysresccd.org/Download |
|
Back to top |
|
|
golding Apprentice
Joined: 07 Jun 2005 Posts: 232 Location: Adelaide / South Australia
|
Posted: Fri Dec 14, 2007 1:50 am Post subject: |
|
|
BlinkEye wrote: | well, these settings set the fonts for page content only - we're talking about the menu (and in case of thunderbird of everything but the content of a mail) ... |
For that problem I changed (hard set) the dpi in xorg.conf to a more rational number. On my system with 1600x1200 I have it set to 112. It was defaulting to something like 130'ish and the fonts were so small .... _________________ Regards, Robert
..... Some people can tell what time it is by looking at the sun, but I have never been able to make out the numbers. |
|
Back to top |
|
|
|