You are not logged in.

#1 2007-05-09 15:23:00

animammal
Member
Registered: 2007-05-07
Posts: 3

Font mess

Hi all,

Seems i've come across a problem probably caused by myself. when I boot into any wm, all of the gtk1 and 2 apps display hollow boxes inplace of characters.

I'm using the gb key map but I have not defined the en_GB.iso8859-1 locale in my rc..conf file, could this be the problem? running 'locale -a' shows only the us locale so does this mean I would have to install it? if so how?

all of the fonts listed in my xorg.conf file are installed so I don't think that could be the problem!?

some help would be apreciated.

Cheers:D

Nick

Last edited by animammal (2007-05-09 15:26:07)

Offline

#2 2007-05-09 16:06:42

Linteg
Member
From: Sweden
Registered: 2006-03-11
Posts: 54

Re: Font mess

animammal wrote:

I'm using the gb key map but I have not defined the en_GB.iso8859-1 locale in my rc..conf file, could this be the problem? running 'locale -a' shows only the us locale so does this mean I would have to install it? if so how?

To install a locale, edit /etc/locale.gen and uncomment the locales you want to use, then run "locale-gen" (as root), if you want it as default you have to set it in rc.conf...
If you haven't defined another locale than the default (en_US) in rc.conf that shouldn't be the problem. Have you installed any ttf fonts? If not, I'd recommend ttf-dejavu & ttf-ms-fonts.

Last edited by Linteg (2007-05-09 16:33:28)

Offline

#3 2007-05-09 16:35:00

animammal
Member
Registered: 2007-05-07
Posts: 3

Re: Font mess

hi ya, yeah, i've got a lot of ttf fonts installed including the ones you've suggested.

Is there anyway I can check what fonts gtk needs??

thanks for the help!

Last edited by animammal (2007-05-09 16:43:43)

Offline

#4 2007-05-09 18:34:14

Weeks
Member
Registered: 2006-01-26
Posts: 91

Re: Font mess

gtk apps should work with any fonts AFAIK.

xorg.conf doesn't really deal with fonts anymore. It's all done via fontconfig and freetype.

I think you need

    Load        "type1"
    Load        "freetype"
    Load        "xtt"

those enabled in your xorg.conf as I recall. I've not got my arch box in front of me at the moment.

Offline

#5 2007-05-09 20:10:25

animammal
Member
Registered: 2007-05-07
Posts: 3

Re: Font mess

woo hoooo FIXED! I ran a few gtk apps via the console and it came back with something about Pango??? seems I just had to re-install it.  must have just been corrupted.

Thanks for your help guys!

Offline

Board footer

Powered by FluxBB