diff options
| author | Fabrice <fabrice@schaub-dev.xyz> | 2026-02-11 12:48:08 +0100 |
|---|---|---|
| committer | Fabrice <fabrice@schaub-dev.xyz> | 2026-02-11 12:48:08 +0100 |
| commit | cf3e6ac4c968b09b4e431b111162aea6041f47a6 (patch) | |
| tree | 98d57d3006c71fe2bb1f4d0e3480981d8be0fdeb /src/text.h | |
| parent | 3b2636cbc666159f0962f7b6024d6a85743d6594 (diff) | |
load font manually
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; }; |
