aboutsummaryrefslogtreecommitdiff
path: root/src/text.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/text.c')
-rw-r--r--src/text.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/text.c b/src/text.c
index 87205f67..c8b9f81d 100644
--- a/src/text.c
+++ b/src/text.c
@@ -230,12 +230,14 @@ SpriteFont LoadSpriteFont(const char* fileName)
// At this point we have a pixel array with all the data...
+ TraceLog(INFO, "[%s] SpriteFont image loaded: %i x %i", fileName, imgWidth, imgHeight);
+
// Process bitmap Font pixel data to get measures (Character array)
// spriteFont.charSet data is filled inside the function and memory is allocated!
int numChars = ParseImageData(imgDataPixel, imgWidth, imgHeight, &spriteFont.charSet);
TraceLog(INFO, "[%s] SpriteFont data parsed correctly", fileName);
- TraceLog(INFO, "[%s] SpriteFont num chars detected: %i", numChars);
+ TraceLog(INFO, "[%s] SpriteFont num chars detected: %i", fileName, numChars);
spriteFont.numChars = numChars;