Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Font sizes
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
r.stiltskin
Apprentice
Apprentice


Joined: 11 Aug 2004
Posts: 227
Location: Brooklyn

PostPosted: Thu Oct 19, 2006 7:04 pm    Post subject: Font sizes Reply with quote

Running gentoo 2006.1, xorg-x11-7.0-r1 and kde 3.5.2.

Some apps, such as Eclipse-sdk (3.2), Konqueror, Firefox, are using fonts that I find uncomfortably small, and they seem to ignore the font settings in KDE Control Center. I can sort of work around this problem in Konqueror and Firefox by setting minimum font sizes in "configure konqueror" and Firefox preferences (but this creates other problems with some websites not displayed correctly).

But Eclipse has no font settings of its own. It's supposed to be controlled by the system font settings.

I don't have this problem on my laptop (running Kubuntu). There, the font sizes are much more comfortable (I did nothing to adjust any fonts).

In both machines, the display is set to 1024x768. On the laptop, the firefox fonts are bigger (with no minimum font size set) than they are on the desktop (with minimum font size set at 12).

These are the only errors I see when X starts up:
Code:
(==) Using config file :"/etc/X11/xorg.conf"
Could not init font path element /usr/share/fonts/local, removing from
list!
xset:  bad font path element (#163), possible causes are:
    Directory does not exist or has wrong permissions
    Directory missing fonts dir
    Incorrect font server address or syntax
startkde: Starting up...
kbuildsycoca running...
kdecore (KLibLoader): Warning: KLibrary: /usr/kde/3.5/lib/kde3/kcm_kdnssd.so:undefined symbol: init_kdnssd
KWrited - Listening on Device /dev/pts/0
X Error: BadWindow (invalid Window parameter) 3
  Major opcode:  19
  Minor opcode:  0
  Resource id: 0x1e00005
Is there anything significant there?

What can be causing my default fonts to be so small?
Back to top
View user's profile Send private message
alkan
Guru
Guru


Joined: 06 Aug 2004
Posts: 385
Location: kasimlar yaylasi

PostPosted: Fri Oct 20, 2006 6:01 pm    Post subject: Reply with quote

maybe your DPI is the problem? what "grep DPI /var/log/Xorg.0.log" says?
You can play with monitor dimensions in xorg.conf until you get such a DPI so that fonts render fine on the screen.
96-110 DPI seems to work best.
Back to top
View user's profile Send private message
Shopro
l33t
l33t


Joined: 12 May 2004
Posts: 678
Location: Dayton, OH, USA

PostPosted: Fri Oct 20, 2006 6:10 pm    Post subject: Reply with quote

Please see this to fix the problem: http://gentoo-wiki.com/HOWTO_Xorg_and_Fonts
_________________
Just because I have nothing to say is no reason why you shouldn't listen.
Back to top
View user's profile Send private message
r.stiltskin
Apprentice
Apprentice


Joined: 11 Aug 2004
Posts: 227
Location: Brooklyn

PostPosted: Sat Oct 21, 2006 3:50 am    Post subject: Reply with quote

Maybe not the best solution, but I fixed it by:
1) I deleted my ~/.kde and ~/.kde3.5 directories
2) I removed 1280x1024 from all the "Modes" lines of my xorg.conf. (Previously, KDE was starting up at the higher resolution & when I wanted bigger type I used "configure desktop" to reduce it to 1024x768. That works for most apps, but not for Eclipse.)

So now the fonts in Eclipse are a reasonable size, but I have to live with 1024x768 for everything.

My stuff was set up based on the Gentoo Nvidia Guide, so it mostly complies with the info in the Fonts wiki. The wiki is interesting, but doesn't really give much useful explanation in the areas that seem most likely to help: the ~/.fonts.conf and /etc/fonts/local.conf, and "hinting". Seems to require a great deal of experimentation to figure out how to use those.

Also, my dpi was already set to 96x96. Maybe I could play around with that, but I sort of ran out of time, and anyway, I didn't want to screw up everything else just to enlarge the fonts on one annoying app.

Thanks, anyway for your suggestions.
Back to top
View user's profile Send private message
mor22
n00b
n00b


Joined: 22 Jun 2003
Posts: 52
Location: Cambridge, UK

PostPosted: Fri Nov 24, 2006 10:14 am    Post subject: Reply with quote

I found a solution to this, I have just upgraded to kdelibs version 3.5.5 and all my fonts went small.

to fix this I found that the there was a few extra lines (the unscaled ones) in my xorg.conf

Code:

    FontPath   "/usr/share/fonts/75dpi/:unscaled"
    FontPath   "/usr/share/fonts/100dpi/:unscaled"
    FontPath   "/usr/share/fonts/100dpi"
    FontPath   "/usr/share/fonts/75dpi"



commenting these out sorted out my fonts :-)

Code:

#    FontPath   "/usr/share/fonts/75dpi/:unscaled"
#    FontPath   "/usr/share/fonts/100dpi/:unscaled"
    FontPath   "/usr/share/fonts/100dpi"
    FontPath   "/usr/share/fonts/75dpi"


Restart X and bob is your mothers brother!

Yum!
Back to top
View user's profile Send private message
EzInKy
Veteran
Veteran


Joined: 11 Oct 2002
Posts: 1742
Location: Kentucky

PostPosted: Fri Nov 24, 2006 10:18 am    Post subject: Reply with quote

Shopro wrote:
Please see this to fix the problem: http://gentoo-wiki.com/HOWTO_Xorg_and_Fonts


That is one of the best howto's available. Ever since I followed it my 1440x900 lcd has been gorgeous under all window managers B-)
_________________
Time is what keeps everything from happening all at once.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum