Re: gtkrc-2.0 and font* =



Marcin Krzyzanowski <krzak linux net pl> writes:

> On Tue, Nov 05, 2002 at 03:34:51PM -0500, Owen Taylor wrote:
> > 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"
> 
> It's not what I've been asking about.
> 
> > 
> > (Note that you can use partial specifications like "15" "Courier" 
> > "bold", etc here.)
> 
> yes, but only if we talk about fonts specified in pangox.aliases, I'm asking about speyfying font without that.

Using X fonts via X Logical Font Descriptors is a deprecated feature
in GTK+-2.0 and is no longer suported by any widgets other than
the "ENABLE_BROKEN" GtkText widget.

So, what you are asking is not possible.

Regards,
                                        Owen




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]