xosd_set_font — Change the font used by the XOSD window
#include <xosd.h>
int xosd_set_font( | xosd * | osd, |
| const char * | font); |
xosd_set_font changes the font used to display the text shown in the XOSD window. The font is specified using an X Logical Font Descriptor (XLFD); the easiest way to create an XLFD is to use a program such as xfontsel(1). By default the "fixed" font is used, which is normally too small to see clearly.
On success, a zero is returned. On error, -1 is returned and xosd_error is set to indicate the reason for the error.