#include #include "unicode.h" typedef struct EVEFont { uint8_t id; uint8_t w; uint8_t h; uint8_t w_ch[128]; } EVEFont; void eve_font_init(EVEFont *font, uint8_t font_id); int eve_font_ch_w(EVEFont *font, ucp_t ch); int eve_font_verify(EVEFont *font, utf8_t *str, int *str_w, size_t *str_len); int eve_font_str_w(EVEFont *font, utf8_t *str); int eve_font_buf_w(EVEFont *font, utf8_t *str, size_t buf_len); uint8_t eve_font_h(EVEFont *font);