You are not logged in.

#1 2008-02-10 21:59:50

Frem
Member
From: Longview, TX
Registered: 2005-02-27
Posts: 56
Website

Tiny Firefox Fonts

For some reason, all the fonts in firefox are a few points smaller than the norm, both on websites and in the interface. Does anyone know how to fix this?

Screenshot:
small_ff_fonts555.png.xs.jpg

xorg.conf

# xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
EndSection

Section "Module"
    Load "synaptics"
    Load "freetype"
EndSection

Section "InputDevice"
    Identifier    "Generic Keyboard"
    Driver        "kbd"
    Option        "CoreKeyboard"
    Option        "XkbRules"    "xorg"
    Option        "XkbModel"    "pc105"
    Option        "XkbLayout"    "us"
EndSection

Section "InputDevice"
    Identifier    "Configured Mouse"
    Driver        "mouse"
    Option        "CorePointer"
    Option        "Device"        "/dev/input/mice"
    Option        "Protocol"        "ImPS/2"
    Option        "ZAxisMapping"        "4 5"
    Option        "Emulate3Buttons"    "true"
EndSection

Section "InputDevice"
    Identifier    "Synaptics Touchpad"
    Driver        "synaptics"
    Option        "SendCoreEvents"    "true"
    Option        "Device"        "/dev/psaux"
    Option        "Protocol"        "auto-dev"
    Option        "HorizEdgeScroll"    "0"
    Option        "SHMConfig"        "true"
EndSection

Section "Device"
    Identifier    "ATI Technologies Inc RC410 [Radeon Xpress 200M]"
    Driver        "fglrx"
    BusID        "PCI:1:5:0"
EndSection

Section "Monitor"
    Identifier    "Generic Monitor"
    Option        "DPMS"
EndSection

Section "Screen"
    Identifier    "Default Screen"
    Device        "ATI Technologies Inc RC410 [Radeon Xpress 200M]"
    Monitor        "Generic Monitor"
    DefaultDepth    24
    SubSection "Display"
        Modes    "1280x768"
    EndSubSection
EndSection

Section "ServerLayout"
    Identifier    "Default Layout"
    Screen        "Default Screen"
    InputDevice    "Generic Keyboard"
    InputDevice    "Configured Mouse"


    InputDevice    "Synaptics Touchpad"
EndSection

Section "Extensions"
    Option    "Composite"    "Disable"
EndSection

#Section "ServerFlags"
#    Option    "AIGLX"    "off"
#EndSection

~/.fonts.conf

< ?xml version="1.0"?>
< !DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>

 <match target="font" >
    <edit mode="assign" name="rgba" >
     <const>rgb</const>
    </edit>
 </match>

 <match target="font" >
    <edit mode="assign" name="hinting">
     <bool>true</bool>
    </edit>
 </match>

 <match target="font" >
    <edit mode="assign" name="hintstyle">
     <const>hintfull</const>
    </edit>
 </match>

 <match target="font" >
    <edit mode="assign" name="antialias">
     <bool>true</bool>
    </edit>
 </match>

 <match target="pattern" >
    <edit mode="assign" name="autohint">
     <bool>true</bool>
    </edit>
 </match>

 <dir>~/.fonts</dir>
</fontconfig>

Offline

#2 2008-02-10 22:39:25

tigrmesh
IRC Op
From: Florida, US
Registered: 2007-12-11
Posts: 794

Re: Tiny Firefox Fonts

Offline

#3 2008-02-10 23:22:34

fflarex
Member
Registered: 2007-09-15
Posts: 466

Re: Tiny Firefox Fonts

In Firefox:

Edit -> Preferences -> Content -> Advanced Fonts -> Minimum Font Size

Not sure if that will help or not, but it's worth a shot and the option name certainly sounds like what you're looking for. Of course, Firefox shouldn't have any font issues in the first place. So this is a workaround, if anything.

Offline

#4 2008-02-10 23:23:43

Zibi1981
Member
From: Poland
Registered: 2008-01-31
Posts: 642

Re: Tiny Firefox Fonts

Well, it doesn't help me sad


"... being a Linux user is sort of like living in a house inhabited by a large family of carpenters and architects. Every morning when you wake up, the house is a little different. Maybe there is a new turret, or some walls have moved. Or perhaps someone has temporarily removed the floor under your bed."

MSI Raider GE78HX 13VI-032PL

Offline

#5 2008-02-10 23:54:10

Frem
Member
From: Longview, TX
Registered: 2005-02-27
Posts: 56
Website

Re: Tiny Firefox Fonts

Thanks for that link, tigrmesh. The solution in the comments for that post worked well.

Enter "about:config" in the address bar, type in "dpi" in the search field, and change the one value that comes up from "-1" to "0". Restart Firefox and the problem is solved.

Offline

#6 2008-02-11 01:02:19

Zibi1981
Member
From: Poland
Registered: 2008-01-31
Posts: 642

Re: Tiny Firefox Fonts

I still have very tiny fonts, on this board i.e. sad


"... being a Linux user is sort of like living in a house inhabited by a large family of carpenters and architects. Every morning when you wake up, the house is a little different. Maybe there is a new turret, or some walls have moved. Or perhaps someone has temporarily removed the floor under your bed."

MSI Raider GE78HX 13VI-032PL

Offline

#7 2008-02-11 01:39:17

Frem
Member
From: Longview, TX
Registered: 2005-02-27
Posts: 56
Website

Re: Tiny Firefox Fonts

For tiny fonts not on the interface, the option fflarex mentioned works quite well, though I don't think it's measuring font sizes on the same scale that Gnome and X11 are. I've got it set to 11 currently.

Offline

#8 2008-02-11 01:56:10

