diff --git a/font8x8_basic.h b/font8x8_basic.h index 125cf16..793076a 100644 --- a/font8x8_basic.h +++ b/font8x8_basic.h @@ -18,9 +18,11 @@ * Fetched from: http://dimensionalrift.homelinux.net/combuster/mos3/?p=viewsource&file=/modules/gfx/font8_8.asm **/ + #include + // Constant: font8x8_basic // Contains an 8x8 font map for unicode points U+0000 - U+007F (basic latin) -char font8x8_basic[128][8] = { +uint8_t font8x8_basic[128][8] = { { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, // U+0000 (nul) { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, // U+0001 { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, // U+0002 diff --git a/font8x8_block.h b/font8x8_block.h index 4e5d861..ba3cd74 100644 --- a/font8x8_block.h +++ b/font8x8_block.h @@ -18,9 +18,11 @@ * Fetched from: http://dimensionalrift.homelinux.net/combuster/mos3/?p=viewsource&file=/modules/gfx/font8_8.asm **/ + #include + // Constant: font8x8_2580 // Contains an 8x8 font map for unicode points U+2580 - U+259F (block elements) -char font8x8_block[32][8] = { +uint8_t font8x8_block[32][8] = { { 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00}, // U+2580 (top half) { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF}, // U+2581 (box 1/8) { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF}, // U+2582 (box 2/8) diff --git a/font8x8_box.h b/font8x8_box.h index c3d3b57..633e72d 100644 --- a/font8x8_box.h +++ b/font8x8_box.h @@ -18,9 +18,11 @@ * Fetched from: http://dimensionalrift.homelinux.net/combuster/mos3/?p=viewsource&file=/modules/gfx/font8_8.asm **/ + #include + // Constant: font8x8_2500 // Contains an 8x8 font map for unicode points U+2500 - U+257F (box drawing) -char font8x8_box[128][8] = { +uint8_t font8x8_box[128][8] = { { 0x00, 0x00, 0x00, 0x00, 0xFF, 0x00, 0x00, 0x00}, // U+2500 (thin horizontal) { 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, 0x00}, // U+2501 (thick horizontal) { 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08}, // U+2502 (thin vertical) diff --git a/font8x8_control.h b/font8x8_control.h index 179e654..04de0be 100644 --- a/font8x8_control.h +++ b/font8x8_control.h @@ -18,9 +18,11 @@ * Fetched from: http://dimensionalrift.homelinux.net/combuster/mos3/?p=viewsource&file=/modules/gfx/font8_8.asm **/ + #include + // Constant: font8x8_0080 // Contains an 8x8 font map for unicode points U+0080 - U+009F (C1/C2 control) -char font8x8_control[32][8] = { +uint8_t font8x8_control[32][8] = { { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, // U+0080 { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, // U+0081 { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, // U+0082 diff --git a/font8x8_ext_latin.h b/font8x8_ext_latin.h index 75896a5..cf74fa2 100644 --- a/font8x8_ext_latin.h +++ b/font8x8_ext_latin.h @@ -18,9 +18,11 @@ * Fetched from: http://dimensionalrift.homelinux.net/combuster/mos3/?p=viewsource&file=/modules/gfx/font8_8.asm **/ + #include + // Constant: font8x8_00A0 // Contains an 8x8 font map for unicode points U+00A0 - U+00FF (extended latin) -char font8x8_ext_latin[96][8] = { +uint8_t font8x8_ext_latin[96][8] = { { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, // U+00A0 (no break space) { 0x18, 0x18, 0x00, 0x18, 0x18, 0x18, 0x18, 0x00}, // U+00A1 (inverted !) { 0x18, 0x18, 0x7E, 0x03, 0x03, 0x7E, 0x18, 0x18}, // U+00A2 (dollarcents) diff --git a/font8x8_greek.h b/font8x8_greek.h index ea3a610..03bb5bb 100644 --- a/font8x8_greek.h +++ b/font8x8_greek.h @@ -18,9 +18,11 @@ * Fetched from: http://dimensionalrift.homelinux.net/combuster/mos3/?p=viewsource&file=/modules/gfx/font8_8.asm **/ + #include + // Constant: font8x8_0390 // Contains an 8x8 font map for unicode points U+0390 - U+03C9 (greek characters) -char font8x8_greek[58][8] = { +uint8_t font8x8_greek[58][8] = { { 0x2D, 0x00, 0x0C, 0x0C, 0x0C, 0x2C, 0x18, 0x00}, // U+0390 (iota with tonos and diaeresis) { 0x0C, 0x1E, 0x33, 0x33, 0x3F, 0x33, 0x33, 0x00}, // U+0391 (Alpha) { 0x3F, 0x66, 0x66, 0x3E, 0x66, 0x66, 0x3F, 0x00}, // U+0392 (Beta) diff --git a/font8x8_hiragana.h b/font8x8_hiragana.h index add4223..d0679fe 100644 --- a/font8x8_hiragana.h +++ b/font8x8_hiragana.h @@ -18,9 +18,11 @@ * Fetched from: http://dimensionalrift.homelinux.net/combuster/mos3/?p=viewsource&file=/modules/gfx/font8_8.asm **/ + #include + // Contains an 8x8 font map for unicode points U+3040 - U+309F (Hiragana) // Constant: font8x8_3040 -char font8x8_hiragana[96][8] = { +uint8_t font8x8_hiragana[96][8] = { { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, // U+3040 { 0x04, 0x3F, 0x04, 0x3C, 0x56, 0x4D, 0x26, 0x00}, // U+3041 (Hiragana a) { 0x04, 0x3F, 0x04, 0x3C, 0x56, 0x4D, 0x26, 0x00}, // U+3042 (Hiragana A) diff --git a/font8x8_misc.h b/font8x8_misc.h index 5758224..8a8f09f 100644 --- a/font8x8_misc.h +++ b/font8x8_misc.h @@ -18,8 +18,10 @@ * Fetched from: http://dimensionalrift.homelinux.net/combuster/mos3/?p=viewsource&file=/modules/gfx/font8_8.asm **/ + #include + // for later use -char font8x8_misc[10][8] = { +uint8_t font8x8_misc[10][8] = { { 0x1F, 0x33, 0x33, 0x5F, 0x63, 0xF3, 0x63, 0xE3}, // U+20A7 (Spanish Pesetas/Pt) { 0x70, 0xD8, 0x18, 0x3C, 0x18, 0x18, 0x1B, 0x0E}, // U+0192 (dutch florijn) { 0x3C, 0x36, 0x36, 0x7C, 0x00, 0x7E, 0x00, 0x00}, // U+ (underlined superscript a) diff --git a/font8x8_sga.h b/font8x8_sga.h index 13457da..953f362 100644 --- a/font8x8_sga.h +++ b/font8x8_sga.h @@ -18,7 +18,9 @@ * Fetched from: http://dimensionalrift.homelinux.net/combuster/mos3/?p=viewsource&file=/modules/gfx/font8_8.asm **/ -char font8x8_sga[26][8] = { + #include + +uint8_t font8x8_sga[26][8] = { { 0x00, 0x00, 0x38, 0x66, 0x06, 0x06, 0x07, 0x00}, // U+E541 (SGA A) { 0x00, 0x00, 0x0C, 0x0C, 0x18, 0x30, 0x7F, 0x00}, // U+E542 (SGA B) { 0x00, 0x00, 0x0C, 0x00, 0x0C, 0x30, 0x30, 0x00}, // U+E543 (SGA C)