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 06-22-2004, 04:40 AM   #1
welson_sun
LQ Newbie
 
Registered: Jun 2004
Posts: 28
Thanked: 0
How to set various fonts for GTK2 apps?


[Log in to get rid of this advertisement]
The normal fonts can be set by gtk-2.0/gtkrc or ~/.gtkrc-2.0 in the form of:

Style = "user-font"
{
font_name = "BitStream Vera Sans Mono,Tahoma,NSimSun 9"
}
widget_class "*" style "user-font"

But if I run gtk-demo, you can see that the "Application main window" is very ugly, so it is not using the "user-font" style. How to set the font for this text? Is there a "title-font" or something like that?

http://www.et.byu.edu/~welson/SharedFiles/gtk2.jpg
welson_sun 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
How to set Gtk fonts apps running on KDE ? nooky59 Mandriva 3 04-09-2004 10:12 AM
Disable antialiasing in GTK2 apps Wynd Linux - General 0 12-18-2003 09:13 PM
Using gtk1 themes with gtk2 apps? n_ick2000 Linux - Software 0 03-30-2003 11:32 PM


All times are GMT -5. The time now is 03:18 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