LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 05-07-2006, 11:17 AM   #1
Franklin
Senior Member
 
Registered: Oct 2002
Distribution: Slackware, WinXP, Windows 7
Posts: 1,253

Rep: Reputation: 55
Hacking the "Smallest" default font size in KDE


Hi all,

I'm running KDE 3.5.2 on Slackware-current.

Resolution is 1024 x 768 and dpi = 96 x 96.

Using freetype recompiled for BC support.
MS fonts installed, standard font is Tahoma 8 point.

All fonts are working perfectly.

My problem is that there appears to be a font size that is hard-coded somewhere in KDE that is used in a number of KDE applications to render fonts in situations where a smaller-than-standard size is required. To see what I am talking about, run krita and look at the font used for the tool-tabs. This can also be seen in digikam in the fonts used for the names and descriptions for the thumbnails.

What appears to be happening is that the font is set at 6 point of whatever font is specified in the KDE control center and this is too small to easily read - looks ugly too. 7 point would be much better, but I cannot find where this might be editable. I'm assuming this is set by KDE and not the individual applications as it appears to be consistant between apps where this occurs, although I could be wrong about this.

EDIT: The default action seems to be to make this font 2 points smaller than the sized chosen via control-center. I would like to change this to 1 point as I do not wish to have my standard fonts larger than Tahoma 8.

Any suggestions of where to look would be greatly appreciated. This is not a configurable option in the KDE control center.

Thanks,

Steve

Last edited by Franklin; 05-07-2006 at 11:48 AM.
 
Old 05-08-2006, 07:55 PM   #2
bosewicht
Senior Member
 
Registered: Aug 2003
Location: Honolulu, HI
Distribution: Arch
Posts: 1,380

Rep: Reputation: 47
i would look through ~/.kde and find the config files. I think you'll find in there what ur looking for. I haven't used kde in a long time, so i'm not sure what it's called.
 
Old 05-09-2006, 04:37 PM   #3
Franklin
Senior Member
 
Registered: Oct 2002
Distribution: Slackware, WinXP, Windows 7
Posts: 1,253

Original Poster
Rep: Reputation: 55
Hi and thanks for the reply.

I did look there first and did not find anything of interest regarding this particular parameter. Since this happens for multiple KDE programs, I felt this might be more of a generalized KDE font size specification rather than user or application specific. As I said, there is no way to change the size of this font independent of changing the "general" font size in KDE Control Center. If general is set at "Tahoma 8", then this font is "Tahoma 6" which is too small. I can increase the general font to 9 point which will change this small font to 7 point, but I don't want my general use fonts that large. (Ya, I'm picky )

I have checked most of the *rc files in the /opt/kde tree and have not seen anything there either. That does not mean it is not there though.

I thought I might try editing /etc/fonts/fonts.conf and including an alias section that would effectively set a minimum font size for the desktop, much like in browsers. Not sure if that will work though.

I'll let you know.
 
  


Reply


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
How to set the size of icons for "Starterbar" in "Gdekslets" Blue Jacket Linux - Software 4 11-23-2005 02:42 AM
What ever happened to the "smallest computer in the world"? t3gah General 3 04-21-2005 10:06 PM
Getting error: "ALSA device "default" is already in use by another program." brynjarh Debian 7 02-04-2005 11:45 AM
Could not init font path element. Could not find default font "fixed" SidA Red Hat 0 06-19-2004 08:42 PM
Can't start X; "cannot open default font..." odat Linux - Software 1 12-23-2002 06:10 PM


All times are GMT -5. The time now is 10:25 AM.

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