FS#28204 - [xboard] Fonts and ChessProgram settings.
Attached to Project:
Community Packages
Opened by Karol Błażewicz (karol) - Wednesday, 01 February 2012, 00:40 GMT
Last edited by Sergej Pupykin (sergej) - Friday, 24 February 2012, 00:30 GMT
Opened by Karol Błażewicz (karol) - Wednesday, 01 February 2012, 00:40 GMT
Last edited by Sergej Pupykin (sergej) - Friday, 24 February 2012, 00:30 GMT
|
Details
With the default settings it's impossible to properly start
xboard. First you get
xboard: no fonts match pattern -*-helvetica-bold-r-normal--*-*-*-*-*-*-*-*" error and after you set some proper fonts, you're greeted with xboard: Failed to start first chess program fairymax on localhost: fairymax: No such file or directory In the PKGBUILD we already do some fairymax -> gnuchess conversion. Wold it be possible to do the same for the /etc/xboard.conf config? The fonts issues are not terribly hard to figure out, but a post_install message would surely help. |
This task depends upon
xboard: Failed to start first chess program fairymax on localhost: fairymax: No such file or directory
In order to successfully start xboard, I have to edit /etc/xboard.conf and change '-firstChessProgram fairymax' to '-firstChessProgram gnuchess'.
Should I open a new bug report for this?
I added
-font "size108:-xos4-terminus-medium-r-normal--12-120-72-72-c-60-iso8859-1"
-clockFont "size108:-xos4-terminus-medium-r-normal--12-120-72-72-c-60-iso8859- 1"
-coordFont "size108:-xos4-terminus-medium-r-normal--12-120-72-72-c-60-iso8859- 1"
to /etc/xboard.conf and it worked. These settings were copied to ~/.xboardrc that was automatically created when the program run successfully.
That's not much of a fix, as not everyone uses terminus, but maybe you can pick some stock fonts this way.
Do you have some output in "xlsfonts | grep helvetica-bold-r-normal" ? It should work now with default font settings.
I have done:
4996 xlsfonts | grep -- helvetica-bold-r-normal
4997 sudo pacman -R xboard
4998 rm ~/.xboardrc
4999 sudo pacman -U xboard-4.5.2-4-x86_64.pkg.tar.xz
5000 xboard
and it works.
Can you please refresh my memory why is a reboot needed or what configuration am I missing?
After
- pacman -Rns xboard (removes xboard and xorg-fonts)
- reboot
- pacman -S xboard
xboard throws the fonts error and xlsfonts doesn't show helvetica. After a reboot 'xlsfonts | grep -- helvetica-bold-r-normal' returns a lot of stuff and now xboard just works.
Now (i.e. after a reboot, when it's working fine) if I remove xboard and install it back
- pacman -Rns xboard
- pacman -S xboard
it still works.
This doesn't seem to be an error with xboard anymore so you can close this report, I'm just curious what am I missing. Thanks for fixing xboard :-)
Thanks to xorg-fonts-* , text on websites looks like shit so I may just use 'pacman -Sdd xboard' ;P