Artwiz Fonts for Fluxbox

I recently installed the artwiz fonts for use with fluxbox by following the README instructions:

Do the following (example for gentoo):

    cd your_font_dir
    tar xvjf artwiz-aleczapka-<LANG>-<RELEASE>.tar.bz2
    cd artwiz-aleczapka-<LANG>-<RELEASE>
    fc-cache -fv ./

    Add this path to your /etc/X11/XF86Config config
    FontPath "your_font_dir/artwiz-aleczapka-<LANG>-<RELEASE>"

    and fontconfig config file (eg. /etc/fonts/local.conf)
    <dir>your_font_dir/artwiz-aleczapka-<LANG>-<RELEASE>:unscaled</dir>

    restart X

Your installation may vary depending on your distro.

But it seemed that fluxbox doesn’t like them. The fonts were working in other applications such as terminals, but fluxbox just ignored them and instead used an ugly default font. First of all, I made sure that I selected a valid font with xfontsel or xlsfonts.

xlsfonts | grep -i artwiz

I then selected one and pasted it into my fluxbox style file.

*.font: -artwiz-anorexia.de-medium-r-normal--11-110-75-75-p-90-iso8859-1

But the fonts didn’t work until I switched off AntiAlias in the fluxbox configuration menu or by modifying ~/.fluxbox/init.

session.screen0.antialias:      false

Thanks to tenner from #fluxbox for pointing this out.