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

Re: GTK 1.2 font problems



On Wed, Sep 22, 2004 at 09:59:18PM +0700, Yuhanes Tjandra wrote:
> On Tue, Sep 21, 2004 at 10:09:17AM -0700, Ross Boylan wrote:
> > The help in gnucash shows in a small, crummy font.  It's basically
> > unreadable.  Nothing I do seems to change it.  It looks OK in yelp.
> > I ordinarily run KDE on a testing system (though I tried Gnome too).
> > 
> > Judging by the dependencies, gnucash is a gtk 1.2 application.  I
> > assume yelp is good because it is a Gnome 2 (gtk 2?) app.
> > 
> > After reading the newsgroups, here's what I've tried:
> > 1. In KDE, disable the setting (under color!) for controls appearance
> > of non-KDE apps.
> > 2. Tried Gnome 2.
> > 3. Created .gtkrc.mine in my home directory with
> > # Create by RB for gtk 1.2 in effort to make gnucash help look decent
> > style "user-font"
> > {
> >   font="-*-times-medium-r-*-*-17-*-*-*-*-*-*-*"
> > }
> > This file is included by .gtkrc-1.2-gnome2
> > 4. Created .gtkrc-1.2, same as above.  (Nothing suggested this, but I
> > thought .gtkrc-1.2-gnome2 might only apply under gnome 2).
> > 5. Added to .gtkrc-2.0
> > gtk-font-name = "Sans 12"
> > 6. Tried
> > $ gnome-settings-daemon
> > You can only run one xsettings manager at a time; exiting
> > 
> > I did not log out before each attempt, though after doing these I did
> > start a Gnome session in a second virtual terminal.
> > 
> > Any other ideas?
> Do you have "*.UTF-8" as the default locale?
> [* means ar, de, en, etc]
> If it is so, try not to set it as your default locale.

I don't think so, but I have run some of the internationalization
packages, so they might have set something behind my back.

I have intervened to set some related variables, though it does not
affect all environments.  Basically, I'm either "C" or have
LANG=en_US
At least in my terminal (KDE Konsole) this is the only environment
variable that seems set (nothing named LOCALE).

Interestingly, I did discover
GTK_RC_FILES=/etc/gtk/gtkrc:/home/ross/.gtkrc:/home/ross/.kde/share/config/gtkrc
Only /home/ross/.gtkrc exists.



Reply to: