Re: fonts in gtk




Michael Bravo <mbravo@kronverk.spb.su> writes:

> Hi,
> 
> does anyone have any trouble with specifying fornts in gtk style files?
> Specifically, Gimp-1.1 seems to be aware of my locale settings and all file 
> dialogs are now in russian, however, it doesn't show it in appropriate
> fonts. I changed the default style spec in ~/.gimp-1.1/gtkrc to point to
> correct fonts, but it didn't have any effect. Someone told me that font
> foundry is hardcoded to be 'adobe' - is that true?

No.

I suspect the problem is that you are specifying a fontset
instead of a font.

Try creating a file ~/.gtkrc.ru that contains something
like the following:

====
style "ru-default" 
{
 fontset = "-*-helvetica-bold-r-normal-*-12-*-*-*-*-*-*-*"      
}

class "GtkWidget" style "ru-default"
===

Regards,
                                        Owen



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