You've already forked Microtransactions64
mirror of
https://github.com/Print-and-Panic/Microtransactions64.git
synced 2026-01-21 10:17:19 -08:00
added initial support for kerning tables
This commit is contained in:
@@ -72,7 +72,8 @@ void s2d_snprint(int x, int y, const char *str, uObjMtx *buf, int len) {
|
||||
break;
|
||||
default:
|
||||
if (current_char != '\0') {
|
||||
draw_s2d_glyph(current_char, (x += (s2d_kerning_table[current_char] * myScale)), y, (buf++));
|
||||
draw_s2d_glyph(current_char, x, y, (buf++));
|
||||
(x += (s2d_kerning_table[current_char] * myScale));
|
||||
}
|
||||
}
|
||||
if (*p == '\0') break;
|
||||
|
||||
Reference in New Issue
Block a user