New font experiments...

This commit is contained in:
Ognjen Milan Robovic 2024-03-14 09:21:20 -04:00
parent 1b5ff7cc8b
commit da1cfbb1bb
2 changed files with 2 additions and 2 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 56 KiB

After

Width:  |  Height:  |  Size: 59 KiB

View File

@ -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;