Zibi1981
Member
From: Poland
Registered: 2008-01-31
Posts: 642

Re: Tiny Firefox Fonts

Yes, it works, but only partially... I mean I can adjust Firefox to display fonts bigger than 20, but why to do that, if this problem occurs only on some web sites?


"... being a Linux user is sort of like living in a house inhabited by a large family of carpenters and architects. Every morning when you wake up, the house is a little different. Maybe there is a new turret, or some walls have moved. Or perhaps someone has temporarily removed the floor under your bed."

MSI Raider GE78HX 13VI-032PL

Offline

#9 2008-02-11 02:15:56

venox
Member
From: Curitiba, Brazil
Registered: 2003-08-23
Posts: 137
Website

Re: Tiny Firefox Fonts

Try configuring your monitor DisplaySize on your xorg.conf, I have it like this (my monitor is a Samsung SyncMaster 940b):

Section "Monitor"
    Identifier     "Monitor0"
    HorizSync      30.0 - 81.0
    VertRefresh    56.0 - 75.0
    Option         "DPMS" "true"
    DisplaySize    376 301
    Modeline       "1280x1024" 151.83  1280 1360 1544 1888  1024 1024 1027 1072 
EndSection

You can also try setting your DPI at your graphics card device:

Section "device"
    Identifier "Your graphics card"
...
    Option         "DPI"               "96 x 96"
...
EndSection

Remember that the above values are for my monitor. You should use your own values that match your monitor. By the way, what's your monitor?

Hope I was useful somehow.

Offline

#10 2008-02-11 02:41:43

tigrmesh
IRC Op
From: Florida, US
Registered: 2007-12-11
Posts: 794

Re: Tiny Firefox Fonts

@Zibi1981 - You can increase the font sizes on a web page by hitting [ctrl]= ([ctrl]- will reduce it). 

For sites you visit often, consider using the stylish extension.  It's similar to greasemonkey, only for css.  Visit http://userstyles.org/ to see if there are already styles created for sites that bug you.  You'll also have to install an extension that lets you view a site's css.  There are several.

Offline

#11 2008-02-11 03:17:43

slackhack
Member
Registered: 2004-06-30
Posts: 738

Re: Tiny Firefox Fonts

since it's in the interface, it seems like it's more a DPI problem or the setting in your window manager. try increasing the font size in gnome to some ridiculous amount like 24, 32, etc. just to see if it changes. if that does it, you know  you'll have to adjust your X or gnome parameters, DPI, etc.

Offline

#12 2008-02-11 08:01:55

Bob-Hur
Member
Registered: 2007-12-09
Posts: 43

Re: Tiny Firefox Fonts

I had the same problem, look at "Incorrect Rendering DPI" near the bottom of the page here:
http://gentoo-wiki.com/TIP_Firefox_Settings

It was a Firefox problem on my box, not a Xorg, DE or WM problem.

Offline

#13 2008-02-11 10:43:35

Zibi1981
Member
From: Poland
Registered: 2008-01-31
Posts: 642

Re: Tiny Firefox Fonts

venox wrote:

(...)By the way, what's your monitor?

Hope I was useful somehow.

Here's the Monitor Section of my xorg.conf

Section "Monitor"
    Identifier  "aticonfig-Monitor[0]"
    Option        "VendorName" "IIYAMA"
    Option        "ModelName" "ProLite E438S"
    Option        "DPMS" "true"
        DisplaySize 325 260
EndSection

DPI is set correctly

zibi1981 ~  $  xdpyinfo | grep resolution
  resolution:    100x100 dots per inch

so I think it's not the case.

Bob-Hur wrote:

I had the same problem, look at "Incorrect Rendering DPI" near the bottom of the page here:
http://gentoo-wiki.com/TIP_Firefox_Settings

It was a Firefox problem on my box, not a Xorg, DE or WM problem.

This didn't help me sad


"... being a Linux user is sort of like living in a house inhabited by a large family of carpenters and architects. Every morning when you wake up, the house is a little different. Maybe there is a new turret, or some walls have moved. Or perhaps someone has temporarily removed the floor under your bed."

MSI Raider GE78HX 13VI-032PL

Offline

#14 2008-02-11 10:54:13

bangkok_manouel
Member
From: indicates a starting point
Registered: 2005-02-07
Posts: 1,556

Re: Tiny Firefox Fonts

Did you try slackhack's suggestion (change resolution settings in Gnome's fonts' detailed parameters) ? Quite sure it will help...

Offline

#15 2008-02-11 21:22:36

Zibi1981
Member
From: Poland
Registered: 2008-01-31
Posts: 642

Re: Tiny Firefox Fonts

I'm not using GNOME, I'm running KDE 3.5.8.


"... being a Linux user is sort of like living in a house inhabited by a large family of carpenters and architects. Every morning when you wake up, the house is a little different. Maybe there is a new turret, or some walls have moved. Or perhaps someone has temporarily removed the floor under your bed."

MSI Raider GE78HX 13VI-032PL

Offline

#16 2008-02-11 22:43:53

slackhack
Member
Registered: 2004-06-30
Posts: 738

Re: Tiny Firefox Fonts

Zibi1981 wrote:

I'm not using GNOME, I'm running KDE 3.5.8.

Sorry, in your screenshot it looked like the gnome font configuration dialog. The general idea is the same, of course. wink

Also, just because the DPI is reported as 100 (or anything) doesn't mean it's necessarily the best one to use. The DPI on my box is 96, but with my setup I have to use DPI of 94 to make things look "normal" (including the firefox menu items, which look too big and "clunky" at 96). So it might be something to experiment and play around with.

Offline

Board footer

Powered by FluxBB