diff --git a/Pico_ePaper_Code/c/lib/Fonts/acme_5_outlines_font.h b/Pico_ePaper_Code/c/lib/Fonts/acme_5_outlines_font.h new file mode 100644 index 0000000..b59d037 --- /dev/null +++ b/Pico_ePaper_Code/c/lib/Fonts/acme_5_outlines_font.h @@ -0,0 +1,107 @@ +#include "fonts.h" + +const uint8_t FontAcme_Table[] = { + 0x00,0x00,0x00,0x00,0x00,0x00, // + 0x7f,0x51,0x7f,0x00,0x00,0x00, // ! + 0x0f,0x09,0x0f,0x09,0x0f,0x00, // " + 0x3e,0x6b,0x41,0x6b,0x41,0x6b, // # + 0x7f,0xd1,0x94,0xc5,0x7f,0x00, // $ + 0x77,0x4d,0x77,0x59,0x77,0x00, // % + 0x7f,0x49,0x55,0x49,0x6f,0x54, // & + 0x0f,0x09,0x0f,0x00,0x00,0x00, // ' + 0x7f,0xc1,0xbe,0xe3,0x00,0x00, // ( + 0xe3,0xbe,0xc1,0x7f,0x00,0x00, // ) + 0x3e,0x2a,0x77,0x41,0x77,0x2a, // * + 0x1c,0x14,0x77,0x41,0x77,0x14, // + + 0xe0,0xb0,0xd0,0x70,0x00,0x00, // , + 0x1c,0x14,0x14,0x14,0x1c,0x00, // - + 0x70,0x50,0x70,0x00,0x00,0x00, // . + 0x78,0x4c,0x77,0x19,0x0f,0x00, // / + 0x7f,0x41,0x5d,0x41,0x7f,0x00, // 0 + 0x7f,0x41,0x7f,0x00,0x00,0x00, // 1 + 0x7f,0x45,0x55,0x51,0x7f,0x00, // 2 + 0x7f,0x55,0x55,0x41,0x7f,0x00, // 3 + 0x1f,0x11,0x77,0x41,0x7f,0x00, // 4 + 0x7f,0x51,0x55,0x45,0x7f,0x00, // 5 + 0x7f,0x41,0x55,0x45,0x7f,0x00, // 6 + 0x07,0x7d,0x45,0x79,0x0f,0x00, // 7 + 0x7f,0x49,0x55,0x49,0x7f,0x00, // 8 + 0x7f,0x51,0x55,0x41,0x7f,0x00, // 9 + 0x3e,0x2a,0x3e,0x00,0x00,0x00, // : + 0xe0,0xbe,0xda,0x7e,0x00,0x00, // ; + 0x1c,0x36,0x6b,0x5d,0x77,0x00, // < + 0x3e,0x2a,0x2a,0x2a,0x2a,0x3e, // = + 0x77,0x5d,0x6b,0x36,0x1c,0x00, // > + 0x07,0x7d,0x55,0x71,0x1f,0x00, // ? + 0x7f,0x41,0x5d,0x55,0x51,0x7f, // @ + 0x7f,0x41,0x75,0x41,0x7f,0x00, // A + 0x7f,0x41,0x55,0x41,0x7f,0x00, // B + 0x7f,0x41,0x5d,0x55,0x77,0x00, // C + 0x7f,0x41,0x5d,0x63,0x3e,0x00, // D + 0x7f,0x41,0x55,0x55,0x7f,0x00, // E + 0x7f,0x41,0x75,0x15,0x1f,0x00, // F + 0x7f,0x41,0x5d,0x45,0x7f,0x00, // G + 0x7f,0x41,0x77,0x41,0x7f,0x00, // H + 0x7f,0x41,0x7f,0x00,0x00,0x00, // I + 0x78,0x48,0x5f,0x41,0x7f,0x00, // J + 0x7f,0x41,0x77,0x49,0x7f,0x00, // K + 0x7f,0x41,0x5f,0x50,0x70,0x00, // L + 0x7f,0x41,0x3b,0x3b,0x41,0x7f, // M + 0x7f,0x41,0x3b,0x76,0x41,0x7f, // N + 0x7f,0x41,0x5d,0x41,0x7f,0x00, // O + 0x7f,0x41,0x75,0x11,0x1f,0x00, // P + 0x7f,0x41,0x1d,0x41,0x7f,0x00, // Q + 0x7f,0x41,0x6d,0x51,0x6f,0x00, // R + 0x7f,0x51,0x55,0x45,0x7f,0x00, // S + 0x07,0x7d,0x41,0x7d,0x07,0x00, // T + 0x7f,0x41,0x5f,0x41,0x7f,0x00, // U + 0x3f,0x61,0x5f,0x61,0x3f,0x00, // V + 0x7f,0x41,0x6e,0x6e,0x41,0x7f, // W + 0x7f,0x49,0x77,0x49,0x7f,0x00, // X + 0x1f,0x71,0x47,0x71,0x1f,0x00, // Y + 0x7b,0x4d,0x55,0x59,0x6f,0x00, // Z + 0xff,0x80,0xbe,0xe3,0x00,0x00, // [ + 0x0f,0x19,0x77,0x4c,0x78,0x00, // "\" + 0xe3,0xbe,0x80,0xff,0x00,0x00, // ] + 0x0e,0x0b,0x0d,0x0b,0x0e,0x00, // ^ + 0xe0,0xa0,0xa0,0xa0,0xa0,0xe0, // _ + 0x07,0x0d,0x0b,0x0e,0x00,0x00, // ` + 0x7f,0x41,0x75,0x41,0x7f,0x00, // a + 0x7f,0x41,0x55,0x41,0x7f,0x00, // b + 0x7f,0x41,0x5d,0x55,0x77,0x00, // c + 0x7f,0x41,0x5d,0x63,0x3e,0x00, // d + 0x7f,0x41,0x55,0x55,0x7f,0x00, // e + 0x7f,0x41,0x75,0x15,0x1f,0x00, // f + 0x7f,0x41,0x5d,0x45,0x7f,0x00, // g + 0x7f,0x41,0x77,0x41,0x7f,0x00, // h + 0x7f,0x41,0x7f,0x00,0x00,0x00, // i + 0x78,0x48,0x5f,0x41,0x7f,0x00, // j + 0x7f,0x41,0x77,0x49,0x7f,0x00, // k + 0x7f,0x41,0x5f,0x50,0x70,0x00, // l + 0x7f,0x41,0x3b,0x3b,0x41,0x7f, // m + 0x7f,0x41,0x3b,0x76,0x41,0x7f, // n + 0x7f,0x41,0x5d,0x41,0x7f,0x00, // o + 0x7f,0x41,0x75,0x11,0x1f,0x00, // p + 0x7f,0x41,0x1d,0x41,0x7f,0x00, // q + 0x7f,0x41,0x6d,0x51,0x6f,0x00, // r + 0x7f,0x51,0x55,0x45,0x7f,0x00, // s + 0x07,0x7d,0x41,0x7d,0x07,0x00, // t + 0x7f,0x41,0x5f,0x41,0x7f,0x00, // u + 0x3f,0x61,0x5f,0x61,0x3f,0x00, // v + 0x7f,0x41,0x6e,0x6e,0x41,0x7f, // w + 0x7f,0x49,0x77,0x49,0x7f,0x00, // x + 0x1f,0x71,0x47,0x71,0x1f,0x00, // y + 0x7b,0x4d,0x55,0x59,0x6f,0x00, // z + 0x1c,0xf7,0x88,0xbe,0xe3,0x00, // + 0xff,0x80,0xff,0x00,0x00,0x00, // | + 0xe3,0xbe,0x88,0xf7,0x1c,0x00, // + 0x0f,0x09,0x0d,0x09,0x0b,0x09, // ~ + 0x00,0x00,0x00,0x00,0x00,0x00 +}; + + +sFONT Acme_5 = { + FontAcme_Table, + 8, /* Width */ + 6, /* Height */ +}; \ No newline at end of file diff --git a/Pico_ePaper_Code/c/lib/Fonts/fonts.h b/Pico_ePaper_Code/c/lib/Fonts/fonts.h index 5d8ea50..1d74119 100644 --- a/Pico_ePaper_Code/c/lib/Fonts/fonts.h +++ b/Pico_ePaper_Code/c/lib/Fonts/fonts.h @@ -39,7 +39,7 @@ #ifndef __FONTS_H #define __FONTS_H -/*×î´ó×ÖÌå΢ÈíÑźÚ24 (32x41) */ +/*�������΢���ź�24 (32x41) */ #define MAX_HEIGHT_FONT 41 #define MAX_WIDTH_FONT 32 #define OFFSET_BITMAP @@ -61,10 +61,10 @@ typedef struct _tFont //GB2312 -typedef struct // ºº×Ö×ÖÄ£Êý¾Ý½á¹¹ +typedef struct // ������ģ���ݽṹ { - const char index[2]; // ºº×ÖÄÚÂëË÷Òý - const char matrix[MAX_HEIGHT_FONT*MAX_WIDTH_FONT/8+2]; // µãÕóÂëÊý¾Ý + const char index[2]; // ������������ + const char matrix[MAX_HEIGHT_FONT*MAX_WIDTH_FONT/8+2]; // ���������� }CH_CN; @@ -83,6 +83,7 @@ extern sFONT Font20; extern sFONT Font16; extern sFONT Font12; extern sFONT Font8; +extern sFONT Acme_5; extern cFONT Font12CN; extern cFONT Font24CN; diff --git a/README.md b/README.md index 2ef7427..1f48443 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,7 @@ Run `scripts/flash_and_connect.sh [/dev/ttyACM0]` to configure CMake, compile th | `draw_num x y num` | Draws `num` using the default numeric font. | | `set_pixel x y color` | Sets a single pixel to `color` (0=white, 1=black). | | `close` | Sends the panel to deep sleep and frees the framebuffer. | -| `editor [0|1]` | Enables editor mode; default uses white background, non-zero switches to white text on black. | +| `editor [0|1]` | Enables editor mode; default uses white background, non-zero switches to white text on black. Press Enter to run typed commands. | ## Notes diff --git a/eink_api.c b/eink_api.c index 8e911a7..78e5809 100644 --- a/eink_api.c +++ b/eink_api.c @@ -1,6 +1,7 @@ #include #include #include +#include #include #ifndef M_PI @@ -17,9 +18,11 @@ #include "GUI_Paint.h" #include "fonts.h" #include "EPD_4in2_V2.h" +#include "acme_5_outlines_font.h" //Create a new image cache UBYTE *BlackImage; +UBYTE *EditorImage; queue_t q; @@ -47,6 +50,10 @@ int epaper_init() printf("Failed to apply for black memory...\r\n"); return -1; } + if((EditorImage = (UBYTE *)malloc(Imagesize)) == NULL) { + printf("Failed to apply for editor memory...\r\n"); + return -1; + } printf("Paint_NewImage\r\n"); Paint_NewImage(BlackImage, EPD_4IN2_V2_WIDTH, EPD_4IN2_V2_HEIGHT, 0, WHITE); screen_on = true; @@ -88,7 +95,7 @@ bool editor_mode = false; uint32_t editor_last_ts = 0; char screen_log[2000]; int screen_log_i = 0; -sFONT *current_font = &Font16; +sFONT *current_font = &Font12; UBYTE editor_bg_color = WHITE; UBYTE editor_fg_color = BLACK; @@ -110,11 +117,20 @@ int epaper_close() void process_command(char *cmd) { - printf("Processing command: %s\n", cmd); + if(!editor_mode) printf("Processing command: %s\n", cmd); + Paint_NewImage(BlackImage, EPD_4IN2_V2_WIDTH, EPD_4IN2_V2_HEIGHT, 0, WHITE); if (strcmp(cmd, "init") == 0) { epaper_init(); printf("e-Paper initialized\n"); - } else if (screen_on && strcmp(cmd, "clear") == 0) { + } else if (screen_on && strcmp(cmd, "clear") == 0 && (cmd[5] == ' ' || cmd[5] == '\0')) { + if(editor_mode){ + screen_log_i = 0; + screen_log[0] = '\0'; + } else { + Paint_Clear(WHITE); + printf("e-Paper cleared\n"); + } + } else if (screen_on && strcmp(cmd, "clear_draw") == 0) { Paint_Clear(WHITE); printf("e-Paper cleared\n"); } else if (screen_on && strcmp(cmd, "display") == 0) { @@ -241,13 +257,14 @@ void process_command(char *cmd) screen_log_i = 0; screen_log[0] = '\0'; } - editor_mode = true; - absolute_time_t time = get_absolute_time(); - editor_last_ts = to_ms_since_boot(time); + // editor_mode = true; + // absolute_time_t time = get_absolute_time(); + // editor_last_ts = to_ms_since_boot(time); printf("Editor mode enabled (%s background)\n", invert_flag != 0 ? "black" : "white"); } else { - printf("Unknown command: %s\n", cmd); + if(!editor_mode) printf("Unknown command: %s\n", cmd); } + if(editor_mode) Paint_NewImage(EditorImage, EPD_4IN2_V2_WIDTH, EPD_4IN2_V2_HEIGHT, 0, WHITE); } @@ -258,6 +275,7 @@ void core1_entry() { char cmd_buffer[256]; int i = 0; + bool display_image_on_editor = false; while (true) { bool newChar = false; @@ -267,8 +285,9 @@ void core1_entry() { newChar = true; if(editor_mode){ - absolute_time_t time = get_absolute_time(); - editor_last_ts = to_ms_since_boot(time); + // absolute_time_t time = get_absolute_time(); + // editor_last_ts = to_ms_since_boot(time); + display_image_on_editor = false; if (c == '\n' || c == '\r') { screen_log[screen_log_i++] = '\n'; } else if (c == '\b' || c == 127) { // Handle backspace @@ -280,22 +299,26 @@ void core1_entry() { screen_log[screen_log_i++] = c; } } - } else { - if (c == '\n' || c == '\r') { - cmd_buffer[i] = '\0'; - process_command(cmd_buffer); - i = 0; - // Clear the command buffer display area + } + if (c == '\n' || c == '\r') { + cmd_buffer[i] = '\0'; + process_command(cmd_buffer); + i = 0; + // Clear the command buffer display area + if(!editor_mode){ Paint_ClearWindows(1, 281, 399, 299, WHITE); - break; - } else if (c == '\b' || c == 127) { // Handle backspace - if (i > 0) { - i--; - } - } else { - if (i < (sizeof(cmd_buffer) - 1)) { - cmd_buffer[i++] = c; - } + } + break; + } else if (c == '\b' || c == 127) { // Handle backspace + if (i > 0) { + i--; + } + } else if (c == '\t'){ + editor_mode = !editor_mode; + //display_image_on_editor = true; + } else { + if (i < (sizeof(cmd_buffer) - 1)) { + cmd_buffer[i++] = c; } } } @@ -325,7 +348,7 @@ void core1_entry() { // if overflow reset the screen_log buffer with only the last line Paint_DrawString_EN(10, 10, screen_log, current_font, editor_bg_color, editor_fg_color); } - EPD_4IN2_V2_PartialDisplay(BlackImage, 0, 0, 400, 300); + EPD_4IN2_V2_PartialDisplay(EditorImage, 0, 0, 400, 300); } else { cmd_buffer[i] = '\0'; // Update the command buffer display @@ -373,12 +396,12 @@ int main() } absolute_time_t time = get_absolute_time(); uint32_t ms = to_ms_since_boot(time); - if(editor_last_ts != 0 && editor_mode && (editor_last_ts + 10000 < ms)){ - printf("Disabling editor after 10s of inactivity"); - editor_mode = false; - editor_bg_color = WHITE; - editor_fg_color = BLACK; - } + //if(editor_last_ts != 0 && editor_mode && (editor_last_ts + 10000 < ms)){ + // printf("Disabling editor after 10s of inactivity"); + // editor_mode = false; + // editor_bg_color = WHITE; + // editor_fg_color = BLACK; + //} } epaper_close(); diff --git a/fonts/5x5.ttf b/fonts/5x5.ttf new file mode 100644 index 0000000..3ae64c5 Binary files /dev/null and b/fonts/5x5.ttf differ diff --git a/fonts/5x5_font.h b/fonts/5x5_font.h new file mode 100644 index 0000000..1fd14eb --- /dev/null +++ b/fonts/5x5_font.h @@ -0,0 +1,98 @@ +const unsigned char font[96][6] = { + {0x00,0x00,0x00,0x00,0x00,0x00}, // + {0x5c,0x00,0x00,0x00,0x00,0x00}, // ! + {0x06,0x00,0x06,0x00,0x00,0x00}, // " + {0x28,0x7c,0x28,0x7c,0x28,0x00}, // # + {0x5c,0x54,0xfe,0x54,0x74,0x00}, // $ + {0x44,0x20,0x10,0x08,0x44,0x00}, // % + {0x28,0x54,0x54,0x20,0x50,0x00}, // & + {0x06,0x00,0x00,0x00,0x00,0x00}, // ' + {0x38,0x44,0x00,0x00,0x00,0x00}, // ( + {0x44,0x38,0x00,0x00,0x00,0x00}, // ) + {0x02,0x07,0x02,0x00,0x00,0x00}, // * + {0x10,0x10,0x7c,0x10,0x10,0x00}, // + + {0xc0,0x00,0x00,0x00,0x00,0x00}, // , + {0x10,0x10,0x10,0x10,0x10,0x00}, // - + {0x40,0x00,0x00,0x00,0x00,0x00}, // . + {0x60,0x10,0x0c,0x00,0x00,0x00}, // / + {0x7c,0x64,0x54,0x4c,0x7c,0x00}, // 0 + {0x48,0x7c,0x40,0x00,0x00,0x00}, // 1 + {0x64,0x54,0x54,0x54,0x48,0x00}, // 2 + {0x44,0x54,0x54,0x54,0x6c,0x00}, // 3 + {0x3c,0x20,0x70,0x20,0x20,0x00}, // 4 + {0x5c,0x54,0x54,0x54,0x24,0x00}, // 5 + {0x7c,0x54,0x54,0x54,0x74,0x00}, // 6 + {0x04,0x04,0x64,0x14,0x0c,0x00}, // 7 + {0x7c,0x54,0x54,0x54,0x7c,0x00}, // 8 + {0x5c,0x54,0x54,0x54,0x7c,0x00}, // 9 + {0x44,0x00,0x00,0x00,0x00,0x00}, // : + {0xc4,0x00,0x00,0x00,0x00,0x00}, // ; + {0x10,0x28,0x44,0x00,0x00,0x00}, // < + {0x28,0x28,0x28,0x28,0x28,0x00}, // = + {0x44,0x28,0x10,0x00,0x00,0x00}, // > + {0x08,0x04,0x54,0x08,0x00,0x00}, // ? + {0x7c,0x44,0x54,0x54,0x5c,0x00}, // @ + {0x7c,0x24,0x24,0x24,0x7c,0x00}, // A + {0x7c,0x54,0x54,0x54,0x6c,0x00}, // B + {0x7c,0x44,0x44,0x44,0x44,0x00}, // C + {0x7c,0x44,0x44,0x44,0x38,0x00}, // D + {0x7c,0x54,0x54,0x54,0x44,0x00}, // E + {0x7c,0x14,0x14,0x14,0x04,0x00}, // F + {0x7c,0x44,0x44,0x54,0x74,0x00}, // G + {0x7c,0x10,0x10,0x10,0x7c,0x00}, // H + {0x44,0x44,0x7c,0x44,0x44,0x00}, // I + {0x60,0x40,0x40,0x44,0x7c,0x00}, // J + {0x7c,0x10,0x10,0x28,0x44,0x00}, // K + {0x7c,0x40,0x40,0x40,0x40,0x00}, // L + {0x7c,0x08,0x10,0x08,0x7c,0x00}, // M + {0x7c,0x08,0x10,0x20,0x7c,0x00}, // N + {0x38,0x44,0x44,0x44,0x38,0x00}, // O + {0x7c,0x14,0x14,0x14,0x08,0x00}, // P + {0x3c,0x24,0x64,0x24,0x3c,0x00}, // Q + {0x7c,0x14,0x14,0x14,0x68,0x00}, // R + {0x5c,0x54,0x54,0x54,0x74,0x00}, // S + {0x04,0x04,0x7c,0x04,0x04,0x00}, // T + {0x7c,0x40,0x40,0x40,0x7c,0x00}, // U + {0x0c,0x30,0x40,0x30,0x0c,0x00}, // V + {0x3c,0x40,0x30,0x40,0x3c,0x00}, // W + {0x44,0x28,0x10,0x28,0x44,0x00}, // X + {0x0c,0x10,0x60,0x10,0x0c,0x00}, // Y + {0x44,0x64,0x54,0x4c,0x44,0x00}, // Z + {0x7c,0x44,0x00,0x00,0x00,0x00}, // [ + {0x0c,0x10,0x60,0x00,0x00,0x00}, // "\" + {0x44,0x7c,0x00,0x00,0x00,0x00}, // ] + {0x00,0x01,0x00,0x01,0x00,0x00}, // ^ + {0x40,0x40,0x40,0x40,0x40,0x40}, // _ + {0x00,0x01,0x00,0x00,0x00,0x00}, // ` + {0x7c,0x24,0x24,0x24,0x7c,0x00}, // a + {0x7c,0x54,0x54,0x54,0x6c,0x00}, // b + {0x7c,0x44,0x44,0x44,0x44,0x00}, // c + {0x7c,0x44,0x44,0x44,0x38,0x00}, // d + {0x7c,0x54,0x54,0x54,0x44,0x00}, // e + {0x7c,0x14,0x14,0x14,0x04,0x00}, // f + {0x7c,0x44,0x44,0x54,0x74,0x00}, // g + {0x7c,0x10,0x10,0x10,0x7c,0x00}, // h + {0x44,0x44,0x7c,0x44,0x44,0x00}, // i + {0x60,0x40,0x40,0x44,0x7c,0x00}, // j + {0x7c,0x10,0x10,0x28,0x44,0x00}, // k + {0x7c,0x40,0x40,0x40,0x40,0x00}, // l + {0x7c,0x08,0x10,0x08,0x7c,0x00}, // m + {0x7c,0x08,0x10,0x20,0x7c,0x00}, // n + {0x38,0x44,0x44,0x44,0x38,0x00}, // o + {0x7c,0x14,0x14,0x14,0x08,0x00}, // p + {0x3c,0x24,0x64,0x24,0x3c,0x00}, // q + {0x7c,0x14,0x14,0x14,0x68,0x00}, // r + {0x5c,0x54,0x54,0x54,0x74,0x00}, // s + {0x04,0x04,0x7c,0x04,0x04,0x00}, // t + {0x7c,0x40,0x40,0x40,0x7c,0x00}, // u + {0x0c,0x30,0x40,0x30,0x0c,0x00}, // v + {0x3c,0x40,0x30,0x40,0x3c,0x00}, // w + {0x44,0x28,0x10,0x28,0x44,0x00}, // x + {0x0c,0x10,0x60,0x10,0x0c,0x00}, // y + {0x44,0x64,0x54,0x4c,0x44,0x00}, // z + {0x10,0x7c,0x44,0x00,0x00,0x00}, // { + {0x6c,0x00,0x00,0x00,0x00,0x00}, // | + {0x44,0x7c,0x10,0x00,0x00,0x00}, // } + {0x02,0x01,0x02,0x01,0x00,0x00}, // ~ + {0x00,0x00,0x00,0x00,0x00,0x00} +}; \ No newline at end of file diff --git a/fonts/5x5_font.png b/fonts/5x5_font.png new file mode 100644 index 0000000..9e5f24f Binary files /dev/null and b/fonts/5x5_font.png differ diff --git a/fonts/7linedigital.ttf b/fonts/7linedigital.ttf new file mode 100644 index 0000000..c72c4cb Binary files /dev/null and b/fonts/7linedigital.ttf differ diff --git a/fonts/7linedigital_font.h b/fonts/7linedigital_font.h new file mode 100644 index 0000000..12bde5e --- /dev/null +++ b/fonts/7linedigital_font.h @@ -0,0 +1,98 @@ +const unsigned char font[96][4] = { + {0x00,0x00,0x00,0x00}, // + {0x36,0x00,0x00,0x00}, // ! + {0x06,0x00,0x00,0x06}, // " + {0x36,0x49,0x49,0x36}, // # + {0x06,0x49,0x49,0x30}, // $ + {0x36,0x49,0x49,0x36}, // % + {0x36,0x49,0x49,0x36}, // & + {0x06,0x00,0x00,0x00}, // ' + {0x36,0x41,0x41,0x00}, // ( + {0x41,0x41,0x36,0x00}, // ) + {0x06,0x09,0x09,0x06}, // * + {0x36,0x08,0x08,0x00}, // + + {0x30,0x00,0x00,0x00}, // , + {0x08,0x08,0x00,0x00}, // - + {0x30,0x00,0x00,0x00}, // . + {0x30,0x08,0x08,0x06}, // / + {0x36,0x41,0x41,0x36}, // 0 + {0x36,0x00,0x00,0x00}, // 1 + {0x30,0x49,0x49,0x06}, // 2 + {0x49,0x49,0x36,0x00}, // 3 + {0x06,0x08,0x08,0x36}, // 4 + {0x06,0x49,0x49,0x30}, // 5 + {0x36,0x49,0x49,0x30}, // 6 + {0x01,0x01,0x36,0x00}, // 7 + {0x36,0x49,0x49,0x36}, // 8 + {0x06,0x49,0x49,0x36}, // 9 + {0x36,0x00,0x00,0x00}, // : + {0x36,0x00,0x00,0x00}, // ; + {0x36,0x41,0x41,0x00}, // < + {0x48,0x48,0x00,0x00}, // = + {0x41,0x41,0x36,0x00}, // > + {0x30,0x09,0x09,0x06}, // ? + {0x36,0x49,0x49,0x36}, // @ + {0x36,0x09,0x09,0x36}, // A + {0x36,0x49,0x49,0x36}, // B + {0x36,0x41,0x41,0x00}, // C + {0x30,0x48,0x48,0x36}, // D + {0x36,0x49,0x49,0x00}, // E + {0x36,0x09,0x09,0x00}, // F + {0x36,0x49,0x49,0x30}, // G + {0x36,0x08,0x08,0x36}, // H + {0x36,0x00,0x00,0x00}, // I + {0x40,0x40,0x36,0x00}, // J + {0x36,0x08,0x08,0x36}, // K + {0x36,0x40,0x40,0x00}, // L + {0x36,0x01,0x01,0x36}, // M + {0x36,0x01,0x01,0x36}, // N + {0x36,0x41,0x41,0x36}, // O + {0x36,0x09,0x09,0x06}, // P + {0x06,0x09,0x09,0x36}, // Q + {0x36,0x01,0x01,0x00}, // R + {0x06,0x49,0x49,0x30}, // S + {0x36,0x48,0x48,0x00}, // T + {0x36,0x40,0x40,0x36}, // U + {0x36,0x40,0x40,0x36}, // V + {0x36,0x40,0x40,0x36}, // W + {0x36,0x08,0x08,0x36}, // X + {0x06,0x08,0x08,0x36}, // Y + {0x30,0x49,0x49,0x06}, // Z + {0x36,0x41,0x41,0x00}, // [ + {0x06,0x08,0x08,0x30}, // "\" + {0x41,0x41,0x36,0x00}, // ] + {0x06,0x01,0x01,0x06}, // ^ + {0x40,0x40,0x00,0x00}, // _ + {0x06,0x00,0x00,0x00}, // ` + {0x30,0x49,0x49,0x36}, // a + {0x36,0x48,0x48,0x30}, // b + {0x36,0x41,0x41,0x00}, // c + {0x30,0x48,0x48,0x36}, // d + {0x36,0x49,0x49,0x00}, // e + {0x36,0x09,0x09,0x00}, // f + {0x06,0x49,0x49,0x36}, // g + {0x36,0x08,0x08,0x30}, // h + {0x36,0x00,0x00,0x00}, // i + {0x40,0x40,0x36,0x00}, // j + {0x36,0x08,0x08,0x36}, // k + {0x36,0x00,0x00,0x00}, // l + {0x36,0x01,0x01,0x36}, // m + {0x36,0x01,0x01,0x36}, // n + {0x36,0x41,0x41,0x36}, // o + {0x36,0x09,0x09,0x06}, // p + {0x06,0x09,0x09,0x36}, // q + {0x36,0x01,0x01,0x00}, // r + {0x06,0x49,0x49,0x30}, // s + {0x36,0x48,0x48,0x00}, // t + {0x36,0x40,0x40,0x36}, // u + {0x36,0x40,0x40,0x36}, // v + {0x36,0x40,0x40,0x36}, // w + {0x36,0x08,0x08,0x36}, // x + {0x06,0x48,0x48,0x36}, // y + {0x30,0x49,0x49,0x06}, // z + {0x36,0x41,0x41,0x00}, // { + {0x36,0x00,0x00,0x00}, // | + {0x41,0x41,0x36,0x00}, // } + {0x30,0x08,0x08,0x06}, // ~ + {0x00,0x00,0x00,0x00} +}; \ No newline at end of file diff --git a/fonts/7linedigital_font.png b/fonts/7linedigital_font.png new file mode 100644 index 0000000..36f2a76 Binary files /dev/null and b/fonts/7linedigital_font.png differ diff --git a/fonts/BMSPA.TTF b/fonts/BMSPA.TTF new file mode 100644 index 0000000..9031541 Binary files /dev/null and b/fonts/BMSPA.TTF differ diff --git a/fonts/BMSPA_font.h b/fonts/BMSPA_font.h new file mode 100644 index 0000000..9188a04 --- /dev/null +++ b/fonts/BMSPA_font.h @@ -0,0 +1,98 @@ +const unsigned char font[96][8] = { + {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}, // + {0x00,0x5f,0x00,0x00,0x00,0x00,0x00,0x00}, // ! + {0x00,0x03,0x00,0x03,0x00,0x00,0x00,0x00}, // " + {0x0a,0x1f,0x0a,0x1f,0x0a,0x00,0x00,0x00}, // # + {0x24,0x2a,0x2a,0x7f,0x2a,0x2a,0x12,0x00}, // $ + {0x00,0x47,0x25,0x17,0x08,0x74,0x52,0x71}, // % + {0x00,0x36,0x49,0x49,0x49,0x41,0x41,0x38}, // & + {0x00,0x03,0x00,0x00,0x00,0x00,0x00,0x00}, // ' + {0x00,0x3e,0x41,0x00,0x00,0x00,0x00,0x00}, // ( + {0x41,0x3e,0x00,0x00,0x00,0x00,0x00,0x00}, // ) + {0x04,0x15,0x0e,0x15,0x04,0x00,0x00,0x00}, // * + {0x08,0x08,0x3e,0x08,0x08,0x00,0x00,0x00}, // + + {0x00,0xc0,0x00,0x00,0x00,0x00,0x00,0x00}, // , + {0x08,0x08,0x08,0x08,0x08,0x00,0x00,0x00}, // - + {0x40,0x00,0x00,0x00,0x00,0x00,0x00,0x00}, // . + {0x40,0x20,0x10,0x08,0x04,0x02,0x01,0x00}, // / + {0x00,0x3e,0x61,0x51,0x49,0x45,0x43,0x3e}, // 0 + {0x01,0x01,0x7e,0x00,0x00,0x00,0x00,0x00}, // 1 + {0x00,0x71,0x49,0x49,0x49,0x49,0x49,0x46}, // 2 + {0x41,0x49,0x49,0x49,0x49,0x49,0x36,0x00}, // 3 + {0x00,0x0f,0x10,0x10,0x10,0x10,0x10,0x7f}, // 4 + {0x00,0x4f,0x49,0x49,0x49,0x49,0x49,0x31}, // 5 + {0x00,0x3e,0x49,0x49,0x49,0x49,0x49,0x30}, // 6 + {0x01,0x01,0x01,0x01,0x01,0x01,0x7e,0x00}, // 7 + {0x00,0x36,0x49,0x49,0x49,0x49,0x49,0x36}, // 8 + {0x00,0x06,0x49,0x49,0x49,0x49,0x49,0x3e}, // 9 + {0x14,0x00,0x00,0x00,0x00,0x00,0x00,0x00}, // : + {0x40,0x34,0x00,0x00,0x00,0x00,0x00,0x00}, // ; + {0x08,0x14,0x22,0x00,0x00,0x00,0x00,0x00}, // < + {0x14,0x14,0x14,0x14,0x14,0x00,0x00,0x00}, // = + {0x22,0x14,0x08,0x00,0x00,0x00,0x00,0x00}, // > + {0x00,0x06,0x01,0x01,0x59,0x09,0x09,0x06}, // ? + {0x00,0x3e,0x41,0x5d,0x55,0x5d,0x51,0x5e}, // @ + {0x00,0x7e,0x01,0x09,0x09,0x09,0x09,0x7e}, // A + {0x00,0x7f,0x41,0x49,0x49,0x49,0x49,0x36}, // B + {0x00,0x3e,0x41,0x41,0x41,0x41,0x41,0x22}, // C + {0x00,0x7f,0x41,0x41,0x41,0x41,0x41,0x3e}, // D + {0x00,0x3e,0x49,0x49,0x49,0x49,0x49,0x41}, // E + {0x00,0x7e,0x09,0x09,0x09,0x09,0x09,0x01}, // F + {0x00,0x3e,0x41,0x49,0x49,0x49,0x49,0x79}, // G + {0x00,0x7f,0x08,0x08,0x08,0x08,0x08,0x7f}, // H + {0x00,0x7f,0x00,0x00,0x00,0x00,0x00,0x00}, // I + {0x00,0x38,0x40,0x40,0x41,0x41,0x41,0x3f}, // J + {0x00,0x7f,0x08,0x08,0x08,0x0c,0x0a,0x71}, // K + {0x00,0x3f,0x40,0x40,0x40,0x40,0x40,0x40}, // L + {0x00,0x7e,0x01,0x01,0x7e,0x01,0x01,0x7e}, // M + {0x00,0x7e,0x01,0x01,0x3e,0x40,0x40,0x3f}, // N + {0x00,0x3e,0x41,0x41,0x41,0x41,0x41,0x3e}, // O + {0x00,0x7e,0x09,0x09,0x09,0x09,0x09,0x06}, // P + {0x00,0x3e,0x41,0x41,0x71,0x51,0x51,0x7e}, // Q + {0x00,0x7e,0x01,0x31,0x49,0x49,0x49,0x46}, // R + {0x00,0x46,0x49,0x49,0x49,0x49,0x49,0x31}, // S + {0x01,0x01,0x01,0x7f,0x01,0x01,0x01,0x00}, // T + {0x00,0x3f,0x40,0x40,0x40,0x40,0x40,0x3f}, // U + {0x00,0x0f,0x10,0x20,0x40,0x20,0x10,0x0f}, // V + {0x00,0x3f,0x40,0x40,0x3f,0x40,0x40,0x3f}, // W + {0x00,0x63,0x14,0x08,0x08,0x08,0x14,0x63}, // X + {0x00,0x07,0x08,0x08,0x78,0x08,0x08,0x07}, // Y + {0x00,0x71,0x49,0x49,0x49,0x49,0x49,0x47}, // Z + {0x00,0x7f,0x41,0x00,0x00,0x00,0x00,0x00}, // [ + {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}, // "\" + {0x41,0x7f,0x00,0x00,0x00,0x00,0x00,0x00}, // ] + {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}, // ^ + {0x40,0x40,0x40,0x40,0x40,0x40,0x40,0x00}, // _ + {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}, // ` + {0x00,0x7e,0x01,0x09,0x09,0x09,0x09,0x7e}, // A + {0x00,0x7f,0x41,0x49,0x49,0x49,0x49,0x36}, // B + {0x00,0x3e,0x41,0x41,0x41,0x41,0x41,0x22}, // C + {0x00,0x7f,0x41,0x41,0x41,0x41,0x41,0x3e}, // D + {0x00,0x3e,0x49,0x49,0x49,0x49,0x49,0x41}, // E + {0x00,0x7e,0x09,0x09,0x09,0x09,0x09,0x01}, // F + {0x00,0x3e,0x41,0x49,0x49,0x49,0x49,0x79}, // G + {0x00,0x7f,0x08,0x08,0x08,0x08,0x08,0x7f}, // H + {0x00,0x7f,0x00,0x00,0x00,0x00,0x00,0x00}, // I + {0x00,0x38,0x40,0x40,0x41,0x41,0x41,0x3f}, // J + {0x00,0x7f,0x08,0x08,0x08,0x0c,0x0a,0x71}, // K + {0x00,0x3f,0x40,0x40,0x40,0x40,0x40,0x40}, // L + {0x00,0x7e,0x01,0x01,0x7e,0x01,0x01,0x7e}, // M + {0x00,0x7e,0x01,0x01,0x3e,0x40,0x40,0x3f}, // N + {0x00,0x3e,0x41,0x41,0x41,0x41,0x41,0x3e}, // O + {0x00,0x7e,0x09,0x09,0x09,0x09,0x09,0x06}, // P + {0x00,0x3e,0x41,0x41,0x71,0x51,0x51,0x7e}, // Q + {0x00,0x7e,0x01,0x31,0x49,0x49,0x49,0x46}, // R + {0x00,0x46,0x49,0x49,0x49,0x49,0x49,0x31}, // S + {0x01,0x01,0x01,0x7f,0x01,0x01,0x01,0x00}, // T + {0x00,0x3f,0x40,0x40,0x40,0x40,0x40,0x3f}, // U + {0x00,0x0f,0x10,0x20,0x40,0x20,0x10,0x0f}, // V + {0x00,0x3f,0x40,0x40,0x3f,0x40,0x40,0x3f}, // W + {0x00,0x63,0x14,0x08,0x08,0x08,0x14,0x63}, // X + {0x00,0x07,0x08,0x08,0x78,0x08,0x08,0x07}, // Y + {0x00,0x71,0x49,0x49,0x49,0x49,0x49,0x47}, // Z + {0x08,0x36,0x41,0x00,0x00,0x00,0x00,0x00}, // { + {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}, // | + {0x41,0x36,0x08,0x00,0x00,0x00,0x00,0x00}, // } + {0x02,0x01,0x01,0x02,0x02,0x01,0x00,0x00}, // ~ + {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00} +}; \ No newline at end of file diff --git a/fonts/BMSPA_font.png b/fonts/BMSPA_font.png new file mode 100644 index 0000000..8831373 Binary files /dev/null and b/fonts/BMSPA_font.png differ diff --git a/fonts/BMplain.TTF b/fonts/BMplain.TTF new file mode 100644 index 0000000..4b45791 Binary files /dev/null and b/fonts/BMplain.TTF differ diff --git a/fonts/BMplain_font.h b/fonts/BMplain_font.h new file mode 100644 index 0000000..cd667da --- /dev/null +++ b/fonts/BMplain_font.h @@ -0,0 +1,98 @@ +const unsigned char font[96][6] = { + {0x00,0x00,0x00,0x00,0x00,0x00}, // + {0x2e,0x00,0x00,0x00,0x00,0x00}, // ! + {0x03,0x00,0x03,0x00,0x00,0x00}, // " + {0x0a,0x1f,0x0a,0x1f,0x0a,0x00}, // # + {0x2e,0x2a,0x6b,0x2a,0x3a,0x00}, // $ + {0x0e,0x2a,0x1e,0x08,0x3c,0x2a}, // % + {0x3e,0x2a,0x2a,0x22,0x38,0x08}, // & + {0x03,0x00,0x00,0x00,0x00,0x00}, // ' + {0x1c,0x22,0x00,0x00,0x00,0x00}, // ( + {0x22,0x1c,0x00,0x00,0x00,0x00}, // ) + {0x15,0x0e,0x04,0x0e,0x15,0x00}, // * + {0x08,0x08,0x3e,0x08,0x08,0x00}, // + + {0x60,0x00,0x00,0x00,0x00,0x00}, // , + {0x08,0x08,0x08,0x08,0x08,0x00}, // - + {0x20,0x00,0x00,0x00,0x00,0x00}, // . + {0x20,0x10,0x08,0x04,0x02,0x00}, // / + {0x3e,0x22,0x2a,0x22,0x3e,0x00}, // 0 + {0x04,0x3e,0x00,0x00,0x00,0x00}, // 1 + {0x3a,0x2a,0x2a,0x2a,0x2e,0x00}, // 2 + {0x2a,0x2a,0x2a,0x2a,0x3e,0x00}, // 3 + {0x0e,0x08,0x08,0x08,0x3e,0x00}, // 4 + {0x2e,0x2a,0x2a,0x2a,0x3a,0x00}, // 5 + {0x3e,0x2a,0x2a,0x2a,0x3a,0x00}, // 6 + {0x02,0x02,0x02,0x02,0x3e,0x00}, // 7 + {0x3e,0x2a,0x2a,0x2a,0x3e,0x00}, // 8 + {0x2e,0x2a,0x2a,0x2a,0x3e,0x00}, // 9 + {0x14,0x00,0x00,0x00,0x00,0x00}, // : + {0x34,0x00,0x00,0x00,0x00,0x00}, // ; + {0x08,0x14,0x22,0x00,0x00,0x00}, // < + {0x14,0x14,0x14,0x14,0x14,0x00}, // = + {0x22,0x14,0x08,0x00,0x00,0x00}, // > + {0x06,0x02,0x2a,0x0a,0x0e,0x00}, // ? + {0x3e,0x02,0x3a,0x2a,0x3e,0x00}, // @ + {0x3e,0x12,0x12,0x12,0x3e,0x00}, // A + {0x3e,0x2a,0x2a,0x2a,0x36,0x00}, // B + {0x3e,0x22,0x22,0x22,0x22,0x00}, // C + {0x3e,0x22,0x22,0x22,0x1c,0x00}, // D + {0x3e,0x2a,0x2a,0x2a,0x22,0x00}, // E + {0x3e,0x0a,0x0a,0x0a,0x02,0x00}, // F + {0x3e,0x22,0x2a,0x2a,0x3a,0x00}, // G + {0x3e,0x08,0x08,0x08,0x3e,0x00}, // H + {0x22,0x3e,0x22,0x00,0x00,0x00}, // I + {0x38,0x20,0x20,0x20,0x3e,0x00}, // J + {0x3e,0x08,0x08,0x14,0x22,0x00}, // K + {0x3e,0x20,0x20,0x20,0x20,0x00}, // L + {0x3e,0x04,0x38,0x04,0x3e,0x00}, // M + {0x3e,0x04,0x08,0x10,0x3e,0x00}, // N + {0x3e,0x22,0x22,0x22,0x3e,0x00}, // O + {0x3e,0x0a,0x0a,0x0a,0x0e,0x00}, // P + {0x3e,0x22,0x72,0x22,0x3e,0x00}, // Q + {0x3e,0x0a,0x0a,0x1a,0x2e,0x00}, // R + {0x2e,0x2a,0x2a,0x2a,0x3a,0x00}, // S + {0x02,0x02,0x3e,0x02,0x02,0x00}, // T + {0x1e,0x20,0x20,0x20,0x1e,0x00}, // U + {0x0e,0x10,0x20,0x10,0x0e,0x00}, // V + {0x3e,0x10,0x0e,0x10,0x3e,0x00}, // W + {0x22,0x14,0x08,0x14,0x22,0x00}, // X + {0x02,0x04,0x38,0x04,0x02,0x00}, // Y + {0x3a,0x2a,0x2a,0x2a,0x2e,0x00}, // Z + {0x3e,0x22,0x00,0x00,0x00,0x00}, // [ + {0x3f,0x21,0x3f,0x00,0x00,0x00}, // "\" + {0x22,0x3e,0x00,0x00,0x00,0x00}, // ] + {0x0c,0x1e,0x3c,0x1e,0x0c,0x00}, // ^ + {0x20,0x20,0x20,0x20,0x20,0x00}, // _ + {0x1c,0x3e,0x3e,0x3e,0x1c,0x00}, // ` + {0x3c,0x24,0x24,0x24,0x3c,0x20}, // a + {0x3e,0x24,0x24,0x24,0x3c,0x00}, // b + {0x3c,0x24,0x24,0x24,0x24,0x00}, // c + {0x3c,0x24,0x24,0x24,0x3e,0x00}, // d + {0x3c,0x24,0x34,0x2c,0x24,0x00}, // e + {0x08,0x3e,0x0a,0x0a,0x00,0x00}, // f + {0x1c,0x54,0x54,0x54,0x7c,0x00}, // g + {0x3e,0x04,0x04,0x04,0x3c,0x00}, // h + {0x3a,0x00,0x00,0x00,0x00,0x00}, // i + {0x7a,0x00,0x00,0x00,0x00,0x00}, // j + {0x3e,0x08,0x14,0x22,0x00,0x00}, // k + {0x02,0x3e,0x00,0x00,0x00,0x00}, // l + {0x3c,0x04,0x3c,0x04,0x3c,0x00}, // m + {0x3c,0x04,0x04,0x04,0x3c,0x00}, // n + {0x3c,0x24,0x24,0x24,0x3c,0x00}, // o + {0x7c,0x24,0x24,0x24,0x3c,0x00}, // p + {0x3c,0x24,0x24,0x24,0x7c,0x00}, // q + {0x3c,0x04,0x04,0x04,0x00,0x00}, // r + {0x24,0x2c,0x34,0x24,0x00,0x00}, // s + {0x04,0x3e,0x24,0x24,0x00,0x00}, // t + {0x3c,0x20,0x20,0x20,0x3c,0x00}, // u + {0x0c,0x10,0x20,0x10,0x0c,0x00}, // v + {0x3c,0x20,0x3c,0x20,0x3c,0x00}, // w + {0x24,0x24,0x18,0x24,0x24,0x00}, // x + {0x1c,0x50,0x50,0x50,0x7c,0x00}, // y + {0x24,0x34,0x2c,0x24,0x00,0x00}, // z + {0x08,0x3e,0x22,0x00,0x00,0x00}, // { + {0x1c,0x22,0x22,0x22,0x1c,0x00}, // | + {0x22,0x3e,0x08,0x00,0x00,0x00}, // } + {0x01,0x01,0x01,0x00,0x00,0x00}, // ~ + {0x00,0x00,0x00,0x00,0x00,0x00} +}; \ No newline at end of file diff --git a/fonts/BMplain_font.png b/fonts/BMplain_font.png new file mode 100644 index 0000000..5418784 Binary files /dev/null and b/fonts/BMplain_font.png differ diff --git a/fonts/Basic Pixel Fonts - Font Gallery.url b/fonts/Basic Pixel Fonts - Font Gallery.url new file mode 100644 index 0000000..2b6f47f --- /dev/null +++ b/fonts/Basic Pixel Fonts - Font Gallery.url @@ -0,0 +1,2 @@ +[InternetShortcut] +URL=http://fontgal.com/category/basic/pixel/1 diff --git a/fonts/Blokus.otf b/fonts/Blokus.otf new file mode 100644 index 0000000..a0041ce Binary files /dev/null and b/fonts/Blokus.otf differ diff --git a/fonts/Blokus_font.h b/fonts/Blokus_font.h new file mode 100644 index 0000000..7db641c --- /dev/null +++ b/fonts/Blokus_font.h @@ -0,0 +1,98 @@ +const unsigned char font[96][6] = { + {0x00,0x00,0x00,0x00,0x00,0x00}, // + {0x00,0x00,0x5e,0x00,0x00,0x00}, // ! + {0x00,0x0e,0x00,0x0e,0x00,0x00}, // " + {0xd0,0x70,0xdc,0x70,0x58,0x00}, // # + {0x26,0x4a,0xff,0x52,0x22,0x00}, // $ + {0x00,0x46,0x2a,0x1a,0x0e,0x04}, // % + {0x7e,0x76,0x42,0x45,0x6b,0x51}, // & + {0x00,0x00,0x0e,0x02,0x00,0x00}, // ' + {0x00,0x7e,0x81,0x00,0x00,0x00}, // ( + {0x00,0x81,0x7e,0x00,0x00,0x00}, // ) + {0x00,0x1c,0x00,0x00,0x00,0x00}, // * + {0x00,0x20,0x7c,0x20,0x00,0x00}, // + + {0x00,0x00,0x80,0x60,0x00,0x00}, // , + {0x00,0x10,0x10,0x10,0x00,0x00}, // - + {0x00,0x40,0x00,0x00,0x00,0x00}, // . + {0x00,0xfe,0x00,0x00,0x00,0x00}, // / + {0x00,0x30,0x48,0x48,0x30,0x00}, // 0 + {0x10,0x48,0x78,0x40,0x00,0x00}, // 1 + {0x00,0x42,0x62,0x52,0x4a,0x46}, // 2 + {0x00,0x88,0x28,0x38,0xc0,0x00}, // 3 + {0x00,0x20,0x50,0x48,0x48,0xe0}, // 4 + {0xf0,0x28,0x28,0xc8,0x48,0x00}, // 5 + {0x00,0x38,0x4c,0x46,0x26,0x1a}, // 6 + {0x08,0x88,0x48,0x28,0x18,0x08}, // 7 + {0x14,0x2a,0x46,0x2a,0x14,0x00}, // 8 + {0x00,0x30,0x48,0x48,0xa8,0x78}, // 9 + {0x00,0x00,0x48,0x00,0x00,0x00}, // : + {0x00,0x00,0x80,0x68,0x00,0x00}, // ; + {0x08,0x14,0x22,0x41,0x00,0x00}, // < + {0x00,0x30,0x30,0x30,0x30,0x00}, // = + {0x41,0x22,0x14,0x08,0x00,0x00}, // > + {0x00,0x02,0x52,0x0a,0x06,0x00}, // ? + {0x00,0x38,0x44,0x42,0xa2,0xbc}, // @ + {0x20,0x40,0x62,0x14,0x12,0x14}, // A + {0x62,0x7e,0x4a,0x4a,0x34,0x00}, // B + {0x1c,0x22,0x42,0x42,0x42,0x24}, // C + {0x42,0x7e,0x42,0x42,0x24,0x18}, // D + {0x42,0x7e,0x4a,0x4a,0x42,0x00}, // E + {0x00,0x42,0x7e,0x0a,0x02,0x00}, // F + {0x1c,0x22,0x42,0x52,0xe4,0x00}, // G + {0x00,0x42,0x7e,0x08,0x7e,0x42}, // H + {0x00,0x42,0x7e,0x42,0x00,0x00}, // I + {0x02,0x82,0x7e,0x02,0x00,0x00}, // J + {0x00,0x42,0x7e,0x08,0x08,0x16}, // K + {0x00,0x42,0x7e,0x40,0x60,0x00}, // L + {0x00,0x7e,0x44,0x08,0x10,0x08}, // M + {0x00,0x7e,0x42,0x04,0x08,0x08}, // N + {0x7e,0x24,0x42,0x42,0x24,0x18}, // O + {0x02,0x7e,0x52,0x12,0x0c,0x00}, // P + {0x18,0x24,0x42,0x42,0xa4,0x18}, // Q + {0x42,0x7e,0x46,0x0e,0x16,0x20}, // R + {0xf3,0xc6,0x46,0x4a,0x37,0x00}, // S + {0x02,0x02,0x7e,0x02,0x02,0x00}, // T + {0x00,0x02,0x3e,0x40,0x3e,0x02}, // U + {0x02,0x1e,0x20,0x40,0x20,0x12}, // V + {0x02,0x0e,0x20,0x40,0x22,0x1e}, // W + {0x42,0x66,0x1a,0x1e,0x66,0x42}, // X + {0x02,0x0a,0x50,0x60,0x50,0x0a}, // Y + {0x02,0x42,0x62,0x4a,0x42,0x20}, // Z + {0x00,0x00,0xfe,0x82,0x00,0x00}, // [ + {0x00,0xfe,0x00,0x00,0x00,0x00}, // "\" + {0x00,0x82,0xfe,0x00,0x00,0x00}, // ] + {0x00,0x1c,0x06,0x18,0x00,0x00}, // ^ + {0x80,0x80,0x80,0x80,0x80,0x00}, // _ + {0x00,0x00,0x02,0x00,0x00,0x00}, // ` + {0x28,0x58,0x58,0x78,0x40,0x00}, // a + {0x40,0x3f,0x48,0x48,0x38,0x00}, // b + {0x30,0x48,0x48,0x30,0x00,0x00}, // c + {0x38,0x48,0x48,0x3f,0x40,0x00}, // d + {0x30,0x68,0x68,0x30,0x00,0x00}, // e + {0x48,0x7f,0x09,0x02,0x00,0x00}, // f + {0x98,0x68,0x68,0x58,0x84,0x00}, // g + {0x40,0x7f,0x08,0x48,0x78,0x40}, // h + {0x00,0x78,0x40,0x00,0x00,0x00}, // i + {0x08,0xfa,0x08,0x00,0x00,0x00}, // j + {0x40,0x7f,0x08,0x14,0x28,0x48}, // k + {0x7e,0x40,0x00,0x00,0x00,0x00}, // l + {0x48,0x78,0x48,0x78,0x48,0x78}, // m + {0x48,0x78,0x08,0x48,0x78,0x40}, // n + {0x30,0x48,0x48,0x30,0x00,0x00}, // o + {0x08,0xf0,0x48,0x48,0x30,0x00}, // p + {0x30,0x48,0x48,0xf0,0x08,0x00}, // q + {0x40,0x78,0x00,0x08,0x00,0x00}, // r + {0x30,0x68,0x68,0x10,0x00,0x00}, // s + {0x08,0x3e,0x48,0x48,0x20,0x00}, // t + {0x08,0x78,0x38,0x48,0x00,0x00}, // u + {0x18,0x40,0x20,0x18,0x08,0x00}, // v + {0x38,0x40,0x38,0x40,0x38,0x40}, // w + {0x48,0x28,0x10,0x28,0x48,0x00}, // x + {0x08,0x38,0x48,0xf8,0x00,0x00}, // y + {0x48,0x68,0x58,0x48,0x00,0x00}, // z + {0x00,0x00,0x10,0x6c,0x82,0x00}, // { + {0x00,0x00,0x7e,0x00,0x00,0x00}, // | + {0x00,0x00,0x82,0x6c,0x10,0x00}, // } + {0x00,0x20,0x10,0x20,0x10,0x00}, // ~ + {0x00,0x00,0x00,0x00,0x00,0x00} +}; \ No newline at end of file diff --git a/fonts/Blokus_font.png b/fonts/Blokus_font.png new file mode 100644 index 0000000..2dfc91f Binary files /dev/null and b/fonts/Blokus_font.png differ diff --git a/fonts/Commo-Monospaced.otf b/fonts/Commo-Monospaced.otf new file mode 100644 index 0000000..0ed5bea Binary files /dev/null and b/fonts/Commo-Monospaced.otf differ diff --git a/fonts/Commo-Monospaced_font.h b/fonts/Commo-Monospaced_font.h new file mode 100644 index 0000000..82f8e27 --- /dev/null +++ b/fonts/Commo-Monospaced_font.h @@ -0,0 +1,98 @@ +const unsigned char font[96][8] = { + {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}, // + {0x5f,0x5c,0x00,0x00,0x00,0x00,0x00,0x00}, // ! + {0x03,0x07,0x00,0x03,0x07,0x00,0x00,0x00}, // " + {0x14,0x3e,0x3c,0x14,0x3e,0x3c,0x14,0x00}, // # + {0x6f,0x6d,0x49,0xff,0x7d,0x49,0x7b,0x00}, // $ + {0x01,0x03,0x73,0x7f,0x3f,0x7f,0x79,0x78}, // % + {0x3f,0x3f,0x7d,0x49,0x7f,0x3f,0x7c,0x48}, // & + {0x03,0x07,0x00,0x00,0x00,0x00,0x00,0x00}, // ' + {0xff,0xff,0x00,0x00,0x00,0x00,0x00,0x00}, // ( + {0x00,0xfc,0xff,0xff,0x00,0x00,0x00,0x00}, // ) + {0x1e,0x1e,0x1e,0x0c,0x3f,0x0c,0x1e,0x1e}, // * + {0x08,0x08,0x3e,0x08,0x08,0x00,0x00,0x00}, // + + {0xc0,0xc0,0x00,0x00,0x00,0x00,0x00,0x00}, // , + {0x08,0x08,0x08,0x08,0x00,0x00,0x00,0x00}, // - + {0x40,0x40,0x00,0x00,0x00,0x00,0x00,0x00}, // . + {0x70,0x7e,0x1f,0x03,0x00,0x00,0x00,0x00}, // / + {0x3f,0x7f,0x7d,0x41,0x7f,0x3f,0x00,0x00}, // 0 + {0x02,0x7e,0x7f,0x00,0x00,0x00,0x00,0x00}, // 1 + {0x79,0x79,0x4b,0x4f,0x00,0x00,0x00,0x00}, // 2 + {0x49,0x49,0x7d,0x7f,0x00,0x00,0x00,0x00}, // 3 + {0x0f,0x08,0x08,0x7c,0x7f,0x00,0x00,0x00}, // 4 + {0x4f,0x4b,0x49,0x79,0x79,0x00,0x00,0x00}, // 5 + {0x7f,0x7f,0x7d,0x49,0x79,0x00,0x00,0x00}, // 6 + {0x01,0x01,0x7d,0x7f,0x00,0x00,0x00,0x00}, // 7 + {0x7f,0x7f,0x7d,0x49,0x7f,0x00,0x00,0x00}, // 8 + {0x4f,0x4f,0x49,0x7d,0x7f,0x00,0x00,0x00}, // 9 + {0x28,0x28,0x00,0x00,0x00,0x00,0x00,0x00}, // : + {0xd0,0xd0,0x00,0x00,0x00,0x00,0x00,0x00}, // ; + {0x08,0x1c,0x36,0x22,0x00,0x00,0x00,0x00}, // < + {0x14,0x14,0x14,0x14,0x00,0x00,0x00,0x00}, // = + {0x22,0x36,0x1c,0x08,0x00,0x00,0x00,0x00}, // > + {0x03,0x51,0x59,0x0b,0x0f,0x00,0x00,0x00}, // ? + {0x7e,0xff,0x83,0x3d,0x3f,0x17,0x3f,0x3f}, // @ + {0x7f,0x7f,0x7d,0x09,0x09,0x7f,0x00,0x00}, // A + {0x7f,0x7f,0x6d,0x6d,0x7f,0x3f,0x00,0x00}, // B + {0x3f,0x7f,0x41,0x41,0x00,0x00,0x00,0x00}, // C + {0x7f,0x7d,0x61,0x61,0x7f,0x3f,0x00,0x00}, // D + {0x7f,0x7f,0x7d,0x49,0x49,0x00,0x00,0x00}, // E + {0x7f,0x7f,0x7d,0x09,0x09,0x00,0x00,0x00}, // F + {0x7f,0x7f,0x7d,0x49,0x78,0x00,0x00,0x00}, // G + {0x7f,0x7c,0x08,0x08,0x7f,0x00,0x00,0x00}, // H + {0x7f,0x7c,0x00,0x00,0x00,0x00,0x00,0x00}, // I + {0xff,0xfc,0x00,0x00,0x00,0x00,0x00,0x00}, // J + {0x7f,0x7e,0x0c,0x0c,0x7f,0x7f,0x00,0x00}, // K + {0x7f,0x7c,0x40,0x40,0x00,0x00,0x00,0x00}, // L + {0x7f,0x7d,0x01,0x7f,0x7f,0x7d,0x7f,0x7f}, // M + {0x7f,0x7d,0x01,0x01,0x7f,0x7f,0x00,0x00}, // N + {0x3f,0x7f,0x61,0x67,0x7f,0x3f,0x00,0x00}, // O + {0x7f,0x7f,0x0d,0x0d,0x0f,0x07,0x00,0x00}, // P + {0x3f,0x7f,0x61,0xe7,0xff,0xbf,0x00,0x00}, // Q + {0x7f,0x7f,0x0d,0x0d,0x7f,0x7f,0x00,0x00}, // R + {0x6f,0x6d,0x49,0x49,0x7b,0x00,0x00,0x00}, // S + {0x01,0x01,0x7f,0x7d,0x01,0x00,0x00,0x00}, // T + {0x3f,0x7c,0x40,0x40,0x7f,0x00,0x00,0x00}, // U + {0x1f,0x3c,0x7c,0x60,0x70,0x3f,0x1f,0x00}, // V + {0x3f,0x7c,0x60,0x7f,0x7c,0x60,0x7f,0x3f}, // W + {0x7f,0x7e,0x0c,0x0c,0x7f,0x7f,0x00,0x00}, // X + {0x0f,0x5f,0x58,0x5f,0x7f,0x3f,0x00,0x00}, // Y + {0x61,0x71,0x59,0x4d,0x47,0x00,0x00,0x00}, // Z + {0xff,0xfc,0x00,0x00,0x00,0x00,0x00,0x00}, // [ + {0x03,0x1f,0x7e,0x70,0x00,0x00,0x00,0x00}, // "\" + {0x00,0x0f,0xff,0x00,0x00,0x00,0x00,0x00}, // ] + {0x02,0x03,0x01,0x03,0x02,0x00,0x00,0x00}, // ^ + {0x40,0x40,0x40,0x40,0x40,0x00,0x00,0x00}, // _ + {0x01,0x03,0x02,0x00,0x00,0x00,0x00,0x00}, // ` + {0x7f,0x7f,0x7d,0x09,0x09,0x7f,0x00,0x00}, // a + {0x7f,0x7f,0x6d,0x6d,0x7f,0x3f,0x00,0x00}, // b + {0x3f,0x7f,0x41,0x41,0x00,0x00,0x00,0x00}, // c + {0x7f,0x7d,0x61,0x61,0x7f,0x3f,0x00,0x00}, // d + {0x7f,0x7f,0x7d,0x49,0x49,0x00,0x00,0x00}, // e + {0x7f,0x7f,0x7d,0x09,0x09,0x00,0x00,0x00}, // f + {0x7f,0x7f,0x7d,0x49,0x78,0x00,0x00,0x00}, // g + {0x7f,0x7c,0x08,0x08,0x7f,0x00,0x00,0x00}, // h + {0x7f,0x7c,0x00,0x00,0x00,0x00,0x00,0x00}, // i + {0xff,0xfc,0x00,0x00,0x00,0x00,0x00,0x00}, // j + {0x7f,0x7e,0x0c,0x0c,0x7f,0x7f,0x00,0x00}, // k + {0x7f,0x7c,0x40,0x40,0x00,0x00,0x00,0x00}, // l + {0x7f,0x7d,0x01,0x7f,0x7f,0x7d,0x7f,0x7f}, // m + {0x7f,0x7d,0x01,0x01,0x7f,0x7f,0x00,0x00}, // n + {0x3f,0x7f,0x61,0x67,0x7f,0x3f,0x00,0x00}, // o + {0x7f,0x7f,0x0d,0x0d,0x0f,0x07,0x00,0x00}, // p + {0x3f,0x7f,0x61,0xe7,0xff,0xbf,0x00,0x00}, // q + {0x7f,0x7f,0x0d,0x0d,0x7f,0x7f,0x00,0x00}, // r + {0x6f,0x6d,0x49,0x49,0x7b,0x00,0x00,0x00}, // s + {0x01,0x01,0x7f,0x7d,0x01,0x00,0x00,0x00}, // t + {0x3f,0x7c,0x40,0x40,0x7f,0x00,0x00,0x00}, // u + {0x1f,0x3c,0x7c,0x60,0x70,0x3f,0x1f,0x00}, // v + {0x3f,0x7c,0x60,0x7f,0x7c,0x60,0x7f,0x3f}, // w + {0x7f,0x7e,0x0c,0x0c,0x7f,0x7f,0x00,0x00}, // x + {0x0f,0x5f,0x58,0x5f,0x7f,0x3f,0x00,0x00}, // y + {0x61,0x71,0x59,0x4d,0x47,0x00,0x00,0x00}, // z + {0x04,0xff,0xff,0x00,0x00,0x00,0x00,0x00}, // { + {0xff,0xfc,0x00,0x00,0x00,0x00,0x00,0x00}, // | + {0x00,0xfc,0xff,0xff,0x04,0x00,0x00,0x00}, // } + {0x02,0x03,0x03,0x01,0x00,0x00,0x00,0x00}, // ~ + {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00} +}; \ No newline at end of file diff --git a/fonts/Commo-Monospaced_font.png b/fonts/Commo-Monospaced_font.png new file mode 100644 index 0000000..bab5cd3 Binary files /dev/null and b/fonts/Commo-Monospaced_font.png differ diff --git a/fonts/HISKYF21.ttf b/fonts/HISKYF21.ttf new file mode 100644 index 0000000..398f9b4 Binary files /dev/null and b/fonts/HISKYF21.ttf differ diff --git a/fonts/HISKYF21_font.h b/fonts/HISKYF21_font.h new file mode 100644 index 0000000..ce32003 --- /dev/null +++ b/fonts/HISKYF21_font.h @@ -0,0 +1,98 @@ +const unsigned char font[96][6] = { + {0x00,0x00,0x00,0x00,0x00,0x00}, // + {0x5c,0x00,0x00,0x00,0x00,0x00}, // ! + {0x0c,0x00,0x0c,0x00,0x00,0x00}, // " + {0x28,0x7c,0x28,0x7c,0x28,0x00}, // # + {0x48,0x54,0x54,0xfe,0x54,0x54}, // $ + {0x44,0x20,0x10,0x08,0x44,0x00}, // % + {0x28,0x54,0x54,0x54,0x74,0x10}, // & + {0x0c,0x00,0x00,0x00,0x00,0x00}, // ' + {0x78,0x84,0x00,0x00,0x00,0x00}, // ( + {0x84,0x78,0x00,0x00,0x00,0x00}, // ) + {0x48,0x30,0x30,0x48,0x00,0x00}, // * + {0x10,0x38,0x10,0x00,0x00,0x00}, // + + {0xc0,0x00,0x00,0x00,0x00,0x00}, // , + {0x10,0x10,0x10,0x10,0x00,0x00}, // - + {0x40,0x00,0x00,0x00,0x00,0x00}, // . + {0x60,0x10,0x0c,0x00,0x00,0x00}, // / + {0x38,0x44,0x44,0x44,0x44,0x38}, // 0 + {0x08,0x7c,0x00,0x00,0x00,0x00}, // 1 + {0x64,0x54,0x54,0x54,0x48,0x00}, // 2 + {0x44,0x54,0x54,0x54,0x28,0x00}, // 3 + {0x1c,0x10,0x10,0x10,0x7c,0x00}, // 4 + {0x4c,0x54,0x54,0x54,0x24,0x00}, // 5 + {0x38,0x54,0x54,0x54,0x54,0x20}, // 6 + {0x44,0x24,0x14,0x0c,0x00,0x00}, // 7 + {0x28,0x54,0x54,0x54,0x54,0x28}, // 8 + {0x08,0x54,0x54,0x54,0x54,0x38}, // 9 + {0x48,0x00,0x00,0x00,0x00,0x00}, // : + {0xc8,0x00,0x00,0x00,0x00,0x00}, // ; + {0x10,0x28,0x44,0x00,0x00,0x00}, // < + {0x28,0x28,0x28,0x28,0x00,0x00}, // = + {0x44,0x28,0x10,0x00,0x00,0x00}, // > + {0x04,0x54,0x14,0x14,0x08,0x00}, // ? + {0x38,0x44,0x5c,0x54,0x48,0x00}, // @ + {0x60,0x18,0x14,0x14,0x18,0x60}, // A + {0x7c,0x54,0x54,0x54,0x58,0x30}, // B + {0x38,0x44,0x44,0x44,0x40,0x00}, // C + {0x7c,0x44,0x44,0x44,0x38,0x00}, // D + {0x7c,0x54,0x54,0x54,0x54,0x40}, // E + {0x7c,0x14,0x14,0x14,0x10,0x00}, // F + {0x38,0x44,0x44,0x44,0x70,0x10}, // G + {0x7c,0x10,0x10,0x10,0x10,0x7c}, // H + {0x7c,0x00,0x00,0x00,0x00,0x00}, // I + {0x20,0x40,0x40,0x40,0x40,0x3c}, // J + {0x7c,0x10,0x10,0x28,0x44,0x00}, // K + {0x7c,0x40,0x40,0x40,0x00,0x00}, // L + {0x7c,0x08,0x10,0x60,0x10,0x08}, // M + {0x7c,0x08,0x10,0x20,0x7c,0x00}, // N + {0x38,0x44,0x44,0x44,0x44,0x38}, // O + {0x7c,0x24,0x24,0x24,0x18,0x00}, // P + {0x38,0x44,0x64,0x44,0x38,0x00}, // Q + {0x7c,0x14,0x14,0x14,0x68,0x00}, // R + {0x48,0x54,0x54,0x54,0x54,0x20}, // S + {0x04,0x04,0x7c,0x04,0x04,0x00}, // T + {0x3c,0x40,0x40,0x40,0x3c,0x00}, // U + {0x0c,0x30,0x40,0x30,0x0c,0x00}, // V + {0x0c,0x30,0x40,0x20,0x1c,0x20}, // W + {0x74,0x2c,0x10,0x28,0x44,0x00}, // X + {0x04,0x08,0x70,0x08,0x04,0x00}, // Y + {0x44,0x64,0x54,0x4c,0x44,0x00}, // Z + {0xfc,0x84,0x00,0x00,0x00,0x00}, // [ + {0x0c,0x10,0x60,0x00,0x00,0x00}, // "\" + {0x84,0xfc,0x00,0x00,0x00,0x00}, // ] + {0x00,0x7f,0x41,0x7f,0x00,0x00}, // ^ + {0x40,0x40,0x40,0x40,0x00,0x00}, // _ + {0x00,0x7f,0x41,0x7f,0x00,0x00}, // ` + {0x60,0x18,0x14,0x14,0x18,0x60}, // a + {0x7c,0x54,0x54,0x54,0x58,0x30}, // b + {0x38,0x44,0x44,0x44,0x40,0x00}, // c + {0x7c,0x44,0x44,0x44,0x38,0x00}, // d + {0x7c,0x54,0x54,0x54,0x54,0x40}, // e + {0x7c,0x14,0x14,0x14,0x10,0x00}, // f + {0x38,0x44,0x44,0x44,0x70,0x10}, // g + {0x7c,0x10,0x10,0x10,0x10,0x7c}, // h + {0x7c,0x00,0x00,0x00,0x00,0x00}, // i + {0x20,0x40,0x40,0x40,0x40,0x3c}, // j + {0x7c,0x10,0x10,0x28,0x44,0x00}, // k + {0x7c,0x40,0x40,0x40,0x00,0x00}, // l + {0x7c,0x08,0x10,0x60,0x10,0x08}, // m + {0x7c,0x08,0x10,0x20,0x7c,0x00}, // n + {0x38,0x44,0x44,0x44,0x44,0x38}, // o + {0x7c,0x24,0x24,0x24,0x18,0x00}, // p + {0x38,0x44,0x64,0x44,0x38,0x00}, // q + {0x7c,0x14,0x14,0x14,0x68,0x00}, // r + {0x48,0x54,0x54,0x54,0x54,0x20}, // s + {0x04,0x04,0x7c,0x04,0x04,0x00}, // t + {0x3c,0x40,0x40,0x40,0x3c,0x00}, // u + {0x0c,0x30,0x40,0x30,0x0c,0x00}, // v + {0x0c,0x30,0x40,0x20,0x1c,0x20}, // w + {0x74,0x2c,0x10,0x28,0x44,0x00}, // x + {0x04,0x08,0x70,0x08,0x04,0x00}, // y + {0x44,0x64,0x54,0x4c,0x44,0x00}, // z + {0x00,0x7f,0x41,0x7f,0x00,0x00}, // { + {0xfc,0x00,0x00,0x00,0x00,0x00}, // | + {0x00,0x7f,0x41,0x7f,0x00,0x00}, // } + {0x00,0x7f,0x41,0x7f,0x00,0x00}, // ~ + {0x00,0x00,0x00,0x00,0x00,0x00} +}; \ No newline at end of file diff --git a/fonts/HISKYF21_font.png b/fonts/HISKYF21_font.png new file mode 100644 index 0000000..c1913ad Binary files /dev/null and b/fonts/HISKYF21_font.png differ diff --git a/fonts/HUNTER.TTF b/fonts/HUNTER.TTF new file mode 100644 index 0000000..b0b8eb5 Binary files /dev/null and b/fonts/HUNTER.TTF differ diff --git a/fonts/HUNTER_font.h b/fonts/HUNTER_font.h new file mode 100644 index 0000000..f7014ad --- /dev/null +++ b/fonts/HUNTER_font.h @@ -0,0 +1,98 @@ +const unsigned char font[96][8] = { + {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}, // + {0x5f,0x5f,0x00,0x00,0x00,0x00,0x00,0x00}, // ! + {0x07,0x07,0x00,0x07,0x07,0x00,0x00,0x00}, // " + {0x14,0x7f,0x7f,0x14,0x7f,0x7f,0x14,0x00}, // # + {0x6f,0x6f,0x6b,0xeb,0x6b,0x7b,0x7b,0x00}, // $ + {0x63,0x73,0x38,0x1c,0x0e,0x67,0x63,0x00}, // % + {0x7f,0x7f,0x6b,0x63,0x68,0x78,0x78,0x00}, // & + {0x07,0x07,0x00,0x00,0x00,0x00,0x00,0x00}, // ' + {0xff,0xff,0x80,0x00,0x00,0x00,0x00,0x00}, // ( + {0x80,0xff,0xff,0x00,0x00,0x00,0x00,0x00}, // ) + {0x36,0x08,0x7f,0x7f,0x7f,0x08,0x36,0x00}, // * + {0x08,0x08,0x3e,0x08,0x08,0x00,0x00,0x00}, // + + {0xe0,0xe0,0x00,0x00,0x00,0x00,0x00,0x00}, // , + {0x08,0x08,0x08,0x08,0x08,0x00,0x00,0x00}, // - + {0x60,0x60,0x00,0x00,0x00,0x00,0x00,0x00}, // . + {0x70,0x1c,0x07,0x00,0x00,0x00,0x00,0x00}, // / + {0x7f,0x7f,0x63,0x63,0x63,0x7f,0x7f,0x00}, // 0 + {0x60,0x66,0x66,0x7f,0x7f,0x60,0x60,0x00}, // 1 + {0x7b,0x7b,0x6b,0x6b,0x6b,0x6f,0x6f,0x00}, // 2 + {0x63,0x63,0x6b,0x6b,0x6b,0x7f,0x7f,0x00}, // 3 + {0x1f,0x1f,0x18,0x18,0x18,0x7e,0x7e,0x00}, // 4 + {0x6f,0x6f,0x6b,0x6b,0x6b,0x7b,0x7b,0x00}, // 5 + {0x7f,0x7f,0x6c,0x6c,0x6c,0x7c,0x7c,0x00}, // 6 + {0x43,0x63,0x73,0x3b,0x1f,0x0f,0x07,0x00}, // 7 + {0x7f,0x7f,0x6b,0x6b,0x6b,0x7f,0x7f,0x00}, // 8 + {0x1f,0x1f,0x1b,0x1b,0x1b,0x7f,0x7f,0x00}, // 9 + {0x6c,0x6c,0x00,0x00,0x00,0x00,0x00,0x00}, // : + {0xec,0xec,0x00,0x00,0x00,0x00,0x00,0x00}, // ; + {0x08,0x14,0x22,0x22,0x00,0x00,0x00,0x00}, // < + {0x14,0x14,0x14,0x14,0x14,0x00,0x00,0x00}, // = + {0x22,0x22,0x14,0x08,0x00,0x00,0x00,0x00}, // > + {0x03,0x03,0x5b,0x5b,0x0b,0x0f,0x0f,0x00}, // ? + {0x7f,0x7f,0x63,0x6f,0x6b,0x6f,0x6f,0x00}, // @ + {0x7f,0x7f,0x1b,0x1b,0x1b,0x7f,0x7f,0x00}, // A + {0x7f,0x7f,0x6b,0x6b,0x6f,0x7e,0x7c,0x00}, // B + {0x7f,0x7f,0x63,0x63,0x63,0x63,0x63,0x00}, // C + {0x7f,0x7f,0x63,0x63,0x67,0x7e,0x7c,0x00}, // D + {0x7f,0x7f,0x6b,0x6b,0x6b,0x6b,0x6b,0x00}, // E + {0x7f,0x7f,0x0b,0x0b,0x0b,0x03,0x03,0x00}, // F + {0x7f,0x7f,0x63,0x63,0x6b,0x7b,0x7b,0x00}, // G + {0x7f,0x7f,0x18,0x18,0x18,0x7f,0x7f,0x00}, // H + {0x63,0x63,0x7f,0x7f,0x63,0x63,0x63,0x00}, // I + {0x60,0x60,0x60,0x60,0x60,0x7f,0x3f,0x00}, // J + {0x7f,0x7f,0x18,0x18,0x1e,0x7f,0x79,0x00}, // K + {0x7f,0x7f,0x60,0x60,0x60,0x60,0x60,0x00}, // L + {0x7f,0x7f,0x03,0x06,0x03,0x7f,0x7f,0x00}, // M + {0x7f,0x7f,0x0e,0x1c,0x38,0x7f,0x7f,0x00}, // N + {0x7f,0x7f,0x63,0x63,0x63,0x7f,0x7f,0x00}, // O + {0x7f,0x7f,0x1b,0x1b,0x1b,0x1f,0x1f,0x00}, // P + {0x7f,0x7f,0x63,0xf3,0xf3,0x7f,0x7f,0x00}, // Q + {0x7f,0x7f,0x1b,0x3b,0x7b,0x7f,0x5f,0x00}, // R + {0x6f,0x6f,0x6b,0x6b,0x6b,0x7b,0x7b,0x00}, // S + {0x03,0x03,0x7f,0x7f,0x03,0x03,0x03,0x00}, // T + {0x7f,0x7f,0x60,0x60,0x60,0x7f,0x7f,0x00}, // U + {0x1f,0x3f,0x70,0x60,0x70,0x3f,0x1f,0x00}, // V + {0x3f,0x7f,0x60,0x30,0x60,0x7f,0x3f,0x00}, // W + {0x77,0x7f,0x1c,0x08,0x1c,0x7f,0x77,0x00}, // X + {0x07,0x0f,0x7c,0x78,0x7c,0x0f,0x07,0x00}, // Y + {0x73,0x7b,0x6b,0x6b,0x6b,0x6f,0x67,0x00}, // Z + {0xff,0xff,0x80,0x00,0x00,0x00,0x00,0x00}, // [ + {0x07,0x1c,0x70,0x00,0x00,0x00,0x00,0x00}, // "\" + {0x80,0xff,0xff,0x00,0x00,0x00,0x00,0x00}, // ] + {0x00,0x7f,0x40,0x7f,0x00,0x00,0x00,0x00}, // ^ + {0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x00}, // _ + {0x00,0x7f,0x40,0x7f,0x00,0x00,0x00,0x00}, // ` + {0x7f,0x7f,0x1b,0x1b,0x1b,0x7f,0x7f,0x00}, // a + {0x7f,0x7f,0x6b,0x6b,0x6f,0x7e,0x7c,0x00}, // b + {0x7f,0x7f,0x63,0x63,0x63,0x63,0x63,0x00}, // c + {0x7f,0x7f,0x63,0x63,0x67,0x7e,0x7c,0x00}, // d + {0x7f,0x7f,0x6b,0x6b,0x6b,0x6b,0x6b,0x00}, // e + {0x7f,0x7f,0x0b,0x0b,0x0b,0x03,0x03,0x00}, // f + {0x7f,0x7f,0x63,0x63,0x6b,0x7b,0x7b,0x00}, // g + {0x7f,0x7f,0x18,0x18,0x18,0x7f,0x7f,0x00}, // h + {0x63,0x63,0x7f,0x7f,0x63,0x63,0x63,0x00}, // i + {0x60,0x60,0x60,0x60,0x60,0x7f,0x3f,0x00}, // j + {0x7f,0x7f,0x18,0x18,0x1e,0x7f,0x79,0x00}, // k + {0x7f,0x7f,0x60,0x60,0x60,0x60,0x60,0x00}, // l + {0x7f,0x7f,0x03,0x06,0x03,0x7f,0x7f,0x00}, // m + {0x7f,0x7f,0x0e,0x1c,0x38,0x7f,0x7f,0x00}, // n + {0x7f,0x7f,0x63,0x63,0x63,0x7f,0x7f,0x00}, // o + {0x7f,0x7f,0x1b,0x1b,0x1b,0x1f,0x1f,0x00}, // p + {0x7f,0x7f,0x63,0xf3,0xf3,0x7f,0x7f,0x00}, // q + {0x7f,0x7f,0x1b,0x3b,0x7b,0x7f,0x5f,0x00}, // r + {0x6f,0x6f,0x6b,0x6b,0x6b,0x7b,0x7b,0x00}, // s + {0x03,0x03,0x7f,0x7f,0x03,0x03,0x03,0x00}, // t + {0x7f,0x7f,0x60,0x60,0x60,0x7f,0x7f,0x00}, // u + {0x1f,0x3f,0x70,0x60,0x70,0x3f,0x1f,0x00}, // v + {0x3f,0x7f,0x60,0x30,0x60,0x7f,0x3f,0x00}, // w + {0x77,0x7f,0x1c,0x08,0x1c,0x7f,0x77,0x00}, // x + {0x07,0x0f,0x7c,0x78,0x7c,0x0f,0x07,0x00}, // y + {0x73,0x7b,0x6b,0x6b,0x6b,0x6f,0x67,0x00}, // z + {0x1c,0xff,0xff,0x80,0x00,0x00,0x00,0x00}, // { + {0x7f,0x00,0x00,0x00,0x00,0x00,0x00,0x00}, // | + {0x80,0xff,0xff,0x1c,0x00,0x00,0x00,0x00}, // } + {0x00,0x7f,0x40,0x7f,0x00,0x00,0x00,0x00}, // ~ + {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00} +}; \ No newline at end of file diff --git a/fonts/HUNTER_font.png b/fonts/HUNTER_font.png new file mode 100644 index 0000000..a02299b Binary files /dev/null and b/fonts/HUNTER_font.png differ diff --git a/fonts/Minimum+1.TTF b/fonts/Minimum+1.TTF new file mode 100644 index 0000000..2a54091 Binary files /dev/null and b/fonts/Minimum+1.TTF differ diff --git a/fonts/Minimum+1_font.h b/fonts/Minimum+1_font.h new file mode 100644 index 0000000..3c1a628 --- /dev/null +++ b/fonts/Minimum+1_font.h @@ -0,0 +1,100 @@ +const unsigned char font[96][7] = { + {0x00,0x00,0x00,0x00,0x00,0x00,0x00}, // + {0x7f,0x51,0x7f,0x00,0x00,0x00,0x00}, // ! + {0x0f,0x09,0x0f,0x09,0x0f,0x00,0x00}, // " + {0x3e,0x6b,0x41,0x6b,0x41,0x6b,0x3e}, // # + {0x0e,0x7b,0x55,0x41,0x55,0x6f,0x38}, // $ + {0x77,0x5d,0x6f,0x36,0x7b,0x4d,0x77}, // % + {0x3e,0x6b,0x51,0x55,0x53,0x6e,0x54}, // & + {0x0f,0x09,0x0f,0x00,0x00,0x00,0x00}, // ' + {0x3e,0x63,0x5d,0x77,0x00,0x00,0x00}, // ( + {0x77,0x5d,0x63,0x3e,0x00,0x00,0x00}, // ) + {0x3e,0x2a,0x36,0x2a,0x3e,0x00,0x00}, // * + {0x1c,0x36,0x22,0x36,0x1c,0x00,0x00}, // + + {0xf0,0x90,0xf0,0x00,0x00,0x00,0x00}, // , + {0x1c,0x14,0x14,0x14,0x1c,0x00,0x00}, // - + {0x70,0x50,0x70,0x00,0x00,0x00,0x00}, // . + {0x78,0x4e,0x73,0x1d,0x07,0x00,0x00}, // / + {0x3e,0x63,0x41,0x4d,0x4d,0x61,0x3f}, // 0 + {0x07,0x7d,0x41,0x7f,0x00,0x00,0x00}, // 1 + {0x7f,0x4d,0x55,0x55,0x5b,0x7e,0x00}, // 2 + {0x7f,0x55,0x55,0x55,0x69,0x3f,0x00}, // 3 + {0x1f,0x31,0x6f,0x6f,0x41,0x6f,0x38}, // 4 + {0x7f,0x51,0x55,0x55,0x6d,0x3f,0x00}, // 5 + {0x7e,0x43,0x45,0x55,0x55,0x6d,0x3f}, // 6 + {0x0f,0x09,0x7d,0x5d,0x6d,0x31,0x1f}, // 7 + {0x3e,0x2a,0x55,0x55,0x55,0x69,0x3f}, // 8 + {0x0e,0x7b,0x51,0x55,0x55,0x61,0x3f}, // 9 + {0x7e,0x42,0x7e,0x00,0x00,0x00,0x00}, // : + {0xfe,0x82,0xfe,0x00,0x00,0x00,0x00}, // ; + {0x1c,0x36,0x6b,0x5d,0x77,0x00,0x00}, // < + {0x3e,0x2a,0x2a,0x2a,0x3e,0x00,0x00}, // = + {0x77,0x5d,0x6b,0x36,0x1c,0x00,0x00}, // > + {0x07,0x7d,0x55,0x75,0x1b,0x0e,0x00}, // ? + {0x7e,0x42,0x7d,0x65,0x55,0x55,0x61}, // @ + {0x7e,0x43,0x6d,0x2d,0x6d,0x41,0x7f}, // A + {0x7e,0x43,0x41,0x45,0x51,0x6f,0x38}, // B + {0x3e,0x63,0x5d,0x55,0x55,0x77,0x00}, // C + {0x7e,0x43,0x4d,0x4d,0x5d,0x61,0x3f}, // D + {0x7e,0x43,0x55,0x55,0x55,0x7f,0x00}, // E + {0x7e,0x43,0x6d,0x2d,0x2d,0x3f,0x00}, // F + {0x7e,0x43,0x4d,0x4d,0x55,0x65,0x3f}, // G + {0x7f,0x41,0x77,0x77,0x41,0x7f,0x00}, // H + {0x77,0x55,0x41,0x5d,0x75,0x00,0x00}, // I + {0x78,0x41,0x4d,0x5d,0x61,0x3f,0x00}, // J + {0x7f,0x41,0x77,0x73,0x4d,0x7f,0x00}, // K + {0x7f,0x41,0x5f,0x50,0x50,0x70,0x00}, // L + {0x7e,0x43,0x7d,0x7d,0x41,0x7d,0x7d}, // M + {0x7f,0x43,0x7d,0x05,0x7d,0x41,0x7f}, // N + {0x3e,0x63,0x5d,0x5d,0x5d,0x61,0x3f}, // O + {0x7e,0x43,0x6d,0x2d,0x2d,0x31,0x1f}, // P + {0x3e,0x63,0x5d,0xdd,0x9d,0xe1,0x3f}, // Q + {0x7e,0x43,0x6d,0x6d,0x4d,0x71,0x1f}, // R + {0x7e,0x5b,0x55,0x55,0x6d,0x3f,0x00}, // S + {0x07,0x05,0x7d,0x41,0x7d,0x05,0x07}, // T + {0x3f,0x61,0x5f,0x50,0x5f,0x61,0x3f}, // U + {0x1f,0x31,0x6f,0x58,0x68,0x31,0x1f}, // V + {0x7f,0x41,0x5f,0x5f,0x61,0x41,0x5f}, // W + {0x7f,0x49,0x77,0x77,0x49,0x7f,0x00}, // X + {0x7f,0x59,0x57,0x57,0x61,0x3f,0x00}, // Y + {0x7f,0x4d,0x55,0x55,0x59,0x7f,0x00}, // Z + {0x7f,0x41,0x5d,0x55,0x00,0x00,0x00}, // [ + {0x07,0x1d,0x73,0x4e,0x78,0x00,0x00}, // "\" + {0x77,0x5d,0x41,0x7f,0x00,0x00,0x00}, // ] + {0x0e,0x0b,0x0d,0x0b,0x0e,0x00,0x00}, // ^ + {0x70,0x50,0x50,0x50,0x70,0x00,0x00}, // _ + {0x07,0x0d,0x0b,0x0e,0x00,0x00,0x00}, // ` + {0x7e,0x03,0x6d,0x2d,0x6d,0x01,0x7f}, // a + {0x7e,0x43,0x41,0x55,0x51,0x6f,0x38}, // b + {0x3e,0x63,0x5d,0x55,0x55,0x77,0x00}, // c + {0x7e,0x43,0x41,0x4d,0x4d,0x61,0x3f}, // d + {0x7e,0x43,0x55,0x55,0x55,0x7f,0x00}, // e + {0x7e,0x43,0x6d,0x2d,0x2d,0x3f,0x00}, // f + {0x7e,0x43,0x5d,0x55,0x45,0x65,0x3f}, // g + {0x7f,0x41,0x77,0x77,0x41,0x7f,0x00}, // h + {0x77,0x5d,0x41,0x5d,0x77,0x00,0x00}, // i + {0x78,0x4f,0x5d,0x5d,0x61,0x3f,0x00}, // j + {0x7f,0x00,0x77,0x71,0x0c,0x7f,0x00}, // k + {0x7f,0x41,0x5f,0x50,0x50,0x70,0x00}, // l + {0x7e,0x43,0x7d,0x7d,0x43,0x7d,0x7d}, // m + {0x7f,0x43,0x7d,0x05,0x7d,0x41,0x7f}, // n + {0x3e,0x63,0x41,0x4d,0x4d,0x61,0x3f}, // o + {0x7e,0x43,0x65,0x25,0x25,0x31,0x1f}, // p + {0x3e,0x63,0x41,0xcd,0x8d,0xe1,0x3f}, // q + {0x7e,0x43,0x61,0x65,0x45,0x71,0x1f}, // r + {0x7e,0x5b,0x55,0x55,0x6d,0x3f,0x00}, // s + {0x07,0x05,0x7d,0x41,0x7d,0x05,0x07}, // t + {0x3f,0x61,0x5f,0x50,0x5f,0x61,0x3f}, // u + {0x1f,0x31,0x6f,0x58,0x6f,0x31,0x1f}, // v + {0x7f,0x41,0x5f,0x5f,0x61,0x5f,0x5f}, // w + {0x7f,0x49,0x77,0x77,0x49,0x7f,0x00}, // x + {0x7f,0x59,0x57,0x57,0x61,0x3f,0x00}, // y + {0x7f,0x4d,0x55,0x55,0x59,0x7f,0x00}, // z + {0x1c,0x77,0x41,0x5d,0x77,0x00,0x00}, // { + {0x7f,0x41,0x7f,0x00,0x00,0x00,0x00}, // | + {0x77,0x5d,0x41,0x77,0x1c,0x00,0x00}, // } + {0x06,0x02,0x05,0x01,0x01,0x00,0x00}, // ~ + {0x00,0x00,0x00,0x00,0x00,0x00,0x00} +}; + +#define FONT_NAME "Minimum+1_font" diff --git a/fonts/Minimum+1_font.png b/fonts/Minimum+1_font.png new file mode 100644 index 0000000..5b31287 Binary files /dev/null and b/fonts/Minimum+1_font.png differ diff --git a/fonts/Minimum.TTF b/fonts/Minimum.TTF new file mode 100644 index 0000000..605c331 Binary files /dev/null and b/fonts/Minimum.TTF differ diff --git a/fonts/Minimum_font.h b/fonts/Minimum_font.h new file mode 100644 index 0000000..5ddd91d --- /dev/null +++ b/fonts/Minimum_font.h @@ -0,0 +1,98 @@ +const unsigned char font[96][6] = { + {0x00,0x00,0x00,0x00,0x00,0x00}, // + {0x2e,0x00,0x00,0x00,0x00,0x00}, // ! + {0x06,0x00,0x06,0x00,0x00,0x00}, // " + {0x14,0x3e,0x14,0x3e,0x14,0x00}, // # + {0x04,0x2a,0x3e,0x2a,0x10,0x00}, // $ + {0x22,0x10,0x08,0x04,0x22,0x00}, // % + {0x14,0x2a,0x2a,0x2c,0x10,0x28}, // & + {0x06,0x00,0x00,0x00,0x00,0x00}, // ' + {0x1c,0x22,0x00,0x00,0x00,0x00}, // ( + {0x22,0x1c,0x00,0x00,0x00,0x00}, // ) + {0x14,0x08,0x14,0x00,0x00,0x00}, // * + {0x08,0x1c,0x08,0x00,0x00,0x00}, // + + {0x60,0x00,0x00,0x00,0x00,0x00}, // , + {0x08,0x08,0x08,0x00,0x00,0x00}, // - + {0x20,0x00,0x00,0x00,0x00,0x00}, // . + {0x30,0x0c,0x02,0x00,0x00,0x00}, // / + {0x1c,0x22,0x22,0x22,0x1e,0x00}, // 0 + {0x02,0x3e,0x00,0x00,0x00,0x00}, // 1 + {0x32,0x2a,0x2a,0x24,0x00,0x00}, // 2 + {0x2a,0x2a,0x2a,0x16,0x00,0x00}, // 3 + {0x0e,0x10,0x10,0x3e,0x10,0x00}, // 4 + {0x2e,0x2a,0x2a,0x12,0x00,0x00}, // 5 + {0x3c,0x2a,0x2a,0x2a,0x12,0x00}, // 6 + {0x06,0x02,0x22,0x12,0x0e,0x00}, // 7 + {0x14,0x2a,0x2a,0x2a,0x16,0x00}, // 8 + {0x04,0x2a,0x2a,0x2a,0x1e,0x00}, // 9 + {0x24,0x00,0x00,0x00,0x00,0x00}, // : + {0x64,0x00,0x00,0x00,0x00,0x00}, // ; + {0x08,0x14,0x22,0x00,0x00,0x00}, // < + {0x14,0x14,0x14,0x00,0x00,0x00}, // = + {0x22,0x14,0x08,0x00,0x00,0x00}, // > + {0x02,0x2a,0x0a,0x04,0x00,0x00}, // ? + {0x3c,0x02,0x1a,0x2a,0x22,0x1e}, // @ + {0x3c,0x12,0x12,0x12,0x3e,0x00}, // A + {0x3c,0x2a,0x2a,0x2e,0x10,0x00}, // B + {0x1c,0x22,0x22,0x22,0x00,0x00}, // C + {0x3c,0x22,0x22,0x22,0x1c,0x00}, // D + {0x3c,0x2a,0x2a,0x2a,0x00,0x00}, // E + {0x3c,0x12,0x12,0x12,0x00,0x00}, // F + {0x3c,0x22,0x22,0x2a,0x1a,0x00}, // G + {0x3e,0x08,0x08,0x3e,0x00,0x00}, // H + {0x22,0x3e,0x22,0x00,0x00,0x00}, // I + {0x30,0x22,0x22,0x1e,0x00,0x00}, // J + {0x3e,0x08,0x0c,0x32,0x00,0x00}, // K + {0x3e,0x20,0x20,0x20,0x00,0x00}, // L + {0x3c,0x02,0x02,0x3c,0x02,0x02}, // M + {0x3c,0x02,0x02,0x02,0x3e,0x00}, // N + {0x1c,0x22,0x22,0x22,0x1e,0x00}, // O + {0x3c,0x12,0x12,0x12,0x0e,0x00}, // P + {0x1c,0x22,0x22,0x62,0x1e,0x00}, // Q + {0x3c,0x12,0x12,0x32,0x0e,0x00}, // R + {0x24,0x2a,0x2a,0x12,0x00,0x00}, // S + {0x02,0x02,0x3e,0x02,0x02,0x00}, // T + {0x1e,0x20,0x20,0x20,0x1e,0x00}, // U + {0x0e,0x10,0x20,0x10,0x0e,0x00}, // V + {0x3e,0x20,0x20,0x1e,0x20,0x20}, // W + {0x36,0x08,0x08,0x36,0x00,0x00}, // X + {0x26,0x28,0x28,0x1e,0x00,0x00}, // Y + {0x32,0x2a,0x2a,0x26,0x00,0x00}, // Z + {0x3e,0x22,0x00,0x00,0x00,0x00}, // [ + {0x02,0x0c,0x30,0x00,0x00,0x00}, // "\" + {0x22,0x3e,0x00,0x00,0x00,0x00}, // ] + {0x04,0x02,0x04,0x00,0x00,0x00}, // ^ + {0x20,0x20,0x20,0x00,0x00,0x00}, // _ + {0x02,0x04,0x00,0x00,0x00,0x00}, // ` + {0x3c,0x12,0x12,0x12,0x3e,0x00}, // a + {0x3c,0x2a,0x2a,0x2e,0x10,0x00}, // b + {0x1c,0x22,0x22,0x22,0x00,0x00}, // c + {0x3c,0x22,0x22,0x22,0x1c,0x00}, // d + {0x3c,0x2a,0x2a,0x2a,0x00,0x00}, // e + {0x3c,0x12,0x12,0x12,0x00,0x00}, // f + {0x3c,0x22,0x22,0x2a,0x1a,0x00}, // g + {0x3e,0x08,0x08,0x3e,0x00,0x00}, // h + {0x22,0x3e,0x22,0x00,0x00,0x00}, // i + {0x30,0x22,0x22,0x1e,0x00,0x00}, // j + {0x3e,0x08,0x0c,0x32,0x00,0x00}, // k + {0x3e,0x20,0x20,0x20,0x00,0x00}, // l + {0x3c,0x02,0x02,0x3c,0x02,0x02}, // m + {0x3c,0x02,0x02,0x02,0x3e,0x00}, // n + {0x1c,0x22,0x22,0x22,0x1e,0x00}, // o + {0x3c,0x12,0x12,0x12,0x0e,0x00}, // p + {0x1c,0x22,0x22,0x62,0x1e,0x00}, // q + {0x3c,0x12,0x12,0x32,0x0e,0x00}, // r + {0x24,0x2a,0x2a,0x12,0x00,0x00}, // s + {0x02,0x02,0x3e,0x02,0x02,0x00}, // t + {0x1e,0x20,0x20,0x20,0x1e,0x00}, // u + {0x0e,0x10,0x20,0x10,0x0e,0x00}, // v + {0x3e,0x20,0x20,0x1e,0x20,0x20}, // w + {0x36,0x08,0x08,0x36,0x00,0x00}, // x + {0x26,0x28,0x28,0x1e,0x00,0x00}, // y + {0x32,0x2a,0x2a,0x26,0x00,0x00}, // z + {0x08,0x3e,0x22,0x00,0x00,0x00}, // { + {0x3e,0x00,0x00,0x00,0x00,0x00}, // | + {0x22,0x3e,0x08,0x00,0x00,0x00}, // } + {0x04,0x02,0x02,0x00,0x00,0x00}, // ~ + {0x00,0x00,0x00,0x00,0x00,0x00} +}; \ No newline at end of file diff --git a/fonts/Minimum_font.png b/fonts/Minimum_font.png new file mode 100644 index 0000000..7209e6b Binary files /dev/null and b/fonts/Minimum_font.png differ diff --git a/fonts/Raumsond.ttf b/fonts/Raumsond.ttf new file mode 100644 index 0000000..36cba07 Binary files /dev/null and b/fonts/Raumsond.ttf differ diff --git a/fonts/Raumsond_font.h b/fonts/Raumsond_font.h new file mode 100644 index 0000000..39143b0 --- /dev/null +++ b/fonts/Raumsond_font.h @@ -0,0 +1,98 @@ +const unsigned char font[96][5] = { + {0x00,0x00,0x00,0x00,0x00}, // + {0x5c,0x00,0x00,0x00,0x00}, // ! + {0x0c,0x00,0x0c,0x00,0x00}, // " + {0x28,0x7c,0x28,0x7c,0x28}, // # + {0x5c,0x54,0xfe,0x54,0x74}, // $ + {0x44,0x20,0x10,0x08,0x44}, // % + {0x70,0x5c,0x54,0x7c,0x50}, // & + {0x0c,0x00,0x00,0x00,0x00}, // ' + {0x7c,0x44,0x00,0x00,0x00}, // ( + {0x44,0x7c,0x00,0x00,0x00}, // ) + {0x28,0x10,0x7c,0x10,0x28}, // * + {0x10,0x10,0x7c,0x10,0x10}, // + + {0xc0,0x00,0x00,0x00,0x00}, // , + {0x10,0x10,0x10,0x10,0x00}, // - + {0x40,0x00,0x00,0x00,0x00}, // . + {0x60,0x1c,0x00,0x00,0x00}, // / + {0x7c,0x44,0x44,0x44,0x7c}, // 0 + {0x04,0x7c,0x00,0x00,0x00}, // 1 + {0x70,0x54,0x54,0x5c,0x40}, // 2 + {0x54,0x54,0x54,0x5c,0x70}, // 3 + {0x1c,0x10,0x10,0x10,0x7c}, // 4 + {0x5c,0x54,0x54,0x74,0x04}, // 5 + {0x1c,0x74,0x54,0x54,0x74}, // 6 + {0x04,0x04,0x04,0x7c,0x00}, // 7 + {0x7c,0x54,0x54,0x54,0x7c}, // 8 + {0x5c,0x54,0x54,0x74,0x1c}, // 9 + {0x50,0x00,0x00,0x00,0x00}, // : + {0xd0,0x00,0x00,0x00,0x00}, // ; + {0x10,0x28,0x44,0x00,0x00}, // < + {0x28,0x28,0x28,0x28,0x00}, // = + {0x6c,0x10,0x00,0x00,0x00}, // > + {0x0c,0x04,0x54,0x14,0x1c}, // ? + {0xfe,0x82,0x92,0xaa,0xba}, // @ + {0x7e,0x54,0x54,0x5c,0x70}, // A + {0x7c,0x48,0x48,0x48,0x78}, // B + {0x7c,0x44,0x44,0x44,0x40}, // C + {0x78,0x48,0x48,0x48,0x7c}, // D + {0x70,0x5c,0x54,0x54,0x5c}, // E + {0x70,0x1c,0x14,0x14,0x14}, // F + {0x1c,0x54,0x54,0x74,0x1c}, // G + {0x7c,0x10,0x10,0x10,0x78}, // H + {0x7c,0x00,0x00,0x00,0x00}, // I + {0x60,0x40,0x40,0x7c,0x00}, // J + {0x7c,0x10,0x10,0x70,0x1c}, // K + {0x7c,0x40,0x40,0x40,0x00}, // L + {0x7c,0x04,0x7c,0x08,0x78}, // M + {0x7c,0x04,0x04,0x04,0x7c}, // N + {0x1c,0x54,0x54,0x54,0x1c}, // O + {0x1c,0x74,0x14,0x14,0x1c}, // P + {0x3c,0x24,0x24,0x64,0x3c}, // Q + {0x7c,0x14,0x14,0x74,0x1c}, // R + {0x40,0x5c,0x54,0x54,0x70}, // S + {0x78,0x4c,0x48,0x48,0x48}, // T + {0x1c,0x50,0x50,0x50,0x1c}, // U + {0x04,0x7c,0x40,0x7c,0x04}, // V + {0x7c,0x40,0x7c,0x20,0x3c}, // W + {0x44,0x7c,0x10,0x7c,0x44}, // X + {0x1c,0x50,0x50,0x70,0x1c}, // Y + {0x70,0x54,0x54,0x5c,0x40}, // Z + {0x7c,0x44,0x00,0x00,0x00}, // [ + {0x0c,0x70,0x00,0x00,0x00}, // "\" + {0x44,0x7c,0x00,0x00,0x00}, // ] + {0x08,0x04,0x08,0x00,0x00}, // ^ + {0x40,0x40,0x40,0x40,0x00}, // _ + {0x0c,0x00,0x00,0x00,0x00}, // ` + {0x74,0x54,0x54,0x74,0x1c}, // a + {0x7c,0x48,0x48,0x48,0x78}, // b + {0x7c,0x44,0x44,0x44,0x40}, // c + {0x78,0x48,0x48,0x48,0x7c}, // d + {0x1c,0x74,0x54,0x54,0x5c}, // e + {0x1c,0x74,0x14,0x14,0x14}, // f + {0x5c,0x54,0x54,0x5c,0x70}, // g + {0x7c,0x10,0x10,0x10,0x78}, // h + {0x74,0x00,0x00,0x00,0x00}, // i + {0x60,0x40,0x40,0x7c,0x00}, // j + {0x7c,0x10,0x10,0x70,0x1c}, // k + {0x7c,0x40,0x40,0x40,0x00}, // l + {0x78,0x08,0x7c,0x04,0x7c}, // m + {0x7c,0x04,0x04,0x04,0x7c}, // n + {0x1c,0x54,0x54,0x54,0x1c}, // o + {0x1c,0x74,0x14,0x14,0x1c}, // p + {0x3c,0x24,0x24,0x64,0x3c}, // q + {0x7c,0x04,0x04,0x04,0x00}, // r + {0x40,0x5c,0x54,0x54,0x70}, // s + {0x78,0x4c,0x48,0x48,0x48}, // t + {0x1c,0x50,0x50,0x50,0x1c}, // u + {0x04,0x7c,0x40,0x7c,0x04}, // v + {0x3c,0x20,0x7c,0x40,0x7c}, // w + {0x44,0x7c,0x10,0x7c,0x44}, // x + {0x1c,0x10,0x10,0x10,0x7c}, // y + {0x70,0x54,0x54,0x5c,0x40}, // z + {0x10,0x6c,0x44,0x00,0x00}, // { + {0x7c,0x00,0x00,0x00,0x00}, // | + {0x44,0x6c,0x10,0x00,0x00}, // } + {0x08,0x04,0x08,0x04,0x00}, // ~ + {0x00,0x00,0x00,0x00,0x00} +}; \ No newline at end of file diff --git a/fonts/Raumsond_font.png b/fonts/Raumsond_font.png new file mode 100644 index 0000000..20caa42 Binary files /dev/null and b/fonts/Raumsond_font.png differ diff --git a/fonts/SUPERDIG.TTF b/fonts/SUPERDIG.TTF new file mode 100644 index 0000000..d19cde5 Binary files /dev/null and b/fonts/SUPERDIG.TTF differ diff --git a/fonts/SUPERDIG_font.h b/fonts/SUPERDIG_font.h new file mode 100644 index 0000000..5777b45 --- /dev/null +++ b/fonts/SUPERDIG_font.h @@ -0,0 +1,98 @@ +const unsigned char font[96][6] = { + {0x00,0x00,0x00,0x00,0x00,0x00}, // + {0x58,0x5c,0x00,0x00,0x00,0x00}, // ! + {0x00,0x01,0x00,0x00,0x01,0x00}, // " + {0x00,0x00,0x00,0x00,0x00,0x00}, // # + {0x5c,0xfe,0x54,0xfe,0x74,0x00}, // $ + {0x00,0x00,0x00,0x00,0x00,0x00}, // % + {0x70,0x5c,0x54,0x74,0x7c,0x50}, // & + {0x00,0x01,0x00,0x00,0x00,0x00}, // ' + {0x70,0x7c,0x44,0x00,0x00,0x00}, // ( + {0x44,0x7c,0x70,0x00,0x00,0x00}, // ) + {0x00,0x00,0x00,0x00,0x00,0x00}, // * + {0x10,0x10,0x70,0x7c,0x10,0x00}, // + + {0x40,0xc0,0x00,0x00,0x00,0x00}, // , + {0x10,0x10,0x10,0x10,0x00,0x00}, // - + {0x40,0x40,0x00,0x00,0x00,0x00}, // . + {0x70,0x7c,0x03,0x00,0x00,0x00}, // / + {0x7c,0x44,0x44,0x44,0x7c,0x1c}, // 0 + {0x04,0x04,0x7c,0x1c,0x00,0x00}, // 1 + {0x74,0x74,0x54,0x54,0x5c,0x00}, // 2 + {0x44,0x54,0x54,0x54,0x7c,0x70}, // 3 + {0x1c,0x10,0x10,0x7c,0x7c,0x00}, // 4 + {0x5c,0x5c,0x54,0x54,0x74,0x00}, // 5 + {0x70,0x7c,0x54,0x54,0x74,0x00}, // 6 + {0x04,0x14,0x14,0x14,0x7c,0x70}, // 7 + {0x70,0x5c,0x54,0x74,0x7c,0x00}, // 8 + {0x5c,0x54,0x54,0x54,0x7c,0x1c}, // 9 + {0x50,0x50,0x00,0x00,0x00,0x00}, // : + {0x50,0xd0,0x00,0x00,0x00,0x00}, // ; + {0x18,0x18,0x24,0x42,0x00,0x00}, // < + {0x28,0x28,0x28,0x28,0x00,0x00}, // = + {0x42,0x24,0x18,0x18,0x00,0x00}, // > + {0x04,0x14,0x54,0x54,0x1c,0x1c}, // ? + {0xf8,0x04,0x74,0x74,0x54,0x54}, // @ + {0x70,0x7c,0x14,0x14,0x3c,0x00}, // A + {0x7c,0x74,0x54,0x54,0x7c,0x00}, // B + {0x70,0x7c,0x44,0x44,0x44,0x44}, // C + {0x70,0x7c,0x44,0x44,0x48,0x70}, // D + {0x70,0x7c,0x54,0x54,0x54,0x44}, // E + {0x70,0x7c,0x14,0x14,0x14,0x04}, // F + {0x70,0x7c,0x44,0x44,0x54,0x74}, // G + {0x70,0x7c,0x10,0x10,0x7c,0x00}, // H + {0x70,0x7c,0x00,0x00,0x00,0x00}, // I + {0x60,0x40,0x40,0x40,0x7c,0x70}, // J + {0x7c,0x70,0x10,0x1c,0x70,0x00}, // K + {0x70,0x7c,0x40,0x40,0x40,0x60}, // L + {0x70,0x7c,0x04,0x04,0x7c,0x04}, // M + {0x70,0x7c,0x04,0x04,0x04,0x7c}, // N + {0x70,0x7c,0x44,0x44,0x44,0x7c}, // O + {0x70,0x7c,0x24,0x24,0x3c,0x00}, // P + {0x7c,0x44,0x44,0x44,0x7c,0x00}, // Q + {0x7c,0x74,0x14,0x14,0x3c,0x00}, // R + {0x5c,0x5c,0x54,0x54,0x74,0x00}, // S + {0x04,0x04,0x7c,0x74,0x04,0x00}, // T + {0x70,0x7c,0x40,0x40,0x40,0x7c}, // U + {0x70,0x7c,0x40,0x40,0x20,0x1c}, // V + {0x70,0x7c,0x40,0x40,0x7c,0x40}, // W + {0x70,0x7c,0x10,0x10,0x3c,0x00}, // X + {0x1c,0x10,0x70,0x70,0x1c,0x00}, // Y + {0x74,0x74,0x54,0x54,0x5c,0x00}, // Z + {0xf0,0xfe,0x82,0x00,0x00,0x00}, // [ + {0x03,0x7c,0x70,0x00,0x00,0x00}, // "\" + {0x82,0xfe,0xf0,0x00,0x00,0x00}, // ] + {0x00,0x00,0x00,0x00,0x00,0x00}, // ^ + {0x40,0x40,0x40,0x40,0x00,0x00}, // _ + {0x00,0x00,0x00,0x00,0x00,0x00}, // ` + {0x70,0x7c,0x14,0x14,0x3c,0x00}, // a + {0x7c,0x74,0x54,0x54,0x7c,0x00}, // b + {0x70,0x7c,0x44,0x44,0x44,0x44}, // c + {0x70,0x7c,0x44,0x44,0x48,0x70}, // d + {0x70,0x7c,0x54,0x54,0x54,0x44}, // e + {0x70,0x7c,0x14,0x14,0x14,0x04}, // f + {0x70,0x7c,0x44,0x44,0x54,0x74}, // g + {0x70,0x7c,0x10,0x10,0x7c,0x00}, // h + {0x70,0x7c,0x00,0x00,0x00,0x00}, // i + {0x60,0x40,0x40,0x40,0x7c,0x70}, // j + {0x7c,0x70,0x10,0x1c,0x70,0x00}, // k + {0x70,0x7c,0x40,0x40,0x40,0x60}, // l + {0x70,0x7c,0x04,0x04,0x7c,0x04}, // m + {0x70,0x7c,0x04,0x04,0x04,0x7c}, // n + {0x70,0x7c,0x44,0x44,0x44,0x7c}, // o + {0x70,0x7c,0x24,0x24,0x3c,0x00}, // p + {0x7c,0x44,0x44,0x44,0x7c,0x00}, // q + {0x7c,0x74,0x14,0x14,0x3c,0x00}, // r + {0x5c,0x5c,0x54,0x54,0x74,0x00}, // s + {0x04,0x04,0x7c,0x74,0x04,0x00}, // t + {0x70,0x7c,0x40,0x40,0x40,0x7c}, // u + {0x70,0x7c,0x40,0x40,0x20,0x1c}, // v + {0x70,0x7c,0x40,0x40,0x7c,0x40}, // w + {0x70,0x7c,0x10,0x10,0x3c,0x00}, // x + {0x1c,0x10,0x70,0x70,0x1c,0x00}, // y + {0x74,0x74,0x54,0x54,0x5c,0x00}, // z + {0x00,0x00,0x00,0x00,0x00,0x00}, // { + {0x00,0x00,0x00,0x00,0x00,0x00}, // | + {0x00,0x00,0x00,0x00,0x00,0x00}, // } + {0x00,0x00,0x00,0x00,0x00,0x00}, // ~ + {0x00,0x00,0x00,0x00,0x00,0x00} +}; \ No newline at end of file diff --git a/fonts/SUPERDIG_font.png b/fonts/SUPERDIG_font.png new file mode 100644 index 0000000..632e418 Binary files /dev/null and b/fonts/SUPERDIG_font.png differ diff --git a/fonts/acme_5_outlines.ttf b/fonts/acme_5_outlines.ttf new file mode 100644 index 0000000..1271e7b Binary files /dev/null and b/fonts/acme_5_outlines.ttf differ diff --git a/fonts/acme_5_outlines_font.h b/fonts/acme_5_outlines_font.h new file mode 100644 index 0000000..21f3d83 --- /dev/null +++ b/fonts/acme_5_outlines_font.h @@ -0,0 +1,107 @@ +#include "fonts.h" + +const unsigned char font[96][6] = { + {0x00,0x00,0x00,0x00,0x00,0x00}, // + {0x7f,0x51,0x7f,0x00,0x00,0x00}, // ! + {0x0f,0x09,0x0f,0x09,0x0f,0x00}, // " + {0x3e,0x6b,0x41,0x6b,0x41,0x6b}, // # + {0x7f,0xd1,0x94,0xc5,0x7f,0x00}, // $ + {0x77,0x4d,0x77,0x59,0x77,0x00}, // % + {0x7f,0x49,0x55,0x49,0x6f,0x54}, // & + {0x0f,0x09,0x0f,0x00,0x00,0x00}, // ' + {0x7f,0xc1,0xbe,0xe3,0x00,0x00}, // ( + {0xe3,0xbe,0xc1,0x7f,0x00,0x00}, // ) + {0x3e,0x2a,0x77,0x41,0x77,0x2a}, // * + {0x1c,0x14,0x77,0x41,0x77,0x14}, // + + {0xe0,0xb0,0xd0,0x70,0x00,0x00}, // , + {0x1c,0x14,0x14,0x14,0x1c,0x00}, // - + {0x70,0x50,0x70,0x00,0x00,0x00}, // . + {0x78,0x4c,0x77,0x19,0x0f,0x00}, // / + {0x7f,0x41,0x5d,0x41,0x7f,0x00}, // 0 + {0x7f,0x41,0x7f,0x00,0x00,0x00}, // 1 + {0x7f,0x45,0x55,0x51,0x7f,0x00}, // 2 + {0x7f,0x55,0x55,0x41,0x7f,0x00}, // 3 + {0x1f,0x11,0x77,0x41,0x7f,0x00}, // 4 + {0x7f,0x51,0x55,0x45,0x7f,0x00}, // 5 + {0x7f,0x41,0x55,0x45,0x7f,0x00}, // 6 + {0x07,0x7d,0x45,0x79,0x0f,0x00}, // 7 + {0x7f,0x49,0x55,0x49,0x7f,0x00}, // 8 + {0x7f,0x51,0x55,0x41,0x7f,0x00}, // 9 + {0x3e,0x2a,0x3e,0x00,0x00,0x00}, // : + {0xe0,0xbe,0xda,0x7e,0x00,0x00}, // ; + {0x1c,0x36,0x6b,0x5d,0x77,0x00}, // < + {0x3e,0x2a,0x2a,0x2a,0x2a,0x3e}, // = + {0x77,0x5d,0x6b,0x36,0x1c,0x00}, // > + {0x07,0x7d,0x55,0x71,0x1f,0x00}, // ? + {0x7f,0x41,0x5d,0x55,0x51,0x7f}, // @ + {0x7f,0x41,0x75,0x41,0x7f,0x00}, // A + {0x7f,0x41,0x55,0x41,0x7f,0x00}, // B + {0x7f,0x41,0x5d,0x55,0x77,0x00}, // C + {0x7f,0x41,0x5d,0x63,0x3e,0x00}, // D + {0x7f,0x41,0x55,0x55,0x7f,0x00}, // E + {0x7f,0x41,0x75,0x15,0x1f,0x00}, // F + {0x7f,0x41,0x5d,0x45,0x7f,0x00}, // G + {0x7f,0x41,0x77,0x41,0x7f,0x00}, // H + {0x7f,0x41,0x7f,0x00,0x00,0x00}, // I + {0x78,0x48,0x5f,0x41,0x7f,0x00}, // J + {0x7f,0x41,0x77,0x49,0x7f,0x00}, // K + {0x7f,0x41,0x5f,0x50,0x70,0x00}, // L + {0x7f,0x41,0x3b,0x3b,0x41,0x7f}, // M + {0x7f,0x41,0x3b,0x76,0x41,0x7f}, // N + {0x7f,0x41,0x5d,0x41,0x7f,0x00}, // O + {0x7f,0x41,0x75,0x11,0x1f,0x00}, // P + {0x7f,0x41,0x1d,0x41,0x7f,0x00}, // Q + {0x7f,0x41,0x6d,0x51,0x6f,0x00}, // R + {0x7f,0x51,0x55,0x45,0x7f,0x00}, // S + {0x07,0x7d,0x41,0x7d,0x07,0x00}, // T + {0x7f,0x41,0x5f,0x41,0x7f,0x00}, // U + {0x3f,0x61,0x5f,0x61,0x3f,0x00}, // V + {0x7f,0x41,0x6e,0x6e,0x41,0x7f}, // W + {0x7f,0x49,0x77,0x49,0x7f,0x00}, // X + {0x1f,0x71,0x47,0x71,0x1f,0x00}, // Y + {0x7b,0x4d,0x55,0x59,0x6f,0x00}, // Z + {0xff,0x80,0xbe,0xe3,0x00,0x00}, // [ + {0x0f,0x19,0x77,0x4c,0x78,0x00}, // "\" + {0xe3,0xbe,0x80,0xff,0x00,0x00}, // ] + {0x0e,0x0b,0x0d,0x0b,0x0e,0x00}, // ^ + {0xe0,0xa0,0xa0,0xa0,0xa0,0xe0}, // _ + {0x07,0x0d,0x0b,0x0e,0x00,0x00}, // ` + {0x7f,0x41,0x75,0x41,0x7f,0x00}, // a + {0x7f,0x41,0x55,0x41,0x7f,0x00}, // b + {0x7f,0x41,0x5d,0x55,0x77,0x00}, // c + {0x7f,0x41,0x5d,0x63,0x3e,0x00}, // d + {0x7f,0x41,0x55,0x55,0x7f,0x00}, // e + {0x7f,0x41,0x75,0x15,0x1f,0x00}, // f + {0x7f,0x41,0x5d,0x45,0x7f,0x00}, // g + {0x7f,0x41,0x77,0x41,0x7f,0x00}, // h + {0x7f,0x41,0x7f,0x00,0x00,0x00}, // i + {0x78,0x48,0x5f,0x41,0x7f,0x00}, // j + {0x7f,0x41,0x77,0x49,0x7f,0x00}, // k + {0x7f,0x41,0x5f,0x50,0x70,0x00}, // l + {0x7f,0x41,0x3b,0x3b,0x41,0x7f}, // m + {0x7f,0x41,0x3b,0x76,0x41,0x7f}, // n + {0x7f,0x41,0x5d,0x41,0x7f,0x00}, // o + {0x7f,0x41,0x75,0x11,0x1f,0x00}, // p + {0x7f,0x41,0x1d,0x41,0x7f,0x00}, // q + {0x7f,0x41,0x6d,0x51,0x6f,0x00}, // r + {0x7f,0x51,0x55,0x45,0x7f,0x00}, // s + {0x07,0x7d,0x41,0x7d,0x07,0x00}, // t + {0x7f,0x41,0x5f,0x41,0x7f,0x00}, // u + {0x3f,0x61,0x5f,0x61,0x3f,0x00}, // v + {0x7f,0x41,0x6e,0x6e,0x41,0x7f}, // w + {0x7f,0x49,0x77,0x49,0x7f,0x00}, // x + {0x1f,0x71,0x47,0x71,0x1f,0x00}, // y + {0x7b,0x4d,0x55,0x59,0x6f,0x00}, // z + {0x1c,0xf7,0x88,0xbe,0xe3,0x00}, // { + {0xff,0x80,0xff,0x00,0x00,0x00}, // | + {0xe3,0xbe,0x88,0xf7,0x1c,0x00}, // } + {0x0f,0x09,0x0d,0x09,0x0b,0x09}, // ~ + {0x00,0x00,0x00,0x00,0x00,0x00} +}; + + +sFONT Acme_5 = { + font, + 5, /* Width */ + 8, /* Height */ +}; \ No newline at end of file diff --git a/fonts/acme_5_outlines_font.png b/fonts/acme_5_outlines_font.png new file mode 100644 index 0000000..84e790b Binary files /dev/null and b/fonts/acme_5_outlines_font.png differ diff --git a/fonts/aztech.ttf b/fonts/aztech.ttf new file mode 100644 index 0000000..54b4e97 Binary files /dev/null and b/fonts/aztech.ttf differ diff --git a/fonts/aztech_font.h b/fonts/aztech_font.h new file mode 100644 index 0000000..1de7169 --- /dev/null +++ b/fonts/aztech_font.h @@ -0,0 +1,98 @@ +const unsigned char font[96][6] = { + {0x00,0x00,0x00,0x00,0x00,0x00}, // + {0x00,0x2e,0x00,0x00,0x00,0x00}, // ! + {0x00,0x02,0x00,0x02,0x00,0x00}, // " + {0x00,0x0a,0x1e,0x0a,0x1e,0x00}, // # + {0x00,0x0e,0x2a,0x6b,0x2a,0x3a}, // $ + {0x00,0x06,0x06,0x26,0x18,0x06}, // % + {0x38,0x3e,0x2a,0x2a,0x28,0x38}, // & + {0x18,0x02,0x00,0x00,0x00,0x00}, // ' + {0x00,0x3e,0x22,0x00,0x00,0x00}, // ( + {0x00,0x22,0x3e,0x00,0x00,0x00}, // ) + {0x00,0x0e,0x0e,0x0e,0x04,0x00}, // * + {0x00,0x08,0x1c,0x08,0x00,0x00}, // + + {0x00,0x20,0x00,0x00,0x00,0x00}, // , + {0x00,0x08,0x08,0x08,0x00,0x00}, // - + {0x00,0x20,0x00,0x00,0x00,0x00}, // . + {0x00,0x20,0x18,0x06,0x00,0x00}, // / + {0x00,0x3e,0x22,0x2a,0x22,0x3e}, // 0 + {0x02,0x3e,0x00,0x00,0x00,0x00}, // 1 + {0x00,0x38,0x28,0x2a,0x2a,0x2e}, // 2 + {0x00,0x22,0x2a,0x2e,0x38,0x00}, // 3 + {0x00,0x0e,0x08,0x08,0x3e,0x08}, // 4 + {0x00,0x2e,0x2a,0x2a,0x28,0x38}, // 5 + {0x00,0x3e,0x2a,0x2a,0x28,0x38}, // 6 + {0x00,0x06,0x02,0x02,0x0a,0x3e}, // 7 + {0x00,0x38,0x2e,0x2a,0x2e,0x38}, // 8 + {0x00,0x0e,0x0a,0x2a,0x2a,0x3e}, // 9 + {0x00,0x28,0x00,0x00,0x00,0x00}, // : + {0x00,0x28,0x00,0x00,0x00,0x00}, // ; + {0x00,0x08,0x14,0x22,0x00,0x00}, // < + {0x00,0x14,0x14,0x14,0x14,0x00}, // = + {0x00,0x22,0x14,0x08,0x00,0x00}, // > + {0x00,0x06,0x02,0x2a,0x0a,0x06}, // ? + {0x00,0x3e,0x02,0x3a,0x2a,0x0a}, // @ + {0x22,0x3e,0x02,0x0a,0x0a,0x3e}, // A + {0x00,0x3e,0x22,0x2a,0x2e,0x38}, // B + {0x00,0x3e,0x22,0x22,0x20,0x30}, // C + {0x00,0x3e,0x22,0x22,0x22,0x3c}, // D + {0x00,0x3e,0x2a,0x22,0x20,0x30}, // E + {0x00,0x3e,0x0a,0x0a,0x06,0x02}, // F + {0x00,0x3e,0x22,0x2a,0x28,0x38}, // G + {0x00,0x3e,0x08,0x08,0x08,0x3e}, // H + {0x00,0x22,0x3e,0x22,0x00,0x00}, // I + {0x00,0x30,0x20,0x20,0x22,0x3e}, // J + {0x00,0x3e,0x08,0x08,0x0e,0x38}, // K + {0x00,0x3e,0x20,0x20,0x20,0x30}, // L + {0x00,0x3e,0x02,0x3e,0x20,0x3e}, // M + {0x3e,0x3e,0x02,0x3e,0x20,0x3e}, // N + {0x00,0x3e,0x22,0x22,0x22,0x3e}, // O + {0x00,0x3e,0x02,0x0a,0x0a,0x0e}, // P + {0x00,0x3e,0x22,0x22,0x22,0x3e}, // Q + {0x00,0x3e,0x02,0x0a,0x0e,0x38}, // R + {0x00,0x0e,0x0a,0x2a,0x2a,0x3a}, // S + {0x00,0x06,0x02,0x3e,0x02,0x06}, // T + {0x00,0x3e,0x20,0x20,0x20,0x3e}, // U + {0x00,0x3e,0x20,0x20,0x3e,0x00}, // V + {0x00,0x3e,0x20,0x3e,0x02,0x3e}, // W + {0x3e,0x3a,0x0e,0x08,0x0e,0x3a}, // X + {0x00,0x0e,0x08,0x08,0x28,0x3e}, // Y + {0x00,0x3a,0x2a,0x2a,0x0a,0x0e}, // Z + {0x00,0x3e,0x22,0x00,0x00,0x00}, // [ + {0x00,0x02,0x0c,0x30,0x00,0x00}, // "\" + {0x22,0x3e,0x00,0x00,0x00,0x00}, // ] + {0x00,0x01,0x00,0x01,0x00,0x00}, // ^ + {0x00,0x20,0x20,0x20,0x00,0x00}, // _ + {0x00,0x01,0x00,0x00,0x00,0x00}, // ` + {0x00,0x38,0x28,0x28,0x08,0x38}, // a + {0x00,0x3e,0x20,0x28,0x28,0x38}, // b + {0x00,0x38,0x28,0x28,0x20,0x30}, // c + {0x00,0x38,0x28,0x28,0x20,0x3e}, // d + {0x00,0xf8,0x88,0x28,0x28,0x38}, // e + {0x00,0xf8,0x28,0x28,0x18,0x08}, // f + {0x00,0x38,0x28,0xa8,0x88,0xf8}, // g + {0x00,0x3c,0x08,0x08,0x08,0x38}, // h + {0x00,0x3a,0x00,0x00,0x00,0x00}, // i + {0x80,0xfa,0x00,0x00,0x00,0x00}, // j + {0x00,0x3e,0x08,0x08,0x38,0x2c}, // k + {0x00,0x3e,0x20,0x00,0x00,0x00}, // l + {0x00,0x38,0x08,0x38,0x20,0x38}, // m + {0x38,0x38,0x08,0x38,0x20,0x38}, // n + {0x00,0x38,0x28,0x28,0x28,0x38}, // o + {0x00,0xf8,0x08,0x28,0x28,0x38}, // p + {0x00,0x38,0x28,0x28,0x08,0xf8}, // q + {0x00,0x38,0x08,0x08,0x18,0x08}, // r + {0x00,0x38,0x28,0xa8,0xa8,0xe8}, // s + {0x00,0x3e,0x28,0x28,0x20,0x30}, // t + {0x00,0x38,0x20,0x20,0x20,0x38}, // u + {0x00,0x38,0x20,0x38,0x00,0x00}, // v + {0x00,0x38,0x20,0x38,0x08,0x38}, // w + {0x38,0x28,0x38,0x10,0x38,0x28}, // x + {0x00,0x38,0x20,0xa0,0xa0,0xf8}, // y + {0x00,0xe8,0xa8,0xa8,0x28,0x38}, // z + {0x08,0x3e,0x22,0x00,0x00,0x00}, // { + {0x00,0x3f,0x00,0x00,0x00,0x00}, // | + {0x22,0x3e,0x08,0x00,0x00,0x00}, // } + {0x00,0x00,0x00,0x00,0x00,0x00}, // ~ + {0x00,0x00,0x00,0x00,0x00,0x00} +}; \ No newline at end of file diff --git a/fonts/aztech_font.png b/fonts/aztech_font.png new file mode 100644 index 0000000..fcfcad2 Binary files /dev/null and b/fonts/aztech_font.png differ diff --git a/fonts/bubblesstandard.ttf b/fonts/bubblesstandard.ttf new file mode 100644 index 0000000..ae285be Binary files /dev/null and b/fonts/bubblesstandard.ttf differ diff --git a/fonts/bubblesstandard_font.h b/fonts/bubblesstandard_font.h new file mode 100644 index 0000000..3ec9418 --- /dev/null +++ b/fonts/bubblesstandard_font.h @@ -0,0 +1,98 @@ +const unsigned char font[96][7] = { + {0x00,0x00,0x00,0x00,0x00,0x00,0x00}, // + {0xbf,0x00,0x00,0x00,0x00,0x00,0x00}, // ! + {0x03,0x00,0x03,0x00,0x00,0x00,0x00}, // " + {0x24,0x7e,0x24,0x24,0x7e,0x24,0x00}, // # + {0x44,0x4a,0xd3,0x22,0x00,0x00,0x00}, // $ + {0x82,0x60,0x18,0x06,0x21,0x00,0x00}, // % + {0x60,0x90,0x8e,0xb9,0x46,0xb0,0x00}, // & + {0x03,0x00,0x00,0x00,0x00,0x00,0x00}, // ' + {0x7e,0x81,0x81,0x00,0x00,0x00,0x00}, // ( + {0x81,0x81,0x7e,0x00,0x00,0x00,0x00}, // ) + {0x02,0x0e,0x05,0x0e,0x02,0x00,0x00}, // * + {0x10,0x38,0x10,0x00,0x00,0x00,0x00}, // + + {0x80,0x00,0x00,0x00,0x00,0x00,0x00}, // , + {0x10,0x10,0x10,0x00,0x00,0x00,0x00}, // - + {0x80,0x00,0x00,0x00,0x00,0x00,0x00}, // . + {0x80,0x60,0x18,0x06,0x01,0x00,0x00}, // / + {0x7e,0x81,0x81,0x7e,0x00,0x00,0x00}, // 0 + {0x88,0x86,0x7f,0x40,0x00,0x00,0x00}, // 1 + {0x82,0xc5,0xb1,0x8e,0x40,0x00,0x00}, // 2 + {0x66,0x81,0x89,0x76,0x00,0x00,0x00}, // 3 + {0x10,0x18,0x16,0xff,0x08,0x00,0x00}, // 4 + {0x4e,0x8a,0x8a,0x91,0x61,0x00,0x00}, // 5 + {0x20,0x78,0x96,0x91,0x60,0x00,0x00}, // 6 + {0x02,0x02,0xc1,0x39,0x07,0x00,0x00}, // 7 + {0x76,0x89,0x89,0x76,0x00,0x00,0x00}, // 8 + {0x06,0x09,0x09,0xfe,0x00,0x00,0x00}, // 9 + {0x81,0x00,0x00,0x00,0x00,0x00,0x00}, // : + {0x81,0x00,0x00,0x00,0x00,0x00,0x00}, // ; + {0x10,0x28,0x00,0x00,0x00,0x00,0x00}, // < + {0x28,0x28,0x28,0x00,0x00,0x00,0x00}, // = + {0x28,0x10,0x00,0x00,0x00,0x00,0x00}, // > + {0x06,0x01,0xb1,0x0e,0x00,0x00,0x00}, // ? + {0x3c,0x42,0x99,0xa5,0xbd,0xa2,0x1c}, // @ + {0x50,0x30,0x1c,0x23,0x5c,0xe0,0x00}, // A + {0x82,0x7f,0x49,0x36,0x00,0x00,0x00}, // B + {0x3c,0x42,0x81,0x89,0x86,0x60,0x00}, // C + {0x42,0xff,0xa1,0xa1,0x82,0x7c,0x00}, // D + {0x76,0x89,0x81,0x8a,0x70,0x00,0x00}, // E + {0x90,0x70,0x1e,0x0a,0x0a,0x01,0x01}, // F + {0x3c,0x42,0x81,0xb1,0xaa,0x48,0x30}, // G + {0x45,0x3e,0x08,0x1c,0x6a,0x80,0x00}, // H + {0x84,0x82,0xff,0x41,0x40,0x00,0x00}, // I + {0x60,0x90,0x81,0x7f,0x02,0x00,0x00}, // J + {0x7e,0x08,0x16,0x61,0x80,0x00,0x00}, // K + {0x02,0xff,0x80,0x40,0x40,0x20,0x00}, // L + {0x01,0x7e,0x01,0x06,0x18,0x06,0x01}, // M + {0x80,0x7f,0x02,0x0c,0x30,0x40,0x3e}, // N + {0x3c,0x42,0x8d,0x83,0x42,0x3c,0x00}, // O + {0x8a,0x7f,0x11,0x11,0x0e,0x00,0x00}, // P + {0x3c,0x42,0x81,0xa3,0xa3,0x45,0xb8}, // Q + {0x92,0x7f,0x09,0x09,0x36,0x40,0x00}, // R + {0x60,0x8e,0x91,0xa1,0x46,0x00,0x00}, // S + {0x02,0x02,0x7f,0x81,0x01,0x00,0x00}, // T + {0x3e,0x41,0x80,0x80,0x80,0x42,0x3c}, // U + {0x01,0x06,0x38,0xc0,0x30,0x0e,0x01}, // V + {0x01,0x0e,0x30,0x40,0x20,0x18,0x60}, // W + {0x82,0x80,0x41,0x32,0x0c,0x38,0x44}, // X + {0x01,0x0e,0xf0,0x0c,0x03,0x00,0x00}, // Y + {0x04,0xc2,0xb2,0x8d,0x43,0x40,0x20}, // Z + {0xff,0x81,0x00,0x00,0x00,0x00,0x00}, // [ + {0x80,0x60,0x18,0x06,0x01,0x00,0x00}, // "\" + {0x81,0xff,0x00,0x00,0x00,0x00,0x00}, // ] + {0x08,0x06,0x01,0x0e,0x10,0x00,0x00}, // ^ + {0x80,0x80,0x80,0x00,0x00,0x00,0x00}, // _ + {0x03,0x04,0x00,0x00,0x00,0x00,0x00}, // ` + {0x64,0x92,0x92,0x92,0xfc,0x90,0x00}, // a + {0x50,0xfe,0x89,0x88,0x70,0x00,0x00}, // b + {0x78,0x84,0x82,0x82,0x84,0x60,0x00}, // c + {0x70,0x88,0x88,0xfe,0x51,0x00,0x00}, // d + {0x7c,0x92,0x92,0x8a,0x64,0x10,0x00}, // e + {0x90,0x7e,0x09,0x01,0x00,0x00,0x00}, // f + {0x00,0x78,0x84,0x84,0xfe,0x44,0x00}, // g + {0x01,0x7e,0x08,0x08,0x70,0x80,0x00}, // h + {0x04,0x7d,0x80,0x00,0x00,0x00,0x00}, // i + {0x00,0xfd,0x04,0x00,0x00,0x00,0x00}, // j + {0x81,0x7e,0x08,0x34,0x40,0x00,0x00}, // k + {0x01,0x7e,0x80,0x00,0x00,0x00,0x00}, // l + {0x3e,0x04,0x04,0x18,0x04,0x04,0x78}, // m + {0x7e,0x04,0x04,0x78,0x80,0x00,0x00}, // n + {0x7c,0x82,0x86,0x84,0x78,0x00,0x00}, // o + {0x48,0xfe,0x84,0x84,0x78,0x00,0x00}, // p + {0x78,0x84,0x84,0xfe,0x48,0x00,0x00}, // q + {0x82,0x7c,0x02,0x02,0x04,0x00,0x00}, // r + {0x60,0x8c,0x92,0x62,0x04,0x00,0x00}, // s + {0x08,0x7f,0x84,0x90,0x60,0x00,0x00}, // t + {0x02,0x7c,0x80,0x80,0x80,0x78,0x80}, // u + {0x02,0x0c,0x70,0x80,0x78,0x04,0x00}, // v + {0x02,0x0c,0x70,0x80,0x60,0x18,0x60}, // w + {0x86,0x64,0x18,0x66,0x80,0x00,0x00}, // x + {0x02,0x7c,0x80,0x80,0xf8,0x00,0x00}, // y + {0x08,0x84,0xc4,0xb2,0x8e,0x40,0x00}, // z + {0xee,0x01,0x00,0x00,0x00,0x00,0x00}, // { + {0xff,0x00,0x00,0x00,0x00,0x00,0x00}, // | + {0x01,0xee,0x10,0x00,0x00,0x00,0x00}, // } + {0x10,0x08,0x08,0x10,0x10,0x08,0x00}, // ~ + {0x00,0x00,0x00,0x00,0x00,0x00,0x00} +}; \ No newline at end of file diff --git a/fonts/bubblesstandard_font.png b/fonts/bubblesstandard_font.png new file mode 100644 index 0000000..840d611 Binary files /dev/null and b/fonts/bubblesstandard_font.png differ diff --git a/fonts/crackers.ttf b/fonts/crackers.ttf new file mode 100644 index 0000000..5d409ee Binary files /dev/null and b/fonts/crackers.ttf differ diff --git a/fonts/crackers_font.h b/fonts/crackers_font.h new file mode 100644 index 0000000..8a5ce5c --- /dev/null +++ b/fonts/crackers_font.h @@ -0,0 +1,98 @@ +const unsigned char font[96][6] = { + {0x00,0x00,0x00,0x00,0x00,0x00}, // + {0x5e,0x06,0x06,0x00,0x00,0x00}, // ! + {0x1e,0x00,0x00,0x1e,0x00,0x00}, // " + {0x20,0x7c,0x38,0x38,0x7c,0x08}, // # + {0x48,0xfe,0x64,0x64,0x00,0x00}, // $ + {0x64,0x60,0x60,0x18,0x0c,0x0c}, // % + {0x74,0x4a,0x4a,0x7e,0x48,0x00}, // & + {0x1e,0x00,0x00,0x00,0x00,0x00}, // ' + {0x3c,0x7e,0x7e,0x42,0x00,0x00}, // ( + {0x42,0x7e,0x7e,0x3c,0x00,0x00}, // ) + {0x04,0x0c,0x04,0x06,0x0c,0x04}, // * + {0x10,0x3c,0x3c,0x3c,0x10,0x00}, // + + {0x00,0x60,0xe0,0x00,0x00,0x00}, // , + {0x08,0x08,0x08,0x00,0x00,0x00}, // - + {0x60,0x60,0x60,0x00,0x00,0x00}, // . + {0x60,0x78,0x78,0x1e,0x06,0x00}, // / + {0x3c,0x3c,0x7e,0x42,0x7e,0x7e}, // 0 + {0x04,0x7e,0x7e,0x7e,0x00,0x00}, // 1 + {0x76,0x7a,0x7e,0x7e,0x4c,0x00}, // 2 + {0x4a,0x7e,0x7e,0x7c,0x00,0x00}, // 3 + {0x0e,0x08,0x7e,0x7e,0x7e,0x00}, // 4 + {0x4e,0x4e,0x4e,0x7a,0x1a,0x00}, // 5 + {0x3c,0x7e,0x7e,0x4a,0x7a,0x00}, // 6 + {0x02,0x02,0x0a,0x7e,0x7e,0x7e}, // 7 + {0x7e,0x7e,0x7e,0x4a,0x7e,0x00}, // 8 + {0x0c,0x4a,0x7e,0x7e,0x3c,0x00}, // 9 + {0x66,0x66,0x66,0x00,0x00,0x00}, // : + {0x66,0xe6,0x00,0x00,0x00,0x00}, // ; + {0x08,0x3c,0x7e,0x7e,0x62,0x00}, // < + {0x14,0x14,0x14,0x00,0x00,0x00}, // = + {0x62,0x7e,0x7e,0x3c,0x08,0x00}, // > + {0x02,0x4a,0x0e,0x0e,0x0c,0x00}, // ? + {0x3c,0x7e,0x7e,0x4a,0x72,0x30}, // @ + {0x7a,0x4a,0x7e,0x7e,0x7c,0x00}, // A + {0x7e,0x7e,0x7e,0x4a,0x24,0x00}, // B + {0x3c,0x7e,0x7e,0x7e,0x46,0x00}, // C + {0x7e,0x7e,0x7e,0x62,0x3c,0x00}, // D + {0x7e,0x7e,0x7e,0x4a,0x00,0x00}, // E + {0x7e,0x7e,0x7e,0x0a,0x00,0x00}, // F + {0x3c,0x7e,0x7e,0x42,0x62,0x00}, // G + {0x7e,0x7e,0x7e,0x18,0x7e,0x00}, // H + {0x7e,0x7e,0x7e,0x00,0x00,0x00}, // I + {0x40,0x7e,0x7e,0x7e,0x00,0x00}, // J + {0x7e,0x7e,0x7e,0x3c,0x66,0x00}, // K + {0x7e,0x7e,0x7e,0x40,0x00,0x00}, // L + {0x7e,0x3e,0x3e,0x7c,0x3e,0x3e}, // M + {0x7e,0x3e,0x7e,0x7c,0x7e,0x00}, // N + {0x3c,0x3c,0x7e,0x62,0x7e,0x7e}, // O + {0x7e,0x7e,0x7e,0x22,0x0c,0x00}, // P + {0x3c,0x7e,0x7e,0x62,0x7e,0x7c}, // Q + {0x7e,0x7e,0x7e,0x0a,0x64,0x00}, // R + {0x4c,0x4e,0x4e,0x7a,0x1a,0x00}, // S + {0x02,0x7e,0x7e,0x7e,0x02,0x00}, // T + {0x7e,0x60,0x7e,0x7e,0x7e,0x00}, // U + {0x3e,0x60,0x7e,0x7e,0x3e,0x00}, // V + {0x7e,0x7c,0x7c,0x3e,0x7c,0x7c}, // W + {0x46,0x7e,0x08,0x7e,0x62,0x62}, // X + {0x5e,0x5e,0x5e,0x70,0x3e,0x00}, // Y + {0x66,0x7a,0x7a,0x5e,0x66,0x00}, // Z + {0x7e,0x7e,0x7e,0x42,0x00,0x00}, // [ + {0x06,0x1e,0x1e,0x78,0x60,0x00}, // "\" + {0x42,0x7e,0x7e,0x7e,0x00,0x00}, // ] + {0x0c,0x06,0x0c,0x00,0x00,0x00}, // ^ + {0x40,0x40,0x40,0x40,0x40,0x00}, // _ + {0x02,0x06,0x06,0x04,0x00,0x00}, // ` + {0x78,0x24,0x7c,0x7c,0x78,0x00}, // a + {0x7c,0x7c,0x7c,0x48,0x20,0x00}, // b + {0x18,0x7c,0x7c,0x7c,0x4c,0x00}, // c + {0x20,0x48,0x7c,0x7c,0x7c,0x00}, // d + {0x18,0x7c,0x7c,0x74,0x4c,0x00}, // e + {0x78,0x7c,0x7c,0x24,0x00,0x00}, // f + {0x18,0x7c,0x7c,0x44,0x74,0x00}, // g + {0x7c,0x7c,0x7c,0x08,0x60,0x00}, // h + {0x7c,0x7c,0x7c,0x00,0x00,0x00}, // i + {0x40,0x7c,0x7c,0x7c,0x00,0x00}, // j + {0x7c,0x7c,0x7c,0x20,0x48,0x00}, // k + {0x7c,0x7c,0x7c,0x40,0x00,0x00}, // l + {0x7c,0x3c,0x3c,0x78,0x3c,0x3c}, // m + {0x7c,0x7c,0x7c,0x04,0x78,0x00}, // n + {0x18,0x18,0x7c,0x44,0x7c,0x7c}, // o + {0x7c,0x7c,0x7c,0x24,0x08,0x00}, // p + {0x18,0x18,0x7c,0x44,0x7c,0x7c}, // q + {0x7c,0x7c,0x7c,0x04,0x00,0x00}, // r + {0x5c,0x7c,0x7c,0x74,0x00,0x00}, // s + {0x08,0x7c,0x7c,0x7c,0x48,0x00}, // t + {0x7c,0x60,0x7c,0x7c,0x7c,0x00}, // u + {0x3c,0x60,0x7c,0x7c,0x3c,0x00}, // v + {0x7c,0x78,0x78,0x3c,0x78,0x78}, // w + {0x4c,0x3c,0x3c,0x78,0x64,0x00}, // x + {0x4c,0x4c,0x4c,0x78,0x3c,0x00}, // y + {0x5c,0x74,0x44,0x5c,0x74,0x00}, // z + {0x24,0x7e,0x42,0x42,0x00,0x00}, // { + {0x7e,0x00,0x00,0x00,0x00,0x00}, // | + {0x42,0x7e,0x24,0x00,0x00,0x00}, // } + {0x04,0x06,0x06,0x02,0x04,0x06}, // ~ + {0x00,0x00,0x00,0x00,0x00,0x00} +}; \ No newline at end of file diff --git a/fonts/crackers_font.png b/fonts/crackers_font.png new file mode 100644 index 0000000..c051b0f Binary files /dev/null and b/fonts/crackers_font.png differ diff --git a/fonts/font.h b/fonts/font.h new file mode 100644 index 0000000..e9a2e6c --- /dev/null +++ b/fonts/font.h @@ -0,0 +1,98 @@ +const unsigned char font[96][5] = { + {0x00,0x00,0x00,0x00,0x00}, // + {0x00,0x00,0xbe,0x00,0x00}, // ! + {0x00,0x07,0x00,0x07,0x00}, // " + {0x48,0xfc,0x48,0xfc,0x48}, // # + {0x48,0x54,0xfe,0x54,0x24}, // $ + {0x88,0x54,0x28,0x50,0xa8}, // % + {0x6c,0x92,0x92,0xac,0x40}, // & + {0xa0,0x00,0x07,0x00,0x00}, // ' + {0x00,0x7c,0x82,0x01,0x00}, // ( + {0x00,0x01,0x82,0x7c,0x00}, // ) + {0x28,0x10,0x7c,0x10,0x28}, // * + {0x10,0x10,0x7c,0x10,0x10}, // + + {0x00,0x00,0x80,0x00,0x00}, // , + {0x10,0x10,0x10,0x10,0x10}, // - + {0x00,0x00,0x80,0x00,0x00}, // . + {0x00,0xc0,0x30,0x0c,0x03}, // / + {0x7c,0x82,0x92,0x82,0x7c}, // 0 + {0x00,0x84,0xfe,0x80,0x00}, // 1 + {0xc4,0xa2,0x92,0x92,0x8c}, // 2 + {0x44,0x82,0x92,0x92,0x6c}, // 3 + {0x30,0x28,0x24,0xfe,0x20}, // 4 + {0x5e,0x92,0x92,0x92,0x62}, // 5 + {0x78,0x94,0x92,0x92,0x60}, // 6 + {0x02,0x82,0x62,0x1a,0x06}, // 7 + {0x6c,0x92,0x92,0x92,0x6c}, // 8 + {0x0c,0x92,0x92,0x52,0x3c}, // 9 + {0x00,0x00,0x48,0x00,0x00}, // : + {0x00,0x80,0x48,0x00,0x00}, // ; + {0x10,0x10,0x28,0x28,0x44}, // < + {0x28,0x28,0x28,0x28,0x28}, // = + {0x44,0x28,0x28,0x10,0x10}, // > + {0x04,0x02,0xa2,0x12,0x0c}, // ? + {0x7c,0x82,0xba,0xba,0xa2}, // @ + {0xfc,0x38,0x26,0x38,0xc0}, // A + {0xfe,0x92,0x92,0x92,0x6c}, // B + {0x7c,0x82,0x82,0x82,0x44}, // C + {0xfe,0x82,0x82,0x44,0x38}, // D + {0xfe,0x92,0x92,0x92,0x82}, // E + {0xfe,0x12,0x12,0x12,0x02}, // F + {0x7c,0x82,0x82,0x92,0xf4}, // G + {0xfe,0x10,0x10,0x10,0xfe}, // H + {0x00,0x82,0xfe,0x82,0x00}, // I + {0x80,0x80,0x82,0x82,0x7e}, // J + {0xfe,0x10,0x28,0x44,0x82}, // K + {0xfe,0x80,0x80,0x80,0x80}, // L + {0xfe,0x18,0x60,0x18,0xfe}, // M + {0xfe,0x06,0x38,0xc0,0xfe}, // N + {0x7c,0x82,0x82,0x82,0x7c}, // O + {0xfe,0x12,0x12,0x12,0x0c}, // P + {0x7c,0x82,0x82,0xc2,0xfc}, // Q + {0xfe,0x12,0x12,0x12,0xec}, // R + {0x4c,0x92,0x92,0x92,0x64}, // S + {0x02,0x02,0xfe,0x02,0x02}, // T + {0x7e,0x80,0x80,0x80,0x7e}, // U + {0x0e,0x30,0xc0,0x30,0x0e}, // V + {0x1e,0xe0,0x1c,0xe0,0x1e}, // W + {0xc6,0x28,0x10,0x28,0xc6}, // X + {0x0e,0x10,0xf0,0x10,0x0e}, // Y + {0xc2,0xa2,0x92,0x8a,0x86}, // Z + {0x00,0xff,0x01,0x01,0x00}, // [ + {0x03,0x0c,0x30,0xc0,0x00}, // "\" + {0x00,0x01,0x01,0xff,0x00}, // ] + {0x08,0x04,0x02,0x04,0x08}, // ^ + {0x00,0x00,0x00,0x00,0x00}, // _ + {0x00,0x00,0x02,0x04,0x00}, // ` + {0x40,0xa8,0xa8,0xa8,0xf0}, // a + {0xff,0x88,0x88,0x88,0x70}, // b + {0x70,0x88,0x88,0x88,0x88}, // c + {0x70,0x88,0x88,0x88,0xff}, // d + {0x70,0xa8,0xa8,0xa8,0xb0}, // e + {0x08,0xfe,0x09,0x09,0x01}, // f + {0x70,0x88,0x88,0x88,0xf0}, // g + {0xff,0x08,0x08,0x08,0xf0}, // h + {0x00,0x08,0xfa,0x00,0x00}, // i + {0x00,0x00,0x08,0xfa,0x00}, // j + {0x00,0xff,0x20,0x50,0x88}, // k + {0x00,0x01,0xff,0x00,0x00}, // l + {0xf8,0x08,0xf0,0x08,0xf0}, // m + {0xf8,0x08,0x08,0x08,0xf0}, // n + {0x70,0x88,0x88,0x88,0x70}, // o + {0xf8,0x88,0x88,0x88,0x70}, // p + {0x70,0x88,0x88,0x88,0xf8}, // q + {0xf8,0x10,0x08,0x08,0x10}, // r + {0x90,0xa8,0xa8,0xa8,0x48}, // s + {0x00,0x7e,0x88,0x88,0x80}, // t + {0x78,0x80,0x80,0x80,0xf8}, // u + {0x18,0x60,0x80,0x60,0x18}, // v + {0x38,0xc0,0x30,0xc0,0x38}, // w + {0x88,0x50,0x20,0x50,0x88}, // x + {0x78,0x80,0x80,0x80,0xf8}, // y + {0x88,0xc8,0xa8,0x98,0x88}, // z + {0x00,0x10,0xee,0x01,0x00}, // { + {0x00,0x00,0xff,0x00,0x00}, // | + {0x00,0x01,0xee,0x10,0x00}, // } + {0x20,0x10,0x10,0x20,0x20}, // ~ + {0x00,0x00,0x00,0x00,0x00} +}; \ No newline at end of file diff --git a/fonts/font.png b/fonts/font.png new file mode 100644 index 0000000..7391ce2 Binary files /dev/null and b/fonts/font.png differ diff --git a/fonts/fontgen.py b/fonts/fontgen.py new file mode 100644 index 0000000..c1ae97c --- /dev/null +++ b/fonts/fontgen.py @@ -0,0 +1,107 @@ +# +# FontGen +# Author: Jared Sanson (jared@jared.geek.nz) +# +# Requires Python Imaging Library (PIL) +# +# To add a new font, create a new FONT dictionary and tweak the parameters +# until the output .png looks correct. +# Monospaced fonts work best, but some variable-width ones work well too. +# +# Once the png file looks good, you can simply include the .h file in your +# project and use it. (how you use it is up to you) +# + +from PIL import Image, ImageFont, ImageDraw +import os.path + +# MONOSPACE: +#FONT = {'fname': r'pzim3x5.ttf', 'size': 9, 'yoff':1, 'w': 3, 'h': 8} +#FONT = {'fname': r'5x5.ttf', 'size': 10, 'yoff':-2, 'w': 6, 'h': 8} +#FONT = {'fname': r'BMSPA.ttf', 'size': 9, 'yoff':0, 'w': 8, 'h': 8} #NOTE: add .upper() because lower characters are broken +#FONT = {'fname': r'BMplain.ttf', 'size': 7, 'yoff':0, 'w': 6, 'h': 8} +#FONT = {'fname': r'bubblesstandard.ttf', 'size': 15, 'yoff':-1, 'w': 7, 'h': 8} +#FONT = {'fname': r'7linedigital.ttf', 'size': 8, 'yoff':0, 'w': 4, 'h': 8} # 7-seg. NOTE: can't display certain letters like 'M' +#FONT = {'fname': r'HUNTER.ttf', 'size': 9, 'yoff':-1, 'w': 8, 'h': 8} +#FONT = {'fname': r'm38.ttf', 'size': 8, 'yoff':-0, 'w': 8, 'h': 8} +#FONT = {'fname': r'formplex12.ttf', 'size': 11, 'yoff':0, 'w': 8, 'h': 8} +#FONT = {'fname': r'sloth.ttf', 'size': 15, 'yoff':-2, 'w': 6, 'h': 8} + +# VARIABLE-WIDTH: +#FONT = {'fname': r'SUPERDIG.ttf', 'size': 9, 'yoff':-1, 'w': 6, 'h': 8} # Missing some symbols +#FONT = {'fname': r'tama_mini02.TTF', 'size': 11, 'yoff': -2, 'w': 5, 'h': 8} +#FONT = {'fname': r'homespun.ttf', 'size': 9, 'yoff':-1, 'w': 7, 'h': 8} # Non-monospaced +#FONT = {'fname': r'zxpix.ttf', 'size': 10, 'yoff':-2, 'w': 6, 'h': 8} +#FONT = {'fname': r'Minimum.ttf', 'size': 16, 'yoff':-8, 'w': 6, 'h': 8} +FONT = {'fname': r'Minimum+1.ttf', 'size': 16, 'yoff':-8, 'w': 7, 'h': 8} +#FONT = {'fname': r'HISKYF21.ttf', 'size': 9, 'yoff':0, 'w': 6, 'h': 8} +#FONT = {'fname': r'renew.ttf', 'size': 8, 'yoff':-2, 'w': 7, 'h': 8} +#FONT = {'fname': r'acme_5_outlines.ttf', 'size': 8, 'yoff':-5, 'w': 6, 'h': 8} +#FONT = {'fname': r'haiku.ttf', 'size': 11, 'yoff':-2, 'w': 6, 'h': 8} +#FONT = {'fname': r'aztech.ttf', 'size': 16, 'yoff':-1, 'w': 6, 'h': 8} +#FONT = {'fname': r'Commo-Monospaced.otf', 'size': 8, 'yoff':-6, 'w': 8, 'h': 8} +#FONT = {'fname': r'crackers.ttf', 'size': 21, 'yoff':-4, 'w': 6, 'h': 8} +#FONT = {'fname': r'Blokus.otf', 'size': 9, 'yoff':-2, 'w': 6, 'h': 8} + +#TODO: Support variable-width character fonts + +FONT_FILE = FONT['fname'] +FONT_SIZE = FONT['size'] +FONT_Y_OFFSET = FONT.get('yoff', 0) + +CHAR_WIDTH = FONT.get('w', 5) +CHAR_HEIGHT = FONT.get('h', 8) + +FONT_BEGIN = ' ' +FONT_END = '~' +#FONTSTR = ''.join(chr(x).upper() for x in range(ord(FONT_BEGIN), ord(FONT_END)+1)) +FONTSTR = ''.join(chr(x) for x in range(ord(FONT_BEGIN), ord(FONT_END)+1)) + +OUTPUT_NAME = os.path.splitext(FONT_FILE)[0] + '_font' +OUTPUT_PNG = OUTPUT_NAME + '.png' +OUTPUT_H = OUTPUT_NAME + '.h' + +GLYPH_WIDTH = CHAR_WIDTH + 1 + +WIDTH = GLYPH_WIDTH * len(FONTSTR) +HEIGHT = CHAR_HEIGHT + +img = Image.new("RGBA", (WIDTH, HEIGHT), (255,255,255)) +#fnt = ImageFont.load_default() +fnt = ImageFont.truetype(FONT_FILE, FONT_SIZE) + +drw = ImageDraw.Draw(img) +#drw.fontmode = 1 + +for i in range(len(FONTSTR)): + drw.text((i*GLYPH_WIDTH,FONT_Y_OFFSET), FONTSTR[i], (0,0,0), font=fnt) + +img.save(OUTPUT_PNG) + +#### Convert to C-header format +f = open(OUTPUT_H, 'w') +num_chars = len(FONTSTR) +f.write('const unsigned char font[%d][%d] = {\n' % (num_chars+1, CHAR_WIDTH)) + +chars = [] +for i in range(num_chars): + ints = [] + for j in range(CHAR_WIDTH): + x = i*GLYPH_WIDTH + j + val = 0 + for y in range(CHAR_HEIGHT): + rgb = img.getpixel((x,y)) + val = (val >> 1) | (0x80 if rgb[0] == 0 else 0) + + ints.append('0x%.2x' % (val)) + c = FONTSTR[i] + if c == '\\': c = '"\\"' # bugfix + f.write('\t{%s}, // %s\n' % (','.join(ints), c)) + + +f.write('\t{%s}\n' % (','.join(['0x00']*CHAR_WIDTH))) +f.write('};\n\n') + +f.write('#define FONT_NAME "%s"\n' % OUTPUT_NAME) + +f.close() diff --git a/fonts/formplex12.ttf b/fonts/formplex12.ttf new file mode 100644 index 0000000..1b7f4f6 Binary files /dev/null and b/fonts/formplex12.ttf differ diff --git a/fonts/formplex12_font.h b/fonts/formplex12_font.h new file mode 100644 index 0000000..0315979 --- /dev/null +++ b/fonts/formplex12_font.h @@ -0,0 +1,98 @@ +const unsigned char font[96][8] = { + {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}, // + {0x00,0x2f,0x2f,0x00,0x00,0x00,0x00,0x00}, // ! + {0x03,0x03,0x00,0x03,0x03,0x00,0x00,0x00}, // " + {0x14,0x3e,0x3e,0x14,0x3e,0x3e,0x14,0x00}, // # + {0x24,0x2e,0x2a,0x7f,0x7f,0x3a,0x3a,0x00}, // $ + {0x26,0x36,0x18,0x0c,0x36,0x32,0x00,0x00}, // % + {0x1a,0x3f,0x25,0x25,0x3f,0x1a,0x28,0x28}, // & + {0x00,0x03,0x03,0x00,0x00,0x00,0x00,0x00}, // ' + {0x00,0x3e,0x7f,0x41,0x41,0x41,0x00,0x00}, // ( + {0x00,0x41,0x41,0x41,0x7f,0x3e,0x00,0x00}, // ) + {0x08,0x2a,0x3e,0x1c,0x3e,0x2a,0x08,0x00}, // * + {0x08,0x08,0x3e,0x3e,0x08,0x08,0x00,0x00}, // + + {0x00,0x70,0x70,0x00,0x00,0x00,0x00,0x00}, // , + {0x08,0x08,0x08,0x08,0x08,0x00,0x00,0x00}, // - + {0x00,0x30,0x30,0x00,0x00,0x00,0x00,0x00}, // . + {0x20,0x30,0x18,0x0c,0x06,0x02,0x00,0x00}, // / + {0x1c,0x3e,0x32,0x2a,0x2a,0x3e,0x3e,0x00}, // 0 + {0x00,0x24,0x3e,0x3e,0x20,0x00,0x00,0x00}, // 1 + {0x3a,0x3a,0x2a,0x2a,0x2a,0x2e,0x24,0x00}, // 2 + {0x2a,0x2a,0x2a,0x2a,0x2a,0x3e,0x14,0x00}, // 3 + {0x06,0x0e,0x08,0x08,0x08,0x3e,0x3e,0x00}, // 4 + {0x2e,0x2e,0x2a,0x2a,0x2a,0x3a,0x12,0x00}, // 5 + {0x1c,0x3e,0x2a,0x2a,0x2a,0x3a,0x10,0x00}, // 6 + {0x02,0x02,0x02,0x02,0x02,0x3e,0x3c,0x00}, // 7 + {0x14,0x3e,0x2a,0x2a,0x2a,0x3e,0x14,0x00}, // 8 + {0x04,0x0e,0x0a,0x0a,0x0a,0x7e,0x7c,0x00}, // 9 + {0x00,0x00,0x36,0x36,0x00,0x00,0x00,0x00}, // : + {0x00,0x16,0x36,0x20,0x00,0x00,0x00,0x00}, // ; + {0x00,0x08,0x1c,0x36,0x22,0x22,0x00,0x00}, // < + {0x14,0x14,0x14,0x14,0x14,0x00,0x00,0x00}, // = + {0x00,0x22,0x22,0x36,0x1c,0x08,0x00,0x00}, // > + {0x00,0x01,0x2d,0x2f,0x06,0x00,0x00,0x00}, // ? + {0x1e,0x3f,0x21,0x2d,0x2d,0x29,0x06,0x06}, // @ + {0x3c,0x3e,0x02,0x0a,0x0a,0x3e,0x3c,0x00}, // A + {0x3e,0x3e,0x22,0x2a,0x2a,0x3e,0x14,0x00}, // B + {0x1c,0x3e,0x22,0x22,0x22,0x22,0x22,0x00}, // C + {0x3e,0x3e,0x02,0x22,0x22,0x3e,0x1c,0x00}, // D + {0x1c,0x3e,0x22,0x2a,0x2a,0x2a,0x22,0x00}, // E + {0x3c,0x3e,0x02,0x0a,0x0a,0x0a,0x02,0x00}, // F + {0x1c,0x3e,0x22,0x22,0x22,0x3a,0x18,0x00}, // G + {0x3e,0x3e,0x00,0x08,0x08,0x3e,0x3e,0x00}, // H + {0x3e,0x3e,0x00,0x00,0x00,0x00,0x00,0x00}, // I + {0x20,0x20,0x20,0x20,0x30,0x3e,0x1e,0x00}, // J + {0x3e,0x3e,0x00,0x08,0x08,0x3e,0x36,0x00}, // K + {0x1e,0x3e,0x30,0x20,0x20,0x20,0x20,0x00}, // L + {0x3e,0x3e,0x02,0x3a,0x02,0x3e,0x3c,0x00}, // M + {0x3c,0x3e,0x02,0x02,0x02,0x3e,0x3c,0x00}, // N + {0x1c,0x3e,0x22,0x22,0x22,0x3e,0x1c,0x00}, // O + {0x3c,0x3e,0x02,0x0a,0x0a,0x0e,0x04,0x00}, // P + {0x1c,0x3e,0x22,0x22,0x32,0x3e,0x3c,0x00}, // Q + {0x3c,0x3e,0x02,0x0a,0x0a,0x3e,0x34,0x00}, // R + {0x24,0x2e,0x2a,0x2a,0x2a,0x3a,0x12,0x00}, // S + {0x02,0x02,0x3e,0x3e,0x02,0x02,0x00,0x00}, // T + {0x1e,0x3e,0x20,0x20,0x20,0x3e,0x1e,0x00}, // U + {0x0e,0x1e,0x30,0x20,0x30,0x1e,0x0e,0x00}, // V + {0x1e,0x3e,0x20,0x2e,0x20,0x3e,0x3e,0x00}, // W + {0x36,0x3e,0x08,0x08,0x3e,0x36,0x00,0x00}, // X + {0x06,0x0e,0x38,0x38,0x0e,0x06,0x00,0x00}, // Y + {0x32,0x32,0x3a,0x2a,0x2e,0x26,0x26,0x00}, // Z + {0x00,0x7f,0x7f,0x41,0x41,0x41,0x00,0x00}, // [ + {0x02,0x06,0x0c,0x18,0x30,0x20,0x00,0x00}, // "\" + {0x00,0x41,0x41,0x41,0x7f,0x7f,0x00,0x00}, // ] + {0x01,0x01,0x00,0x01,0x01,0x00,0x00,0x00}, // ^ + {0x40,0x40,0x40,0x40,0x40,0x40,0x00,0x00}, // _ + {0x00,0x00,0x01,0x01,0x00,0x00,0x00,0x00}, // ` + {0x3c,0x3e,0x02,0x0a,0x0a,0x3e,0x3c,0x00}, // a + {0x3e,0x3e,0x22,0x2a,0x2a,0x3e,0x14,0x00}, // b + {0x1c,0x3e,0x22,0x22,0x22,0x22,0x22,0x00}, // c + {0x3e,0x3e,0x02,0x22,0x22,0x3e,0x1c,0x00}, // d + {0x1c,0x3e,0x22,0x2a,0x2a,0x2a,0x22,0x00}, // e + {0x3c,0x3e,0x02,0x0a,0x0a,0x0a,0x02,0x00}, // f + {0x1c,0x3e,0x22,0x22,0x22,0x3a,0x18,0x00}, // g + {0x3e,0x3e,0x00,0x08,0x08,0x3e,0x3e,0x00}, // h + {0x3e,0x3e,0x00,0x00,0x00,0x00,0x00,0x00}, // i + {0x20,0x20,0x20,0x20,0x30,0x3e,0x1e,0x00}, // j + {0x3e,0x3e,0x00,0x08,0x08,0x3e,0x36,0x00}, // k + {0x1e,0x3e,0x30,0x20,0x20,0x20,0x20,0x00}, // l + {0x3e,0x3e,0x02,0x3a,0x02,0x3e,0x3c,0x00}, // m + {0x3c,0x3e,0x02,0x02,0x02,0x3e,0x3c,0x00}, // n + {0x1c,0x3e,0x22,0x22,0x22,0x3e,0x1c,0x00}, // o + {0x3c,0x3e,0x02,0x0a,0x0a,0x0e,0x04,0x00}, // p + {0x1c,0x3e,0x22,0x22,0x32,0x3e,0x3c,0x00}, // q + {0x3c,0x3e,0x02,0x0a,0x0a,0x3e,0x34,0x00}, // r + {0x24,0x2e,0x2a,0x2a,0x2a,0x3a,0x12,0x00}, // s + {0x02,0x02,0x3e,0x3e,0x02,0x02,0x00,0x00}, // t + {0x1e,0x3e,0x20,0x20,0x20,0x3e,0x1e,0x00}, // u + {0x0e,0x1e,0x30,0x20,0x30,0x1e,0x0e,0x00}, // v + {0x1e,0x3e,0x20,0x2e,0x20,0x3e,0x3e,0x00}, // w + {0x36,0x3e,0x08,0x08,0x3e,0x36,0x00,0x00}, // x + {0x06,0x0e,0x38,0x38,0x0e,0x06,0x00,0x00}, // y + {0x32,0x32,0x3a,0x2a,0x2e,0x26,0x26,0x00}, // z + {0x00,0x08,0x7f,0x77,0x41,0x41,0x00,0x00}, // { + {0x7f,0x7f,0x00,0x00,0x00,0x00,0x00,0x00}, // | + {0x00,0x41,0x41,0x77,0x7f,0x08,0x00,0x00}, // } + {0x00,0x04,0x06,0x02,0x04,0x06,0x02,0x00}, // ~ + {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00} +}; \ No newline at end of file diff --git a/fonts/formplex12_font.png b/fonts/formplex12_font.png new file mode 100644 index 0000000..1596d76 Binary files /dev/null and b/fonts/formplex12_font.png differ diff --git a/fonts/haiku.TTF b/fonts/haiku.TTF new file mode 100644 index 0000000..962441a Binary files /dev/null and b/fonts/haiku.TTF differ diff --git a/fonts/haiku_font.h b/fonts/haiku_font.h new file mode 100644 index 0000000..3554d9c --- /dev/null +++ b/fonts/haiku_font.h @@ -0,0 +1,98 @@ +const unsigned char font[96][6] = { + {0x00,0x00,0x00,0x00,0x00,0x00}, // + {0x00,0x5e,0x00,0x00,0x00,0x00}, // ! + {0x00,0x0e,0x0e,0x00,0x00,0x00}, // " + {0x00,0x7f,0x40,0x40,0x7f,0x00}, // # + {0x00,0x7e,0x52,0xd2,0x52,0x76}, // $ + {0x00,0x7f,0x40,0x40,0x7f,0x00}, // % + {0x00,0x70,0x7c,0x52,0x7e,0x40}, // & + {0x00,0x0e,0x00,0x00,0x00,0x00}, // ' + {0x00,0xfe,0x82,0x00,0x00,0x00}, // ( + {0x00,0x82,0xfe,0x00,0x00,0x00}, // ) + {0x00,0x14,0x0e,0x14,0x00,0x00}, // * + {0x10,0x10,0x38,0x10,0x10,0x00}, // + + {0x00,0xc0,0x00,0x00,0x00,0x00}, // , + {0x00,0x10,0x10,0x10,0x00,0x00}, // - + {0x00,0x40,0x00,0x00,0x00,0x00}, // . + {0x00,0xfe,0x00,0x00,0x00,0x00}, // / + {0x00,0x7e,0x42,0x7e,0x00,0x00}, // 0 + {0x00,0x02,0x7e,0x00,0x00,0x00}, // 1 + {0x00,0x76,0x52,0x52,0x7e,0x00}, // 2 + {0x00,0x66,0x42,0x52,0x7e,0x42}, // 3 + {0x00,0x1e,0x50,0x78,0x50,0x00}, // 4 + {0x00,0x7e,0x52,0x52,0x72,0x00}, // 5 + {0x00,0x7e,0x52,0x52,0x76,0x00}, // 6 + {0x00,0x06,0x02,0x42,0x7e,0x42}, // 7 + {0x00,0x7e,0x52,0x52,0x7e,0x00}, // 8 + {0x00,0x7e,0x52,0x52,0x7e,0x00}, // 9 + {0x00,0x50,0x00,0x00,0x00,0x00}, // : + {0x00,0x90,0x00,0x00,0x00,0x00}, // ; + {0x00,0x7f,0x40,0x40,0x7f,0x00}, // < + {0x00,0x18,0x18,0x18,0x00,0x00}, // = + {0x00,0x7f,0x40,0x40,0x7f,0x00}, // > + {0x00,0x06,0x72,0x12,0x1e,0x00}, // ? + {0x00,0x78,0x48,0x78,0x48,0x00}, // @ + {0x00,0x42,0x7e,0x12,0x12,0x7e}, // A + {0x00,0x52,0x7e,0x52,0x5e,0x70}, // B + {0x00,0x42,0x7e,0x42,0x42,0xe6}, // C + {0x00,0x42,0x7e,0x42,0x42,0x7e}, // D + {0x00,0x42,0x7e,0x5a,0x42,0xe6}, // E + {0x42,0x7e,0x52,0x3a,0x02,0x06}, // F + {0x00,0x42,0x7e,0x42,0x52,0x76}, // G + {0x00,0x42,0x7e,0x10,0x10,0x7e}, // H + {0x00,0x42,0x7e,0x42,0x00,0x00}, // I + {0x00,0x02,0xfe,0x02,0x00,0x00}, // J + {0x00,0x52,0x7e,0x10,0x1e,0x72}, // K + {0x00,0x42,0x7e,0x42,0x40,0xe0}, // L + {0x00,0x42,0x7e,0x02,0xfe,0x02}, // M + {0x42,0x42,0x7e,0x02,0x02,0x7e}, // N + {0x00,0x7e,0x42,0x42,0x7e,0x00}, // O + {0x00,0x52,0x7e,0x52,0x12,0x1e}, // P + {0x00,0x7e,0x42,0xc2,0x7e,0x00}, // Q + {0x00,0x52,0x7e,0x52,0x32,0x5e}, // R + {0x00,0xfe,0x52,0x52,0x76,0x00}, // S + {0x00,0x06,0x42,0x7e,0x42,0x02}, // T + {0x00,0x42,0x7e,0x40,0x40,0x7e}, // U + {0x00,0x02,0x1e,0x20,0x20,0x1e}, // V + {0x00,0x02,0x7e,0x40,0x7e,0x40}, // W + {0x02,0x42,0x6e,0x10,0x10,0x6e}, // X + {0x02,0x1e,0x50,0x70,0x50,0x1e}, // Y + {0x66,0x52,0x4a,0x4a,0xe6,0x00}, // Z + {0x00,0xfe,0x82,0x00,0x00,0x00}, // [ + {0x00,0x7f,0x40,0x40,0x7f,0x00}, // "\" + {0x00,0x82,0xfe,0x00,0x00,0x00}, // ] + {0x00,0x7f,0x40,0x40,0x7f,0x00}, // ^ + {0x00,0x40,0x40,0x40,0x00,0x00}, // _ + {0x00,0x7f,0x40,0x40,0x7f,0x00}, // ` + {0x00,0x70,0x5c,0x58,0x78,0x00}, // a + {0x00,0x42,0x7e,0x48,0x48,0x78}, // b + {0x00,0x78,0x48,0x48,0xfc,0x00}, // c + {0x00,0x78,0x48,0x48,0x7e,0x42}, // d + {0x00,0x78,0x68,0x68,0xf8,0x00}, // e + {0x00,0x50,0x7e,0x52,0x00,0x00}, // f + {0x00,0x78,0x48,0x48,0xf8,0x08}, // g + {0x00,0x42,0x7e,0x08,0x08,0x78}, // h + {0x00,0x48,0x7a,0x48,0x00,0x00}, // i + {0x00,0x08,0xfa,0x08,0x00,0x00}, // j + {0x00,0x42,0x7e,0x50,0x1c,0x70}, // k + {0x00,0x42,0x7e,0x40,0x00,0x00}, // l + {0x00,0x48,0x78,0x08,0xf8,0x08}, // m + {0x48,0x48,0x78,0x08,0x08,0x78}, // n + {0x00,0x78,0x48,0x48,0x78,0x00}, // o + {0x00,0x08,0xf8,0x48,0x48,0x78}, // p + {0x00,0x78,0x48,0x48,0xf8,0x08}, // q + {0x00,0x48,0x78,0x48,0x18,0x00}, // r + {0x00,0xd8,0x58,0x58,0x7c,0x00}, // s + {0x00,0x08,0x48,0x7e,0x48,0x08}, // t + {0x00,0x48,0x78,0x40,0x40,0x78}, // u + {0x08,0x18,0x28,0x40,0x28,0x18}, // v + {0x00,0x08,0x78,0x40,0x78,0x40}, // w + {0x08,0x48,0x58,0x20,0x58,0x48}, // x + {0x00,0x08,0x78,0xc0,0x40,0x78}, // y + {0x00,0x6c,0x58,0x58,0xc8,0x00}, // z + {0x00,0x7f,0x40,0x40,0x7f,0x00}, // { + {0x00,0xfe,0x00,0x00,0x00,0x00}, // | + {0x00,0x7f,0x40,0x40,0x7f,0x00}, // } + {0x00,0x7f,0x40,0x40,0x7f,0x00}, // ~ + {0x00,0x00,0x00,0x00,0x00,0x00} +}; \ No newline at end of file diff --git a/fonts/haiku_font.png b/fonts/haiku_font.png new file mode 100644 index 0000000..695ad33 Binary files /dev/null and b/fonts/haiku_font.png differ diff --git a/fonts/homespun.ttf b/fonts/homespun.ttf new file mode 100644 index 0000000..45c23e0 Binary files /dev/null and b/fonts/homespun.ttf differ diff --git a/fonts/homespun_font.h b/fonts/homespun_font.h new file mode 100644 index 0000000..4e14e2f --- /dev/null +++ b/fonts/homespun_font.h @@ -0,0 +1,98 @@ +const unsigned char font[96][7] = { + {0x00,0x00,0x00,0x00,0x00,0x00,0x00}, // + {0x5f,0x00,0x00,0x00,0x00,0x00,0x00}, // ! + {0x03,0x00,0x03,0x00,0x00,0x00,0x00}, // " + {0x14,0x7f,0x14,0x7f,0x14,0x00,0x00}, // # + {0x6f,0x49,0xc9,0x7b,0x00,0x00,0x00}, // $ + {0x63,0x13,0x08,0x64,0x63,0x00,0x00}, // % + {0x7f,0xc9,0x49,0x63,0x00,0x00,0x00}, // & + {0x03,0x00,0x00,0x00,0x00,0x00,0x00}, // ' + {0x3e,0x41,0x00,0x00,0x00,0x00,0x00}, // ( + {0x41,0x3e,0x00,0x00,0x00,0x00,0x00}, // ) + {0x0a,0x04,0x1f,0x04,0x0a,0x00,0x00}, // * + {0x08,0x08,0x3e,0x08,0x08,0x00,0x00}, // + + {0xc0,0x00,0x00,0x00,0x00,0x00,0x00}, // , + {0x08,0x08,0x08,0x08,0x00,0x00,0x00}, // - + {0x40,0x00,0x00,0x00,0x00,0x00,0x00}, // . + {0x60,0x10,0x08,0x04,0x03,0x00,0x00}, // / + {0x7f,0x41,0x41,0x7f,0x00,0x00,0x00}, // 0 + {0x01,0x7f,0x00,0x00,0x00,0x00,0x00}, // 1 + {0x7b,0x49,0x49,0x6f,0x00,0x00,0x00}, // 2 + {0x63,0x49,0x49,0x7f,0x00,0x00,0x00}, // 3 + {0x0f,0x08,0x08,0x7f,0x00,0x00,0x00}, // 4 + {0x6f,0x49,0x49,0x7b,0x00,0x00,0x00}, // 5 + {0x7f,0x49,0x49,0x7b,0x00,0x00,0x00}, // 6 + {0x03,0x01,0x01,0x7f,0x00,0x00,0x00}, // 7 + {0x7f,0x49,0x49,0x7f,0x00,0x00,0x00}, // 8 + {0x0f,0x09,0x09,0x7f,0x00,0x00,0x00}, // 9 + {0x41,0x00,0x00,0x00,0x00,0x00,0x00}, // : + {0xc1,0x00,0x00,0x00,0x00,0x00,0x00}, // ; + {0x08,0x14,0x22,0x00,0x00,0x00,0x00}, // < + {0x14,0x14,0x14,0x14,0x00,0x00,0x00}, // = + {0x22,0x14,0x08,0x00,0x00,0x00,0x00}, // > + {0x03,0x59,0x09,0x0f,0x00,0x00,0x00}, // ? + {0x7f,0x41,0x5d,0x55,0x5f,0x00,0x00}, // @ + {0x7f,0x09,0x09,0x7f,0x00,0x00,0x00}, // A + {0x7f,0x49,0x49,0x77,0x00,0x00,0x00}, // B + {0x7f,0x41,0x41,0x63,0x00,0x00,0x00}, // C + {0x7f,0x41,0x41,0x3e,0x00,0x00,0x00}, // D + {0x7f,0x49,0x49,0x63,0x00,0x00,0x00}, // E + {0x7f,0x09,0x09,0x03,0x00,0x00,0x00}, // F + {0x7f,0x41,0x49,0x7b,0x00,0x00,0x00}, // G + {0x7f,0x08,0x08,0x7f,0x00,0x00,0x00}, // H + {0x41,0x7f,0x41,0x00,0x00,0x00,0x00}, // I + {0x60,0x40,0x40,0x7f,0x00,0x00,0x00}, // J + {0x7f,0x08,0x08,0x77,0x00,0x00,0x00}, // K + {0x7f,0x40,0x40,0x60,0x00,0x00,0x00}, // L + {0x7f,0x01,0x01,0x7f,0x01,0x01,0x7f}, // M + {0x7f,0x01,0x01,0x7f,0x00,0x00,0x00}, // N + {0x7f,0x41,0x41,0x7f,0x00,0x00,0x00}, // O + {0x7f,0x09,0x09,0x0f,0x00,0x00,0x00}, // P + {0x7f,0x41,0xc1,0x7f,0x00,0x00,0x00}, // Q + {0x7f,0x09,0x09,0x77,0x00,0x00,0x00}, // R + {0x6f,0x49,0x49,0x7b,0x00,0x00,0x00}, // S + {0x01,0x01,0x7f,0x01,0x01,0x00,0x00}, // T + {0x7f,0x40,0x40,0x7f,0x00,0x00,0x00}, // U + {0x7f,0x20,0x10,0x0f,0x00,0x00,0x00}, // V + {0x7f,0x40,0x40,0x7f,0x40,0x40,0x7f}, // W + {0x77,0x08,0x08,0x77,0x00,0x00,0x00}, // X + {0x6f,0x48,0x48,0x7f,0x00,0x00,0x00}, // Y + {0x71,0x49,0x49,0x47,0x00,0x00,0x00}, // Z + {0x7f,0x41,0x00,0x00,0x00,0x00,0x00}, // [ + {0x03,0x04,0x08,0x10,0x60,0x00,0x00}, // "\" + {0x41,0x7f,0x00,0x00,0x00,0x00,0x00}, // ] + {0x04,0x02,0x01,0x02,0x04,0x00,0x00}, // ^ + {0x80,0x80,0x80,0x80,0x00,0x00,0x00}, // _ + {0x03,0x00,0x00,0x00,0x00,0x00,0x00}, // ` + {0x74,0x54,0x54,0x7c,0x00,0x00,0x00}, // a + {0x7f,0x44,0x44,0x7c,0x00,0x00,0x00}, // b + {0x7c,0x44,0x44,0x6c,0x00,0x00,0x00}, // c + {0x7c,0x44,0x44,0x7f,0x00,0x00,0x00}, // d + {0x7c,0x54,0x54,0x5c,0x00,0x00,0x00}, // e + {0x7f,0x05,0x05,0x01,0x00,0x00,0x00}, // f + {0xbc,0xa4,0xa4,0xfc,0x00,0x00,0x00}, // g + {0x7f,0x04,0x04,0x7c,0x00,0x00,0x00}, // h + {0x7d,0x00,0x00,0x00,0x00,0x00,0x00}, // i + {0x80,0xfd,0x00,0x00,0x00,0x00,0x00}, // j + {0x7f,0x04,0x04,0x7a,0x00,0x00,0x00}, // k + {0x7f,0x00,0x00,0x00,0x00,0x00,0x00}, // l + {0x7c,0x04,0x04,0x7c,0x04,0x04,0x7c}, // m + {0x7c,0x04,0x04,0x7c,0x00,0x00,0x00}, // n + {0x7c,0x44,0x44,0x7c,0x00,0x00,0x00}, // o + {0xfc,0x44,0x44,0x7c,0x00,0x00,0x00}, // p + {0x7c,0x44,0x44,0xfc,0x00,0x00,0x00}, // q + {0x7c,0x04,0x04,0x0c,0x00,0x00,0x00}, // r + {0x5c,0x54,0x54,0x74,0x00,0x00,0x00}, // s + {0x7f,0x44,0x44,0x60,0x00,0x00,0x00}, // t + {0x7c,0x40,0x40,0x7c,0x00,0x00,0x00}, // u + {0x7c,0x20,0x10,0x0c,0x00,0x00,0x00}, // v + {0x7c,0x40,0x40,0x7c,0x40,0x40,0x7c}, // w + {0x6c,0x10,0x10,0x6c,0x00,0x00,0x00}, // x + {0xbc,0xa0,0xa0,0xfc,0x00,0x00,0x00}, // y + {0x64,0x54,0x54,0x4c,0x00,0x00,0x00}, // z + {0x08,0x3e,0x41,0x00,0x00,0x00,0x00}, // { + {0xff,0x00,0x00,0x00,0x00,0x00,0x00}, // | + {0x41,0x3e,0x08,0x00,0x00,0x00,0x00}, // } + {0x1c,0x04,0x1c,0x10,0x1c,0x00,0x00}, // ~ + {0x00,0x00,0x00,0x00,0x00,0x00,0x00} +}; \ No newline at end of file diff --git a/fonts/homespun_font.png b/fonts/homespun_font.png new file mode 100644 index 0000000..7958642 Binary files /dev/null and b/fonts/homespun_font.png differ diff --git a/fonts/m38.TTF b/fonts/m38.TTF new file mode 100644 index 0000000..9e59716 Binary files /dev/null and b/fonts/m38.TTF differ diff --git a/fonts/m38_font.h b/fonts/m38_font.h new file mode 100644 index 0000000..ac72aef --- /dev/null +++ b/fonts/m38_font.h @@ -0,0 +1,98 @@ +const unsigned char font[96][8] = { + {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}, // + {0xdf,0xdf,0x00,0x00,0x00,0x00,0x00,0x00}, // ! + {0x07,0x07,0x00,0x07,0x07,0x00,0x00,0x00}, // " + {0x24,0x24,0xff,0x24,0x24,0xff,0x24,0x24}, // # + {0xdf,0xdf,0xdb,0xff,0xff,0xdb,0xfb,0xfb}, // $ + {0xdf,0xdf,0x3b,0xff,0xff,0xdc,0xfb,0xfb}, // % + {0xff,0xff,0xdb,0xdf,0xdf,0x20,0xd8,0xd8}, // & + {0x07,0x07,0x00,0x00,0x00,0x00,0x00,0x00}, // ' + {0x3c,0x3c,0xc3,0x00,0x00,0x00,0x00,0x00}, // ( + {0xc3,0xc3,0x3c,0x00,0x00,0x00,0x00,0x00}, // ) + {0xc3,0xc3,0x24,0xff,0xff,0x24,0xc3,0xc3}, // * + {0x18,0x18,0x18,0xff,0xff,0x18,0x18,0x18}, // + + {0xc0,0xc0,0x00,0x00,0x00,0x00,0x00,0x00}, // , + {0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x18}, // - + {0xc0,0xc0,0x00,0x00,0x00,0x00,0x00,0x00}, // . + {0xc0,0xc0,0x20,0x18,0x18,0x04,0x03,0x03}, // / + {0xff,0xff,0xe3,0xdb,0xdb,0xc7,0xff,0xff}, // 0 + {0xc3,0xc3,0xff,0xc0,0xc0,0x00,0x00,0x00}, // 1 + {0xfb,0xfb,0xdb,0xdb,0xdb,0xdb,0xdf,0xdf}, // 2 + {0xdb,0xdb,0xdb,0xdb,0xdb,0xdb,0xff,0xff}, // 3 + {0x1f,0x1f,0x18,0x18,0x18,0x18,0xff,0xff}, // 4 + {0xdf,0xdf,0xdb,0xdb,0xdb,0xdb,0xfb,0xfb}, // 5 + {0xff,0xff,0xdb,0xdb,0xdb,0xdb,0xfb,0xfb}, // 6 + {0x07,0x07,0x03,0x03,0x03,0x03,0xff,0xff}, // 7 + {0xff,0xff,0xdb,0xdb,0xdb,0xdb,0xff,0xff}, // 8 + {0xdf,0xdf,0xdb,0xdb,0xdb,0xdb,0xff,0xff}, // 9 + {0x24,0x24,0x00,0x00,0x00,0x00,0x00,0x00}, // : + {0xe4,0xe4,0x00,0x00,0x00,0x00,0x00,0x00}, // ; + {0x18,0x18,0x24,0xc3,0xc3,0x00,0x00,0x00}, // < + {0x24,0x24,0x24,0x24,0x24,0x24,0x24,0x24}, // = + {0xc3,0xc3,0x24,0x18,0x18,0x00,0x00,0x00}, // > + {0x07,0x07,0x03,0xdb,0xdb,0x1b,0x1f,0x1f}, // ? + {0xff,0xff,0xc3,0xfb,0xfb,0xdb,0xff,0xff}, // @ + {0xff,0xff,0xdb,0x1b,0x1b,0xdb,0xff,0xff}, // A + {0xff,0xff,0xdb,0xdb,0xdb,0xdb,0xe7,0xe7}, // B + {0xff,0xff,0xc3,0xc3,0xc3,0xc3,0xe7,0xe7}, // C + {0xff,0xff,0xc3,0xc3,0xc3,0xc3,0x3c,0x3c}, // D + {0xff,0xff,0xdb,0xdb,0xdb,0xc3,0xe7,0xe7}, // E + {0xff,0xff,0xdb,0x1b,0x1b,0x03,0x07,0x07}, // F + {0xff,0xff,0xc3,0xdb,0xdb,0xdb,0xfb,0xfb}, // G + {0xff,0xff,0xdb,0x18,0x18,0xdb,0xff,0xff}, // H + {0xc3,0xc3,0xc3,0xff,0xff,0xc3,0xc3,0xc3}, // I + {0xe0,0xe0,0xc0,0xc0,0xc0,0xc3,0xff,0xff}, // J + {0xff,0xff,0xdb,0x18,0x18,0xdb,0xe7,0xe7}, // K + {0xff,0xff,0xc3,0xc0,0xc0,0xc0,0xe0,0xe0}, // L + {0xff,0xff,0xc3,0x1f,0x1f,0xc3,0xff,0xff}, // M + {0xff,0xff,0xc4,0x18,0x18,0x23,0xff,0xff}, // N + {0xff,0xff,0xc3,0xc3,0xc3,0xc3,0xff,0xff}, // O + {0xff,0xff,0xdb,0x1b,0x1b,0x1b,0x1f,0x1f}, // P + {0xff,0xff,0xc3,0xe3,0xe3,0xc3,0xff,0xff}, // Q + {0xff,0xff,0xdb,0x1b,0x1b,0xdb,0xe7,0xe7}, // R + {0xdf,0xdf,0xdb,0xdb,0xdb,0xdb,0xfb,0xfb}, // S + {0x07,0x07,0xc3,0xff,0xff,0xc3,0x07,0x07}, // T + {0xff,0xff,0xc3,0xc0,0xc0,0xc3,0xff,0xff}, // U + {0x1f,0x1f,0x23,0xc0,0xc0,0x23,0x1f,0x1f}, // V + {0xff,0xff,0xc3,0xf8,0xf8,0xc3,0xff,0xff}, // W + {0xe7,0xe7,0xdb,0x18,0x18,0xdb,0xe7,0xe7}, // X + {0x1f,0x1f,0xdb,0xf8,0xf8,0xdb,0x1f,0x1f}, // Y + {0xc7,0xc7,0xe3,0xdb,0xdb,0xc7,0xe3,0xe3}, // Z + {0xff,0xff,0xc3,0x00,0x00,0x00,0x00,0x00}, // [ + {0x03,0x03,0x04,0x18,0x18,0x20,0xc0,0xc0}, // "\" + {0xc3,0xc3,0xff,0x00,0x00,0x00,0x00,0x00}, // ] + {0x04,0x04,0x03,0x04,0x04,0x00,0x00,0x00}, // ^ + {0xc0,0xc0,0xc0,0xc0,0xc0,0xc0,0xc0,0xc0}, // _ + {0x03,0x03,0x04,0x00,0x00,0x00,0x00,0x00}, // ` + {0xff,0xff,0xdb,0x1b,0x1b,0xdb,0xff,0xff}, // a + {0xff,0xff,0xdb,0xdb,0xdb,0xdb,0xe7,0xe7}, // b + {0xff,0xff,0xc3,0xc3,0xc3,0xc3,0xe7,0xe7}, // c + {0xff,0xff,0xc3,0xc3,0xc3,0xc3,0x3c,0x3c}, // d + {0xff,0xff,0xdb,0xdb,0xdb,0xc3,0xe7,0xe7}, // e + {0xff,0xff,0xdb,0x1b,0x1b,0x03,0x07,0x07}, // f + {0xff,0xff,0xc3,0xdb,0xdb,0xdb,0xfb,0xfb}, // g + {0xff,0xff,0xdb,0x18,0x18,0xdb,0xff,0xff}, // h + {0xc3,0xc3,0xc3,0xff,0xff,0xc3,0xc3,0xc3}, // i + {0xe0,0xe0,0xc0,0xc0,0xc0,0xc3,0xff,0xff}, // j + {0xff,0xff,0xdb,0x18,0x18,0xdb,0xe7,0xe7}, // k + {0xff,0xff,0xc3,0xc0,0xc0,0xc0,0xe0,0xe0}, // l + {0xff,0xff,0xc3,0x1f,0x1f,0xc3,0xff,0xff}, // m + {0xff,0xff,0xc4,0x18,0x18,0x23,0xff,0xff}, // n + {0xff,0xff,0xc3,0xc3,0xc3,0xc3,0xff,0xff}, // o + {0xff,0xff,0xdb,0x1b,0x1b,0x1b,0x1f,0x1f}, // p + {0xff,0xff,0xc3,0xe3,0xe3,0xc3,0xff,0xff}, // q + {0xff,0xff,0xdb,0x1b,0x1b,0xdb,0xe7,0xe7}, // r + {0xdf,0xdf,0xdb,0xdb,0xdb,0xdb,0xfb,0xfb}, // s + {0x07,0x07,0xc3,0xff,0xff,0xc3,0x07,0x07}, // t + {0xff,0xff,0xc3,0xc0,0xc0,0xc3,0xff,0xff}, // u + {0x1f,0x1f,0x23,0xc0,0xc0,0x23,0x1f,0x1f}, // v + {0xff,0xff,0xc3,0xf8,0xf8,0xc3,0xff,0xff}, // w + {0xe7,0xe7,0xdb,0x18,0x18,0xdb,0xe7,0xe7}, // x + {0x1f,0x1f,0xdb,0xf8,0xf8,0xdb,0x1f,0x1f}, // y + {0xc7,0xc7,0xe3,0xdb,0xdb,0xc7,0xe3,0xe3}, // z + {0x18,0x18,0xff,0xc3,0xc3,0x00,0x00,0x00}, // { + {0xff,0xff,0x00,0x00,0x00,0x00,0x00,0x00}, // | + {0xc3,0xc3,0xff,0x18,0x18,0x00,0x00,0x00}, // } + {0x04,0x04,0x03,0x04,0x04,0x03,0x00,0x00}, // ~ + {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00} +}; \ No newline at end of file diff --git a/fonts/m38_font.png b/fonts/m38_font.png new file mode 100644 index 0000000..d6513be Binary files /dev/null and b/fonts/m38_font.png differ diff --git a/fonts/pzim3x5.ttf b/fonts/pzim3x5.ttf new file mode 100644 index 0000000..57d09c2 Binary files /dev/null and b/fonts/pzim3x5.ttf differ diff --git a/fonts/pzim3x5_font.h b/fonts/pzim3x5_font.h new file mode 100644 index 0000000..45cc8b4 --- /dev/null +++ b/fonts/pzim3x5_font.h @@ -0,0 +1,98 @@ +const unsigned char font[96][3] = { + {0x00,0x00,0x00}, // + {0x00,0x2e,0x00}, // ! + {0x06,0x00,0x06}, // " + {0x3e,0x14,0x3e}, // # + {0x0c,0x36,0x18}, // $ + {0x32,0x08,0x26}, // % + {0x14,0x2a,0x34}, // & + {0x00,0x06,0x00}, // ' + {0x00,0x1c,0x22}, // ( + {0x22,0x1c,0x00}, // ) + {0x14,0x08,0x14}, // * + {0x08,0x1c,0x08}, // + + {0x40,0x60,0x00}, // , + {0x08,0x08,0x08}, // - + {0x00,0x20,0x00}, // . + {0x60,0x1c,0x02}, // / + {0x3e,0x22,0x3e}, // 0 + {0x24,0x3e,0x20}, // 1 + {0x32,0x2a,0x26}, // 2 + {0x22,0x2a,0x3e}, // 3 + {0x0e,0x08,0x3e}, // 4 + {0x2e,0x2a,0x3a}, // 5 + {0x3e,0x2a,0x3a}, // 6 + {0x02,0x3a,0x06}, // 7 + {0x3e,0x2a,0x3e}, // 8 + {0x2e,0x2a,0x3e}, // 9 + {0x00,0x14,0x00}, // : + {0x40,0x64,0x00}, // ; + {0x08,0x14,0x22}, // < + {0x14,0x14,0x14}, // = + {0x22,0x14,0x08}, // > + {0x02,0x2a,0x06}, // ? + {0x3e,0x22,0x2e}, // @ + {0x3e,0x0a,0x3e}, // A + {0x3e,0x2a,0x36}, // B + {0x3e,0x22,0x22}, // C + {0x3e,0x22,0x1c}, // D + {0x3e,0x2a,0x22}, // E + {0x3e,0x0a,0x02}, // F + {0x3e,0x22,0x3a}, // G + {0x3e,0x08,0x3e}, // H + {0x22,0x3e,0x22}, // I + {0x30,0x20,0x3e}, // J + {0x3e,0x08,0x36}, // K + {0x3e,0x20,0x20}, // L + {0x3e,0x04,0x3e}, // M + {0x3c,0x08,0x1e}, // N + {0x3e,0x22,0x3e}, // O + {0x3e,0x0a,0x0e}, // P + {0x3e,0x22,0x7e}, // Q + {0x3e,0x0a,0x34}, // R + {0x2e,0x2a,0x3a}, // S + {0x02,0x3e,0x02}, // T + {0x3e,0x20,0x3e}, // U + {0x1e,0x20,0x1e}, // V + {0x3e,0x10,0x3e}, // W + {0x36,0x08,0x36}, // X + {0x06,0x38,0x06}, // Y + {0x32,0x2a,0x26}, // Z + {0x00,0x3e,0x22}, // [ + {0x02,0x1c,0x60}, // "\" + {0x22,0x3e,0x00}, // ] + {0x04,0x02,0x04}, // ^ + {0x40,0x40,0x40}, // _ + {0x00,0x02,0x00}, // ` + {0x3e,0x0a,0x3e}, // a + {0x3e,0x2a,0x36}, // b + {0x3e,0x22,0x22}, // c + {0x3e,0x22,0x1c}, // d + {0x3e,0x2a,0x22}, // e + {0x3e,0x0a,0x02}, // f + {0x3e,0x22,0x3a}, // g + {0x3e,0x08,0x3e}, // h + {0x22,0x3e,0x22}, // i + {0x30,0x20,0x3e}, // j + {0x3e,0x08,0x36}, // k + {0x3e,0x20,0x20}, // l + {0x3e,0x04,0x3e}, // m + {0x3c,0x08,0x1e}, // n + {0x3e,0x22,0x3e}, // o + {0x3e,0x0a,0x0e}, // p + {0x3e,0x22,0x7e}, // q + {0x3e,0x0a,0x34}, // r + {0x2e,0x2a,0x3a}, // s + {0x02,0x3e,0x02}, // t + {0x3e,0x20,0x3e}, // u + {0x1e,0x20,0x1e}, // v + {0x3e,0x10,0x3e}, // w + {0x36,0x08,0x36}, // x + {0x06,0x38,0x06}, // y + {0x32,0x2a,0x26}, // z + {0x08,0x3e,0x22}, // { + {0x00,0x7e,0x00}, // | + {0x22,0x3e,0x08}, // } + {0x02,0x06,0x04}, // ~ + {0x00,0x00,0x00} +}; \ No newline at end of file diff --git a/fonts/pzim3x5_font.png b/fonts/pzim3x5_font.png new file mode 100644 index 0000000..7b9e958 Binary files /dev/null and b/fonts/pzim3x5_font.png differ diff --git a/fonts/renew.ttf b/fonts/renew.ttf new file mode 100644 index 0000000..216b82b Binary files /dev/null and b/fonts/renew.ttf differ diff --git a/fonts/renew_font.h b/fonts/renew_font.h new file mode 100644 index 0000000..980680f --- /dev/null +++ b/fonts/renew_font.h @@ -0,0 +1,98 @@ +const unsigned char font[96][7] = { + {0x00,0x00,0x00,0x00,0x00,0x00,0x00}, // + {0x5e,0x00,0x00,0x00,0x00,0x00,0x00}, // ! + {0x0c,0x00,0x0c,0x00,0x00,0x00,0x00}, // " + {0x14,0x3e,0x14,0x3e,0x14,0x00,0x00}, // # + {0x2e,0x2a,0x7f,0x2a,0x3a,0x00,0x00}, // $ + {0x1c,0x14,0x1c,0x00,0x7c,0x00,0x70}, // % + {0x78,0x4e,0x5a,0x2e,0x40,0x00,0x00}, // & + {0x0c,0x00,0x00,0x00,0x00,0x00,0x00}, // ' + {0x7e,0x81,0x00,0x00,0x00,0x00,0x00}, // ( + {0x81,0x7e,0x00,0x00,0x00,0x00,0x00}, // ) + {0x04,0x1c,0x0e,0x1c,0x04,0x00,0x00}, // * + {0x08,0x1c,0x08,0x00,0x00,0x00,0x00}, // + + {0xc0,0x00,0x00,0x00,0x00,0x00,0x00}, // , + {0x08,0x08,0x08,0x00,0x00,0x00,0x00}, // - + {0x40,0x00,0x00,0x00,0x00,0x00,0x00}, // . + {0x70,0x0e,0x00,0x00,0x00,0x00,0x00}, // / + {0x7c,0x44,0x7c,0x00,0x00,0x00,0x00}, // 0 + {0x08,0x7c,0x00,0x00,0x00,0x00,0x00}, // 1 + {0x64,0x54,0x4c,0x00,0x00,0x00,0x00}, // 2 + {0x44,0x54,0x7c,0x00,0x00,0x00,0x00}, // 3 + {0x1c,0x10,0x7c,0x00,0x00,0x00,0x00}, // 4 + {0x5c,0x54,0x34,0x00,0x00,0x00,0x00}, // 5 + {0x7c,0x54,0x74,0x00,0x00,0x00,0x00}, // 6 + {0x04,0x04,0x7c,0x00,0x00,0x00,0x00}, // 7 + {0x7c,0x54,0x7c,0x00,0x00,0x00,0x00}, // 8 + {0x1c,0x14,0x7c,0x00,0x00,0x00,0x00}, // 9 + {0x50,0x00,0x00,0x00,0x00,0x00,0x00}, // : + {0xd0,0x00,0x00,0x00,0x00,0x00,0x00}, // ; + {0x20,0x50,0x50,0x00,0x00,0x00,0x00}, // < + {0x28,0x28,0x28,0x00,0x00,0x00,0x00}, // = + {0x50,0x50,0x20,0x00,0x00,0x00,0x00}, // > + {0x02,0x5a,0x0e,0x00,0x00,0x00,0x00}, // ? + {0x7e,0x42,0x5a,0x5a,0x52,0x5e,0x00}, // @ + {0x7e,0x0a,0x0a,0x7e,0x00,0x00,0x00}, // A + {0x7e,0x4a,0x4a,0x7c,0x00,0x00,0x00}, // B + {0x7e,0x42,0x42,0x42,0x00,0x00,0x00}, // C + {0x7e,0x42,0x42,0x7c,0x00,0x00,0x00}, // D + {0x7e,0x4a,0x4a,0x42,0x00,0x00,0x00}, // E + {0x7e,0x0a,0x0a,0x02,0x00,0x00,0x00}, // F + {0x7e,0x42,0x4a,0x7a,0x00,0x00,0x00}, // G + {0x7e,0x08,0x08,0x7e,0x00,0x00,0x00}, // H + {0x42,0x42,0x7e,0x42,0x42,0x00,0x00}, // I + {0x42,0x42,0x7e,0x02,0x00,0x00,0x00}, // J + {0x7e,0x08,0x0e,0x78,0x00,0x00,0x00}, // K + {0x7e,0x40,0x40,0x40,0x00,0x00,0x00}, // L + {0x7e,0x02,0x06,0x02,0x7e,0x00,0x00}, // M + {0x7e,0x04,0x08,0x7e,0x00,0x00,0x00}, // N + {0x7e,0x42,0x42,0x7e,0x00,0x00,0x00}, // O + {0x7e,0x0a,0x0a,0x0e,0x00,0x00,0x00}, // P + {0x7e,0x42,0xc2,0x7e,0x00,0x00,0x00}, // Q + {0x7e,0x0a,0x7a,0x0e,0x00,0x00,0x00}, // R + {0x4e,0x4a,0x4a,0x7a,0x00,0x00,0x00}, // S + {0x02,0x02,0x7e,0x02,0x02,0x00,0x00}, // T + {0x7e,0x40,0x40,0x7e,0x00,0x00,0x00}, // U + {0x1e,0x20,0x40,0x20,0x1e,0x00,0x00}, // V + {0x7e,0x40,0x60,0x40,0x7e,0x00,0x00}, // W + {0x42,0x24,0x18,0x24,0x42,0x00,0x00}, // X + {0x0e,0x08,0x78,0x08,0x0e,0x00,0x00}, // Y + {0x62,0x52,0x4a,0x46,0x00,0x00,0x00}, // Z + {0xff,0x81,0x00,0x00,0x00,0x00,0x00}, // [ + {0x0e,0x70,0x00,0x00,0x00,0x00,0x00}, // "\" + {0x81,0xff,0x00,0x00,0x00,0x00,0x00}, // ] + {0x04,0x02,0x04,0x00,0x00,0x00,0x00}, // ^ + {0x40,0x40,0x40,0x40,0x40,0x00,0x00}, // _ + {0x02,0x04,0x00,0x00,0x00,0x00,0x00}, // ` + {0x7c,0x14,0x14,0x7c,0x00,0x00,0x00}, // a + {0x7c,0x54,0x54,0x78,0x00,0x00,0x00}, // b + {0x7c,0x44,0x44,0x44,0x00,0x00,0x00}, // c + {0x7c,0x44,0x44,0x78,0x00,0x00,0x00}, // d + {0x7c,0x54,0x54,0x44,0x00,0x00,0x00}, // e + {0x7c,0x14,0x14,0x04,0x00,0x00,0x00}, // f + {0x7c,0x44,0x54,0x74,0x00,0x00,0x00}, // g + {0x7c,0x10,0x10,0x7c,0x00,0x00,0x00}, // h + {0x44,0x44,0x7c,0x44,0x44,0x00,0x00}, // i + {0x44,0x44,0x7c,0x04,0x00,0x00,0x00}, // j + {0x7c,0x10,0x1c,0x70,0x00,0x00,0x00}, // k + {0x7c,0x40,0x40,0x40,0x00,0x00,0x00}, // l + {0x7c,0x04,0x0c,0x04,0x7c,0x00,0x00}, // m + {0x7c,0x08,0x10,0x7c,0x00,0x00,0x00}, // n + {0x7c,0x44,0x44,0x7c,0x00,0x00,0x00}, // o + {0x7c,0x14,0x14,0x1c,0x00,0x00,0x00}, // p + {0x7c,0x44,0xc4,0x7c,0x00,0x00,0x00}, // q + {0x7c,0x14,0x74,0x1c,0x00,0x00,0x00}, // r + {0x5c,0x54,0x54,0x74,0x00,0x00,0x00}, // s + {0x04,0x04,0x7c,0x04,0x04,0x00,0x00}, // t + {0x7c,0x40,0x40,0x7c,0x00,0x00,0x00}, // u + {0x1c,0x20,0x40,0x20,0x1c,0x00,0x00}, // v + {0x7c,0x40,0x60,0x40,0x7c,0x00,0x00}, // w + {0x44,0x28,0x10,0x28,0x44,0x00,0x00}, // x + {0x1c,0x10,0x70,0x10,0x1c,0x00,0x00}, // y + {0x64,0x54,0x4c,0x44,0x00,0x00,0x00}, // z + {0x08,0xf7,0x81,0x00,0x00,0x00,0x00}, // { + {0xff,0x00,0x00,0x00,0x00,0x00,0x00}, // | + {0x81,0xf7,0x08,0x00,0x00,0x00,0x00}, // } + {0x18,0x08,0x10,0x18,0x00,0x00,0x00}, // ~ + {0x00,0x00,0x00,0x00,0x00,0x00,0x00} +}; \ No newline at end of file diff --git a/fonts/renew_font.png b/fonts/renew_font.png new file mode 100644 index 0000000..f084afb Binary files /dev/null and b/fonts/renew_font.png differ diff --git a/fonts/sloth.ttf b/fonts/sloth.ttf new file mode 100644 index 0000000..62f69ab Binary files /dev/null and b/fonts/sloth.ttf differ diff --git a/fonts/sloth_font.h b/fonts/sloth_font.h new file mode 100644 index 0000000..a730ca2 --- /dev/null +++ b/fonts/sloth_font.h @@ -0,0 +1,98 @@ +const unsigned char font[96][6] = { + {0x00,0x00,0x00,0x00,0x00,0x00}, // + {0x5c,0x00,0x00,0x00,0x00,0x00}, // ! + {0x03,0x00,0x03,0x00,0x00,0x00}, // " + {0x3e,0x14,0x14,0x3e,0x14,0x00}, // # + {0x1c,0x54,0xff,0x54,0x74,0x04}, // $ + {0x26,0x16,0x08,0x34,0x32,0x00}, // % + {0x1d,0x15,0x17,0x17,0x15,0x0c}, // & + {0x03,0x00,0x00,0x00,0x00,0x00}, // ' + {0x7f,0x41,0x00,0x00,0x00,0x00}, // ( + {0x41,0x7f,0x00,0x00,0x00,0x00}, // ) + {0x02,0x01,0x00,0x00,0x00,0x00}, // * + {0x08,0x1c,0x08,0x00,0x00,0x00}, // + + {0x30,0x00,0x00,0x00,0x00,0x00}, // , + {0x08,0x08,0x08,0x00,0x00,0x00}, // - + {0x10,0x00,0x00,0x00,0x00,0x00}, // . + {0x40,0x20,0x10,0x08,0x04,0x02}, // / + {0x1c,0x14,0x14,0x14,0x14,0x1c}, // 0 + {0x04,0x1c,0x00,0x00,0x00,0x00}, // 1 + {0x74,0x54,0x54,0x54,0x14,0x1c}, // 2 + {0x54,0x54,0x54,0x54,0x54,0x7c}, // 3 + {0x1c,0x10,0x10,0x10,0x38,0x10}, // 4 + {0x1c,0x14,0x54,0x54,0x54,0x74}, // 5 + {0x1f,0x15,0x15,0x15,0x14,0x1c}, // 6 + {0x04,0x04,0x24,0x74,0x2c,0x04}, // 7 + {0x70,0x5c,0x54,0x54,0x5c,0x70}, // 8 + {0x1c,0x14,0x54,0x54,0x54,0x7c}, // 9 + {0x14,0x00,0x00,0x00,0x00,0x00}, // : + {0x34,0x00,0x00,0x00,0x00,0x00}, // ; + {0x08,0x14,0x22,0x00,0x00,0x00}, // < + {0x14,0x14,0x14,0x00,0x00,0x00}, // = + {0x22,0x14,0x08,0x00,0x00,0x00}, // > + {0x04,0x04,0xb4,0x14,0x14,0x7f}, // ? + {0x5d,0x55,0x55,0x55,0x55,0x5f}, // @ + {0x3c,0x14,0x14,0x14,0x14,0x3c}, // A + {0x1f,0x15,0x15,0x17,0x14,0x1c}, // B + {0x1c,0x14,0x14,0x14,0x14,0x14}, // C + {0x1e,0x1a,0x12,0x12,0x12,0x1e}, // D + {0x1f,0x15,0x15,0x15,0x15,0x15}, // E + {0x3c,0x14,0x14,0x14,0x14,0x14}, // F + {0x1e,0x12,0x12,0x12,0x12,0x3a}, // G + {0x1e,0x04,0x04,0x04,0x04,0x1e}, // H + {0x1c,0x00,0x00,0x00,0x40,0x40}, // I + {0x74,0x00,0x00,0x00,0x00,0x00}, // J + {0x1c,0x08,0x08,0x0c,0x08,0x18}, // K + {0x1c,0x10,0x10,0x10,0x10,0x10}, // L + {0x1c,0x04,0x04,0x1c,0x04,0x1c}, // M + {0x1c,0x04,0x08,0x08,0x10,0x1c}, // N + {0x1c,0x14,0x14,0x14,0x14,0x1c}, // O + {0x3c,0x14,0x14,0x14,0x14,0x1c}, // P + {0x1c,0x14,0x14,0x14,0x14,0x3c}, // Q + {0x7c,0x14,0x14,0x14,0x54,0x74}, // R + {0x5c,0x54,0x54,0x54,0x50,0x70}, // S + {0x04,0x04,0x1c,0x04,0x04,0x04}, // T + {0x1c,0x10,0x10,0x10,0x10,0x1c}, // U + {0x04,0x04,0x08,0x08,0x10,0x1c}, // V + {0x1c,0x10,0x10,0x1c,0x10,0x1c}, // W + {0x14,0x08,0x08,0x08,0x48,0x54}, // X + {0x5c,0x50,0x50,0x50,0x50,0x7c}, // Y + {0x44,0x64,0x54,0x54,0x4c,0x44}, // Z + {0x7f,0x41,0x00,0x00,0x00,0x00}, // [ + {0x01,0x02,0x04,0x08,0x10,0x20}, // "\" + {0x41,0x7f,0x00,0x00,0x00,0x00}, // ] + {0x01,0x00,0x01,0x00,0x00,0x00}, // ^ + {0x20,0x20,0x20,0x20,0x20,0x20}, // _ + {0x00,0x01,0x00,0x00,0x00,0x00}, // ` + {0x1c,0x14,0x15,0x15,0x15,0x1f}, // a + {0x1e,0x14,0x14,0x14,0x14,0x1c}, // b + {0x1c,0x14,0x14,0x14,0x14,0x14}, // c + {0x1c,0x14,0x14,0x14,0x14,0x1e}, // d + {0x7c,0x54,0x54,0x54,0x14,0x1c}, // e + {0x3c,0x14,0x14,0x14,0x04,0x04}, // f + {0x1c,0x14,0x54,0x54,0x54,0x7c}, // g + {0x1e,0x04,0x04,0x04,0x04,0x1c}, // h + {0x1d,0x00,0x00,0x00,0x40,0x40}, // i + {0x74,0x00,0x00,0x00,0x00,0x00}, // j + {0x1c,0x08,0x08,0x0c,0x08,0x10}, // k + {0x1c,0x10,0x10,0x10,0x10,0x10}, // l + {0x1c,0x04,0x04,0x1c,0x04,0x1c}, // m + {0x1c,0x04,0x04,0x04,0x04,0x1c}, // n + {0x1c,0x14,0x14,0x14,0x14,0x1c}, // o + {0x3c,0x14,0x14,0x14,0x14,0x1c}, // p + {0x1c,0x14,0x14,0x14,0x14,0x3c}, // q + {0x1c,0x04,0x04,0x04,0x04,0x04}, // r + {0x1c,0x14,0x54,0x54,0x54,0x74}, // s + {0x1e,0x14,0x14,0x10,0x10,0x18}, // t + {0x1c,0x10,0x10,0x10,0x10,0x3c}, // u + {0x04,0x04,0x08,0x08,0x10,0x1c}, // v + {0x1c,0x10,0x10,0x1c,0x10,0x1c}, // w + {0x14,0x08,0x08,0x08,0x08,0x14}, // x + {0x1c,0x10,0x50,0x50,0x50,0x7c}, // y + {0x24,0x24,0x24,0x34,0x2c,0x24}, // z + {0x08,0x77,0x41,0x00,0x00,0x00}, // { + {0xff,0x00,0x00,0x00,0x00,0x00}, // | + {0x41,0x77,0x08,0x00,0x00,0x00}, // } + {0x01,0x00,0x01,0x00,0x00,0x00}, // ~ + {0x00,0x00,0x00,0x00,0x00,0x00} +}; \ No newline at end of file diff --git a/fonts/sloth_font.png b/fonts/sloth_font.png new file mode 100644 index 0000000..d9bd4b7 Binary files /dev/null and b/fonts/sloth_font.png differ diff --git a/fonts/tama_mini02.TTF b/fonts/tama_mini02.TTF new file mode 100644 index 0000000..ea2fbd7 Binary files /dev/null and b/fonts/tama_mini02.TTF differ diff --git a/fonts/tama_mini02_font.h b/fonts/tama_mini02_font.h new file mode 100644 index 0000000..ff31e63 --- /dev/null +++ b/fonts/tama_mini02_font.h @@ -0,0 +1,98 @@ +const unsigned char font[96][5] = { + {0x00,0x00,0x00,0x00,0x00}, // + {0x2f,0x00,0x00,0x00,0x00}, // ! + {0x03,0x00,0x03,0x00,0x00}, // " + {0x14,0x3e,0x14,0x3e,0x14}, // # + {0x2e,0x6a,0x2b,0x3a,0x00}, // $ + {0x26,0x12,0x08,0x24,0x32}, // % + {0x1c,0x17,0x15,0x34,0x00}, // & + {0x03,0x00,0x00,0x00,0x00}, // ' + {0x1e,0x21,0x00,0x00,0x00}, // ( + {0x21,0x1e,0x00,0x00,0x00}, // ) + {0x22,0x08,0x1c,0x08,0x22}, // * + {0x08,0x1c,0x08,0x00,0x00}, // + + {0x40,0x20,0x00,0x00,0x00}, // , + {0x08,0x08,0x00,0x00,0x00}, // - + {0x20,0x00,0x00,0x00,0x00}, // . + {0x20,0x10,0x08,0x04,0x02}, // / + {0x3f,0x21,0x21,0x3f,0x00}, // 0 + {0x01,0x3f,0x00,0x00,0x00}, // 1 + {0x3d,0x25,0x25,0x27,0x00}, // 2 + {0x25,0x25,0x25,0x3f,0x00}, // 3 + {0x07,0x04,0x04,0x3f,0x00}, // 4 + {0x27,0x25,0x25,0x3d,0x00}, // 5 + {0x3f,0x25,0x25,0x3d,0x00}, // 6 + {0x01,0x39,0x05,0x03,0x00}, // 7 + {0x3f,0x25,0x25,0x3f,0x00}, // 8 + {0x27,0x25,0x25,0x3f,0x00}, // 9 + {0x28,0x00,0x00,0x00,0x00}, // : + {0x40,0x28,0x00,0x00,0x00}, // ; + {0x04,0x0a,0x11,0x00,0x00}, // < + {0x14,0x14,0x00,0x00,0x00}, // = + {0x11,0x0a,0x04,0x00,0x00}, // > + {0x01,0x2d,0x05,0x07,0x00}, // ? + {0x3f,0x21,0x3d,0x25,0x1f}, // @ + {0x3f,0x09,0x09,0x3f,0x00}, // A + {0x3f,0x25,0x27,0x3c,0x00}, // B + {0x3f,0x21,0x21,0x21,0x00}, // C + {0x3f,0x21,0x21,0x1e,0x00}, // D + {0x3f,0x25,0x25,0x25,0x00}, // E + {0x3f,0x05,0x05,0x05,0x00}, // F + {0x3f,0x21,0x25,0x3d,0x00}, // G + {0x3f,0x04,0x04,0x3f,0x00}, // H + {0x21,0x3f,0x21,0x00,0x00}, // I + {0x38,0x20,0x21,0x3f,0x01}, // J + {0x3f,0x04,0x04,0x3b,0x00}, // K + {0x3f,0x20,0x20,0x20,0x00}, // L + {0x3f,0x01,0x3f,0x01,0x3f}, // M + {0x3f,0x02,0x04,0x3f,0x00}, // N + {0x3f,0x21,0x21,0x3f,0x00}, // O + {0x3f,0x09,0x09,0x0f,0x00}, // P + {0x3f,0x21,0x31,0x3f,0x00}, // Q + {0x3f,0x09,0x39,0x2f,0x00}, // R + {0x27,0x25,0x25,0x3d,0x00}, // S + {0x01,0x01,0x3f,0x01,0x01}, // T + {0x3f,0x20,0x20,0x3f,0x00}, // U + {0x0f,0x10,0x30,0x1f,0x00}, // V + {0x3f,0x20,0x3f,0x20,0x3f}, // W + {0x3b,0x04,0x04,0x3b,0x00}, // X + {0x0f,0x08,0x38,0x0f,0x00}, // Y + {0x31,0x29,0x25,0x23,0x00}, // Z + {0x3f,0x21,0x00,0x00,0x00}, // [ + {0x20,0x10,0x08,0x04,0x02}, // "\" + {0x21,0x3f,0x00,0x00,0x00}, // ] + {0x02,0x01,0x01,0x02,0x00}, // ^ + {0x20,0x20,0x00,0x00,0x00}, // _ + {0x01,0x02,0x00,0x00,0x00}, // ` + {0x38,0x24,0x24,0x3c,0x00}, // a + {0x3f,0x24,0x24,0x3c,0x00}, // b + {0x3c,0x24,0x24,0x24,0x00}, // c + {0x3c,0x24,0x24,0x3f,0x00}, // d + {0x3c,0x2c,0x2c,0x2c,0x00}, // e + {0x04,0x3f,0x05,0x00,0x00}, // f + {0xbc,0xa4,0xa4,0xfc,0x00}, // g + {0x3f,0x04,0x04,0x3c,0x00}, // h + {0x3d,0x00,0x00,0x00,0x00}, // i + {0x80,0xfd,0x00,0x00,0x00}, // j + {0x3f,0x08,0x08,0x34,0x00}, // k + {0x3f,0x00,0x00,0x00,0x00}, // l + {0x3c,0x04,0x3c,0x04,0x3c}, // m + {0x3c,0x04,0x04,0x3c,0x00}, // n + {0x3c,0x24,0x24,0x3c,0x00}, // o + {0xfc,0x24,0x24,0x3c,0x00}, // p + {0x3c,0x24,0x24,0xfc,0x00}, // q + {0x3c,0x08,0x04,0x00,0x00}, // r + {0x2c,0x2c,0x2c,0x3c,0x00}, // s + {0x04,0x3f,0x24,0x00,0x00}, // t + {0x3c,0x20,0x20,0x3c,0x00}, // u + {0x0c,0x10,0x30,0x1c,0x00}, // v + {0x3c,0x20,0x3c,0x20,0x3c}, // w + {0x34,0x08,0x08,0x34,0x00}, // x + {0xbc,0xa0,0xa0,0xfc,0x00}, // y + {0x24,0x34,0x2c,0x24,0x00}, // z + {0x04,0x3f,0x21,0x00,0x00}, // { + {0x3f,0x00,0x00,0x00,0x00}, // | + {0x21,0x3f,0x04,0x00,0x00}, // } + {0x01,0x02,0x02,0x01,0x00}, // ~ + {0x00,0x00,0x00,0x00,0x00} +}; \ No newline at end of file diff --git a/fonts/tama_mini02_font.png b/fonts/tama_mini02_font.png new file mode 100644 index 0000000..ad547b8 Binary files /dev/null and b/fonts/tama_mini02_font.png differ diff --git a/fonts/zxpix.TTF b/fonts/zxpix.TTF new file mode 100644 index 0000000..83e63a6 Binary files /dev/null and b/fonts/zxpix.TTF differ diff --git a/fonts/zxpix_font.h b/fonts/zxpix_font.h new file mode 100644 index 0000000..0188b0e --- /dev/null +++ b/fonts/zxpix_font.h @@ -0,0 +1,98 @@ +const unsigned char font[96][6] = { + {0x00,0x00,0x00,0x00,0x00,0x00}, // + {0x2f,0x00,0x00,0x00,0x00,0x00}, // ! + {0x03,0x00,0x03,0x00,0x00,0x00}, // " + {0x12,0x3f,0x12,0x12,0x3f,0x12}, // # + {0x2e,0x2a,0x7f,0x2a,0x3a,0x00}, // $ + {0x23,0x13,0x08,0x04,0x32,0x31}, // % + {0x10,0x2a,0x25,0x2a,0x10,0x20}, // & + {0x02,0x01,0x00,0x00,0x00,0x00}, // ' + {0x1e,0x21,0x00,0x00,0x00,0x00}, // ( + {0x21,0x1e,0x00,0x00,0x00,0x00}, // ) + {0x08,0x2a,0x1c,0x2a,0x08,0x08}, // * + {0x08,0x08,0x3e,0x08,0x08,0x08}, // + + {0x80,0x60,0x00,0x00,0x00,0x00}, // , + {0x08,0x08,0x08,0x08,0x08,0x00}, // - + {0x30,0x30,0x00,0x00,0x00,0x00}, // . + {0x20,0x10,0x08,0x04,0x02,0x00}, // / + {0x1e,0x31,0x29,0x25,0x23,0x1e}, // 0 + {0x22,0x21,0x3f,0x20,0x20,0x20}, // 1 + {0x32,0x29,0x29,0x29,0x29,0x26}, // 2 + {0x12,0x21,0x21,0x25,0x25,0x1a}, // 3 + {0x18,0x14,0x12,0x3f,0x10,0x10}, // 4 + {0x17,0x25,0x25,0x25,0x25,0x19}, // 5 + {0x1e,0x25,0x25,0x25,0x25,0x18}, // 6 + {0x01,0x01,0x31,0x09,0x05,0x03}, // 7 + {0x1a,0x25,0x25,0x25,0x25,0x1a}, // 8 + {0x06,0x29,0x29,0x29,0x29,0x1e}, // 9 + {0x24,0x00,0x00,0x00,0x00,0x00}, // : + {0x80,0x64,0x00,0x00,0x00,0x00}, // ; + {0x08,0x14,0x22,0x00,0x00,0x00}, // < + {0x14,0x14,0x14,0x14,0x14,0x00}, // = + {0x22,0x14,0x08,0x00,0x00,0x00}, // > + {0x02,0x01,0x01,0x29,0x05,0x02}, // ? + {0x1e,0x21,0x2d,0x2b,0x2d,0x0e}, // @ + {0x3e,0x09,0x09,0x09,0x09,0x3e}, // A + {0x3f,0x25,0x25,0x25,0x25,0x1a}, // B + {0x1e,0x21,0x21,0x21,0x21,0x12}, // C + {0x3f,0x21,0x21,0x21,0x12,0x0c}, // D + {0x3f,0x25,0x25,0x25,0x25,0x21}, // E + {0x3f,0x05,0x05,0x05,0x05,0x01}, // F + {0x1e,0x21,0x21,0x21,0x29,0x1a}, // G + {0x3f,0x04,0x04,0x04,0x04,0x3f}, // H + {0x21,0x21,0x3f,0x21,0x21,0x21}, // I + {0x10,0x20,0x20,0x20,0x20,0x1f}, // J + {0x3f,0x04,0x0c,0x0a,0x11,0x20}, // K + {0x3f,0x20,0x20,0x20,0x20,0x20}, // L + {0x3f,0x02,0x04,0x04,0x02,0x3f}, // M + {0x3f,0x02,0x04,0x08,0x10,0x3f}, // N + {0x1e,0x21,0x21,0x21,0x21,0x1e}, // O + {0x3f,0x09,0x09,0x09,0x09,0x06}, // P + {0x1e,0x21,0x29,0x31,0x21,0x1e}, // Q + {0x3f,0x09,0x09,0x09,0x19,0x26}, // R + {0x12,0x25,0x25,0x25,0x25,0x18}, // S + {0x01,0x01,0x01,0x3f,0x01,0x01}, // T + {0x1f,0x20,0x20,0x20,0x20,0x1f}, // U + {0x0f,0x10,0x20,0x20,0x10,0x0f}, // V + {0x1f,0x20,0x10,0x10,0x20,0x1f}, // W + {0x21,0x12,0x0c,0x0c,0x12,0x21}, // X + {0x01,0x02,0x0c,0x38,0x04,0x02}, // Y + {0x21,0x31,0x29,0x25,0x23,0x21}, // Z + {0x3f,0x21,0x00,0x00,0x00,0x00}, // [ + {0x02,0x04,0x08,0x10,0x20,0x00}, // "\" + {0x21,0x3f,0x00,0x00,0x00,0x00}, // ] + {0x04,0x02,0x3f,0x02,0x04,0x00}, // ^ + {0x40,0x40,0x40,0x40,0x40,0x40}, // _ + {0x01,0x02,0x00,0x00,0x00,0x00}, // ` + {0x10,0x30,0x2a,0x2a,0x3c,0x00}, // a + {0x3f,0x24,0x24,0x24,0x18,0x00}, // b + {0x0c,0x14,0x22,0x22,0x00,0x00}, // c + {0x18,0x24,0x24,0x24,0x3f,0x00}, // d + {0x1c,0x2c,0x2a,0x2a,0x24,0x00}, // e + {0x3e,0x05,0x01,0x00,0x00,0x00}, // f + {0x18,0x28,0xa4,0xa4,0x7c,0x00}, // g + {0x3f,0x04,0x04,0x0c,0x30,0x00}, // h + {0x24,0x3d,0x20,0x00,0x00,0x00}, // i + {0x20,0x40,0x40,0x3d,0x00,0x00}, // j + {0x3f,0x0c,0x12,0x20,0x00,0x00}, // k + {0x1f,0x20,0x20,0x00,0x00,0x00}, // l + {0x3e,0x02,0x3c,0x02,0x3c,0x00}, // m + {0x3e,0x02,0x02,0x02,0x3c,0x00}, // n + {0x0c,0x14,0x22,0x32,0x0c,0x00}, // o + {0xfc,0x24,0x24,0x24,0x18,0x00}, // p + {0x18,0x24,0x24,0x24,0xfc,0x80}, // q + {0x3c,0x04,0x02,0x02,0x00,0x00}, // r + {0x24,0x2c,0x2a,0x2a,0x10,0x00}, // s + {0x02,0x1f,0x22,0x20,0x00,0x00}, // t + {0x1e,0x20,0x20,0x20,0x1e,0x00}, // u + {0x06,0x18,0x20,0x18,0x06,0x00}, // v + {0x1e,0x30,0x1c,0x30,0x0e,0x00}, // w + {0x22,0x14,0x08,0x14,0x22,0x00}, // x + {0x0c,0x10,0xa0,0xa0,0x7c,0x00}, // y + {0x22,0x32,0x2a,0x26,0x22,0x22}, // z + {0x0c,0x3f,0x21,0x00,0x00,0x00}, // { + {0x3f,0x00,0x00,0x00,0x00,0x00}, // | + {0x21,0x3f,0x0c,0x00,0x00,0x00}, // } + {0x02,0x01,0x02,0x01,0x00,0x00}, // ~ + {0x00,0x00,0x00,0x00,0x00,0x00} +}; \ No newline at end of file diff --git a/fonts/zxpix_font.png b/fonts/zxpix_font.png new file mode 100644 index 0000000..17c94bf Binary files /dev/null and b/fonts/zxpix_font.png differ