Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 07-21-2005, 10:37 AM   #1
Registered: Jan 2005
Location: Norfolk, VA
Posts: 32

Rep: Reputation: 15
Can't get font sizes consistent

This is driving me nuts - I've been through all the sites online about this subject but nothing seems to work. I tried changing my dpi in /etc/kde3/kdm/Xservers to 80, but when I run xdpyinfo | grep resolution, it reports that the resolution is still 75x75dpi. I tried creating a .serverrc file in my home directory with startx -- -dpi 100 as its content (chose a bigger number to make changes more visibly obvious), but that doesn't do anything either. Where the hell is it getting the 75x75 from???

Weirder still, if I open the font settings in the gnome control panel all the fonts in GTK windows (I run KDE) suddenly get a little larger and stay that way for the rest of the session. I'd have to do that every time I restarted to fix the GTK apps.

I'm running Mepis, which is based on Debian.

Anyone know how I can get this fixed?

Last edited by seanr; 07-21-2005 at 10:39 AM.
Old 07-21-2005, 11:06 AM   #2
Senior Member
Registered: Aug 2003
Location: Upstate
Distribution: Debian, Mint, Mythbuntu
Posts: 1,210

Rep: Reputation: 71
Iif you are trying to get unified fonts and appearance for gnome and kde applications, you should try installing gtk2-engines-gtk-qt. It is available in Debian unstable, just make sure you have Debian unstable repositories in /etc/apt/sources.list, then do:
apt-get update
apt-get install gtk2-engines-gtk-qt
After installing, open the KDE control center and select "Appearance and Themes". You should now see an entry called "GTK Styles and Fonts". Make sure to select "Use another style > Qt" and "Use my KDE fonts in GTK Applications". You can then test it by opening a GTK application like Firefox, Gimp, or Openoffice. The user interface fonts and menus should look similar to those in your KDE applications. The settings should stay upon reboot, so you don't need to go into Kcontrol each time.
Old 07-21-2005, 12:03 PM   #3
Registered: Jan 2005
Location: Norfolk, VA
Posts: 32

Original Poster
Rep: Reputation: 15
That worked - Thanks!!!!!! Wonder why that isn't mentioned on any of the font tutorials?

Now the problem I've got is that Arial 10pt looks smaller in all Linux apps than it does under Windows. I presume this is related to the DPI setting? How can I fix that? My goal here is to make it so that web pages I develop in Windows will look the same in Firefox for Linux and vice versa. Currently, my linux fonts are all a bit smaller, which is causing me problems with things wrapping in Windows but having extra space in Linux.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Font sizes dyrer Linux - Newbie 2 08-28-2005 07:51 AM
More font sizes enemorales Linux - General 1 04-13-2005 05:37 PM
Mozilla and font sizes TheGr81 Linux - Software 17 04-08-2005 01:18 PM
Abnormal font sizes... Nazxul Linux - Software 3 02-06-2005 01:28 PM
Font Sizes - Windowmaker jillande Linux - Software 1 01-21-2005 02:04 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:24 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration