Re: [arch-general] Overly large fonts in X11 after rebooting

2009-10-10 Thread Ray Kohler
On Sat, Oct 10, 2009 at 6:05 PM, Samuel Baldwin
recursive.for...@gmail.com wrote:
 For some reason when I turned my laptop on today and started X, all my
 fonts were larger than normal. The only one that seems to have the
 stayed has been my console font, but even that feels a bit off
 (however, I'm not too worried about that, it could be that I'm sitting
 slightly closer than normal; the rest are most certainly measurably
 larger, though). The only difference between now and previously is
 that I don't have my external monitor plugged in, but my resolution
 didn't change, and I've used this computer without the external before
 without problems.

 It's just simply bigger; I turned down the GTK font, which seems to
 have worked for some apps (like firefox and pidgin), but the fonts are
 unbearably large for some websites:
 http://logik.li/images/screenshots/arrakis/large_fonts_in_some_places.png

 A few months ago I had a similar problem with certain sites having
 large fonts, and never really managed to solve it, one day after
 reinstalling it just went away and never came back until now. This was
 probably related.

 This is what similar sites used to look like:
 http://logik.li/images/screenshots/arrakis/let_me_show_you.png (and
 when they used to be bad:
 http://logik.li/images/screenshots/arrakis/126-negative_what_log-p.png
 )

 So, anyone have any ideas about what I should do?

Check the DPI of your display (with xdpyinfo). Probably the lack of
the external monitor made it come up differently.

I dealt with this by fixing the XFT DPI value to 96, which is what
most fonts are designed for, and what most software that cares,
expects it to be. This can be done by setting the X property xft.dpi
to 96.


Re: [arch-general] Overly large fonts in X11 after rebooting

2009-10-10 Thread Samuel Baldwin
2009/10/10 Ray Kohler ataraxia...@gmail.com:
 Check the DPI of your display (with xdpyinfo). Probably the lack of
 the external monitor made it come up differently.

 I dealt with this by fixing the XFT DPI value to 96, which is what
 most fonts are designed for, and what most software that cares,
 expects it to be. This can be done by setting the X property xft.dpi
 to 96.

arrakis^~% xdpyinfo| grep -E 'resol|dimens'
  dimensions:1680x1050 pixels (331x210 millimeters)
  resolution:129x127 dots per inch

Not good? Where should I set xft.dpi? (Sorry, I haven't twiddled with
X much besides xorg.conf and .Xdefaults, is it either of those?)

-- 
Samuel Baldwin - logik.li


Re: [arch-general] Overly large fonts in X11 after rebooting

2009-10-10 Thread Ray Kohler
On Sat, Oct 10, 2009 at 6:21 PM, Samuel Baldwin
recursive.for...@gmail.com wrote:
 2009/10/10 Ray Kohler ataraxia...@gmail.com:
 Check the DPI of your display (with xdpyinfo). Probably the lack of
 the external monitor made it come up differently.

 I dealt with this by fixing the XFT DPI value to 96, which is what
 most fonts are designed for, and what most software that cares,
 expects it to be. This can be done by setting the X property xft.dpi
 to 96.

 arrakis^~% xdpyinfo| grep -E 'resol|dimens'
  dimensions:    1680x1050 pixels (331x210 millimeters)
  resolution:    129x127 dots per inch

 Not good? Where should I set xft.dpi? (Sorry, I haven't twiddled with
 X much besides xorg.conf and .Xdefaults, is it either of those?)

Yes, put it in .Xdefaults and do whatever you normally do after
changing that file. Case matters:

Xft.dpi: 96


Re: [arch-general] Overly large fonts in X11 after rebooting

2009-10-10 Thread Partha Chowdhury
On Sat, Oct 10, 2009 at 06:21:00PM -0400, Samuel Baldwin wrote:
 2009/10/10 Ray Kohler ataraxia...@gmail.com:
  Check the DPI of your display (with xdpyinfo). Probably the lack of
  the external monitor made it come up differently.
 
  I dealt with this by fixing the XFT DPI value to 96, which is what
  most fonts are designed for, and what most software that cares,
  expects it to be. This can be done by setting the X property xft.dpi
  to 96.
 
 arrakis^~% xdpyinfo| grep -E 'resol|dimens'
   dimensions:1680x1050 pixels (331x210 millimeters)
   resolution:129x127 dots per inch
 
 Not good? Where should I set xft.dpi? (Sorry, I haven't twiddled with
 X much besides xorg.conf and .Xdefaults, is it either of those?)
 
i have an acer aspire 4720 laptop and i also was having problems with
large fonts.this link [1] helped me. I also manually unchecked the
option allow pages to choose their own fonts under
firefox-edit-preferences-content-advanced.

[1]http://wiki.archlinux.org/index.php/Acer_Aspire_One#Setting_dpi


Re: [arch-general] Overly large fonts in X11 after rebooting

2009-10-10 Thread Samuel Baldwin
Excellent, the dpi trick worked perfectly. I wonder why it fiddled
with it... glad it's all working now though, thank you!

I might try the trick with the other sites chosing fonts as well, some
people have horrid taste.

-- 
Samuel Baldwin - logik.li