Temporarily fixed font wrapping by removing scaling.
This commit is contained in:
@ -16,7 +16,7 @@
|
||||
#define FONT_NUM_CHARS 96
|
||||
|
||||
/** Passed to STBTT for scaling the font nicely */
|
||||
#define FONT_TEXTURE_SIZE 64
|
||||
#define FONT_TEXTURE_SIZE 24
|
||||
|
||||
/** Width of the loaded font texture */
|
||||
#define FONT_TEXTURE_WIDTH 512
|
||||
@ -54,7 +54,7 @@ typedef struct {
|
||||
int32_t lines;
|
||||
|
||||
/** Dimensions of the string */
|
||||
float width, height, scale;
|
||||
float width, height;
|
||||
|
||||
/** Array of precalculated quads */
|
||||
stbtt_aligned_quad *quads;
|
||||
|
Reference in New Issue
Block a user