Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 302988 - games-board/xboard-4.4.1: X_OpenFont font error with size Medium
Summary: games-board/xboard-4.4.1: X_OpenFont font error with size Medium
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-31 13:58 UTC by Toralf Förster
Modified: 2011-01-31 09:07 UTC (History)
0 users

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


Attachments
font list (my_fonts.txt,675 bytes, text/plain)
2010-03-22 21:06 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2010-01-31 13:58:39 UTC
tfoerste@n22 ~ $ xboard -size Medium
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:  20
  Current serial number in output stream:  21

"Small" and "Big" however works. I do not have a xorg.conf anymore (w/ an xorg.conf I've to set at least the basi font path and "Medium" would work too).


Reproducible: Always
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2010-03-15 04:56:48 UTC
pick a font from:

for d in $(xset q | sed -n '/^Font Path:/{n;s/,/ /g;p;q}'); do cat $d/fonts.dir; done | awk '{ print $2 }'

and pass it to xboard with -font

You're probably just missing the default font, but you can use whatever one you want.
Comment 2 Toralf Förster gentoo-dev 2010-03-15 10:00:33 UTC
(In reply to comment #1)
> and pass it to xboard with -font
> 
> You're probably just missing the default font, but you can use whatever one you
> want.

tfoerste@n22 ~ $ for d in $(xset q | sed -n '/^Font Path:/{n;s/,/ /g;p;q}'); do cat $d/fonts.dir 2>/dev/null; done | awk '{ print $2 }' | tail -n 1
-misc-console-medium-r-normal--16-160-72-72-c-80-iso10646-1
tfoerste@n22 ~ $ xboard -font -misc-console-medium-r-normal--16-160-72-72-c-80-iso10646-1
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:  20
  Current serial number in output stream:  21
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2010-03-19 02:29:29 UTC
Give xboard-4.4.2 a try.
Comment 4 Toralf Förster gentoo-dev 2010-03-19 08:16:28 UTC
(In reply to comment #3)
> Give xboard-4.4.2 a try.
> 
tried - same issue.

Comment 5 Mr. Bones. (RETIRED) gentoo-dev 2010-03-22 19:43:33 UTC
resync, then emerge xboard again and restart your X server to make sure it's picking up the font.
Comment 6 Toralf Förster gentoo-dev 2010-03-22 20:07:10 UTC
(In reply to comment #5)
> resync, then emerge xboard again and restart your X server to make sure it's
> picking up the font.
> 
done, issue still exists.
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2010-03-22 20:14:21 UTC
Worked fine here with only these fonts installed, 

media-fonts/corefonts-1-r4
media-fonts/dejavu-2.30
media-fonts/encodings-1.0.3-r1
media-fonts/font-adobe-100dpi-1.0.1
media-fonts/font-alias-1.0.2
media-fonts/font-cursor-misc-1.0.1
media-fonts/font-misc-misc-1.1.0
media-fonts/freefont-ttf-20090104
media-fonts/gnu-gs-fonts-std-8.11

Having either one of media-fonts/font-adobe-75dpi or media-fonts/font-adobe-100dpi works
Comment 8 Toralf Förster gentoo-dev 2010-03-22 21:06:24 UTC
Created attachment 224775 [details]
font list

(In reply to comment #7)
> Worked fine here with only these fonts installed, 
> 
upgraded to your font version s- no success
Comment 9 Mr. Bones. (RETIRED) gentoo-dev 2011-01-31 09:07:01 UTC
4.4.1 is long gone and it works fine for me.