You are not logged in.

#1 2010-08-19 23:23:39

Moosferatu
Member
Registered: 2008-12-23
Posts: 9

Firefox Font Trouble

I can't figure out how to fix this font issue.  The first screenshot below was taken on a Mac and the second was taken on Arch.  It doesn't come across as well as I'd like in the screenshots, but it looks terrible.  The Arch version is gigantic compared to what it's supposed to be.  I've installed every font that I can think of and even tried using the cleartype and infinality packages from AUR.  The font is defined in the stylesheet as: 10pt verdana,geneva,lucida,'lucida grande',arial,helvetica,sans-serif.

Here are fonts that I have installed:

extra/freetype2 2.4.2-1 [installed]
extra/gsfonts 1.0.7pre44-2 [installed]
extra/ttf-bitstream-vera 1.10-7 [installed]
extra/ttf-dejavu 2.30-2 [installed]
extra/ttf-freefont 20090104-2 [installed]
extra/ttf-ms-fonts 2.0-3 [installed]
extra/xorg-fonts-100dpi 1.0.1-3 (xorg) [installed]
extra/xorg-fonts-75dpi 1.0.1-3 (xorg) [installed]
extra/xorg-fonts-misc 1.0.1-1 [installed]
community/terminus-font 4.30-1 [installed]
community/ttf-inconsolata 20090215-2 [installed]
community/ttf-liberation 1.06.0.20100721-1 [installed]

Mac:
mac-font-2.png

Arch:
arch-font-2.png

Any suggestions?

Offline

#2 2010-08-20 08:13:28

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: Firefox Font Trouble

If gigantic, it's probably a bad value for your DPI (Dots Per Inch).

xdpyinfo | grep -B1 dot

Offline

#3 2010-08-20 09:28:52

Moosferatu
Member
Registered: 2008-12-23
Posts: 9

Re: Firefox Font Trouble

dimensions:    1920x1080 pixels (361x200 millimeters)
  resolution:    135x137 dots per inch

Offline

#4 2010-08-20 09:45:26

Moosferatu
Member
Registered: 2008-12-23
Posts: 9

Re: Firefox Font Trouble

http://wiki.archlinux.org/index.php/Xor … ze_and_DPI

I'm not entirely certain what the DPI should be, but it seems like everything checks out according to that wiki article.  That's the correct resolution, and I did their math to calculate the screen size and got a comparable 363x204.  I'm guessing mine is off due to rounding errors.

Offline

#5 2010-08-20 10:06:47

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: Firefox Font Trouble

Offline

#6 2010-08-20 11:36:52

Moosferatu
Member
Registered: 2008-12-23
Posts: 9

Re: Firefox Font Trouble

Thank you!  I would have never found that.  Changing it to 96 seems to have done the trick.  Thanks again!

Offline

Board footer

Powered by FluxBB