Added font sizing, needs full testing

This commit is contained in:
2021-08-03 10:19:31 -07:00
parent c451538def
commit 23f1cb3d7e
17 changed files with 202 additions and 15 deletions

View File

@ -24,8 +24,11 @@
/** Refer to STBTT docs for OpenGL Fill Mode v d3d Fill Modes */
#define FONT_FILL_MODE 1
/** Passed to STBTT for scaling the font nicely, essentially the font size. */
#define FONT_TEXTURE_SIZE 32
/** Passed to STBTT for scaling the font, essentially the font resolution */
#define FONT_TEXTURE_SIZE 64
/** Default Font Size (on which all font scales are based) */
#define FONT_SIZE_DEFAULT (FONT_TEXTURE_SIZE / 2)
// Chars
#define FONT_NEWLINE '\n'