LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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
 
LinkBack Search this Thread
Old 07-28-2004, 12:32 PM   #1
doctorwebbox
Member
 
Registered: Jun 2003
Location: Rotherham, South Yorkshire, England
Distribution: Debian
Posts: 117

Rep: Reputation: 15
Adjusting GTK2 fonts through KDE


I am running KDE on a debian installation and want to use a package that uses GTK2. The package runs fine but uses a tiny crappy font that I struggle to read.

If I start the gnome-settings-daemon, the naff small fonts are replaced by slick gnome fonts and it looks great.

Unfortunately it also makes my dialogue boxes in other apps like openoffice gigantic and puts big gaps between characters when I try to print from konqueror (which I use a lot). I can adjust how the fonts appear on the screen with konqueror but the printed output is always the same.

I have tried adjusting the fonts through the KDE control center and can't find one that adjusts the tiny fonts in the GTK2 app, and I've tried adjusting the fonts through the gnome control center but can't find one that doesn't make my konqueror output take up twice as much paper.

Grrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr

Can anyone help?
 
Old 07-28-2004, 02:47 PM   #2
Not now, John!
Member
 
Registered: Jul 2004
Distribution: LFS 5.1
Posts: 161

Rep: Reputation: 30
Add .gtkrc-2.0 file to your home directory with following content:
Code:
style  "gtk-default-iso-8859-1" {
  font_name = "Sans 11"
}
class "GtkWidget" style "gtk-default-iso-8859-1"
All GTK2 apps should have decent fonts after this.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fonts ok in GTK but not GTK2? bram2000 Linux - Software 3 04-19-2005 09:35 AM
Fonts in GTK2 (Xfce4, gedit) lexa *BSD 1 04-10-2005 10:25 PM
GTK2 fonts appear to reset between X sessions MechaA Debian 3 08-05-2004 05:58 PM
How to set various fonts for GTK2 apps? welson_sun Linux - Software 0 06-22-2004 03:40 AM
Gnome2/GTK2, fonts, and KDE? Wynd Slackware 0 09-23-2003 08:03 PM


All times are GMT -5. The time now is 04:53 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
Open Source Consulting | Domain Registration