diff options
Diffstat (limited to 'src/text.h')
| -rw-r--r-- | src/text.h | 14 |
1 files changed, 11 insertions, 3 deletions
@@ -1,7 +1,15 @@ #pragma once -#include "utils.h" -#include "vec.h" +#include "freetype/freetype.h" +enum font_context_error_e { + FONT_CONTEXT_ERROR_NONE, + FONT_CONTEXT_ERROR_LIBRARY, +}; -struct font_s {}; +struct font_context_s { + FT_Library library; +}; + +enum font_context_error_e wayc_font_context_init(struct font_context_s* ctx); +void wayc_font_context_deinit(struct font_context_s* ctx); |
