diff options
Diffstat (limited to 'src/text.h')
| -rw-r--r-- | src/text.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,6 +1,7 @@ #pragma once #include "freetype/freetype.h" +#include "utils.h" enum font_context_error_e { FONT_CONTEXT_ERROR_NONE, @@ -16,10 +17,12 @@ void wayc_font_context_deinit(struct font_context_s* ctx); enum font_error_e { FONT_ERROR_NONE, - FONT_ERROR_LOAD, + FONT_ERROR_FILE_LOAD, + FONT_ERROR_FONT_LOAD, }; struct font_s { + u8* data; FT_Face face; }; |
