LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux > 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
 
Thread Tools
Old 07-28-2004, 01:32 PM   #1
doctorwebbox
Member
 
Registered: Jun 2003
Location: Rotherham, South Yorkshire, England
Distribution: Debian
Posts: 117
Thanked: 0
Adjusting GTK2 fonts through KDE


[Log in to get rid of this advertisement]
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?
doctorwebbox is offline     Reply With Quote
Old 07-28-2004, 03:47 PM   #2
Not now, John!
Member
 
Registered: Jul 2004
Distribution: LFS 5.1
Posts: 161
Thanked: 0
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.
Not now, John! is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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


All times are GMT -5. The time now is 05:40 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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration