Fonts are now going to be configured in the rc.xml file. The format is such as
authorDana Jansens <danakj@orodu.net>
Sun, 4 Mar 2007 07:18:04 +0000 (07:18 +0000)
committerDana Jansens <danakj@orodu.net>
Sun, 4 Mar 2007 07:18:04 +0000 (07:18 +0000)
commit17b2d57717504e2018d3ba23e0deffe55fc6d084
treef3d66e77cd5a0decf7fe89ff561861e0d8895b3c
parentd0f9d647aaed5c9f2d3cc3a16cc2d4b717622bc0
Fonts are now going to be configured in the rc.xml file. The format is such as

<theme>
...
  <font place="ActiveWindow">
    <name>arial,sans</name>
    <size>8</size>
    <weight>bold</weight>
    <slant>italic</slant>
    <shadow>yes</shadow>
    <shadowOffset>1</shadowOffset>
    <shadowTint>64</shadowTint>
  </font>
</theme>

Valid place="" are ActiveWindow, InactiveWindow, MenuTitle, and MenuItem.
Only valid weight is "bold"
Valid slants are "italic" and "oblique"
shadowTint is a value between -100 and 100
size is the font size in points. pixelsize could possibly be added in the form of 8px, but it's not right now.
the name can contain multiple families and they will all be used to match characters

You can omit any fields and get the default for it. You can omit naming a font for a place="" and get the default font for it.

This is completely replacing theme-specified fonts, for better or for worse. Font shadowing may go back into the theme at some point, instead of in the rc.xml.
openbox/config.c
openbox/config.h
openbox/openbox.c