Skip to main content

char_width

Function char_width 

Source
pub fn char_width(c: char) -> f32
Expand description

Advance width in pixels (including 1px inter-glyph spacing) of one char in Minecraft’s default ASCII font at GUI scale 1.