Binary to text, fix attempt 2.

This commit is contained in:
Josh W 2023-11-24 15:52:02 -05:00
parent 8eca40e306
commit 76650ac828

View file

@ -3,7 +3,7 @@ use bitvec::prelude::*;
/// The entire IBM EGA/VGA 8x14 Codepage 437 font as integer bitmaps.
/// Thanks to int10h.org and github.com/susam/pcface for the info.
pub const GLYPHS: [[u8; 14]; 256] = [
[0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00], // [] (0)
[0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00], // [NUL] (0)
[0x00, 0x00, 0x7e, 0x81, 0xa5, 0x81, 0x81, 0xbd, 0x99, 0x81, 0x7e, 0x00, 0x00, 0x00], // [☺] (1)
[0x00, 0x00, 0x7e, 0xff, 0xdb, 0xff, 0xff, 0xc3, 0xe7, 0xff, 0x7e, 0x00, 0x00, 0x00], // [☻] (2)
[0x00, 0x00, 0x00, 0x6c, 0xfe, 0xfe, 0xfe, 0xfe, 0x7c, 0x38, 0x10, 0x00, 0x00, 0x00], // [♥] (3)