Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
SystemFont5x7.h
00001 /* 00002 * 00003 * System5x7 00004 * 00005 * 00006 * File Name : System5x7.h 00007 * Date : 28 Oct 2008 00008 * Font size in bytes : 470 00009 * Font width : 5 00010 * Font height : 7 00011 * Font first char : 32 00012 * Font last char : 127 00013 * Font used chars : 94 00014 * 00015 * The font data are defined as 00016 * 00017 * struct _FONT_ { 00018 * uint16_t font_Size_in_Bytes_over_all_included_Size_it_self; 00019 * uint8_t font_Width_in_Pixel_for_fixed_drawing; 00020 * uint8_t font_Height_in_Pixel_for_all_characters; 00021 * unit8_t font_First_Char; 00022 * uint8_t font_Char_Count; 00023 * 00024 * uint8_t font_Char_Widths[font_Last_Char - font_First_Char +1]; 00025 * // for each character the separate width in pixels, 00026 * // characters < 128 have an implicit virtual right empty row 00027 * 00028 * uint8_t font_data[]; 00029 * // bit field of all characters 00030 */ 00031 00032 #ifndef SYSTEM5x7_H 00033 #define SYSTEM5x7_H 00034 00035 #define SYSTEM5x7_WIDTH 5 00036 #define SYSTEM5x7_HEIGHT 7 00037 00038 static unsigned int System5x7[] = { 00039 0x0, 0x0, // size of zero indicates fixed width font, actual length is width * height 00040 0x05, // width 00041 0x07, // height 00042 0x20, // first char 00043 0x7f, // char count 00044 00045 // Fixed width; char width table not used !!!! 00046 00047 // font data 00048 0x00, 0x00, 0x00, 0x00, 0x00,// (space) 00049 0x00, 0x00, 0x5F, 0x00, 0x00,// ! 00050 0x00, 0x07, 0x00, 0x07, 0x00,// " 00051 0x14, 0x7F, 0x14, 0x7F, 0x14,// # 00052 0x24, 0x2A, 0x7F, 0x2A, 0x12,// $ 00053 0x23, 0x13, 0x08, 0x64, 0x62,// % 00054 0x36, 0x49, 0x55, 0x22, 0x50,// & 00055 0x00, 0x05, 0x03, 0x00, 0x00,// ' 00056 0x00, 0x1C, 0x22, 0x41, 0x00,// ( 00057 0x00, 0x41, 0x22, 0x1C, 0x00,// ) 00058 0x08, 0x2A, 0x1C, 0x2A, 0x08,// * 00059 0x08, 0x08, 0x3E, 0x08, 0x08,// + 00060 0x00, 0x50, 0x30, 0x00, 0x00,// , 00061 0x08, 0x08, 0x08, 0x08, 0x08,// - 00062 0x00, 0x60, 0x60, 0x00, 0x00,// . 00063 0x20, 0x10, 0x08, 0x04, 0x02,// / 00064 0x3E, 0x51, 0x49, 0x45, 0x3E,// 0 00065 0x00, 0x42, 0x7F, 0x40, 0x00,// 1 00066 0x42, 0x61, 0x51, 0x49, 0x46,// 2 00067 0x21, 0x41, 0x45, 0x4B, 0x31,// 3 00068 0x18, 0x14, 0x12, 0x7F, 0x10,// 4 00069 0x27, 0x45, 0x45, 0x45, 0x39,// 5 00070 0x3C, 0x4A, 0x49, 0x49, 0x30,// 6 00071 0x01, 0x71, 0x09, 0x05, 0x03,// 7 00072 0x36, 0x49, 0x49, 0x49, 0x36,// 8 00073 0x06, 0x49, 0x49, 0x29, 0x1E,// 9 00074 0x00, 0x36, 0x36, 0x00, 0x00,// : 00075 0x00, 0x56, 0x36, 0x00, 0x00,// ; 00076 0x00, 0x08, 0x14, 0x22, 0x41,// < 00077 0x14, 0x14, 0x14, 0x14, 0x14,// = 00078 0x41, 0x22, 0x14, 0x08, 0x00,// > 00079 0x02, 0x01, 0x51, 0x09, 0x06,// ? 00080 0x32, 0x49, 0x79, 0x41, 0x3E,// @ 00081 0x7E, 0x11, 0x11, 0x11, 0x7E,// A 00082 0x7F, 0x49, 0x49, 0x49, 0x36,// B 00083 0x3E, 0x41, 0x41, 0x41, 0x22,// C 00084 0x7F, 0x41, 0x41, 0x22, 0x1C,// D 00085 0x7F, 0x49, 0x49, 0x49, 0x41,// E 00086 0x7F, 0x09, 0x09, 0x01, 0x01,// F 00087 0x3E, 0x41, 0x41, 0x51, 0x32,// G 00088 0x7F, 0x08, 0x08, 0x08, 0x7F,// H 00089 0x00, 0x41, 0x7F, 0x41, 0x00,// I 00090 0x20, 0x40, 0x41, 0x3F, 0x01,// J 00091 0x7F, 0x08, 0x14, 0x22, 0x41,// K 00092 0x7F, 0x40, 0x40, 0x40, 0x40,// L 00093 0x7F, 0x02, 0x04, 0x02, 0x7F,// M 00094 0x7F, 0x04, 0x08, 0x10, 0x7F,// N 00095 0x3E, 0x41, 0x41, 0x41, 0x3E,// O 00096 0x7F, 0x09, 0x09, 0x09, 0x06,// P 00097 0x3E, 0x41, 0x51, 0x21, 0x5E,// Q 00098 0x7F, 0x09, 0x19, 0x29, 0x46,// R 00099 0x46, 0x49, 0x49, 0x49, 0x31,// S 00100 0x01, 0x01, 0x7F, 0x01, 0x01,// T 00101 0x3F, 0x40, 0x40, 0x40, 0x3F,// U 00102 0x1F, 0x20, 0x40, 0x20, 0x1F,// V 00103 0x7F, 0x20, 0x18, 0x20, 0x7F,// W 00104 0x63, 0x14, 0x08, 0x14, 0x63,// X 00105 0x03, 0x04, 0x78, 0x04, 0x03,// Y 00106 0x61, 0x51, 0x49, 0x45, 0x43,// Z 00107 0x00, 0x00, 0x7F, 0x41, 0x41,// [ 00108 0x02, 0x04, 0x08, 0x10, 0x20,// "\" 00109 0x41, 0x41, 0x7F, 0x00, 0x00,// ] 00110 0x04, 0x02, 0x01, 0x02, 0x04,// ^ 00111 0x40, 0x40, 0x40, 0x40, 0x40,// _ 00112 0x00, 0x01, 0x02, 0x04, 0x00,// ` 00113 0x20, 0x54, 0x54, 0x54, 0x78,// a 00114 0x7F, 0x48, 0x44, 0x44, 0x38,// b 00115 0x38, 0x44, 0x44, 0x44, 0x20,// c 00116 0x38, 0x44, 0x44, 0x48, 0x7F,// d 00117 0x38, 0x54, 0x54, 0x54, 0x18,// e 00118 0x08, 0x7E, 0x09, 0x01, 0x02,// f 00119 0x08, 0x14, 0x54, 0x54, 0x3C,// g 00120 0x7F, 0x08, 0x04, 0x04, 0x78,// h 00121 0x00, 0x44, 0x7D, 0x40, 0x00,// i 00122 0x20, 0x40, 0x44, 0x3D, 0x00,// j 00123 0x00, 0x7F, 0x10, 0x28, 0x44,// k 00124 0x00, 0x41, 0x7F, 0x40, 0x00,// l 00125 0x7C, 0x04, 0x18, 0x04, 0x78,// m 00126 0x7C, 0x08, 0x04, 0x04, 0x78,// n 00127 0x38, 0x44, 0x44, 0x44, 0x38,// o 00128 0x7C, 0x14, 0x14, 0x14, 0x08,// p 00129 0x08, 0x14, 0x14, 0x18, 0x7C,// q 00130 0x7C, 0x08, 0x04, 0x04, 0x08,// r 00131 0x48, 0x54, 0x54, 0x54, 0x20,// s 00132 0x04, 0x3F, 0x44, 0x40, 0x20,// t 00133 0x3C, 0x40, 0x40, 0x20, 0x7C,// u 00134 0x1C, 0x20, 0x40, 0x20, 0x1C,// v 00135 0x3C, 0x40, 0x30, 0x40, 0x3C,// w 00136 0x44, 0x28, 0x10, 0x28, 0x44,// x 00137 0x0C, 0x50, 0x50, 0x50, 0x3C,// y 00138 0x44, 0x64, 0x54, 0x4C, 0x44,// z 00139 0x00, 0x08, 0x36, 0x41, 0x00,// { 00140 0x00, 0x00, 0x7F, 0x00, 0x00,// | 00141 0x00, 0x41, 0x36, 0x08, 0x00,// } 00142 0x08, 0x08, 0x2A, 0x1C, 0x08,// -> 00143 0x08, 0x1C, 0x2A, 0x08, 0x08 // <- 00144 00145 }; 00146 00147 #endif
Generated on Fri Jul 15 2022 03:13:57 by
1.7.2