Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 162048 - games-puzzle/xblockout doesn't find font on amd64
Summary: games-puzzle/xblockout doesn't find font on amd64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 229475
  Show dependency tree
 
Reported: 2007-01-14 14:29 UTC by NorthLite
Modified: 2014-05-05 22:30 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch for version 1.1.3 (1.1.3-font.patch,443 bytes, patch)
2007-01-14 14:30 UTC, NorthLite
Details | Diff
same patch for version 1.1.4 (1.1.4-font.patch,1.19 KB, text/plain)
2007-01-14 14:31 UTC, NorthLite
Details
same patch for version 1.1.4 (1.1.4-font.patch,443 bytes, patch)
2007-01-14 14:45 UTC, NorthLite
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description NorthLite 2007-01-14 14:29:12 UTC
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
Comment 1 NorthLite 2007-01-14 14:30:09 UTC
Created attachment 106935 [details, diff]
patch for version 1.1.3
Comment 2 NorthLite 2007-01-14 14:31:30 UTC
Created attachment 106936 [details]
same patch for version 1.1.4
Comment 3 NorthLite 2007-01-14 14:34:42 UTC
Comment on attachment 106936 [details]
same patch for version 1.1.4

--- 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" ;
Comment 4 NorthLite 2007-01-14 14:45:09 UTC
Created attachment 106938 [details, diff]
same patch for version 1.1.4
Comment 5 Tristan Heaven (RETIRED) gentoo-dev 2007-02-21 21:25:24 UTC
please post "grep -i fontpath /etc/X11/xorg.conf"
Comment 6 Santiago M. Mola (RETIRED) gentoo-dev 2008-07-21 16:21:57 UTC
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.
Comment 7 Tristan Heaven (RETIRED) gentoo-dev 2008-07-21 21:29:51 UTC
Why does loading the default font fail?
Comment 8 Santiago M. Mola (RETIRED) gentoo-dev 2008-07-22 16:48:34 UTC
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.

Comment 9 Santiago M. Mola (RETIRED) gentoo-dev 2008-07-22 18:56:15 UTC
amd64 keyword dropped.
Comment 10 Tupone Alfredo gentoo-dev 2008-10-27 22:43:44 UTC
A Fix is now in portage. Thanks
Comment 11 Jaak Ristioja 2014-05-05 22:30:09 UTC
(In reply to Tupone Alfredo from comment #10)
> A Fix is now in portage. Thanks

Still appears to be an issue with 1.1.5-r1 and 1.1.6.

(In reply to Santiago M. Mola (RETIRED) from comment #8)
> # xbl -bigfont '-*-*-*-r-*-*-24-*-*-*-*-*-iso8859-1' -font
> '-*-*-*-r-*-*-24-*-*-*-*-*-iso8859-1'

This works thou.