diff options
| author | Fabrice <fabrice@schaub-dev.xyz> | 2026-02-11 22:50:21 +0100 |
|---|---|---|
| committer | Fabrice <fabrice@schaub-dev.xyz> | 2026-02-11 22:50:21 +0100 |
| commit | a0a68b7b3a5430fea5aaa2ad1da75fdda5cd5c7a (patch) | |
| tree | f30c9d90ce0d864dc65cb1307a7196b80e63d71c /src/text.h | |
| parent | 64b0664a648ec4a6c424e932b605f09dc4ee6151 (diff) | |
packing corrections
Diffstat (limited to 'src/text.h')
| -rw-r--r-- | src/text.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -32,18 +32,19 @@ enum font_error_e { FONT_ERROR_FILE_LOAD, FONT_ERROR_FONT_LOAD, FONT_ERROR_NOT_MATCH, + FONT_ERROR_ATLAS_FULL, }; struct font_s { u8* data; FT_Face face; struct hashmap_s<codepoint_t, struct glyph_s> cache; - ivec2 cursor; }; enum font_error_e wayc_font_init(struct font_s* font, struct font_context_s* ctx, u32 fsize, const char* path); enum font_error_e wayc_font_lookup(struct font_s* font, struct atlas_s* atlas, + struct atlas_packer_s* packer, codepoint_t codepoint, struct glyph_s* out); void wayc_font_deinit(struct font_s* font); |
