Significantly improved font code

This commit is contained in:
2021-05-24 20:56:50 -07:00
parent 3775042b7d
commit ad8b1ccd3e
5 changed files with 71 additions and 104 deletions

View File

@ -41,11 +41,7 @@ typedef struct {
typedef struct {
int32_t length;
int32_t realChars;
float lineHeight, spaceSize;
} fonttextinfo_t;
typedef struct {
int32_t realLength;
float width, height, scale;
stbtt_aligned_quad *quads;
} fontmeasure_t;
} fonttextinfo_t;