Closed roncli closed 5 years ago
I've been able to improve this by 7 pixels by truncating the decimal returned by get_char_width_f
in the function get_centered_x
in font.c. Most letters return 22.5 from this function, but actually render 22 pixels wide. The last 2 to 3 pixels still elude me, but then again DXX-Rebirth also has the same 2 to 3 pixel issue, so I'm going to just check this in and consider it resolved.
The messages displayed across the top of the screen are off center to the left by approximately 10 pixels.