I ran a program under WINE and when it terminated, suddenly lots of programs were running with tiny fonts, including Google Chrome, Unison, and PLT Scheme. I think what these programs have in common is they all use GTK. I am running Debian Linux without a Gnome desktop. As suggested on the web, I put this text in ~/.gtkrc-2.0:

style "user-font"
{
    font_name="BitStreamVeraSans 14"
}
widget_class "*" style "user-font"
gtk-font-name="BitStreamVeraSans 14"

Unfortunately this change has had no discernible effect.

How can I escape the land of tiny-fonted ones?

link|improve this question

80% accept rate
feedback

1 Answer

up vote 1 down vote accepted

I tracked down the problem and in the end it was a combination of GTK and other factors. Somehow WINE changed the physical screen size as reported by xdpyinfo. As a result the DPI was computed to be 56—way too small.

The solution was to change the X server to use the correct size by running xrandr --screen 0 --fbmm 287x180.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.