LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Abnormal font sizes... (https://www.linuxquestions.org/questions/linux-software-2/abnormal-font-sizes-286907/)

Nazxul 02-06-2005 10:03 AM

Abnormal font sizes...
 
Here's the problem...

I get *HUGE* (huge as in, Mozilla's file menu button takes up 1/9 of the screen) fonts on GTK2 apps when I'm not on XFce4 or GNOME (like when I'm on Fluxbox or KDE). However, they're normal size on XFce4, and GNOME. Oddly, when I'm on these, KDE fonts are abnormally small (unless I increase the size in kcontrol, which makes the fonts huge in KDE itself). This is quite puzzling, and I've run out of ideas. If anyone has anything to suggest, it'd be great. I am on Slackware 10.

damicatz 02-06-2005 10:26 AM

In Mozilla, there is an option to change the font DPI. The lower your DPI, the smaller the fonts.

In Firefox, it's under the fonts&colors menu under general preferences.

In Mozilla, in the preferences window, it's under appereance|fonts. Just change the display resolution to 72dpi or a setting of your choice.

As for your other GTK apps, I can't help you there as I don't use too many of them. Perhaps someone can come up with a more permenant solution.

Nazxul 02-06-2005 10:28 AM

I was merely using Mozilla as an example. It's *every* GTK2 app that does this... :scratch:

Aura_Bleu 02-06-2005 01:28 PM

I had that same problem myself and here's how I fixed it.

first a bit of background:

I use a laptop with a screen that support 800x600. Whenever I ran gnome, screen fonts were normal, but when I ran KDE screen fonts were HUGE and made the entire thing unuseable.

I looked in /etc/X11/xorg.cong and I removed the references to the 100 dpi fonts in the files section.

After doing this I was able to run KDE without having the fonts being huge ;)

Here's what I made the font list look like:

Code:

    FontPath  "/usr/X11R6/lib/X11/fonts/local/"
    FontPath  "/usr/X11R6/lib/X11/fonts/misc/"
    FontPath  "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
    FontPath  "/usr/X11R6/lib/X11/fonts/Speedo/"
    FontPath  "/usr/X11R6/lib/X11/fonts/Type1/"
    FontPath  "/usr/X11R6/lib/X11/fonts/TTF/"
    FontPath  "/usr/X11R6/lib/X11/fonts/cyrillic/"
    FontPath  "/usr/X11R6/lib/X11/fonts/75dpi/"

I hope this is of some help to you


All times are GMT -5. The time now is 08:29 AM.