pub fn char_width(c: char) -> f32
Advance width in pixels (including 1px inter-glyph spacing) of one char in Minecraft’s default font at GUI scale 1, as the game’s font has it; beyond ASCII (glyphs vary) CHAR_W.
CHAR_W