aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Font only consists of rectangles - SOLVED  (Read 2902 times)

xxlray

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 18
Font only consists of rectangles - SOLVED
« on: January 25, 2007, 11:06:47 AM »

I run aMule on a debian machine via vncserver from another PC. It worked quite well so far after I managed to start properly. Shortly I had some Problems with my system so I had to do a apt-get upgrade -f.
After that I had only rectangles for each letter in aMule. The font on my desktop and on the upper bar of the programm window works fine. The problem is only inside the programm window of aMule.
I remember I had to install some kind of font before I got aMule running. I wasn't able to recover which font that was.
Can anybody help me?
« Last Edit: January 26, 2007, 03:00:12 AM by xxlray »
Logged

Gerd78

  • Hero Member
  • *****
  • Karma: 9
  • Offline Offline
  • Posts: 681
Re: Font only consists of rectangles - SOLVED
« Reply #1 on: January 25, 2007, 04:35:34 PM »

Does this really affect only aMule or does it affect other gtk2 applications as well? Can you please test gedit, firefox, eog and the like?

The symptoms indicate a screwed up gtk2 and/or pango installation, nothing specific to aMule.
Logged

xxlray

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 18
Re: Font only consists of rectangles - SOLVED
« Reply #2 on: January 25, 2007, 08:00:35 PM »

At least opera works fine. Any other idea?
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: Font only consists of rectangles - SOLVED
« Reply #3 on: January 25, 2007, 08:44:07 PM »

Opera uses QT.

About the problem: Open ~/.gtkrc-2.0, look for the font line and change the value. This should solve this problem.
Logged

Gerd78

  • Hero Member
  • *****
  • Karma: 9
  • Offline Offline
  • Posts: 681
Re: Font only consists of rectangles - SOLVED
« Reply #4 on: January 25, 2007, 08:59:13 PM »

As wuischke said, Opera is not a gtk2 application.

Can you please answer the question: Does any gtk2 application work properly? This is the important information...

And no, ~/.gtkrc-2.0 is most likely not the problem. I suspect the problem in /etc/pango/pango.modules. You can update it by running
Code: [Select]
pango-querymodules > /etc/pango/pango.modulesas root.
Logged

xxlray

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 18
Re: Font only consists of rectangles - SOLVED
« Reply #5 on: January 26, 2007, 02:19:10 AM »

I do not know, if even any application I have is a gtk2 application and I do not know how to figure this out.

In the directory /etc/pango/ I only have pangox.aliases

And typing "pango-querymodules > /etc/pango/pango.modules"
 just offers:
-bash: pango: command not found

There also is no file ~/.gtkrc-2.0 for the user running aMule

Hmm it seems that there is no package installed called gtk2

e: Hey - cool!
"apt-get install gtk2-engines-gtk-qt" solved my problem
thanks to all
« Last Edit: January 26, 2007, 02:59:53 AM by xxlray »
Logged