diff options
| author | Ray <[email protected]> | 2022-05-29 17:39:10 +0200 |
|---|---|---|
| committer | Ray <[email protected]> | 2022-05-29 17:39:10 +0200 |
| commit | fe28aa7c9bb63467790177c6bf98b3d43edaa548 (patch) | |
| tree | e7dca75ddf5bbd3560f85c01bde48c8ef49c2e19 /src/rtext.c | |
| parent | 1f806b555dd1ecb7e77797ed0de57d62a6bdd6f0 (diff) | |
| download | raylib-fe28aa7c9bb63467790177c6bf98b3d43edaa548.tar.gz raylib-fe28aa7c9bb63467790177c6bf98b3d43edaa548.zip | |
Review log messages
Diffstat (limited to 'src/rtext.c')
| -rw-r--r-- | src/rtext.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/rtext.c b/src/rtext.c index 6be8801f..dd692f16 100644 --- a/src/rtext.c +++ b/src/rtext.c @@ -334,7 +334,11 @@ Font LoadFont(const char *fileName) TRACELOG(LOG_WARNING, "FONT: [%s] Failed to load font texture -> Using default font", fileName); font = GetFontDefault(); } - else SetTextureFilter(font.texture, TEXTURE_FILTER_POINT); // By default we set point filter (best performance) + else + { + SetTextureFilter(font.texture, TEXTURE_FILTER_POINT); // By default we set point filter (best performance) + TRACELOG(LOG_INFO, "FONT: Data loaded successfully (%i pixel size | %i glyphs)", FONT_TTF_DEFAULT_SIZE, FONT_TTF_DEFAULT_NUMCHARS); + } return font; } @@ -520,7 +524,7 @@ Font LoadFontFromMemory(const char *fileType, const unsigned char *fileData, int UnloadImage(atlas); - // TRACELOG(LOG_INFO, "FONT: Font loaded successfully (%i glyphs)", font.glyphCount); + TRACELOG(LOG_INFO, "FONT: Data loaded successfully (%i pixel size | %i glyphs)", font.baseSize, Ffont.glyphCount); } else font = GetFontDefault(); } |
