smaller glyph structure

This commit is contained in:
Alessandro Mauri 2023-03-08 18:10:28 +01:00
parent 925be11603
commit 4c2b0ef847
2 changed files with 3 additions and 2 deletions

View file

@ -25,7 +25,8 @@
// TODO: the advance isn't unique for every pair of characters
struct font_glyph {
unsigned int codepoint;
unsigned int u, v, w, h, a, x, y;
unsigned int u, v;
unsigned short int w, h, a, x, y;
};
struct font_atlas {