Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 145907 - x11-wm/windowlab (1.31 and 1.32): unknown font definition for Xorg 7.0
Summary: x11-wm/windowlab (1.31 and 1.32): unknown font definition for Xorg 7.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Desktop WM Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on: 172307
Blocks:
  Show dependency tree
 
Reported: 2006-09-01 15:06 UTC by Stephen Tallowitz
Modified: 2007-06-29 11:07 UTC (History)
1 user (show)

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


Attachments
Fix the font name in windowlab (font-type.diff,387 bytes, patch)
2006-09-01 15:09 UTC, Stephen Tallowitz
Details | Diff
Use font type 'fixed' (font-type.diff,386 bytes, patch)
2006-09-01 15:12 UTC, Stephen Tallowitz
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stephen Tallowitz 2006-09-01 15:06:49 UTC
Windowlab doesn't start properly on a fresh gentoo install with xorg-x11-7.0-r1. The error when starting is:

windowlab: XLoadQueryFont(): font '-b&h-lucida-medium-r-*-*-10-*-*-*-*-*-*-*' not found

This is most easily fixed by patching the file windowlab.h to load the font 'fixed'.

I first tried fixing this by installing both
media-fonts/font-bh-lucidatypewriter-100dpi and
media-fonts/font-bh-lucidatypewriter-75dpi
This didn't work, however.

Another way of solving this problem would be to compile in XFT support, it then chooses a different font from windowlab.h, this font seems to work on the standard gentoo installation (I played around with the Makefile and patched it to compile in XFT).
I prefer the font 'fixed', however, as it uses less screen space. Compiling in XFT would require proper useflags and more dependencies in the ebuild. So for the sake of simplicity I've opted for the simpler option.
Comment 1 Stephen Tallowitz 2006-09-01 15:09:22 UTC
Created attachment 95683 [details, diff]
Fix the font name in windowlab
Comment 2 Stephen Tallowitz 2006-09-01 15:12:55 UTC
Created attachment 95684 [details, diff]
Use font type 'fixed'

Sorry, nano had to introduce an extra breakline. Correct patch this time
Comment 3 Santiago M. Mola (RETIRED) gentoo-dev 2007-03-26 16:13:57 UTC
See bug #172307 for an updated ebuild with both xft support and this patch.
Comment 4 Santiago M. Mola (RETIRED) gentoo-dev 2007-06-29 11:07:57 UTC
Fixed on 1.34. Thanks for reporting.