diff --git a/font/alagard.png b/font/alagard.png index 61a2c67..a309a40 100644 Binary files a/font/alagard.png and b/font/alagard.png differ diff --git a/source/raylib.c b/source/raylib.c index aa2fcc7..3f03682 100644 --- a/source/raylib.c +++ b/source/raylib.c @@ -119,8 +119,8 @@ void render_string (char * string, int x, int y, int colour, int font, int size, Vector2 position; - position.x = ((font == 0) ? 6 : pad) + x; - position.y = ((font == 0) ? 6 : pad) + y; + position.x = ((font == 0) ? 4 : (32 - size) / 2) + x; + position.y = ((font == 0) ? 4 : (32 - size) / 2) + y; new_tint.r = ((colour & 0XFF0000) >> 16) % 256; new_tint.g = ((colour & 0X00FF00) >> 8) % 256;