Home » Questions » Computers [ Ask a new question ]

How do I enlarge fonts for GTK applications?

How do I enlarge fonts for GTK applications?

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:

Asked by: Guest | Views: 53
Total answers/comments: 1
Guest [Entry]

"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."