Bug 162048 - games-puzzle/xblockout doesn't find font on amd64
|
Bug#:
162048
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: AMD64
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: games@gentoo.org
|
Reported By: northlite@gmx.net
|
|
Component: Games
|
|
|
URL:
|
|
Summary: games-puzzle/xblockout doesn't find font on amd64
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2007-01-14 14:29 0000
|
xbl when run results in the message below and exits, this is relevant for both
1.1.3 and 1.1.4
X Error of failed request: BadName (named color or font does not exist)
Major opcode of failed request: 45 (X_OpenFont)
Serial number of failed request: 55
Current serial number in output stream: 218
(From update of attachment 106936 [details])
--- bl.c.orig 2006-02-04 20:13:23.000000000 +0000
+++ bl.c 2007-01-14 11:53:17.000000000 +0000
@@ -279,7 +279,7 @@
bl.opt.state = STOP ;
strcpy( bl.opt.thefont , "-*-*-*-r-*-*-12-*-*-*-*-*-iso8859-1" ) ;
- strcpy( bl.opt.thefont2 , "-*-*-*-r-*-*-24-*-*-*-*-*-iso8859-1" ) ;
+ strcpy( bl.opt.thefont2 , "-*-*-*-r-*-*-20-*-*-*-*-*-iso8859-1" ) ;
bl.boardkey[0] = bl.opt.userkey ;
bl.boardkey[1] = "14789632azqswx \035p\0030" ;
please post "grep -i fontpath /etc/X11/xorg.conf"
As discussed some time ago in #-amd64-dev and #-games, this is actually a bug.
The proposed patch works fine, although it hides the actual bug, which is that
xblockout crashes when it tries to set a fallback font after the default fails.
Why does loading the default font fail?
Honestly, I don't know. If you want to check in your arch, try:
# xbl -bigfont '-*-*-*-r-*-*-24-*-*-*-*-*-iso8859-1' -font
'-*-*-*-r-*-*-24-*-*-*-*-*-iso8859-1'
If you see "Some problems when loading a font... trying others"... you have it.
iirc on x86 it wasn't a problem because the fallback font was loaded
successfully.
A Fix is now in portage. Thanks