diff options
Diffstat (limited to 'src/text.h')
| -rw-r--r-- | src/text.h | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -13,3 +13,16 @@ struct font_context_s { enum font_context_error_e wayc_font_context_init(struct font_context_s* ctx); void wayc_font_context_deinit(struct font_context_s* ctx); + +enum font_error_e { + FONT_ERROR_NONE, + FONT_ERROR_LOAD, +}; + +struct font_s { + FT_Face face; +}; + +enum font_error_e wayc_font_init(struct font_s* font, + struct font_context_s* ctx, const char* path); +void wayc_font_deinit(struct font_s* font); |
