diff options
| author | Fabrice <fabrice@schaub-dev.xyz> | 2026-02-13 07:13:45 +0100 |
|---|---|---|
| committer | Fabrice <fabrice@schaub-dev.xyz> | 2026-02-13 07:13:45 +0100 |
| commit | 1d5b0658334c6f63b99f1463d50b10cd897d664a (patch) | |
| tree | 50ccbc0024d0f0450f2b862063ae2ae4f99280c8 /src/text.h | |
| parent | ff42eaa149231f3ecad178ad786eac294def333f (diff) | |
dont need no more
Diffstat (limited to 'src/text.h')
| -rw-r--r-- | src/text.h | 11 |
1 files changed, 0 insertions, 11 deletions
@@ -38,17 +38,6 @@ struct glyph_s { f32 advance; }; -static inline void glyph_print(struct glyph_s* glyph) { - u32 uv0x = WAYC_X(glyph->uv0); - u32 uv0y = WAYC_Y(glyph->uv0); - u32 uv1x = WAYC_X(glyph->uv1); - u32 uv1y = WAYC_Y(glyph->uv1); - fprintf(stderr, - "uv0: (%u, %u), uv1: (%u, %u), bearing: (%f, %f), advance: %f\n", - uv0x, uv0y, uv1x, uv1y, WAYC_X(glyph->bearing), - WAYC_Y(glyph->bearing), glyph->advance); -} - enum font_error_e : u8 { FONT_ERROR_NONE = 0, FONT_ERROR_LOAD_FACE, |
