|
|
@ -552,7 +552,7 @@ GlyphInfo *LoadFontData(const unsigned char *fileData, int dataSize, int fontSiz |
|
|
|
// NOTE: Loaded information should be enough to generate font image atlas, using any packaging method |
|
|
|
if (fileData != NULL) |
|
|
|
{ |
|
|
|
int genFontChars = false; |
|
|
|
bool genFontChars = false; |
|
|
|
stbtt_fontinfo fontInfo = { 0 }; |
|
|
|
|
|
|
|
if (stbtt_InitFont(&fontInfo, (unsigned char *)fileData, 0)) // Initialize font for data reading |
|
|
|