From 1228252e6bc4f18664725d60413896e6d9d9a6c5 Mon Sep 17 00:00:00 2001 From: Jack Jamison Date: Fri, 17 Oct 2025 19:11:11 -0400 Subject: basic option text layout --- font.c | 1 + 1 file changed, 1 insertion(+) (limited to 'font.c') diff --git a/font.c b/font.c index dc8f03c..569d283 100644 --- a/font.c +++ b/font.c @@ -138,6 +138,7 @@ void atlas_create_texture(client_state* state) { int atlas_get_strwidth(client_state* state, const char* str) { float width = 0; + // TODO - UNICODE MAKE WORKY for (int i = 0; i < strlen(str); i++) { width += ceil(state->atlas.metrics[(int)str[i]].advance_x); } -- cgit v1.2.3