pub fn draw_string_into_buffer(
buf: &mut [u8],
buf_width: usize,
text: &[u8],
px: usize,
py: usize,
color: u32,
)Expand description
Draw a string into a BGRA pixel buffer at (px, py) with the given color.
Uses the 8x16 VGA font. Characters are spaced 8 pixels apart horizontally.
CJK wide characters (detected via cjk::char_width) advance 16px instead of
8px.