Re: gtkrc-2.0 and font* =
- From: Owen Taylor <otaylor redhat com>
- To: Marcin Krzyzanowski <krzak linux net pl>
- Cc: gtk-list gnome org
- Subject: Re: gtkrc-2.0 and font* =
- Date: Tue, 5 Nov 2002 15:34:51 -0500 (EST)
Marcin Krzyzanowski <krzak linux net pl> writes:
> Hi,
>
> I just install gtk 2.1.2 and hm..
>
> ex.
> style "defaultfont" {
> fontset = "-adobe-courier-bold-r-normal--12-180-100-100-M-150"
> }
> class "*" style "defaultfont"
>
> It doesnt work, only fonts that work it's pango fonts defined in pangox.aliases, or maybe I did somethink wrong
>
> PS. I have such font.
To set the default font for gtk-2.0, use:
gtk-font-name = "Courier 15"
In your ~/.gtkrc. To control fonts for individual widgets do:
style "myfont" {
font_name = "Courier 15"
}
widget "*.MyWidget.*" style "myfont"
(Note that you can use partial specifications like "15" "Courier"
"bold", etc here.)
Regards,
Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]