2020-02-05 04:02:33 -06:00
|
|
|
#if !defined(HIKARI_FONT_H)
|
|
|
|
#define HIKARI_FONT_H
|
|
|
|
|
|
|
|
#include <pango/pangocairo.h>
|
|
|
|
|
|
|
|
struct hikari_font {
|
2024-02-24 01:00:11 -06:00
|
|
|
PangoFontDescription *desc;
|
2020-03-23 09:18:45 -05:00
|
|
|
|
2024-02-24 01:00:11 -06:00
|
|
|
int height;
|
|
|
|
int character_width;
|
2020-02-05 04:02:33 -06:00
|
|
|
};
|
|
|
|
|
|
|
|
void
|
|
|
|
hikari_font_init(struct hikari_font *font, const char *font_name);
|
|
|
|
|
|
|
|
void
|
|
|
|
hikari_font_fini(struct hikari_font *font);
|
|
|
|
|
|
|
|
#endif
|