diff options
author | Uros Majstorovic <majstor@majstor.org> | 2024-09-04 22:32:28 +0200 |
---|---|---|
committer | Uros Majstorovic <majstor@majstor.org> | 2024-09-04 22:32:28 +0200 |
commit | 2947da180404b758dedd42cb189ffc5734d4daa2 (patch) | |
tree | cade773d28a2ff923f7609a7e334e828c558e34b /fw/fe310/eos/eve/eve_font.h | |
parent | d23bf86e83d58b84431cef73936227c39ac7d33e (diff) |
eve fonts improvement
Diffstat (limited to 'fw/fe310/eos/eve/eve_font.h')
-rw-r--r-- | fw/fe310/eos/eve/eve_font.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fw/fe310/eos/eve/eve_font.h b/fw/fe310/eos/eve/eve_font.h index c384877..7787f6c 100644 --- a/fw/fe310/eos/eve/eve_font.h +++ b/fw/fe310/eos/eve/eve_font.h @@ -11,6 +11,7 @@ typedef struct EVEFont { void eve_font_init(EVEFont *font, uint8_t font_id); int eve_font_ch_w(EVEFont *font, ucp_t ch); -int eve_font_str_w(EVEFont *font, utf8_t *str, int *str_w, size_t *str_len); -int eve_font_buf_w(EVEFont *font, utf8_t *buf, size_t buf_len, int *str_w, size_t *str_len); +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); |