Re: gtk2.0 font problem



On Sun, 2003-02-23 at 12:35, Sven Neumann wrote:
> Hi,
> 
> Ian Zimmerman <itz speakeasy org> writes:
> 
> > Hi, I searched the archive suspecting this could be a FAQ, but without
> > luck.
> > 
> > I just installed my first gtk2.0 program and all the dependent
> > libraries.  It runs fine, but the default widget font is too small
> > (looks like 9 or 10pt).  gtk1.2 apps work correctly, defaulting to
> > 12pt Helvetica which is what I want.
> 
> put this into your ~/.gtkrc-2.0 file:
> 
> style "default"
> {
>   font_name = "Sans 12"
> }
> 
> class "*" style "default"

Even better, put:

gtk-font-name = "Sans 12"

into your ~/.gtkrc-2.0. (The difference is that this sets the
default font name, rather than specifying a font name explicitely
for all widgets.)

Regards,
                                            Owen





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