Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Battle for wesnoth, Menu unreadable font
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
tw04l124
Veteran
Veteran


Joined: 03 Oct 2006
Posts: 1868
Location: A t z e l, lower austria

PostPosted: Wed Feb 04, 2015 9:55 am    Post subject: Battle for wesnoth, Menu unreadable font Reply with quote

I just installed battle for wesnoth and get a weird display behaviour just in the menu. The loading screen is fine though (I can read the tip about how to play the game clearly).

http://postimg.org/image/65i2y6xnt/

That happens in the menu. That happens with different display resolutions and even in full screen with different screen resolutions.


Code:
localhost roman # eix wesnoth
[I] games-strategy/wesnoth
     Available versions:  1.10.7 (~)1.12.1 {dbus dedicated doc fribidi nls server}
     Installed versions:  1.12.1(10:12:48 04.02.2015)(dbus nls -dedicated -doc -fribidi -server)
     Homepage:            http://www.wesnoth.org/
     Description:         Battle for Wesnoth - A fantasy turn-based strategy game

localhost roman # emerge -pv wesnoth

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] games-strategy/wesnoth-1.12.1  USE="dbus nls -dedicated -doc -fribidi -server" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB


emerge --info http://pastebin.com/ntSGUF2d


AFAIK i do not see any config file in my home directory? I deleted those ages ago. I assume they are in /home/.wesnoth right?

Do I need some truetype fonts maybe?

Can anyone tell me the config files for wesnoth in the home folder? is it /home/.wesnoth ?

Does anyone sees the same behaviour?

I will try to fix it later ...

[edit 1, without effect]

No idea why they changed it to .local ... The old structure with .wesnoth in the homedirectory was much more obvious.
Code:
rm -r .local/share/wesnoth/


[edit 2, without effect]

Code:

roman@localhost ~ $ rm -r /home/roman/.config/wesnoth/
roman@localhost ~ $ rm -r .local/share/wesnoth/
roman@localhost ~ $ wesnoth
Battle for Wesnoth v1.12.1
Started on Wed Feb  4 13:46:47 2015

20150204 13:46:47 error filesystem: Could not open '/home/roman/.config/wesnoth/preferences' for reading.

Data directory: /usr/share/games/wesnoth
User configuration directory: /home/roman/.config/wesnoth
User data directory: /home/roman/.local/share/wesnoth/1.12
Cache directory: /home/roman/.cache/wesnoth
Checking video mode: 1024x768x32...
setting mode to 1024x768x32


[edit 3rd without effect]

Code:
roman@localhost ~ $ rm -r /home/roman/.cache/wesnoth/
roman@localhost ~ $ rm -r /home/roman/.config/wesnoth/
roman@localhost ~ $ rm -r .local/share/wesnoth/
roman@localhost ~ $ wesnoth
Battle for Wesnoth v1.12.1
Started on Wed Feb  4 13:49:38 2015

20150204 13:49:38 error filesystem: Could not open '/home/roman/.config/wesnoth/preferences' for reading.

Data directory: /usr/share/games/wesnoth
User configuration directory: /home/roman/.config/wesnoth
User data directory: /home/roman/.local/share/wesnoth/1.12
Cache directory: /home/roman/.cache/wesnoth
Checking video mode: 1024x768x32...
setting mode to 1024x768x32


Basically even deleting everything which belongs to the user do not get rid of the effect.
I won t touch the data directory as it is from the system / belongs to portage for sure. therefore this directory should not have any effect on this wrong behaviour

[edit 4th ... the "freebirdi" useflag does not influence this behaviour at all]
Code:
localhost roman # emerge -pv wesnoth

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] games-strategy/wesnoth-1.12.1  USE="dbus fribidi nls -dedicated -doc -server" 0 KiB


[edit 5th just in case the config files may be wrong after "+fribidi" wesnoth]

Code:
roman@localhost ~ $ rm -r .local/share/wesnoth/
roman@localhost ~ $ rm -r /home/roman/.config/wesnoth/
roman@localhost ~ $ rm -r /home/roman/.cache/wesnoth/
roman@localhost ~ $ wesnoth
Battle for Wesnoth v1.12.1
Started on Wed Feb  4 14:33:26 2015

20150204 14:33:26 error filesystem: Could not open '/home/roman/.config/wesnoth/preferences' for reading.

Data directory: /usr/share/games/wesnoth
User configuration directory: /home/roman/.config/wesnoth
User data directory: /home/roman/.local/share/wesnoth/1.12
Cache directory: /home/roman/.cache/wesnoth
Checking video mode: 1024x768x32...
setting mode to 1024x768x32


I have to look into the sdl libs later ...
Back to top
View user's profile Send private message
v_andal
Guru
Guru


Joined: 26 Aug 2008
Posts: 350
Location: Germany

PostPosted: Thu Feb 05, 2015 8:12 am    Post subject: Reply with quote

Most likely it just gets wrong font. Probably you should play with fonts configuration, not with the wesnoth configuration. There's FC_DEBUG environment which can be used to see which fonts are requested by the application and which fonts are passed to the application. I've used it couple times to figure out problems with gvim, but really, it was a nightmare to work with it :) Just in case you want to try it, run your application as "FC_DEBUG=1 application >fonts.trace" Read more about it in man fonts-conf.
Back to top
View user's profile Send private message
tw04l124
Veteran
Veteran


Joined: 03 Oct 2006
Posts: 1868
Location: A t z e l, lower austria

PostPosted: Thu Feb 05, 2015 11:56 am    Post subject: Reply with quote

I am curiuos if it is only my box because I use bloatfree gentoo [tm].

serious, i only run i3wm with a few packages and therefore I may not have something installed which anyone who uses kde / gnome usually has.

So can anyone repdroduce this on their kde / gnome systems?
Back to top
View user's profile Send private message
v_andal
Guru
Guru


Joined: 26 Aug 2008
Posts: 350
Location: Germany

PostPosted: Fri Feb 06, 2015 10:13 am    Post subject: Reply with quote

Well. I also don't use KDE or Gnome, only Sawfish. Out of curiosity I've installed wesnoth and didn't find any problems with fonts.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum