*/
int font_height(const char *font_description);
+/**
+ * font_finish - free some font related resources
+ * Note: use on exit
+ */
+void font_finish(void);
+
#endif /* __LABWC_FONT_H */
#include "common/spawn.h"
+#include "common/font.h"
#include "config/session.h"
#include "labwc.h"
#include "theme/theme.h"
#include "xbm/xbm.h"
#include "menu/menu.h"
-#include <cairo.h>
-#include <pango/pangocairo.h>
-
struct rcxml rc = { 0 };
struct theme theme = { 0 };
server_finish(&server);
rcxml_finish();
menu_finish(server.rootmenu);
- pango_cairo_font_map_set_default(NULL);
+ font_finish();
return 0;
}