Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 419751

Summary: >=games-board/xboard-4.6.0 should RDEPEND on media-fonts/font-misc-misc
Product: Gentoo Linux Reporter: Siim Ainsaar <ainsaar>
Component: [OLD] GamesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Siim Ainsaar 2012-06-05 13:05:02 UTC
As encountered by A. Sarubbo at bug 384521, >=games-board/xboard-4.6.0 should have an RDEPEND of "default-font? ( media-fonts/font-adobe-100dpi[nls] media-fonts/font-misc-misc[nls] )". I am not sure if the "nls" useflag is needed unconditionally, but for me xboard does not start otherwise. Please note, when testing, that after installing or uninstalling any Xorg fonts one needs either an "xset fp rehash" or a re-login (bug 384685).

The error seen if media-fonts/font-misc-misc is missing:

$ xboard 
Unable to create font set for -*-helvetica-medium-r-normal--14-*-*-*-*-*-*-*,-misc-fixed-medium-r-normal--14-*-*-*-*-*-*-*,-*-*-*-*-*-*-14-*-*-*-*-*-*-*.

A respective entry from the xboard changelog:

2011-05-29 20:14:37 -0700 Tim Mann <tim@tim-mann.org>:
Added "misc-fixed" as a fallback font to handle locales where adobe-helvetica does not have all the required characters.  The fixed font is ugly but does have a rather complete set of characters, while the helvetica font is missing Cyrillic characters (at least on my distro).  I haven't found a way to get a nicer font that includes Cyrillic to work with XCreateFontSet, but I don't fully understand why.  I'll try to improve things further in the future if I figure out what's all going wrong.

In the process I had to rewrite the code to insert the pixel size into
a font name (replacing a "*" in that field).  The new code is much
more general.

[The entry ends here.]
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2012-06-06 17:42:13 UTC
fixed.