47
47
void blf_font_exit(void);
49
49
struct FontBLF *blf_font_new(const char *name, const char *filename);
51
51
void blf_font_attach_from_mem(struct FontBLF *font, const unsigned char *mem, int mem_size);
53
53
void blf_font_size(struct FontBLF *font, int size, int dpi);
56
56
void blf_font_buffer(struct FontBLF *font, const char *str);
57
57
void blf_font_boundbox(struct FontBLF *font, const char *str, struct rctf *box);
58
58
void blf_font_width_and_height(struct FontBLF *font, const char *str, float *width, float *height);