Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 419751 - >=games-board/xboard-4.6.0 should RDEPEND on media-fonts/font-misc-misc
Summary: >=games-board/xboard-4.6.0 should RDEPEND on media-fonts/font-misc-misc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-05 13:05 UTC by Siim Ainsaar
Modified: 2012-06-06 17:42 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.