        }
    }

    pub fn write_char(&mut self, x: usize, y: usize, c: char, color: PixelColor) {
        if let Some(font) = fonts::get_font(c) {
            for (dy, row) in font.bytes().iter().enumerate() {
                for dx in 0..8 {