[openbox] xft font help!

Ben Jansens ben at orodu.net
Wed Oct 9 16:41:20 EDT 2002


On Wed, Oct 09, 2002 at 09:06:38AM -0700, Kevin Geiss wrote:
> long time blackbox user, drawn to openbox for the antialiased fonts and
> net wm compliance. But:
> 
> I'm trying to get antialiased fonts in openbox, and I need some help.
> 
> First, these are things I have done:
> 
> outside of X, I added
> session.screen0.antialiasFonts: True
> to my ~/.openbox/rc file and then "startx"ed 

No, need, the default is true. And the old "you have to exit blackbox
to edit your rc file" philosophy does not hold with Openbox. Edit it
and hit reconfigure. Easy as that.
 
> put a line like this in a stylefile:
> *xft.font:        Nimbus Roman
> there are no other "font" lines in the style, and "Nimbus Roman" is
> a name straight out of my /etc/X11/XftConfig file. (and it works with
> "xterm -fa 'Nimbus Roman'")

A font cannot be specified without a size.
*xft.size: 10
or something like that, and then things should start working out
better for you.

Take a look at the styles shipped with Openbox for examples.

> then when I choose the style file, openbox says this:
> BFont::BFont(): couldn't load font 'Nimbus Roman'
> Falling back to default 'fixed'
> 
> help!

Ben
-- 
I am damn unsatisfied to be killed in this way.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <http://icculus.org/pipermail/openbox/attachments/20021009/047bffe9/attachment.pgp>


More information about the openbox mailing list