Add new font demo showing how to include user application fonts.
This commit is contained in:
parent
323f53e1dc
commit
0e707769b4
162
demos/modules/gdisp/gdisp_fonts/font_Apple12.h
Normal file
162
demos/modules/gdisp/gdisp_fonts/font_Apple12.h
Normal file
@ -0,0 +1,162 @@
|
||||
|
||||
|
||||
/* Start of automatically generated font definition for phpoXxi1Y. */
|
||||
|
||||
#ifndef MF_RLEFONT_INTERNALS
|
||||
#define MF_RLEFONT_INTERNALS
|
||||
#endif
|
||||
#include "mf_rlefont.h"
|
||||
|
||||
#ifndef MF_RLEFONT_VERSION_4_SUPPORTED
|
||||
#error The font file is not compatible with this version of mcufont.
|
||||
#endif
|
||||
|
||||
static const uint8_t mf_rlefont_phpoXxi1Y_dictionary_data[193] = {
|
||||
0x04, 0x81, 0x04, 0x01, 0x81, 0x04, 0x0d, 0x81, 0x05, 0x80, 0x03, 0x80, 0x0b, 0x80, 0x09, 0x81,
|
||||
0x08, 0x83, 0x06, 0x01, 0x80, 0x08, 0x02, 0x81, 0x02, 0x81, 0x06, 0x84, 0x04, 0x80, 0x0a, 0x81,
|
||||
0x02, 0x0f, 0x80, 0x85, 0x02, 0x04, 0x81, 0x04, 0x81, 0x81, 0x06, 0x31, 0x81, 0x08, 0x08, 0x82,
|
||||
0x06, 0x33, 0x83, 0x06, 0x81, 0x03, 0x1b, 0x02, 0x80, 0x02, 0x04, 0x81, 0x03, 0x81, 0x0a, 0x0c,
|
||||
0x80, 0x0b, 0x80, 0x0b, 0x06, 0x81, 0x0a, 0x81, 0x04, 0x08, 0x80, 0x80, 0x01, 0x01, 0x81, 0x13,
|
||||
0x01, 0x80, 0x33, 0x82, 0x02, 0x06, 0x81, 0x1c, 0x2c, 0x1a, 0xd3, 0x64, 0x8c, 0x26, 0x26, 0x21,
|
||||
0x18, 0x27, 0x18, 0xda, 0x19, 0x2f, 0x1b, 0x2a, 0x00, 0xa0, 0x2a, 0x34, 0x2c, 0x3c, 0xf4, 0x34,
|
||||
0xd4, 0xa3, 0x64, 0x31, 0x64, 0x20, 0x1e, 0x34, 0x34, 0x39, 0x65, 0xca, 0x64, 0x2f, 0x64, 0x1a,
|
||||
0x25, 0x21, 0x18, 0x34, 0x3c, 0x25, 0x30, 0x26, 0x26, 0x18, 0x1c, 0x3c, 0x25, 0x26, 0x26, 0x74,
|
||||
0x00, 0xa0, 0xe4, 0x34, 0x2f, 0xc6, 0x35, 0x32, 0xd2, 0xca, 0x70, 0x34, 0xc7, 0x8a, 0x24, 0x3b,
|
||||
0xa8, 0x35, 0x1f, 0x21, 0x25, 0x1b, 0x23, 0x35, 0x23, 0x32, 0x34, 0x1b, 0xe3, 0x65, 0x35, 0x23,
|
||||
0x24, 0x3d, 0x85, 0x1a, 0x18, 0x24, 0x3b, 0x26, 0x2f, 0x8c, 0x1f, 0x93, 0x26, 0x26, 0x26, 0x18,
|
||||
0xc7,
|
||||
};
|
||||
|
||||
static const uint16_t mf_rlefont_phpoXxi1Y_dictionary_offsets[76] = {
|
||||
0x0000, 0x0003, 0x0006, 0x0008, 0x000a, 0x000c, 0x0011, 0x0013,
|
||||
0x0016, 0x0018, 0x001b, 0x001d, 0x0021, 0x0023, 0x0025, 0x0029,
|
||||
0x002b, 0x002d, 0x002e, 0x0031, 0x0033, 0x0036, 0x0037, 0x0039,
|
||||
0x003a, 0x003c, 0x003e, 0x003f, 0x0044, 0x0049, 0x004b, 0x004d,
|
||||
0x004f, 0x0050, 0x0052, 0x0053, 0x0055, 0x0056, 0x0057, 0x0059,
|
||||
0x005c, 0x005f, 0x0061, 0x0063, 0x0065, 0x0067, 0x006b, 0x006e,
|
||||
0x0070, 0x0073, 0x0075, 0x0077, 0x0079, 0x007b, 0x007d, 0x007f,
|
||||
0x0086, 0x008a, 0x008d, 0x008f, 0x0090, 0x0092, 0x0095, 0x0098,
|
||||
0x0099, 0x009b, 0x00a0, 0x00a4, 0x00a9, 0x00ac, 0x00ae, 0x00b0,
|
||||
0x00b5, 0x00b8, 0x00bc, 0x00c1,
|
||||
};
|
||||
|
||||
static const uint8_t mf_rlefont_phpoXxi1Y_glyph_data_0[954] = {
|
||||
0x0c, 0x00, 0x10, 0x0c, 0x32, 0x4b, 0x4b, 0x2d, 0x31, 0x10, 0x0d, 0x2f, 0x1a, 0x4d, 0x4d, 0x4d,
|
||||
0x4d, 0x37, 0x10, 0x0c, 0x00, 0x1a, 0x4d, 0x4d, 0x19, 0x80, 0x8b, 0x70, 0x44, 0xd1, 0x1b, 0x83,
|
||||
0x64, 0x4d, 0x4d, 0x4d, 0x37, 0x10, 0x0c, 0x5c, 0x22, 0x9f, 0x3c, 0x9e, 0x29, 0x93, 0x4e, 0x4d,
|
||||
0x85, 0x82, 0x47, 0x10, 0x0e, 0xe4, 0x45, 0xc5, 0x74, 0x35, 0x1d, 0x86, 0x2c, 0x54, 0x2a, 0xbc,
|
||||
0x10, 0x0c, 0x24, 0x2f, 0x4e, 0x4d, 0x4d, 0xea, 0x38, 0x1f, 0xba, 0x4c, 0x32, 0xa7, 0x38, 0x72,
|
||||
0x10, 0x0c, 0x32, 0x4b, 0x2c, 0x10, 0x0e, 0xe4, 0x24, 0x85, 0x24, 0x47, 0x46, 0x8c, 0x32, 0x1a,
|
||||
0x10, 0x0d, 0x32, 0x2c, 0x38, 0xe8, 0x3c, 0x4b, 0x2c, 0xe4, 0x1f, 0x1a, 0x10, 0x0c, 0x3c, 0x55,
|
||||
0xba, 0x8a, 0x7c, 0x47, 0xc4, 0x93, 0x4e, 0x44, 0x71, 0x44, 0x23, 0x10, 0x0c, 0x38, 0x47, 0xc4,
|
||||
0x4d, 0x5b, 0x10, 0x0c, 0x38, 0x38, 0x3a, 0x56, 0x1f, 0x1a, 0x10, 0x0c, 0x38, 0x3a, 0x1c, 0x83,
|
||||
0x10, 0x0c, 0x2d, 0x3a, 0x3a, 0x4e, 0x10, 0x0c, 0x2d, 0x18, 0x1b, 0x1d, 0x56, 0x23, 0x10, 0x0c,
|
||||
0x60, 0x18, 0xc7, 0x8a, 0x8b, 0xaa, 0x58, 0x4c, 0xb5, 0x52, 0x61, 0x10, 0x0c, 0x5c, 0x87, 0x4b,
|
||||
0x46, 0xe3, 0x10, 0x0c, 0x60, 0x55, 0xc4, 0x2a, 0x88, 0x46, 0x39, 0x83, 0x10, 0x0c, 0x1a, 0x25,
|
||||
0x5e, 0x44, 0x3c, 0x54, 0x2a, 0x59, 0x10, 0x0c, 0x5c, 0xf7, 0x2a, 0xc2, 0x4e, 0x4d, 0x5b, 0x10,
|
||||
0x0c, 0x1a, 0x25, 0x41, 0x3c, 0x25, 0x55, 0x52, 0x18, 0xc0, 0x10, 0x0c, 0xe4, 0xa3, 0x3c, 0xa3,
|
||||
0x1b, 0x1d, 0x2f, 0x25, 0x62, 0x7c, 0x10, 0x0c, 0x00, 0x1a, 0x22, 0x44, 0x1d, 0x2f, 0x1d, 0x41,
|
||||
0x34, 0x10, 0x0c, 0x60, 0x52, 0x61, 0x26, 0x52, 0x61, 0x10, 0x0c, 0x24, 0x3b, 0x50, 0x4a, 0x25,
|
||||
0x5e, 0x44, 0x3c, 0x32, 0x80, 0x10, 0x0c, 0x3a, 0xca, 0x38, 0x1a, 0x10, 0x0c, 0x3a, 0xe8, 0x29,
|
||||
0x88, 0x38, 0x56, 0x1f, 0x1a, 0x10, 0x0c, 0x00, 0x1b, 0x1d, 0x39, 0x1d, 0x1c, 0x33, 0x19, 0x35,
|
||||
0x10, 0x0c, 0x28, 0x25, 0x38, 0x44, 0x83, 0x10, 0x0c, 0x24, 0x36, 0x32, 0x56, 0x41, 0x4e, 0x47,
|
||||
0x1b, 0x1d, 0x10, 0x0c, 0x5f, 0x1b, 0x38, 0x90, 0x5e, 0x38, 0x1a, 0x10, 0x0c, 0x60, 0xf4, 0x8a,
|
||||
0x58, 0x58, 0x58, 0x3b, 0x70, 0x85, 0x7a, 0x2c, 0x38, 0x4a, 0x10, 0x0c, 0xe4, 0x32, 0x90, 0x38,
|
||||
0x8d, 0x50, 0x0f, 0x83, 0x62, 0x10, 0x0c, 0x3f, 0x26, 0x52, 0x51, 0x50, 0x3d, 0x51, 0x10, 0x0c,
|
||||
0x5f, 0x42, 0x4b, 0x27, 0x32, 0xc0, 0x10, 0x0c, 0x3f, 0x52, 0x52, 0x62, 0x85, 0x82, 0x10, 0x0c,
|
||||
0x4f, 0x18, 0x46, 0x39, 0x83, 0x10, 0x0c, 0x4f, 0x18, 0x4b, 0x10, 0x0c, 0x24, 0xe3, 0x18, 0x4b,
|
||||
0x3c, 0x67, 0xa5, 0x75, 0x26, 0xc4, 0x82, 0x10, 0x0c, 0x1a, 0x62, 0x4c, 0xc3, 0x62, 0x4c, 0x10,
|
||||
0x0d, 0x24, 0x93, 0x34, 0x4b, 0x46, 0xe3, 0x10, 0x0c, 0x32, 0x47, 0x4b, 0x59, 0x10, 0x0c, 0x1a,
|
||||
0x26, 0x3e, 0x36, 0x64, 0x19, 0x54, 0x2a, 0x9c, 0x27, 0xaa, 0x4e, 0x3e, 0xf5, 0x26, 0x10, 0x0c,
|
||||
0xe4, 0x47, 0x4b, 0x46, 0xca, 0x35, 0x83, 0x10, 0x0b, 0x1a, 0x49, 0x49, 0xf9, 0x87, 0x43, 0x43,
|
||||
0x43, 0x37, 0x49, 0x49, 0x49, 0x49, 0x31, 0x10, 0x0b, 0x1a, 0x49, 0x49, 0x49, 0x36, 0x19, 0x43,
|
||||
0x43, 0x00, 0x77, 0x64, 0x49, 0x49, 0x49, 0x31, 0x10, 0x0c, 0x60, 0x62, 0x4c, 0x52, 0x61, 0x10,
|
||||
0x0c, 0x3f, 0x26, 0x52, 0x51, 0x18, 0x4b, 0x10, 0x0c, 0x60, 0x62, 0xba, 0x19, 0x97, 0x2c, 0xc5,
|
||||
0x8c, 0x1f, 0xbb, 0x10, 0x0c, 0x3f, 0x50, 0x3d, 0x48, 0x4d, 0x4d, 0x40, 0x10, 0x0c, 0x60, 0xd4,
|
||||
0x23, 0xf4, 0x38, 0x1e, 0x59, 0x10, 0x0c, 0x1a, 0x5b, 0x5e, 0x5e, 0x5e, 0x10, 0x0c, 0x1a, 0x62,
|
||||
0x37, 0x52, 0x52, 0x61, 0x10, 0x0c, 0x1a, 0x62, 0x37, 0x50, 0x5a, 0x10, 0x0b, 0x1a, 0x49, 0x49,
|
||||
0x49, 0x49, 0x2f, 0x19, 0x43, 0x43, 0x43, 0x72, 0x85, 0xa7, 0x85, 0x67, 0x10, 0x0c, 0x00, 0x29,
|
||||
0x50, 0x5a, 0x00, 0xa8, 0x44, 0x40, 0x26, 0x10, 0x0c, 0x00, 0x29, 0x50, 0xa8, 0x38, 0x41, 0x4b,
|
||||
0x10, 0x0c, 0x1a, 0x25, 0x5e, 0x44, 0x32, 0x23, 0x44, 0x47, 0x2c, 0x44, 0x83, 0x10, 0x0c, 0x1a,
|
||||
0x25, 0xa0, 0x45, 0x54, 0x45, 0x54, 0x35, 0x83, 0x10, 0x0c, 0x38, 0x2c, 0x29, 0xc5, 0x35, 0x3c,
|
||||
0x2c, 0x35, 0x33, 0x37, 0x10, 0x0c, 0x32, 0x74, 0x1e, 0x54, 0x45, 0x54, 0x45, 0x31, 0x85, 0x83,
|
||||
0x10, 0x0d, 0x3a, 0x21, 0xcc, 0x86, 0x32, 0x26, 0x10, 0x0d, 0xf4, 0x3a, 0x3a, 0x2b, 0x83, 0x10,
|
||||
0x0c, 0x24, 0x36, 0x32, 0x86, 0x5e, 0x10, 0x0c, 0x2b, 0xf4, 0x47, 0x4a, 0x5d, 0x18, 0x4a, 0x10,
|
||||
0x0c, 0x1a, 0x55, 0x48, 0x40, 0x50, 0xc3, 0x10, 0x0c, 0x2b, 0x87, 0x86, 0x4b, 0x2c, 0x29, 0x82,
|
||||
0x10, 0x0c, 0x3c, 0x1a, 0x55, 0xc3, 0x1b, 0x52, 0x50, 0x27, 0xc3, 0x10, 0x0c, 0x2b, 0x44, 0x3e,
|
||||
0x4c, 0x5d, 0x55, 0xc4, 0x82, 0x10, 0x0c, 0x29, 0x2a, 0x31, 0x8b, 0x90, 0x8a, 0x41, 0xc4, 0x5b,
|
||||
0x00, 0x4e, 0x10, 0x0c, 0x2b, 0x29, 0x50, 0xe7, 0x48, 0xd3, 0x47, 0xc0, 0x10, 0x0c, 0x1a, 0x55,
|
||||
0x48, 0x40, 0x62, 0x10, 0x0d, 0x32, 0x2c, 0x2d, 0x54, 0x47, 0x4b, 0xf4, 0x80, 0x10, 0x0c, 0xc4,
|
||||
0x32, 0x8c, 0x2d, 0x74, 0x32, 0x56, 0x56, 0x1f, 0x3e, 0x0f, 0x38, 0xf2, 0x10, 0x0c, 0x1a, 0x55,
|
||||
0x26, 0xd4, 0x95, 0x64, 0x21, 0x1e, 0xb0, 0x35, 0x9d, 0x64, 0x8c, 0x26, 0x10, 0x0d, 0x24, 0x42,
|
||||
0x4b, 0x4b, 0xf4, 0x80, 0x10, 0x0c, 0x28, 0x36, 0x92, 0x90, 0x92, 0x70, 0x58, 0x58, 0x58, 0x4c,
|
||||
0xba, 0x26, 0x10, 0x0c, 0x28, 0xd3, 0x64, 0x40, 0x62, 0x10, 0x0c, 0x2b, 0x44, 0x40, 0x50, 0xc0,
|
||||
0x10, 0x0c, 0x28, 0xd3, 0x64, 0x40, 0x50, 0xc3, 0x46, 0x0c, 0x3a, 0xc3, 0x1b, 0x52, 0x50, 0x27,
|
||||
0xc3, 0x55, 0x30, 0x10, 0x0c, 0x28, 0xe2, 0x65, 0x32, 0x8b, 0x4b, 0x2c, 0x10, 0x0c, 0x3a, 0xe3,
|
||||
0x85, 0x23, 0x32, 0x1e, 0x1b, 0x32, 0x21, 0x51, 0x10, 0x0c, 0x32, 0x46, 0x5b, 0x8a, 0x90, 0x8a,
|
||||
0x74, 0x10, 0x0c, 0x28, 0x62, 0x3d, 0x65, 0x54, 0x2a, 0xbb, 0x10, 0x0c, 0x28, 0x62, 0x19, 0x5a,
|
||||
0x10, 0x0b, 0x28, 0x49, 0x49, 0x2f, 0x19, 0x43, 0x43, 0x43, 0x43, 0x00, 0x7b, 0x10, 0x0c, 0x28,
|
||||
0x18, 0xa6, 0x35, 0x88, 0x2c, 0xe4, 0x98, 0x3c, 0xa8, 0x44, 0x8c, 0x26, 0x10, 0x0c, 0x28, 0x26,
|
||||
0x50, 0x42, 0x4a, 0xd4, 0x85, 0x32, 0x7c, 0x10, 0x0c, 0x28, 0x25, 0x44, 0x1d, 0xe7, 0x5e, 0x44,
|
||||
0x83, 0x10, 0x0c, 0xf4, 0x1a, 0x8b, 0x54, 0x45, 0x00, 0x8b, 0x45, 0x30, 0x29, 0x80, 0x10, 0x0c,
|
||||
0x32, 0x4b, 0x4b, 0x4b, 0x2c, 0x10, 0x0c, 0x1a, 0x3b, 0x45, 0xf4, 0x8b, 0x2a, 0xd2, 0x2a, 0x54,
|
||||
0x35, 0x85, 0x80, 0x10, 0x0c, 0x24, 0x3d, 0x8a, 0x7a, 0x10,
|
||||
};
|
||||
|
||||
static const uint16_t mf_rlefont_phpoXxi1Y_glyph_offsets_0[95] = {
|
||||
0x0000, 0x0003, 0x000a, 0x0013, 0x0026, 0x0034, 0x0041, 0x0051,
|
||||
0x0056, 0x0061, 0x006d, 0x007c, 0x0083, 0x008b, 0x0091, 0x0097,
|
||||
0x009f, 0x00ac, 0x00b3, 0x00bd, 0x00c7, 0x00d0, 0x00db, 0x00e7,
|
||||
0x00f2, 0x00fa, 0x0106, 0x010c, 0x0116, 0x0121, 0x0128, 0x0133,
|
||||
0x013c, 0x014b, 0x0156, 0x015f, 0x0167, 0x016f, 0x0176, 0x017b,
|
||||
0x0188, 0x0190, 0x0198, 0x019e, 0x01af, 0x01b8, 0x01c8, 0x01d9,
|
||||
0x01e0, 0x01e8, 0x01f4, 0x01fd, 0x0206, 0x020d, 0x0215, 0x021c,
|
||||
0x022d, 0x0238, 0x0241, 0x024e, 0x0259, 0x0265, 0x0271, 0x0279,
|
||||
0x0280, 0x0287, 0x0290, 0x0298, 0x02a1, 0x02ac, 0x02b6, 0x02c3,
|
||||
0x02cd, 0x02d4, 0x02de, 0x02ed, 0x02fd, 0x0305, 0x0313, 0x031a,
|
||||
0x0321, 0x0329, 0x0334, 0x033d, 0x0349, 0x0352, 0x035b, 0x0361,
|
||||
0x036e, 0x037d, 0x0388, 0x0392, 0x039f, 0x03a6, 0x03b4,
|
||||
};
|
||||
|
||||
static const struct mf_rlefont_char_range_s mf_rlefont_phpoXxi1Y_char_ranges[] = {
|
||||
{32, 95, mf_rlefont_phpoXxi1Y_glyph_offsets_0, mf_rlefont_phpoXxi1Y_glyph_data_0},
|
||||
};
|
||||
|
||||
const struct mf_rlefont_s mf_rlefont_phpoXxi1Y = {
|
||||
{
|
||||
"Apple ][ Regular 12",
|
||||
"phpoXxi1Y",
|
||||
12, /* width */
|
||||
15, /* height */
|
||||
11, /* min x advance */
|
||||
14, /* max x advance */
|
||||
0, /* baseline x */
|
||||
12, /* baseline y */
|
||||
14, /* line height */
|
||||
2, /* flags */
|
||||
63, /* fallback character */
|
||||
&mf_rlefont_character_width,
|
||||
&mf_rlefont_render_character,
|
||||
},
|
||||
4, /* version */
|
||||
mf_rlefont_phpoXxi1Y_dictionary_data,
|
||||
mf_rlefont_phpoXxi1Y_dictionary_offsets,
|
||||
38, /* rle dict count */
|
||||
75, /* total dict count */
|
||||
1, /* char range count */
|
||||
mf_rlefont_phpoXxi1Y_char_ranges,
|
||||
};
|
||||
|
||||
#ifdef MF_INCLUDED_FONTS
|
||||
/* List entry for searching fonts by name. */
|
||||
static const struct mf_font_list_s mf_rlefont_phpoXxi1Y_listentry = {
|
||||
MF_INCLUDED_FONTS,
|
||||
(struct mf_font_s*)&mf_rlefont_phpoXxi1Y
|
||||
};
|
||||
#undef MF_INCLUDED_FONTS
|
||||
#define MF_INCLUDED_FONTS (&mf_rlefont_phpoXxi1Y_listentry)
|
||||
#endif
|
||||
|
||||
|
||||
/* End of automatically generated font definition for phpoXxi1Y. */
|
||||
|
145
demos/modules/gdisp/gdisp_fonts/font_FreePixel10.h
Normal file
145
demos/modules/gdisp/gdisp_fonts/font_FreePixel10.h
Normal file
@ -0,0 +1,145 @@
|
||||
|
||||
|
||||
/* Start of automatically generated font definition for phpdxISdS. */
|
||||
|
||||
#ifndef MF_BWFONT_INTERNALS
|
||||
#define MF_BWFONT_INTERNALS
|
||||
#endif
|
||||
#include "mf_bwfont.h"
|
||||
|
||||
#ifndef MF_BWFONT_VERSION_4_SUPPORTED
|
||||
#error The font file is not compatible with this version of mcufont.
|
||||
#endif
|
||||
|
||||
static const uint8_t mf_bwfont_phpdxISdS_glyph_data_0[888] = {
|
||||
0x00, 0x00, 0x00, 0x00, 0x7c, 0x01, 0x00, 0x00, 0x0e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0e, 0x00,
|
||||
0x88, 0x00, 0xfc, 0x01, 0x88, 0x00, 0xfc, 0x01, 0x88, 0x00, 0x00, 0x00, 0x98, 0x00, 0x04, 0x01,
|
||||
0xfe, 0x01, 0x24, 0x01, 0xe8, 0x00, 0x00, 0x00, 0x08, 0x01, 0xd4, 0x00, 0x28, 0x01, 0x90, 0x02,
|
||||
0x08, 0x01, 0x00, 0x00, 0xc0, 0x00, 0x34, 0x01, 0xdc, 0x01, 0x40, 0x01, 0x00, 0x00, 0x00, 0x00,
|
||||
0x0e, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf8, 0x00, 0x02, 0x02, 0x00, 0x00, 0x02, 0x02, 0xfc, 0x01,
|
||||
0x00, 0x00, 0x38, 0x00, 0x38, 0x00, 0x38, 0x00, 0x20, 0x00, 0x20, 0x00, 0xf8, 0x00, 0x20, 0x00,
|
||||
0x20, 0x00, 0x00, 0x00, 0x00, 0x04, 0x00, 0x07, 0x00, 0x00, 0x20, 0x00, 0x20, 0x00, 0x20, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01, 0x20, 0x00, 0x10, 0x00, 0x02, 0x00,
|
||||
0x00, 0x00, 0xf8, 0x00, 0x64, 0x01, 0x14, 0x01, 0xf8, 0x00, 0x00, 0x00, 0x0c, 0x01, 0xfc, 0x01,
|
||||
0x00, 0x01, 0x00, 0x00, 0x08, 0x01, 0xc4, 0x01, 0x24, 0x01, 0x18, 0x01, 0x00, 0x00, 0x8c, 0x01,
|
||||
0x04, 0x01, 0xb4, 0x00, 0x48, 0x00, 0x00, 0x00, 0x58, 0x00, 0x44, 0x00, 0xfc, 0x01, 0x40, 0x00,
|
||||
0x00, 0x00, 0x9c, 0x00, 0x24, 0x01, 0x24, 0x01, 0xe4, 0x00, 0x00, 0x00, 0xf8, 0x00, 0x24, 0x01,
|
||||
0x04, 0x01, 0xe0, 0x00, 0x00, 0x00, 0x0c, 0x00, 0xe4, 0x01, 0x14, 0x00, 0x0c, 0x00, 0x00, 0x00,
|
||||
0xc8, 0x00, 0x34, 0x01, 0x34, 0x01, 0xc8, 0x00, 0x00, 0x00, 0x18, 0x00, 0x24, 0x01, 0xa4, 0x01,
|
||||
0x78, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x01, 0x00, 0x00, 0x00, 0x02, 0x90, 0x03, 0x00, 0x00,
|
||||
0x00, 0x00, 0xf0, 0x00, 0x08, 0x01, 0x00, 0x00, 0x60, 0x00, 0x60, 0x00, 0x60, 0x00, 0x00, 0x00,
|
||||
0x08, 0x01, 0xf0, 0x00, 0x00, 0x00, 0x08, 0x00, 0x44, 0x01, 0x24, 0x00, 0x18, 0x00, 0x00, 0x00,
|
||||
0xf8, 0x01, 0x64, 0x02, 0x74, 0x02, 0x88, 0x01, 0x70, 0x00, 0x00, 0x00, 0xf8, 0x01, 0x24, 0x00,
|
||||
0x24, 0x00, 0xf8, 0x01, 0x00, 0x00, 0xfc, 0x01, 0x24, 0x01, 0x24, 0x01, 0xf8, 0x00, 0x00, 0x00,
|
||||
0x38, 0x00, 0x84, 0x00, 0x04, 0x01, 0x84, 0x00, 0x00, 0x00, 0xfc, 0x01, 0x04, 0x01, 0xc4, 0x01,
|
||||
0x38, 0x00, 0x00, 0x00, 0xfc, 0x01, 0x24, 0x01, 0x24, 0x01, 0x04, 0x01, 0x00, 0x00, 0xfc, 0x01,
|
||||
0x24, 0x00, 0x24, 0x00, 0x04, 0x00, 0x00, 0x00, 0x38, 0x00, 0x84, 0x01, 0x04, 0x01, 0xc4, 0x01,
|
||||
0x00, 0x00, 0xfc, 0x01, 0x20, 0x00, 0x20, 0x00, 0xfc, 0x01, 0x00, 0x00, 0x04, 0x01, 0xfc, 0x01,
|
||||
0x04, 0x01, 0x00, 0x00, 0x80, 0x01, 0x04, 0x01, 0x84, 0x00, 0x7c, 0x00, 0x00, 0x00, 0xfc, 0x01,
|
||||
0x58, 0x00, 0x84, 0x00, 0x04, 0x01, 0x00, 0x00, 0xfc, 0x01, 0x00, 0x01, 0x00, 0x01, 0x00, 0x01,
|
||||
0x00, 0x00, 0xfc, 0x01, 0x20, 0x00, 0x40, 0x00, 0x10, 0x00, 0xfc, 0x01, 0x00, 0x00, 0xfc, 0x01,
|
||||
0x30, 0x00, 0x40, 0x00, 0xfc, 0x01, 0x00, 0x00, 0x38, 0x00, 0x84, 0x01, 0x84, 0x00, 0x38, 0x00,
|
||||
0x00, 0x00, 0xfc, 0x01, 0x24, 0x00, 0x24, 0x00, 0x18, 0x00, 0x00, 0x00, 0x70, 0x00, 0x84, 0x01,
|
||||
0x8c, 0x00, 0x70, 0x01, 0x00, 0x00, 0xfc, 0x01, 0x24, 0x00, 0xa4, 0x00, 0x18, 0x01, 0x00, 0x00,
|
||||
0x98, 0x00, 0x24, 0x01, 0x24, 0x01, 0xe8, 0x00, 0x04, 0x00, 0x04, 0x00, 0xfc, 0x01, 0x04, 0x00,
|
||||
0x04, 0x00, 0x00, 0x00, 0xfc, 0x00, 0x00, 0x01, 0x00, 0x01, 0xfc, 0x00, 0x00, 0x00, 0x3c, 0x00,
|
||||
0xc0, 0x00, 0xc0, 0x00, 0x30, 0x00, 0x0c, 0x00, 0x00, 0x00, 0xfc, 0x00, 0x40, 0x00, 0xe0, 0x00,
|
||||
0x00, 0x01, 0x7c, 0x00, 0x00, 0x00, 0x1c, 0x01, 0x20, 0x00, 0xd0, 0x00, 0x04, 0x01, 0x00, 0x00,
|
||||
0x1c, 0x00, 0x20, 0x00, 0xf0, 0x01, 0x08, 0x00, 0x04, 0x00, 0x00, 0x00, 0x84, 0x01, 0x64, 0x01,
|
||||
0x14, 0x01, 0x0c, 0x01, 0x00, 0x00, 0xfc, 0x07, 0x04, 0x04, 0x04, 0x04, 0x00, 0x00, 0x0e, 0x00,
|
||||
0x10, 0x00, 0xe0, 0x00, 0x00, 0x01, 0x00, 0x00, 0x04, 0x04, 0x04, 0x04, 0xfc, 0x07, 0x00, 0x00,
|
||||
0x18, 0x00, 0x06, 0x00, 0x0c, 0x00, 0x10, 0x00, 0x00, 0x01, 0x00, 0x01, 0x00, 0x01, 0x00, 0x01,
|
||||
0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x80, 0x00, 0x70, 0x01, 0xd0, 0x01,
|
||||
0xe0, 0x01, 0x00, 0x00, 0xfc, 0x01, 0x30, 0x01, 0x10, 0x01, 0xe0, 0x00, 0x00, 0x00, 0xe0, 0x00,
|
||||
0x10, 0x01, 0x10, 0x01, 0xa0, 0x00, 0x00, 0x00, 0xe0, 0x00, 0x10, 0x01, 0x90, 0x01, 0xfc, 0x01,
|
||||
0x00, 0x00, 0xe0, 0x00, 0x50, 0x01, 0x50, 0x01, 0x60, 0x00, 0x00, 0x00, 0x10, 0x00, 0xf8, 0x01,
|
||||
0x14, 0x00, 0x04, 0x00, 0x00, 0x00, 0xf0, 0x02, 0x10, 0x05, 0x90, 0x05, 0xf0, 0x03, 0x00, 0x00,
|
||||
0xfc, 0x01, 0x50, 0x00, 0x30, 0x00, 0xc0, 0x01, 0x00, 0x00, 0x10, 0x01, 0xf4, 0x01, 0x00, 0x01,
|
||||
0x00, 0x00, 0x10, 0x04, 0x10, 0x04, 0xf4, 0x03, 0x00, 0x00, 0xfc, 0x01, 0x40, 0x00, 0xa0, 0x00,
|
||||
0x90, 0x01, 0x00, 0x00, 0x04, 0x00, 0xfc, 0x00, 0x00, 0x01, 0x00, 0x01, 0x00, 0x00, 0xf0, 0x01,
|
||||
0x10, 0x00, 0xc0, 0x01, 0x30, 0x00, 0xc0, 0x01, 0x00, 0x00, 0xf0, 0x01, 0x50, 0x00, 0x30, 0x00,
|
||||
0xc0, 0x01, 0x00, 0x00, 0xe0, 0x00, 0x10, 0x01, 0x10, 0x01, 0xe0, 0x00, 0x00, 0x00, 0xf0, 0x07,
|
||||
0x30, 0x01, 0x10, 0x01, 0xe0, 0x00, 0x00, 0x00, 0xe0, 0x00, 0x10, 0x01, 0x90, 0x01, 0xf0, 0x07,
|
||||
0x00, 0x00, 0xf0, 0x01, 0x20, 0x00, 0x10, 0x00, 0x30, 0x00, 0x00, 0x00, 0xa0, 0x00, 0x50, 0x01,
|
||||
0x50, 0x01, 0xa0, 0x00, 0x00, 0x00, 0x10, 0x00, 0xfc, 0x00, 0x10, 0x01, 0x10, 0x01, 0x00, 0x00,
|
||||
0xf0, 0x00, 0x00, 0x01, 0x40, 0x01, 0xf0, 0x01, 0x00, 0x00, 0x30, 0x00, 0x00, 0x01, 0xc0, 0x00,
|
||||
0x30, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x40, 0x00, 0x80, 0x00, 0x00, 0x01, 0x70, 0x00, 0x00, 0x00,
|
||||
0x10, 0x01, 0xe0, 0x00, 0xa0, 0x00, 0x10, 0x01, 0x00, 0x00, 0x50, 0x00, 0x80, 0x04, 0xc0, 0x03,
|
||||
0x30, 0x00, 0x10, 0x01, 0x90, 0x01, 0x70, 0x01, 0x10, 0x01, 0x00, 0x00, 0x20, 0x00, 0xdc, 0x01,
|
||||
0x02, 0x02, 0x00, 0x00, 0x00, 0x00, 0xff, 0x03, 0x00, 0x00, 0x02, 0x02, 0xdc, 0x01, 0x20, 0x00,
|
||||
0x00, 0x00, 0x30, 0x00, 0x30, 0x00, 0x30, 0x00,
|
||||
};
|
||||
|
||||
static const uint16_t mf_bwfont_phpdxISdS_glyph_offsets_0[96] = {
|
||||
0x0000, 0x0000, 0x0003, 0x0008, 0x000d, 0x0013, 0x0019, 0x001e,
|
||||
0x0021, 0x0025, 0x0028, 0x002c, 0x0031, 0x0034, 0x0038, 0x003b,
|
||||
0x0040, 0x0045, 0x0049, 0x004e, 0x0053, 0x0058, 0x005d, 0x0062,
|
||||
0x0067, 0x006c, 0x0071, 0x0074, 0x0077, 0x007b, 0x007f, 0x0082,
|
||||
0x0087, 0x008d, 0x0092, 0x0097, 0x009c, 0x00a1, 0x00a6, 0x00ab,
|
||||
0x00b0, 0x00b5, 0x00b9, 0x00be, 0x00c3, 0x00c8, 0x00ce, 0x00d3,
|
||||
0x00d8, 0x00dd, 0x00e2, 0x00e7, 0x00ec, 0x00f1, 0x00f6, 0x00fc,
|
||||
0x0102, 0x0107, 0x010d, 0x0112, 0x0116, 0x011b, 0x011f, 0x0124,
|
||||
0x0129, 0x012c, 0x0131, 0x0136, 0x013b, 0x0140, 0x0145, 0x014a,
|
||||
0x014f, 0x0154, 0x0158, 0x015c, 0x0161, 0x0166, 0x016c, 0x0171,
|
||||
0x0176, 0x017b, 0x0180, 0x0185, 0x018a, 0x018f, 0x0194, 0x0199,
|
||||
0x019f, 0x01a4, 0x01a9, 0x01ad, 0x01b1, 0x01b4, 0x01b8, 0x01bc,
|
||||
};
|
||||
|
||||
static const uint8_t mf_bwfont_phpdxISdS_glyph_widths_0[95] = {
|
||||
0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05,
|
||||
0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05,
|
||||
0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05,
|
||||
0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05,
|
||||
0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05,
|
||||
0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05,
|
||||
};
|
||||
|
||||
static const struct mf_bwfont_char_range_s mf_bwfont_phpdxISdS_char_ranges[] = {
|
||||
{
|
||||
32, /* first char */
|
||||
95, /* char count */
|
||||
0, /* offset x */
|
||||
0, /* offset y */
|
||||
2, /* height in bytes */
|
||||
11, /* height in pixels */
|
||||
0, /* width */
|
||||
mf_bwfont_phpdxISdS_glyph_widths_0, /* glyph widths */
|
||||
mf_bwfont_phpdxISdS_glyph_offsets_0, /* glyph offsets */
|
||||
mf_bwfont_phpdxISdS_glyph_data_0, /* glyph data */
|
||||
},
|
||||
};
|
||||
|
||||
const struct mf_bwfont_s mf_bwfont_phpdxISdS = {
|
||||
{
|
||||
"Free Pixel Regular 10",
|
||||
"phpdxISdS",
|
||||
6, /* width */
|
||||
11, /* height */
|
||||
5, /* min x advance */
|
||||
5, /* max x advance */
|
||||
0, /* baseline x */
|
||||
9, /* baseline y */
|
||||
11, /* line height */
|
||||
3, /* flags */
|
||||
63, /* fallback character */
|
||||
&mf_bwfont_character_width,
|
||||
&mf_bwfont_render_character,
|
||||
},
|
||||
4, /* version */
|
||||
1, /* char range count */
|
||||
mf_bwfont_phpdxISdS_char_ranges,
|
||||
};
|
||||
|
||||
#ifdef MF_INCLUDED_FONTS
|
||||
/* List entry for searching fonts by name. */
|
||||
static const struct mf_font_list_s mf_bwfont_phpdxISdS_listentry = {
|
||||
MF_INCLUDED_FONTS,
|
||||
(struct mf_font_s*)&mf_bwfont_phpdxISdS
|
||||
};
|
||||
#undef MF_INCLUDED_FONTS
|
||||
#define MF_INCLUDED_FONTS (&mf_bwfont_phpdxISdS_listentry)
|
||||
#endif
|
||||
|
||||
|
||||
/* End of automatically generated font definition for phpdxISdS. */
|
||||
|
140
demos/modules/gdisp/gdisp_fonts/font_GeosansLight11.h
Normal file
140
demos/modules/gdisp/gdisp_fonts/font_GeosansLight11.h
Normal file
@ -0,0 +1,140 @@
|
||||
|
||||
|
||||
/* Start of automatically generated font definition for phppBNCNS. */
|
||||
|
||||
#ifndef MF_RLEFONT_INTERNALS
|
||||
#define MF_RLEFONT_INTERNALS
|
||||
#endif
|
||||
#include "mf_rlefont.h"
|
||||
|
||||
#ifndef MF_RLEFONT_VERSION_4_SUPPORTED
|
||||
#error The font file is not compatible with this version of mcufont.
|
||||
#endif
|
||||
|
||||
static const uint8_t mf_rlefont_phppBNCNS_dictionary_data[123] = {
|
||||
0x12, 0x80, 0x02, 0x80, 0x02, 0x83, 0x05, 0x01, 0x80, 0x06, 0x01, 0x83, 0x04, 0x04, 0x84, 0x05,
|
||||
0x80, 0x03, 0x80, 0x05, 0x03, 0x80, 0x09, 0x80, 0x06, 0x81, 0x06, 0x27, 0x02, 0x80, 0x06, 0x02,
|
||||
0x82, 0x03, 0x04, 0x80, 0x07, 0x01, 0x80, 0x02, 0x80, 0x03, 0x80, 0x81, 0x80, 0x06, 0x0b, 0x06,
|
||||
0x80, 0x03, 0x80, 0x05, 0x80, 0x04, 0x80, 0x82, 0x05, 0xe6, 0x85, 0x96, 0x1e, 0xf4, 0x86, 0xa5,
|
||||
0xe8, 0xa6, 0x20, 0x20, 0x20, 0x2d, 0x1f, 0x95, 0x1e, 0x00, 0x23, 0x20, 0xc0, 0xa5, 0x1e, 0x23,
|
||||
0x19, 0x1e, 0x1b, 0x1f, 0x2e, 0x26, 0x21, 0xf4, 0x21, 0xfc, 0x21, 0x2a, 0x20, 0x19, 0x1e, 0x00,
|
||||
0x20, 0x22, 0x27, 0x26, 0x1b, 0x1e, 0x1f, 0xa2, 0x1e, 0x1f, 0x2d, 0x23, 0xcb, 0x1e, 0x1f, 0x20,
|
||||
0x2d, 0x1f, 0x2e, 0x1f, 0x1c, 0x00, 0x21, 0xf5, 0x49, 0xa6, 0xfa,
|
||||
};
|
||||
|
||||
static const uint16_t mf_rlefont_phppBNCNS_dictionary_offsets[50] = {
|
||||
0x0000, 0x0001, 0x0005, 0x0007, 0x000a, 0x000d, 0x000f, 0x0011,
|
||||
0x0014, 0x0019, 0x001b, 0x001c, 0x001f, 0x0022, 0x0025, 0x0027,
|
||||
0x0029, 0x002b, 0x002c, 0x002e, 0x002f, 0x0030, 0x0035, 0x0037,
|
||||
0x0039, 0x003d, 0x0040, 0x0042, 0x0045, 0x0049, 0x004c, 0x0053,
|
||||
0x0055, 0x0057, 0x0059, 0x005b, 0x005d, 0x005f, 0x0061, 0x0063,
|
||||
0x0065, 0x0067, 0x006e, 0x0070, 0x0072, 0x0075, 0x0077, 0x0079,
|
||||
0x007a, 0x007b,
|
||||
};
|
||||
|
||||
static const uint8_t mf_rlefont_phppBNCNS_glyph_data_0[731] = {
|
||||
0x03, 0x00, 0x10, 0x03, 0x1b, 0x33, 0x2b, 0x27, 0x10, 0x02, 0xc7, 0x64, 0x10, 0x06, 0x2b, 0xce,
|
||||
0x64, 0x8b, 0x98, 0x64, 0x8b, 0x1e, 0x10, 0x06, 0xfc, 0x2f, 0x3f, 0x3f, 0x3a, 0x39, 0xe8, 0x85,
|
||||
0x98, 0x54, 0x86, 0x24, 0x1e, 0x10, 0x05, 0xe6, 0x2c, 0x91, 0x94, 0x87, 0x39, 0x1f, 0x37, 0xe6,
|
||||
0x1e, 0x89, 0x1e, 0x10, 0x06, 0x90, 0x1e, 0x23, 0x3c, 0xc5, 0x39, 0xe6, 0x85, 0x56, 0x44, 0x10,
|
||||
0x01, 0xc5, 0x1e, 0x10, 0x02, 0x2c, 0x3d, 0x33, 0x10, 0x02, 0x2c, 0x3d, 0x3d, 0x35, 0x27, 0x10,
|
||||
0x03, 0x2f, 0x24, 0x1e, 0x10, 0x05, 0x00, 0x22, 0x23, 0x24, 0x1e, 0x10, 0x02, 0x00, 0x22, 0x3e,
|
||||
0x10, 0x03, 0x2b, 0x22, 0xfb, 0x10, 0x01, 0x22, 0x3e, 0x10, 0x03, 0x23, 0x42, 0x20, 0x23, 0x37,
|
||||
0x10, 0x06, 0x3a, 0xd7, 0x40, 0xa5, 0x31, 0xf4, 0x86, 0x43, 0xf2, 0x10, 0x06, 0x35, 0x33, 0x10,
|
||||
0x06, 0xa0, 0x1e, 0x20, 0x1f, 0x42, 0x23, 0xc0, 0x10, 0x06, 0xd2, 0x1e, 0x20, 0x23, 0xd0, 0x2c,
|
||||
0x37, 0x40, 0xf2, 0x10, 0x06, 0x2b, 0x20, 0x38, 0x3f, 0xf5, 0x85, 0x96, 0x74, 0x8b, 0x1e, 0x10,
|
||||
0x06, 0x3a, 0x1b, 0x37, 0x21, 0x25, 0x37, 0x44, 0x10, 0x06, 0x23, 0x1f, 0x37, 0x21, 0x2d, 0x31,
|
||||
0x44, 0x10, 0x06, 0x26, 0x1a, 0x42, 0x23, 0x1f, 0x42, 0x10, 0x05, 0x38, 0x43, 0x3c, 0x21, 0x34,
|
||||
0x29, 0x10, 0x06, 0x00, 0x1a, 0x2d, 0x31, 0x44, 0x3d, 0x10, 0x02, 0x00, 0x10, 0x02, 0x2b, 0x22,
|
||||
0x86, 0x2b, 0x18, 0x1e, 0x10, 0x03, 0x22, 0x42, 0x2e, 0x10, 0x03, 0x2b, 0x22, 0x8b, 0x74, 0x10,
|
||||
0x03, 0x22, 0x23, 0x3d, 0x27, 0x10, 0x05, 0xd2, 0x40, 0x25, 0x86, 0x39, 0x23, 0x2e, 0x18, 0x26,
|
||||
0x10, 0x07, 0x2b, 0x18, 0x39, 0xb7, 0x94, 0x8f, 0x90, 0x89, 0x97, 0x95, 0x8f, 0x7c, 0x10, 0x07,
|
||||
0x2b, 0x23, 0xd0, 0x2c, 0x3f, 0x3f, 0x19, 0x1d, 0x31, 0x10, 0x06, 0x38, 0x30, 0x1b, 0x9a, 0x40,
|
||||
0x43, 0xf3, 0x10, 0x07, 0xfc, 0x1a, 0xa5, 0x20, 0x35, 0xfc, 0x23, 0x1d, 0x10, 0x08, 0x00, 0xa3,
|
||||
0x31, 0x94, 0x1f, 0x43, 0xd5, 0x31, 0x1d, 0x10, 0x05, 0x8b, 0x3d, 0x37, 0x8b, 0x35, 0xbc, 0x10,
|
||||
0x05, 0x38, 0x1b, 0x1f, 0x25, 0x24, 0x3d, 0x37, 0x10, 0x09, 0xfc, 0x1a, 0xa5, 0x20, 0x37, 0x74,
|
||||
0x23, 0x2d, 0x1d, 0x10, 0x07, 0x26, 0x31, 0x31, 0x94, 0x7c, 0x87, 0xa5, 0x31, 0x31, 0x10, 0x03,
|
||||
0x1b, 0x33, 0x37, 0x10, 0x03, 0x23, 0x33, 0x8c, 0x64, 0x10, 0x05, 0xf5, 0x85, 0x96, 0x1e, 0x86,
|
||||
0x39, 0x23, 0x9c, 0x2c, 0x3f, 0x96, 0x40, 0x10, 0x04, 0x1b, 0x33, 0x1f, 0xb4, 0x10, 0x0a, 0x2b,
|
||||
0xc6, 0x66, 0x9c, 0x90, 0x4a, 0x56, 0x98, 0x46, 0x46, 0x46, 0x2e, 0x10, 0x08, 0x26, 0x40, 0xb5,
|
||||
0x94, 0x98, 0x88, 0x19, 0x95, 0x98, 0x88, 0x89, 0xa5, 0x2d, 0x10, 0x09, 0x36, 0x3f, 0x3f, 0x2d,
|
||||
0x1d, 0x10, 0x06, 0x41, 0x2c, 0x35, 0x10, 0x09, 0x36, 0x3f, 0xce, 0x40, 0x65, 0x8b, 0x64, 0x10,
|
||||
0x06, 0x41, 0x1b, 0x30, 0x28, 0x10, 0x06, 0x24, 0x20, 0x25, 0x39, 0x1f, 0x1e, 0x40, 0xf2, 0x10,
|
||||
0x05, 0x23, 0x33, 0x37, 0x10, 0x06, 0x00, 0x43, 0x43, 0x43, 0x43, 0xf2, 0x10, 0x06, 0x2e, 0x40,
|
||||
0x30, 0x1b, 0x3f, 0x3a, 0x27, 0x10, 0x0a, 0xfc, 0x2c, 0x49, 0x4c, 0x50, 0x98, 0x89, 0x99, 0x55,
|
||||
0x8e, 0x50, 0x40, 0x10, 0x06, 0xfc, 0x23, 0x19, 0x94, 0x85, 0x39, 0x23, 0x39, 0x3f, 0xd6, 0x40,
|
||||
0x10, 0x05, 0x2d, 0x23, 0x3f, 0x45, 0x35, 0x37, 0x10, 0x06, 0xf2, 0x87, 0x3d, 0x23, 0x23, 0x42,
|
||||
0x80, 0x10, 0x02, 0x3b, 0x33, 0xdc, 0x10, 0x03, 0x3b, 0x3d, 0x20, 0x3d, 0x10, 0x02, 0x1b, 0x35,
|
||||
0x33, 0x10, 0x04, 0x2b, 0xc5, 0x64, 0x10, 0x04, 0x00, 0x10, 0x04, 0x18, 0x28, 0x10, 0x05, 0x3e,
|
||||
0x2f, 0x34, 0xfb, 0x10, 0x05, 0x3b, 0x37, 0xeb, 0x40, 0x43, 0xf3, 0x10, 0x05, 0x22, 0x24, 0x35,
|
||||
0x74, 0x10, 0x05, 0x3d, 0x20, 0x1a, 0x34, 0xfb, 0x10, 0x05, 0x3e, 0x21, 0x2d, 0x1a, 0x2a, 0x74,
|
||||
0x10, 0x05, 0x3e, 0x2f, 0x34, 0x8a, 0x98, 0x85, 0x38, 0x05, 0x1b, 0x35, 0xfc, 0x38, 0x30, 0x88,
|
||||
0x4c, 0x10, 0x03, 0x18, 0x1f, 0x2b, 0x35, 0x37, 0x10, 0x03, 0x18, 0x1f, 0x2b, 0x33, 0x28, 0x10,
|
||||
0x04, 0x3b, 0x37, 0x86, 0x39, 0x90, 0x2c, 0x89, 0x54, 0x10, 0x07, 0x22, 0xb2, 0xa5, 0x32, 0x32,
|
||||
0x32, 0xa8, 0x10, 0x04, 0x22, 0x38, 0x30, 0x88, 0x4c, 0x10, 0x05, 0x3e, 0x21, 0x34, 0x29, 0x10,
|
||||
0x05, 0x22, 0xa2, 0x40, 0x43, 0xf7, 0x85, 0x8e, 0x1e, 0x10, 0x05, 0x3e, 0x2f, 0x34, 0x45, 0x3f,
|
||||
0x1f, 0x03, 0x22, 0x38, 0x1b, 0x35, 0x10, 0x03, 0x22, 0x23, 0x23, 0x25, 0x8c, 0x64, 0x10, 0x03,
|
||||
0x18, 0x33, 0x28, 0x10, 0x04, 0x22, 0x30, 0x23, 0x19, 0x64, 0x10, 0x05, 0x22, 0x26, 0x23, 0x3c,
|
||||
0x86, 0x39, 0x28, 0x10, 0x08, 0xc4, 0x3e, 0xcc, 0x96, 0x5c, 0x85, 0x96, 0x1e, 0x10, 0x04, 0x22,
|
||||
0x3f, 0x3a, 0x23, 0x39, 0xd6, 0x10, 0x05, 0x2b, 0x22, 0x3c, 0x86, 0x39, 0x42, 0x10, 0x05, 0x22,
|
||||
0x39, 0x1f, 0x1f, 0x1f, 0x74, 0x10, 0x02, 0x86, 0x3d, 0x33, 0x2e, 0x10, 0x01, 0x3b, 0x33, 0x28,
|
||||
0x10, 0x02, 0x2a, 0x3d, 0x33, 0x27, 0x10, 0x05, 0x22, 0xe2, 0x10,
|
||||
};
|
||||
|
||||
static const uint16_t mf_rlefont_phppBNCNS_glyph_offsets_0[95] = {
|
||||
0x0000, 0x0003, 0x0009, 0x000d, 0x0017, 0x0026, 0x0034, 0x0040,
|
||||
0x0044, 0x0049, 0x0050, 0x0055, 0x005c, 0x0061, 0x0066, 0x006a,
|
||||
0x0071, 0x007c, 0x0080, 0x0089, 0x0094, 0x00a0, 0x00a9, 0x00b2,
|
||||
0x00ba, 0x00c2, 0x00ca, 0x00cd, 0x00d5, 0x00da, 0x00e0, 0x00e6,
|
||||
0x00f1, 0x00ff, 0x010a, 0x0113, 0x011d, 0x0128, 0x0130, 0x0139,
|
||||
0x0144, 0x014f, 0x0154, 0x015a, 0x0168, 0x016e, 0x017c, 0x018b,
|
||||
0x0192, 0x0197, 0x01a0, 0x01a6, 0x01b0, 0x01b5, 0x01bd, 0x01c6,
|
||||
0x01d4, 0x01e1, 0x01e9, 0x01f2, 0x01f7, 0x01fd, 0x0202, 0x0207,
|
||||
0x020a, 0x020e, 0x0214, 0x021c, 0x0222, 0x0229, 0x014f, 0x0231,
|
||||
0x0239, 0x0242, 0x0249, 0x0250, 0x014f, 0x025a, 0x0263, 0x026a,
|
||||
0x0270, 0x027a, 0x0281, 0x0287, 0x028f, 0x0294, 0x029b, 0x02a4,
|
||||
0x02ae, 0x02b6, 0x02be, 0x02c6, 0x02cc, 0x02d1, 0x02d7,
|
||||
};
|
||||
|
||||
static const struct mf_rlefont_char_range_s mf_rlefont_phppBNCNS_char_ranges[] = {
|
||||
{32, 95, mf_rlefont_phppBNCNS_glyph_offsets_0, mf_rlefont_phppBNCNS_glyph_data_0},
|
||||
};
|
||||
|
||||
const struct mf_rlefont_s mf_rlefont_phppBNCNS = {
|
||||
{
|
||||
"GeosansLight Regular 11",
|
||||
"phppBNCNS",
|
||||
10, /* width */
|
||||
11, /* height */
|
||||
1, /* min x advance */
|
||||
10, /* max x advance */
|
||||
0, /* baseline x */
|
||||
9, /* baseline y */
|
||||
13, /* line height */
|
||||
2, /* flags */
|
||||
63, /* fallback character */
|
||||
&mf_rlefont_character_width,
|
||||
&mf_rlefont_render_character,
|
||||
},
|
||||
4, /* version */
|
||||
mf_rlefont_phppBNCNS_dictionary_data,
|
||||
mf_rlefont_phppBNCNS_dictionary_offsets,
|
||||
24, /* rle dict count */
|
||||
49, /* total dict count */
|
||||
1, /* char range count */
|
||||
mf_rlefont_phppBNCNS_char_ranges,
|
||||
};
|
||||
|
||||
#ifdef MF_INCLUDED_FONTS
|
||||
/* List entry for searching fonts by name. */
|
||||
static const struct mf_font_list_s mf_rlefont_phppBNCNS_listentry = {
|
||||
MF_INCLUDED_FONTS,
|
||||
(struct mf_font_s*)&mf_rlefont_phppBNCNS
|
||||
};
|
||||
#undef MF_INCLUDED_FONTS
|
||||
#define MF_INCLUDED_FONTS (&mf_rlefont_phppBNCNS_listentry)
|
||||
#endif
|
||||
|
||||
|
||||
/* End of automatically generated font definition for phppBNCNS. */
|
||||
|
204
demos/modules/gdisp/gdisp_fonts/font_GeosansLight11_aa.h
Normal file
204
demos/modules/gdisp/gdisp_fonts/font_GeosansLight11_aa.h
Normal file
@ -0,0 +1,204 @@
|
||||
|
||||
|
||||
/* Start of automatically generated font definition for phpTJ5Kmd. */
|
||||
|
||||
#ifndef MF_RLEFONT_INTERNALS
|
||||
#define MF_RLEFONT_INTERNALS
|
||||
#endif
|
||||
#include "mf_rlefont.h"
|
||||
|
||||
#ifndef MF_RLEFONT_VERSION_4_SUPPORTED
|
||||
#error The font file is not compatible with this version of mcufont.
|
||||
#endif
|
||||
|
||||
static const uint8_t mf_rlefont_phpTJ5Kmd_dictionary_data[201] = {
|
||||
0x02, 0x06, 0xc7, 0x02, 0x03, 0x0d, 0xc3, 0xc5, 0x01, 0x05, 0x08, 0xc7, 0x08, 0x04, 0x01, 0xc1,
|
||||
0xc6, 0x06, 0x0c, 0x06, 0x01, 0xc7, 0x06, 0xd8, 0xc6, 0x09, 0x38, 0x09, 0xd7, 0x01, 0xc6, 0xc7,
|
||||
0x02, 0xc7, 0x07, 0x0a, 0x07, 0xc4, 0x01, 0x39, 0xc8, 0xc2, 0xc7, 0x02, 0xc1, 0x03, 0xc7, 0xc8,
|
||||
0xc1, 0x06, 0xc7, 0x05, 0x01, 0xc1, 0xca, 0xc6, 0xc1, 0xc7, 0x01, 0xc9, 0xc8, 0xc1, 0xc7, 0xd5,
|
||||
0xc2, 0xc6, 0xc7, 0x0a, 0xc7, 0xc2, 0x01, 0xc4, 0xc3, 0xc6, 0xc7, 0xc8, 0xc6, 0xc3, 0x0e, 0x40,
|
||||
0x24, 0xc8, 0xc1, 0xc7, 0x09, 0x15, 0xc7, 0x04, 0xc5, 0xc2, 0xc6, 0xc4, 0xc9, 0xc7, 0xc1, 0xc6,
|
||||
0xc5, 0xc1, 0xd4, 0xc7, 0xc3, 0xc1, 0xc8, 0xc2, 0xc5, 0x01, 0xc1, 0xc9, 0xc5, 0xc3, 0xc7, 0xc1,
|
||||
0x01, 0xc8, 0xc4, 0xc2, 0x4f, 0x1a, 0x52, 0x1d, 0x1c, 0x24, 0x00, 0x2b, 0x2b, 0x31, 0x52, 0x1d,
|
||||
0x1c, 0x18, 0x30, 0x1a, 0x4f, 0x1d, 0x40, 0x25, 0x1f, 0x31, 0x24, 0x31, 0x40, 0x33, 0x0a, 0x01,
|
||||
0x21, 0x31, 0x24, 0x0a, 0x05, 0x28, 0x28, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x35,
|
||||
0x19, 0x24, 0x36, 0x35, 0x23, 0x4f, 0x40, 0x37, 0x27, 0x39, 0x06, 0x40, 0x23, 0x4a, 0x29, 0x26,
|
||||
0x2a, 0x2c, 0x4f, 0x33, 0x02, 0x08, 0x2b, 0x2b, 0x2b, 0x39, 0x23, 0x08, 0x18, 0x47, 0x34, 0x1e,
|
||||
0x54, 0x09, 0x29, 0x05, 0x2d, 0x1e, 0x03, 0x1a, 0x37,
|
||||
};
|
||||
|
||||
static const uint16_t mf_rlefont_phpTJ5Kmd_dictionary_offsets[84] = {
|
||||
0x0000, 0x0001, 0x0004, 0x0005, 0x0006, 0x0009, 0x000a, 0x000b,
|
||||
0x000d, 0x000e, 0x0012, 0x0013, 0x0014, 0x0017, 0x0018, 0x001a,
|
||||
0x001b, 0x001c, 0x001d, 0x001f, 0x0023, 0x0024, 0x0025, 0x0027,
|
||||
0x0028, 0x002a, 0x002c, 0x002e, 0x0032, 0x0034, 0x0037, 0x0039,
|
||||
0x003b, 0x003d, 0x003f, 0x0040, 0x0042, 0x0044, 0x0046, 0x0048,
|
||||
0x004a, 0x004c, 0x004e, 0x004f, 0x0051, 0x0053, 0x0055, 0x0056,
|
||||
0x0058, 0x005a, 0x005c, 0x005e, 0x0060, 0x0062, 0x0063, 0x0065,
|
||||
0x0067, 0x006a, 0x006c, 0x006e, 0x0070, 0x0072, 0x0074, 0x0089,
|
||||
0x008c, 0x0094, 0x0096, 0x0098, 0x009c, 0x009f, 0x00a8, 0x00ad,
|
||||
0x00af, 0x00b2, 0x00b4, 0x00b6, 0x00b9, 0x00bb, 0x00bd, 0x00bf,
|
||||
0x00c1, 0x00c5, 0x00c7, 0x00c9,
|
||||
};
|
||||
|
||||
static const uint8_t mf_rlefont_phpTJ5Kmd_glyph_data_0[1615] = {
|
||||
0x03, 0x00, 0x10, 0x03, 0x1b, 0x5c, 0x5c, 0x05, 0x46, 0x09, 0x10, 0x02, 0x22, 0x05, 0x59, 0x3a,
|
||||
0x10, 0x06, 0x1a, 0x46, 0x3e, 0x3e, 0x23, 0x02, 0x04, 0x07, 0x05, 0x4e, 0x23, 0x3e, 0x03, 0x01,
|
||||
0x23, 0x3f, 0x05, 0x07, 0x55, 0x1d, 0x3e, 0x3e, 0x10, 0x06, 0x1b, 0x02, 0x09, 0x0b, 0x09, 0x32,
|
||||
0x6a, 0x53, 0x32, 0x6a, 0x07, 0x69, 0x38, 0x2c, 0x0a, 0x08, 0x28, 0x07, 0x4b, 0x1d, 0x6a, 0x34,
|
||||
0x4f, 0x00, 0x37, 0x34, 0x3e, 0x08, 0x0b, 0x30, 0x2d, 0x2a, 0x10, 0x05, 0x22, 0x04, 0x08, 0x04,
|
||||
0x4b, 0x1a, 0x6a, 0x09, 0x06, 0x32, 0x6a, 0x09, 0x06, 0x2d, 0x62, 0x4e, 0x28, 0x26, 0x02, 0x59,
|
||||
0x49, 0x30, 0x23, 0x2a, 0x09, 0x24, 0x05, 0x3b, 0x08, 0x05, 0x10, 0x06, 0x1d, 0x69, 0x07, 0x4e,
|
||||
0x20, 0x6a, 0x2a, 0x2d, 0x53, 0x4b, 0x2d, 0x51, 0x1f, 0x05, 0x09, 0x02, 0x2d, 0x1c, 0x08, 0x00,
|
||||
0x19, 0x03, 0x05, 0x34, 0x31, 0x01, 0x0c, 0x01, 0x1d, 0x03, 0x08, 0x29, 0x3b, 0x10, 0x01, 0x22,
|
||||
0x05, 0x2c, 0x05, 0x10, 0x02, 0x1b, 0x2e, 0x69, 0x03, 0x28, 0x60, 0x59, 0x2a, 0x2c, 0x60, 0x55,
|
||||
0x28, 0x01, 0x05, 0x10, 0x02, 0x22, 0x04, 0x18, 0x69, 0x02, 0x2c, 0x59, 0x2a, 0x2c, 0x60, 0x05,
|
||||
0x2c, 0x26, 0x02, 0x04, 0x28, 0x4c, 0x10, 0x03, 0x18, 0x03, 0x67, 0x38, 0x1e, 0x07, 0x38, 0x5a,
|
||||
0x10, 0x05, 0x00, 0x2f, 0x1f, 0x2a, 0x0b, 0x06, 0x67, 0x10, 0x02, 0x00, 0x43, 0x59, 0x03, 0x02,
|
||||
0x28, 0x01, 0x10, 0x03, 0x28, 0x2f, 0x2a, 0x07, 0x04, 0x10, 0x01, 0x43, 0x06, 0x10, 0x03, 0x1b,
|
||||
0x2a, 0x2c, 0x26, 0x01, 0x59, 0x48, 0x5a, 0x45, 0x02, 0x59, 0x4c, 0x5a, 0x10, 0x06, 0x1b, 0x05,
|
||||
0x25, 0x05, 0x23, 0x02, 0x31, 0x36, 0x1d, 0x36, 0x18, 0x4b, 0x1d, 0x66, 0x66, 0x66, 0x53, 0x18,
|
||||
0x4b, 0x1d, 0x02, 0x31, 0x3d, 0x23, 0x05, 0x25, 0x05, 0x10, 0x06, 0x42, 0x07, 0x09, 0x2c, 0x5b,
|
||||
0x5b, 0x10, 0x06, 0x1b, 0x62, 0x33, 0x65, 0x64, 0x32, 0x45, 0x01, 0x45, 0x44, 0x1e, 0x49, 0x69,
|
||||
0x1f, 0x51, 0x28, 0x0a, 0x68, 0x10, 0x06, 0x1b, 0x25, 0x09, 0x02, 0x23, 0x05, 0x2e, 0x4f, 0x23,
|
||||
0x32, 0x08, 0x1e, 0x3e, 0x06, 0x2d, 0x54, 0x0a, 0x2c, 0x02, 0x37, 0x67, 0x1d, 0x2a, 0x02, 0x00,
|
||||
0x4f, 0x23, 0x51, 0x33, 0x10, 0x06, 0x23, 0x46, 0x1f, 0x2a, 0x09, 0x1e, 0x3b, 0x1f, 0x08, 0x24,
|
||||
0x00, 0x52, 0x24, 0x01, 0x31, 0x34, 0x2a, 0x08, 0x29, 0x0b, 0x59, 0x07, 0x10, 0x06, 0x42, 0x0a,
|
||||
0x07, 0x53, 0x23, 0x02, 0x59, 0x52, 0x28, 0x40, 0x09, 0x04, 0x2c, 0x07, 0x2e, 0x5a, 0x34, 0x48,
|
||||
0x18, 0x1c, 0x20, 0x54, 0x25, 0x07, 0x10, 0x06, 0x42, 0x53, 0x1e, 0x4f, 0x28, 0x30, 0x1e, 0x01,
|
||||
0x0c, 0x08, 0x4e, 0x23, 0x07, 0x06, 0x18, 0x41, 0x20, 0x54, 0x20, 0x34, 0x66, 0x52, 0x18, 0x1c,
|
||||
0x1d, 0x29, 0x29, 0x10, 0x06, 0x22, 0x05, 0x07, 0x29, 0x25, 0x28, 0x53, 0x69, 0x05, 0x67, 0x1e,
|
||||
0x2a, 0x02, 0x1e, 0x01, 0x45, 0x44, 0x2d, 0x3e, 0x59, 0x04, 0x10, 0x05, 0x22, 0x61, 0x53, 0x00,
|
||||
0x39, 0x19, 0x24, 0x04, 0x36, 0x49, 0x1d, 0x35, 0x07, 0x09, 0x01, 0x23, 0x53, 0x00, 0x39, 0x19,
|
||||
0x24, 0x53, 0x00, 0x64, 0x61, 0x10, 0x06, 0x1b, 0x29, 0x29, 0x23, 0x52, 0x18, 0x1c, 0x20, 0x66,
|
||||
0x47, 0x08, 0x20, 0x3e, 0x06, 0x00, 0x2a, 0x06, 0x1d, 0x3e, 0x40, 0x0b, 0x28, 0x3f, 0x67, 0x28,
|
||||
0x3e, 0x10, 0x02, 0x2c, 0x2f, 0x55, 0x2c, 0x46, 0x55, 0x10, 0x02, 0x2c, 0x2f, 0x50, 0x18, 0x46,
|
||||
0x69, 0x28, 0x02, 0x03, 0x28, 0x02, 0x10, 0x03, 0x2f, 0x39, 0x2d, 0x3e, 0x53, 0x1e, 0x62, 0x03,
|
||||
0x2c, 0x05, 0x10, 0x03, 0x28, 0x2f, 0x3e, 0x07, 0x06, 0x2d, 0x3e, 0x29, 0x10, 0x03, 0x2f, 0x53,
|
||||
0x28, 0x39, 0x04, 0x69, 0x30, 0x1e, 0x05, 0x10, 0x05, 0x22, 0x51, 0x40, 0x03, 0x23, 0x4c, 0x18,
|
||||
0x45, 0x01, 0x1f, 0x02, 0x44, 0x2d, 0x3f, 0x5a, 0x05, 0x08, 0x03, 0x42, 0x19, 0x10, 0x07, 0x20,
|
||||
0x46, 0x46, 0x01, 0x3a, 0x4c, 0x1d, 0x4b, 0x18, 0x2a, 0x1d, 0x4c, 0x03, 0x49, 0x3e, 0x1a, 0x3e,
|
||||
0x2e, 0x03, 0x0c, 0x3e, 0x20, 0x4d, 0x3e, 0x0b, 0x00, 0x05, 0x20, 0x4b, 0x05, 0x07, 0x04, 0x4c,
|
||||
0x1d, 0x01, 0x3a, 0x55, 0x10, 0x07, 0x00, 0x42, 0x01, 0x2c, 0x0a, 0x1e, 0x3e, 0x4e, 0x1d, 0x6a,
|
||||
0x07, 0x2d, 0x39, 0x24, 0x2a, 0x02, 0x00, 0x1c, 0x1d, 0x5f, 0x09, 0x1d, 0x3b, 0x18, 0x2a, 0x32,
|
||||
0x2a, 0x32, 0x4b, 0x10, 0x06, 0x1b, 0x4a, 0x30, 0x2d, 0x2b, 0x37, 0x2a, 0x20, 0x6a, 0x1c, 0x23,
|
||||
0x09, 0x40, 0x53, 0x19, 0x64, 0x57, 0x4b, 0x23, 0x4a, 0x33, 0x10, 0x07, 0x1b, 0x01, 0x29, 0x40,
|
||||
0x06, 0x1d, 0x09, 0x32, 0x03, 0x32, 0x52, 0x5a, 0x37, 0x67, 0x2c, 0x52, 0x2c, 0x09, 0x32, 0x03,
|
||||
0x01, 0x20, 0x01, 0x40, 0x25, 0x05, 0x10, 0x08, 0x1b, 0x5f, 0x53, 0x1d, 0x07, 0x1a, 0x4f, 0x1d,
|
||||
0x47, 0x1c, 0x1a, 0x34, 0x66, 0x06, 0x20, 0x47, 0x2a, 0x20, 0x47, 0x50, 0x6a, 0x18, 0x4f, 0x1d,
|
||||
0x5f, 0x44, 0x10, 0x05, 0x22, 0x5f, 0x2d, 0x5c, 0x38, 0x25, 0x2d, 0x5c, 0x5f, 0x10, 0x05, 0x1b,
|
||||
0x68, 0x5c, 0x68, 0x5b, 0x10, 0x09, 0x1b, 0x01, 0x29, 0x40, 0x04, 0x20, 0x54, 0x32, 0x41, 0x1a,
|
||||
0x52, 0x1d, 0x01, 0x6a, 0x5a, 0x47, 0x06, 0x25, 0x03, 0x18, 0x52, 0x20, 0x2a, 0x32, 0x09, 0x32,
|
||||
0x03, 0x47, 0x01, 0x25, 0x25, 0x06, 0x10, 0x07, 0x1b, 0x66, 0x66, 0x66, 0x66, 0x5f, 0x07, 0x09,
|
||||
0x1d, 0x66, 0x66, 0x66, 0x66, 0x10, 0x03, 0x1b, 0x5b, 0x5b, 0x07, 0x10, 0x03, 0x42, 0x5c, 0x5b,
|
||||
0x1f, 0x06, 0x08, 0x05, 0x10, 0x05, 0x23, 0x19, 0x3f, 0x1a, 0x6a, 0x62, 0x2d, 0x07, 0x4f, 0x1e,
|
||||
0x07, 0x09, 0x01, 0x1e, 0x0a, 0x26, 0x07, 0x41, 0x1d, 0x6a, 0x3d, 0x00, 0x19, 0x44, 0x19, 0x4f,
|
||||
0x10, 0x04, 0x1b, 0x5b, 0x5b, 0x09, 0x29, 0x10, 0x0a, 0x42, 0x02, 0x20, 0x02, 0x1d, 0x0a, 0x20,
|
||||
0x0b, 0x20, 0x03, 0x09, 0x01, 0x18, 0x02, 0x09, 0x02, 0x1a, 0x07, 0x4b, 0x18, 0x07, 0x3b, 0x6a,
|
||||
0x31, 0x37, 0x07, 0x6a, 0x48, 0x03, 0x2e, 0x31, 0x03, 0x2e, 0x39, 0x31, 0x48, 0x00, 0x36, 0x18,
|
||||
0x07, 0x31, 0x50, 0x31, 0x3e, 0x03, 0x6a, 0x10, 0x08, 0x22, 0x2a, 0x1d, 0x47, 0x09, 0x47, 0x47,
|
||||
0x07, 0x49, 0x6a, 0x6a, 0x44, 0x18, 0x37, 0x6a, 0x51, 0x18, 0x47, 0x31, 0x02, 0x37, 0x47, 0x07,
|
||||
0x1a, 0x05, 0x04, 0x47, 0x47, 0x40, 0x20, 0x34, 0x07, 0x10, 0x09, 0x42, 0x29, 0x29, 0x34, 0x30,
|
||||
0x1a, 0x56, 0x10, 0x06, 0x1b, 0x4a, 0x33, 0x31, 0x64, 0x57, 0x05, 0x04, 0x23, 0x4a, 0x4e, 0x2d,
|
||||
0x5b, 0x10, 0x09, 0x42, 0x29, 0x29, 0x47, 0x54, 0x32, 0x56, 0x03, 0x29, 0x10, 0x06, 0x1b, 0x4a,
|
||||
0x33, 0x31, 0x64, 0x57, 0x3a, 0x23, 0x38, 0x0a, 0x03, 0x20, 0x6a, 0x44, 0x20, 0x6a, 0x01, 0x37,
|
||||
0x19, 0x41, 0x19, 0x54, 0x10, 0x06, 0x1b, 0x62, 0x07, 0x30, 0x19, 0x01, 0x02, 0x23, 0x3c, 0x02,
|
||||
0x09, 0x03, 0x28, 0x01, 0x40, 0x2c, 0x3b, 0x2c, 0x34, 0x01, 0x65, 0x64, 0x04, 0x08, 0x33, 0x10,
|
||||
0x05, 0x20, 0x69, 0x07, 0x0b, 0x4e, 0x1e, 0x5b, 0x5b, 0x10, 0x06, 0x1b, 0x57, 0x24, 0x57, 0x24,
|
||||
0x57, 0x24, 0x57, 0x64, 0x61, 0x10, 0x06, 0x22, 0x36, 0x18, 0x50, 0x20, 0x50, 0x00, 0x36, 0x23,
|
||||
0x2b, 0x07, 0x21, 0x3e, 0x03, 0x48, 0x2d, 0x39, 0x45, 0x07, 0x45, 0x49, 0x28, 0x01, 0x10, 0x0a,
|
||||
0x22, 0x06, 0x1a, 0x4c, 0x00, 0x3e, 0x03, 0x00, 0x03, 0x2e, 0x54, 0x05, 0x18, 0x07, 0x1a, 0x31,
|
||||
0x07, 0x31, 0x07, 0x6a, 0x03, 0x05, 0x37, 0x50, 0x18, 0x48, 0x36, 0x05, 0x3b, 0x32, 0x4b, 0x37,
|
||||
0x4b, 0x47, 0x54, 0x37, 0x54, 0x06, 0x1d, 0x4e, 0x18, 0x3d, 0x1d, 0x02, 0x1a, 0x02, 0x10, 0x06,
|
||||
0x22, 0x4d, 0x18, 0x52, 0x23, 0x65, 0x08, 0x2d, 0x4d, 0x52, 0x1e, 0x25, 0x28, 0x07, 0x26, 0x40,
|
||||
0x2d, 0x2a, 0x02, 0x03, 0x2e, 0x19, 0x08, 0x1d, 0x2a, 0x02, 0x18, 0x03, 0x04, 0x10, 0x05, 0x22,
|
||||
0x65, 0x54, 0x23, 0x1c, 0x4d, 0x23, 0x54, 0x54, 0x69, 0x09, 0x04, 0x28, 0x09, 0x2c, 0x5b, 0x10,
|
||||
0x06, 0x22, 0x62, 0x25, 0x09, 0x45, 0x44, 0x1e, 0x3b, 0x67, 0x00, 0x69, 0x05, 0x67, 0x1e, 0x3e,
|
||||
0x05, 0x67, 0x28, 0x05, 0x0a, 0x07, 0x29, 0x05, 0x10, 0x02, 0x22, 0x41, 0x28, 0x5b, 0x5b, 0x41,
|
||||
0x10, 0x03, 0x1a, 0x5a, 0x36, 0x28, 0x50, 0x5a, 0x3c, 0x4c, 0x28, 0x50, 0x28, 0x60, 0x10, 0x02,
|
||||
0x22, 0x3f, 0x2c, 0x5c, 0x5b, 0x45, 0x3f, 0x10, 0x04, 0x18, 0x46, 0x2a, 0x59, 0x29, 0x69, 0x03,
|
||||
0x55, 0x2d, 0x02, 0x18, 0x02, 0x10, 0x04, 0x46, 0x43, 0x2a, 0x06, 0x06, 0x06, 0x10, 0x04, 0x1a,
|
||||
0x46, 0x02, 0x2c, 0x52, 0x2c, 0x02, 0x10, 0x05, 0x5e, 0x36, 0x00, 0x51, 0x19, 0x2a, 0x23, 0x53,
|
||||
0x00, 0x51, 0x23, 0x4f, 0x07, 0x40, 0x10, 0x05, 0x22, 0x5b, 0x58, 0x01, 0x21, 0x08, 0x07, 0x06,
|
||||
0x53, 0x10, 0x05, 0x27, 0x39, 0x40, 0x2d, 0x36, 0x5a, 0x36, 0x28, 0x39, 0x40, 0x10, 0x05, 0x1b,
|
||||
0x6a, 0x5a, 0x45, 0x24, 0x4f, 0x40, 0x07, 0x23, 0x36, 0x5d, 0x10, 0x05, 0x27, 0x4f, 0x07, 0x30,
|
||||
0x23, 0x3d, 0x00, 0x54, 0x1d, 0x54, 0x29, 0x40, 0x1d, 0x2a, 0x1a, 0x02, 0x23, 0x01, 0x29, 0x4e,
|
||||
0x10, 0x03, 0x1b, 0x29, 0x5a, 0x3c, 0x37, 0x69, 0x0b, 0x26, 0x5b, 0x10, 0x05, 0x27, 0x39, 0x06,
|
||||
0x25, 0x23, 0x36, 0x35, 0x19, 0x24, 0x53, 0x35, 0x23, 0x4f, 0x40, 0x34, 0x3e, 0x18, 0x24, 0x01,
|
||||
0x25, 0x44, 0x10, 0x05, 0x1b, 0x5b, 0x08, 0x40, 0x04, 0x2d, 0x65, 0x07, 0x2d, 0x63, 0x10, 0x03,
|
||||
0x1b, 0x46, 0x2a, 0x46, 0x5b, 0x07, 0x10, 0x03, 0x1b, 0x46, 0x2a, 0x46, 0x5c, 0x5c, 0x1f, 0x04,
|
||||
0x22, 0x5b, 0x53, 0x44, 0x2d, 0x33, 0x18, 0x38, 0x28, 0x3d, 0x34, 0x6a, 0x3f, 0x10, 0x07, 0x27,
|
||||
0x09, 0x25, 0x07, 0x40, 0x04, 0x20, 0x31, 0x65, 0x47, 0x31, 0x31, 0x47, 0x31, 0x31, 0x47, 0x31,
|
||||
0x2b, 0x10, 0x04, 0x27, 0x09, 0x25, 0x03, 0x2d, 0x65, 0x07, 0x2d, 0x63, 0x10, 0x05, 0x27, 0x61,
|
||||
0x36, 0x21, 0x31, 0x24, 0x53, 0x21, 0x61, 0x10, 0x05, 0x27, 0x58, 0x01, 0x21, 0x29, 0x33, 0x3c,
|
||||
0x45, 0x05, 0x5e, 0x36, 0x5d, 0x5a, 0x34, 0x03, 0x27, 0x4a, 0x04, 0x2d, 0x54, 0x2c, 0x5c, 0x10,
|
||||
0x03, 0x27, 0x06, 0x08, 0x03, 0x1e, 0x44, 0x28, 0x62, 0x04, 0x1e, 0x01, 0x00, 0x1f, 0x25, 0x05,
|
||||
0x10, 0x03, 0x1d, 0x46, 0x5a, 0x45, 0x02, 0x0b, 0x26, 0x5b, 0x10, 0x04, 0x27, 0x2b, 0x63, 0x04,
|
||||
0x08, 0x4e, 0x10, 0x05, 0x27, 0x53, 0x00, 0x3b, 0x23, 0x3b, 0x00, 0x53, 0x2d, 0x44, 0x1f, 0x04,
|
||||
0x0a, 0x02, 0x67, 0x10, 0x08, 0x27, 0x53, 0x00, 0x36, 0x2a, 0x32, 0x3b, 0x00, 0x09, 0x06, 0x54,
|
||||
0x1d, 0x4e, 0x05, 0x08, 0x4d, 0x20, 0x3e, 0x0a, 0x2a, 0x09, 0x20, 0x6a, 0x4b, 0x10, 0x04, 0x27,
|
||||
0x3d, 0x3b, 0x1e, 0x25, 0x1e, 0x2a, 0x06, 0x1e, 0x4f, 0x44, 0x2d, 0x53, 0x39, 0x10, 0x05, 0x27,
|
||||
0x36, 0x21, 0x4b, 0x00, 0x53, 0x2d, 0x53, 0x1f, 0x02, 0x0b, 0x02, 0x67, 0x1e, 0x3e, 0x03, 0x67,
|
||||
0x10, 0x05, 0x27, 0x02, 0x29, 0x0b, 0x05, 0x1e, 0x4f, 0x28, 0x44, 0x1e, 0x41, 0x69, 0x0c, 0x29,
|
||||
0x04, 0x10, 0x02, 0x20, 0x69, 0x59, 0x60, 0x26, 0x01, 0x60, 0x60, 0x26, 0x3e, 0x05, 0x10, 0x01,
|
||||
0x20, 0x69, 0x2c, 0x60, 0x60, 0x60, 0x60, 0x06, 0x10, 0x02, 0x22, 0x52, 0x28, 0x2a, 0x2c, 0x60,
|
||||
0x36, 0x1e, 0x2a, 0x2c, 0x60, 0x26, 0x05, 0x04, 0x10, 0x05, 0x27, 0x04, 0x40, 0x3d, 0x10,
|
||||
};
|
||||
|
||||
static const uint16_t mf_rlefont_phpTJ5Kmd_glyph_offsets_0[95] = {
|
||||
0x0000, 0x0003, 0x000b, 0x0011, 0x0029, 0x004b, 0x006b, 0x008e,
|
||||
0x0094, 0x00a4, 0x00b7, 0x00c1, 0x00ca, 0x00d3, 0x00da, 0x00de,
|
||||
0x00ed, 0x010a, 0x0112, 0x0126, 0x0145, 0x015d, 0x0177, 0x0194,
|
||||
0x01ab, 0x01c6, 0x01e2, 0x01ea, 0x01f7, 0x0203, 0x020d, 0x0218,
|
||||
0x022e, 0x0255, 0x0274, 0x028b, 0x02a7, 0x02c3, 0x02ce, 0x02d5,
|
||||
0x02f7, 0x0306, 0x030c, 0x0315, 0x0331, 0x0338, 0x0368, 0x038a,
|
||||
0x0393, 0x03a2, 0x03ad, 0x03c5, 0x03e0, 0x03ea, 0x03f6, 0x040f,
|
||||
0x043f, 0x045e, 0x0470, 0x0489, 0x0491, 0x049f, 0x04a8, 0x04b6,
|
||||
0x04be, 0x04c7, 0x04d7, 0x04e2, 0x04ee, 0x04fb, 0x0511, 0x051c,
|
||||
0x0533, 0x053f, 0x0547, 0x054f, 0x0306, 0x055e, 0x0572, 0x057d,
|
||||
0x0588, 0x0591, 0x0597, 0x05a0, 0x05b1, 0x05bb, 0x05c3, 0x05d4,
|
||||
0x05ee, 0x05fe, 0x0611, 0x0622, 0x062f, 0x0639, 0x0649,
|
||||
};
|
||||
|
||||
static const struct mf_rlefont_char_range_s mf_rlefont_phpTJ5Kmd_char_ranges[] = {
|
||||
{32, 95, mf_rlefont_phpTJ5Kmd_glyph_offsets_0, mf_rlefont_phpTJ5Kmd_glyph_data_0},
|
||||
};
|
||||
|
||||
const struct mf_rlefont_s mf_rlefont_phpTJ5Kmd = {
|
||||
{
|
||||
"GeosansLight Regular 11",
|
||||
"phpTJ5Kmd",
|
||||
11, /* width */
|
||||
12, /* height */
|
||||
1, /* min x advance */
|
||||
10, /* max x advance */
|
||||
1, /* baseline x */
|
||||
10, /* baseline y */
|
||||
13, /* line height */
|
||||
0, /* flags */
|
||||
63, /* fallback character */
|
||||
&mf_rlefont_character_width,
|
||||
&mf_rlefont_render_character,
|
||||
},
|
||||
4, /* version */
|
||||
mf_rlefont_phpTJ5Kmd_dictionary_data,
|
||||
mf_rlefont_phpTJ5Kmd_dictionary_offsets,
|
||||
62, /* rle dict count */
|
||||
83, /* total dict count */
|
||||
1, /* char range count */
|
||||
mf_rlefont_phpTJ5Kmd_char_ranges,
|
||||
};
|
||||
|
||||
#ifdef MF_INCLUDED_FONTS
|
||||
/* List entry for searching fonts by name. */
|
||||
static const struct mf_font_list_s mf_rlefont_phpTJ5Kmd_listentry = {
|
||||
MF_INCLUDED_FONTS,
|
||||
(struct mf_font_s*)&mf_rlefont_phpTJ5Kmd
|
||||
};
|
||||
#undef MF_INCLUDED_FONTS
|
||||
#define MF_INCLUDED_FONTS (&mf_rlefont_phpTJ5Kmd_listentry)
|
||||
#endif
|
||||
|
||||
|
||||
/* End of automatically generated font definition for phpTJ5Kmd. */
|
||||
|
205
demos/modules/gdisp/gdisp_fonts/font_babyblue11_aa.h
Normal file
205
demos/modules/gdisp/gdisp_fonts/font_babyblue11_aa.h
Normal file
@ -0,0 +1,205 @@
|
||||
|
||||
|
||||
/* Start of automatically generated font definition for phptTISF3. */
|
||||
|
||||
#ifndef MF_RLEFONT_INTERNALS
|
||||
#define MF_RLEFONT_INTERNALS
|
||||
#endif
|
||||
#include "mf_rlefont.h"
|
||||
|
||||
#ifndef MF_RLEFONT_VERSION_4_SUPPORTED
|
||||
#error The font file is not compatible with this version of mcufont.
|
||||
#endif
|
||||
|
||||
static const uint8_t mf_rlefont_phptTISF3_dictionary_data[311] = {
|
||||
0x1b, 0x01, 0xc5, 0xc6, 0x01, 0x04, 0x03, 0x02, 0x05, 0xca, 0x03, 0xca, 0x03, 0x08, 0x06, 0x0b,
|
||||
0xc1, 0xc8, 0xca, 0x09, 0xea, 0x03, 0xc5, 0xc6, 0x04, 0xc2, 0x04, 0xc5, 0xc6, 0x01, 0xc3, 0xc4,
|
||||
0x22, 0x09, 0xc1, 0xe3, 0x05, 0xc5, 0xca, 0xd8, 0xc6, 0x04, 0xe3, 0xc2, 0x04, 0xc5, 0xca, 0xd8,
|
||||
0xda, 0xc7, 0xc3, 0xc5, 0x04, 0x09, 0xd1, 0x07, 0xc5, 0xc6, 0x07, 0xc3, 0xc7, 0x01, 0xca, 0x02,
|
||||
0xc5, 0xc8, 0xc4, 0xc7, 0xd2, 0xc4, 0xc5, 0xc4, 0xc6, 0xc5, 0xcc, 0xd8, 0x06, 0xc2, 0xc9, 0xc2,
|
||||
0x01, 0x01, 0xc8, 0xc2, 0xc1, 0xc7, 0xd7, 0x40, 0x11, 0xf9, 0xc8, 0x04, 0xf1, 0xc1, 0x01, 0xc2,
|
||||
0xd4, 0xc7, 0xc4, 0xc5, 0xca, 0xd3, 0xc2, 0x03, 0x02, 0xc1, 0xd1, 0x01, 0xd5, 0x01, 0x07, 0xc3,
|
||||
0xc8, 0xd3, 0xc1, 0xc8, 0xc2, 0xc7, 0xc1, 0xc8, 0xc2, 0xc8, 0xc3, 0x01, 0xc1, 0xc8, 0xc4, 0xc6,
|
||||
0x05, 0xc5, 0xc6, 0xc8, 0xc1, 0x01, 0x1c, 0x05, 0x38, 0x4f, 0x1b, 0x36, 0x1c, 0x4a, 0x1c, 0x51,
|
||||
0x1b, 0x4d, 0x1c, 0x51, 0x51, 0x47, 0x42, 0x07, 0x4b, 0x1a, 0x32, 0x40, 0x1c, 0x25, 0x05, 0x07,
|
||||
0x2e, 0x44, 0x01, 0x25, 0x1c, 0x52, 0x1a, 0x33, 0x47, 0x33, 0x47, 0x1c, 0x0a, 0x27, 0x30, 0x1a,
|
||||
0x37, 0x0a, 0x07, 0x51, 0x3b, 0x39, 0x52, 0x1d, 0x47, 0x09, 0x01, 0x1c, 0x06, 0x51, 0x2f, 0x51,
|
||||
0x2f, 0x32, 0x38, 0x52, 0x00, 0x36, 0x1b, 0x45, 0x19, 0x4b, 0x1a, 0x47, 0x44, 0x20, 0x2c, 0x20,
|
||||
0x41, 0x47, 0x0e, 0x1f, 0x0a, 0x1f, 0x0a, 0x2e, 0x2f, 0x2c, 0x3b, 0x1b, 0x31, 0x4c, 0x1b, 0x3b,
|
||||
0x3b, 0x1a, 0x22, 0x0d, 0x02, 0x51, 0x1a, 0x25, 0x2f, 0x18, 0x3c, 0x0a, 0x50, 0x23, 0x22, 0x50,
|
||||
0x4d, 0x00, 0x36, 0x1a, 0x42, 0x07, 0x3d, 0x1a, 0x32, 0x40, 0x08, 0x27, 0x00, 0x22, 0x4b, 0x25,
|
||||
0x1c, 0x48, 0x1b, 0x1b, 0x25, 0x47, 0x27, 0x4c, 0x1a, 0x03, 0x01, 0x1e, 0x3b, 0x00, 0x30, 0x1a,
|
||||
0x01, 0x3f, 0x08, 0x1b, 0x3b, 0x00, 0x30, 0x1a, 0x09, 0x4a, 0x1a, 0x0a, 0x0d, 0x0b, 0x0d, 0x23,
|
||||
0x52, 0x39, 0x06, 0x1a, 0x00, 0x39, 0x03, 0x47, 0x35, 0x2f, 0x23, 0x49, 0x43, 0x00, 0x38, 0x37,
|
||||
0x2b, 0x1b, 0x03, 0x0a, 0x50, 0x1c, 0x48,
|
||||
};
|
||||
|
||||
static const uint16_t mf_rlefont_phptTISF3_dictionary_offsets[100] = {
|
||||
0x0000, 0x0001, 0x0005, 0x0006, 0x0007, 0x0008, 0x0009, 0x000d,
|
||||
0x000e, 0x000f, 0x0010, 0x0013, 0x0014, 0x0015, 0x0018, 0x001a,
|
||||
0x001e, 0x0021, 0x002a, 0x0030, 0x0031, 0x0033, 0x0035, 0x0037,
|
||||
0x003b, 0x003d, 0x0040, 0x0042, 0x0044, 0x0045, 0x0047, 0x0049,
|
||||
0x004b, 0x004c, 0x004e, 0x0051, 0x0054, 0x0056, 0x0057, 0x005e,
|
||||
0x0060, 0x0061, 0x0063, 0x0065, 0x0068, 0x006a, 0x006c, 0x006e,
|
||||
0x006f, 0x0071, 0x0072, 0x0075, 0x0077, 0x0079, 0x007b, 0x007d,
|
||||
0x007f, 0x0081, 0x0083, 0x0086, 0x0094, 0x009e, 0x00a0, 0x00a5,
|
||||
0x00a7, 0x00ab, 0x00b3, 0x00b5, 0x00b8, 0x00bb, 0x00bd, 0x00c1,
|
||||
0x00c9, 0x00cb, 0x00cd, 0x00d3, 0x00d7, 0x00d9, 0x00e5, 0x00e9,
|
||||
0x00ed, 0x00ef, 0x00f4, 0x00fd, 0x00ff, 0x0103, 0x0106, 0x0109,
|
||||
0x010b, 0x0110, 0x0118, 0x011f, 0x0122, 0x0124, 0x012a, 0x012f,
|
||||
0x0131, 0x0133, 0x0135, 0x0137,
|
||||
};
|
||||
|
||||
static const uint8_t mf_rlefont_phptTISF3_glyph_data_0[1487] = {
|
||||
0x03, 0x00, 0x10, 0x02, 0x64, 0x66, 0x03, 0x04, 0x47, 0x28, 0x03, 0x23, 0x35, 0x09, 0x1b, 0x25,
|
||||
0x0a, 0x20, 0x35, 0x09, 0x10, 0x06, 0x00, 0x23, 0x08, 0x3c, 0x02, 0x1d, 0x72, 0x0b, 0x2d, 0x72,
|
||||
0x0b, 0x2d, 0x09, 0x4a, 0x1d, 0x09, 0x4a, 0x10, 0x06, 0x1c, 0x74, 0x44, 0x03, 0x0b, 0x03, 0x1d,
|
||||
0x38, 0x0d, 0x08, 0x74, 0x0a, 0x00, 0x0a, 0x3f, 0x1a, 0x08, 0x07, 0x0c, 0x4b, 0x26, 0x04, 0x0c,
|
||||
0x04, 0x08, 0x1a, 0x0a, 0x00, 0x0a, 0x31, 0x5d, 0x0a, 0x0e, 0x0a, 0x05, 0x20, 0x07, 0x10, 0x08,
|
||||
0x61, 0x38, 0x01, 0x3c, 0x02, 0x1c, 0x51, 0x33, 0x48, 0x1b, 0x36, 0x51, 0x09, 0x01, 0x00, 0x25,
|
||||
0x04, 0x2c, 0x50, 0x4f, 0x08, 0x51, 0x1b, 0x04, 0x2c, 0x4c, 0x08, 0x1c, 0x3b, 0x22, 0x03, 0x10,
|
||||
0x07, 0x1a, 0x39, 0x79, 0x00, 0x09, 0x4a, 0x1d, 0x4d, 0x4c, 0x1d, 0x04, 0x08, 0x4b, 0x6f, 0x1c,
|
||||
0x33, 0x3f, 0x0a, 0x52, 0x19, 0x03, 0x0d, 0x05, 0x1b, 0x22, 0x07, 0x06, 0x05, 0x10, 0x02, 0x23,
|
||||
0x35, 0x2f, 0x45, 0x10, 0x03, 0x1a, 0x39, 0x07, 0x39, 0x08, 0x2f, 0x5e, 0x30, 0x1f, 0x33, 0x20,
|
||||
0x44, 0x10, 0x03, 0x20, 0x78, 0x50, 0x25, 0x1f, 0x0a, 0x63, 0x63, 0x47, 0x30, 0x20, 0x30, 0x10,
|
||||
0x04, 0x1b, 0x39, 0x4c, 0x01, 0x1d, 0x08, 0x0c, 0x4d, 0x1d, 0x05, 0x0d, 0x0a, 0x01, 0x1b, 0x5d,
|
||||
0x3f, 0x04, 0x10, 0x06, 0x23, 0x21, 0x05, 0x1f, 0x0a, 0x20, 0x3d, 0x0c, 0x07, 0x2d, 0x40, 0x0c,
|
||||
0x04, 0x03, 0x20, 0x0a, 0x1d, 0x78, 0x10, 0x02, 0x18, 0x18, 0x34, 0x2f, 0x03, 0x04, 0x10, 0x03,
|
||||
0x47, 0x21, 0x18, 0x2b, 0x08, 0x10, 0x02, 0x23, 0x18, 0x18, 0x28, 0x04, 0x1f, 0x78, 0x06, 0x47,
|
||||
0x2c, 0x47, 0x0a, 0x47, 0x36, 0x5c, 0x6d, 0x3a, 0x10, 0x06, 0x68, 0x69, 0x1e, 0x31, 0x31, 0x1c,
|
||||
0x70, 0x6b, 0x10, 0x04, 0x1f, 0x25, 0x20, 0x05, 0x09, 0x07, 0x1c, 0x78, 0x06, 0x58, 0x58, 0x33,
|
||||
0x10, 0x06, 0x68, 0x69, 0x02, 0x44, 0x09, 0x39, 0x57, 0x4a, 0x00, 0x26, 0x52, 0x1d, 0x0c, 0x0c,
|
||||
0x2b, 0x08, 0x10, 0x06, 0x68, 0x0a, 0x09, 0x01, 0x1c, 0x3f, 0x03, 0x7a, 0x1d, 0x34, 0x57, 0x38,
|
||||
0x50, 0x25, 0x1b, 0x34, 0x7a, 0x1b, 0x22, 0x0a, 0x3a, 0x10, 0x06, 0x21, 0x37, 0x02, 0x1c, 0x25,
|
||||
0x4c, 0x6e, 0x0c, 0x3d, 0x0b, 0x74, 0x04, 0x40, 0x0a, 0x04, 0x20, 0x3b, 0x20, 0x3b, 0x10, 0x06,
|
||||
0x68, 0x0a, 0x08, 0x27, 0x20, 0x55, 0x34, 0x1b, 0x7a, 0x38, 0x06, 0x1f, 0x0a, 0x1a, 0x34, 0x00,
|
||||
0x31, 0x44, 0x08, 0x2b, 0x05, 0x10, 0x06, 0x68, 0x0a, 0x03, 0x1a, 0x4d, 0x1c, 0x2d, 0x0a, 0x01,
|
||||
0x02, 0x01, 0x1d, 0x0c, 0x38, 0x60, 0x0c, 0x71, 0x6b, 0x10, 0x06, 0x23, 0x0a, 0x24, 0x0b, 0x07,
|
||||
0x47, 0x41, 0x20, 0x2c, 0x5b, 0x33, 0x1d, 0x5d, 0x04, 0x47, 0x0a, 0x10, 0x06, 0x68, 0x06, 0x00,
|
||||
0x6e, 0x36, 0x02, 0x4c, 0x26, 0x38, 0x60, 0x09, 0x71, 0x6b, 0x10, 0x06, 0x68, 0x69, 0x1e, 0x3b,
|
||||
0x00, 0x04, 0x0b, 0x1a, 0x22, 0x07, 0x0b, 0x47, 0x30, 0x00, 0x78, 0x2b, 0x4b, 0x10, 0x02, 0x18,
|
||||
0x28, 0x28, 0x02, 0x18, 0x28, 0x03, 0x04, 0x2f, 0x34, 0x10, 0x06, 0x21, 0x21, 0x2d, 0x4e, 0x04,
|
||||
0x0a, 0x03, 0x26, 0x08, 0x74, 0x44, 0x08, 0x52, 0x39, 0x09, 0x05, 0x1d, 0x78, 0x10, 0x06, 0x18,
|
||||
0x0a, 0x24, 0x08, 0x1c, 0x21, 0x0a, 0x24, 0x08, 0x10, 0x05, 0x47, 0x21, 0x05, 0x1f, 0x42, 0x02,
|
||||
0x01, 0x47, 0x08, 0x60, 0x4e, 0x0a, 0x07, 0x1d, 0x07, 0x09, 0x01, 0x1b, 0x78, 0x10, 0x06, 0x1a,
|
||||
0x39, 0x79, 0x02, 0x08, 0x00, 0x04, 0x74, 0x45, 0x01, 0x09, 0x5b, 0x3a, 0x1a, 0x5d, 0x1f, 0x07,
|
||||
0x10, 0x0a, 0x21, 0x05, 0x24, 0x3a, 0x19, 0x1c, 0x4a, 0x51, 0x3c, 0x0a, 0x06, 0x4e, 0x09, 0x0a,
|
||||
0x00, 0x41, 0x00, 0x4d, 0x00, 0x2b, 0x31, 0x4d, 0x00, 0x2b, 0x3b, 0x00, 0x08, 0x33, 0x02, 0x06,
|
||||
0x04, 0x22, 0x0d, 0x0b, 0x03, 0x5d, 0x04, 0x26, 0x08, 0x5d, 0x09, 0x09, 0x09, 0x09, 0x52, 0x44,
|
||||
0x01, 0x01, 0x45, 0x06, 0x21, 0x6f, 0x20, 0x32, 0x52, 0x1b, 0x36, 0x3f, 0x09, 0x27, 0x31, 0x1c,
|
||||
0x77, 0x0c, 0x27, 0x00, 0x0a, 0x27, 0x31, 0x10, 0x06, 0x29, 0x51, 0x1c, 0x46, 0x1c, 0x6a, 0x06,
|
||||
0x05, 0x1b, 0x77, 0x05, 0x10, 0x07, 0x21, 0x49, 0x6f, 0x1a, 0x5f, 0x6d, 0x30, 0x1b, 0x6f, 0x78,
|
||||
0x24, 0x52, 0x10, 0x06, 0x29, 0x51, 0x1c, 0x36, 0x6c, 0x51, 0x7a, 0x25, 0x5d, 0x05, 0x1b, 0x77,
|
||||
0x05, 0x10, 0x06, 0x61, 0x2a, 0x74, 0x54, 0x47, 0x77, 0x08, 0x10, 0x06, 0x61, 0x2a, 0x74, 0x54,
|
||||
0x2f, 0x10, 0x07, 0x21, 0x49, 0x6f, 0x1a, 0x5f, 0x00, 0x06, 0x4b, 0x1c, 0x51, 0x1c, 0x03, 0x09,
|
||||
0x03, 0x1c, 0x30, 0x1b, 0x4d, 0x78, 0x24, 0x52, 0x10, 0x06, 0x56, 0x48, 0x6c, 0x42, 0x3d, 0x38,
|
||||
0x1b, 0x05, 0x4f, 0x36, 0x08, 0x6c, 0x51, 0x7a, 0x10, 0x02, 0x64, 0x5e, 0x51, 0x10, 0x04, 0x1c,
|
||||
0x2e, 0x47, 0x58, 0x33, 0x1b, 0x44, 0x00, 0x33, 0x1d, 0x0a, 0x00, 0x33, 0x1b, 0x5d, 0x0a, 0x3a,
|
||||
0x10, 0x06, 0x56, 0x41, 0x1c, 0x19, 0x2c, 0x1a, 0x42, 0x41, 0x1d, 0x32, 0x46, 0x27, 0x46, 0x25,
|
||||
0x1c, 0x46, 0x10, 0x06, 0x64, 0x5e, 0x77, 0x08, 0x10, 0x08, 0x61, 0x03, 0x00, 0x44, 0x02, 0x1c,
|
||||
0x05, 0x0f, 0x01, 0x1c, 0x08, 0x0d, 0x1c, 0x55, 0x09, 0x3f, 0x08, 0x0b, 0x1c, 0x51, 0x2c, 0x06,
|
||||
0x04, 0x0a, 0x1c, 0x51, 0x33, 0x0a, 0x31, 0x51, 0x02, 0x3d, 0x31, 0x5a, 0x31, 0x10, 0x06, 0x2e,
|
||||
0x44, 0x01, 0x1b, 0x42, 0x7a, 0x1b, 0x55, 0x09, 0x00, 0x48, 0x25, 0x2c, 0x48, 0x25, 0x01, 0x4f,
|
||||
0x08, 0x1c, 0x19, 0x05, 0x38, 0x25, 0x5d, 0x08, 0x10, 0x07, 0x21, 0x43, 0x53, 0x1b, 0x4d, 0x1c,
|
||||
0x30, 0x1c, 0x4a, 0x78, 0x2b, 0x3a, 0x10, 0x06, 0x61, 0x2a, 0x4f, 0x6c, 0x42, 0x3d, 0x41, 0x1b,
|
||||
0x32, 0x40, 0x03, 0x27, 0x6d, 0x10, 0x07, 0x21, 0x43, 0x53, 0x4e, 0x00, 0x4d, 0x1c, 0x30, 0x00,
|
||||
0x51, 0x4c, 0x78, 0x2b, 0x0d, 0x4c, 0x10, 0x06, 0x61, 0x2a, 0x4f, 0x25, 0x1c, 0x33, 0x1b, 0x6a,
|
||||
0x48, 0x6c, 0x10, 0x06, 0x1a, 0x39, 0x49, 0x00, 0x26, 0x08, 0x38, 0x74, 0x36, 0x01, 0x3f, 0x1d,
|
||||
0x32, 0x60, 0x44, 0x04, 0x08, 0x1a, 0x34, 0x00, 0x31, 0x44, 0x08, 0x2b, 0x05, 0x10, 0x06, 0x76,
|
||||
0x0d, 0x08, 0x06, 0x20, 0x0a, 0x63, 0x63, 0x10, 0x06, 0x56, 0x48, 0x6c, 0x51, 0x7a, 0x6c, 0x30,
|
||||
0x5d, 0x2d, 0x03, 0x2b, 0x05, 0x10, 0x06, 0x56, 0x48, 0x1b, 0x36, 0x1c, 0x33, 0x1a, 0x09, 0x01,
|
||||
0x31, 0x1c, 0x3f, 0x08, 0x06, 0x04, 0x20, 0x0a, 0x4c, 0x1a, 0x5d, 0x4b, 0x10, 0x0a, 0x1b, 0x39,
|
||||
0x1c, 0x3f, 0x1c, 0x3f, 0x1e, 0x2b, 0x01, 0x4e, 0x0a, 0x01, 0x4e, 0x0a, 0x51, 0x00, 0x08, 0x32,
|
||||
0x00, 0x41, 0x01, 0x4f, 0x4b, 0x4f, 0x52, 0x09, 0x55, 0x00, 0x08, 0x32, 0x1c, 0x03, 0x3a, 0x02,
|
||||
0x09, 0x03, 0x10, 0x07, 0x1b, 0x39, 0x1a, 0x45, 0x00, 0x4d, 0x44, 0x52, 0x00, 0x4a, 0x01, 0x57,
|
||||
0x07, 0x57, 0x01, 0x08, 0x07, 0x02, 0x26, 0x52, 0x4d, 0x1b, 0x3a, 0x00, 0x4a, 0x10, 0x06, 0x56,
|
||||
0x48, 0x1b, 0x4a, 0x01, 0x57, 0x07, 0x52, 0x1d, 0x58, 0x33, 0x10, 0x06, 0x76, 0x38, 0x0b, 0x47,
|
||||
0x2c, 0x20, 0x41, 0x62, 0x24, 0x08, 0x10, 0x03, 0x61, 0x03, 0x02, 0x20, 0x05, 0x79, 0x19, 0x6d,
|
||||
0x5e, 0x37, 0x07, 0x47, 0x45, 0x10, 0x05, 0x1b, 0x39, 0x1f, 0x4d, 0x47, 0x36, 0x1f, 0x46, 0x47,
|
||||
0x0a, 0x1f, 0x33, 0x1d, 0x44, 0x52, 0x10, 0x03, 0x23, 0x49, 0x47, 0x08, 0x0c, 0x01, 0x5c, 0x5c,
|
||||
0x5c, 0x5c, 0x5c, 0x5c, 0x20, 0x09, 0x0d, 0x01, 0x20, 0x45, 0x10, 0x06, 0x1a, 0x39, 0x52, 0x26,
|
||||
0x4c, 0x52, 0x1b, 0x46, 0x2c, 0x1a, 0x1e, 0x00, 0x03, 0x78, 0x10, 0x06, 0x3e, 0x10, 0x02, 0x73,
|
||||
0x03, 0x10, 0x05, 0x18, 0x42, 0x79, 0x06, 0x00, 0x3b, 0x1a, 0x04, 0x2b, 0x0d, 0x02, 0x1b, 0x31,
|
||||
0x4c, 0x1c, 0x5d, 0x2b, 0x0d, 0x02, 0x10, 0x06, 0x64, 0x37, 0x79, 0x51, 0x19, 0x25, 0x59, 0x01,
|
||||
0x10, 0x05, 0x67, 0x2c, 0x00, 0x05, 0x01, 0x1a, 0x0a, 0x47, 0x3b, 0x00, 0x6f, 0x1a, 0x6b, 0x10,
|
||||
0x05, 0x20, 0x39, 0x47, 0x3b, 0x1a, 0x3c, 0x0a, 0x0d, 0x02, 0x1a, 0x65, 0x10, 0x06, 0x67, 0x2c,
|
||||
0x19, 0x1b, 0x0e, 0x24, 0x0b, 0x1b, 0x3b, 0x47, 0x22, 0x0a, 0x08, 0x10, 0x03, 0x61, 0x38, 0x6d,
|
||||
0x0c, 0x0c, 0x08, 0x20, 0x5e, 0x10, 0x05, 0x18, 0x3c, 0x0a, 0x0b, 0x02, 0x1a, 0x65, 0x20, 0x3b,
|
||||
0x00, 0x78, 0x09, 0x09, 0x60, 0x4e, 0x01, 0x10, 0x05, 0x64, 0x55, 0x79, 0x05, 0x0b, 0x4a, 0x6e,
|
||||
0x5a, 0x6e, 0x10, 0x02, 0x2e, 0x75, 0x66, 0x10, 0x02, 0x2e, 0x75, 0x5e, 0x4c, 0x1d, 0x44, 0x10,
|
||||
0x05, 0x64, 0x51, 0x00, 0x60, 0x51, 0x41, 0x1d, 0x37, 0x04, 0x1b, 0x25, 0x4c, 0x1c, 0x25, 0x01,
|
||||
0x52, 0x10, 0x08, 0x18, 0x3c, 0x0a, 0x06, 0x09, 0x0a, 0x03, 0x1c, 0x5a, 0x31, 0x5a, 0x31, 0x5a,
|
||||
0x31, 0x5a, 0x31, 0x10, 0x05, 0x67, 0x5a, 0x6e, 0x5a, 0x6e, 0x10, 0x06, 0x67, 0x2c, 0x19, 0x1b,
|
||||
0x70, 0x6b, 0x10, 0x06, 0x67, 0x51, 0x19, 0x25, 0x59, 0x01, 0x27, 0x20, 0x34, 0x10, 0x05, 0x67,
|
||||
0x65, 0x20, 0x3b, 0x47, 0x6f, 0x10, 0x04, 0x18, 0x3c, 0x57, 0x51, 0x02, 0x04, 0x1d, 0x66, 0x10,
|
||||
0x05, 0x18, 0x05, 0x2b, 0x74, 0x31, 0x05, 0x01, 0x1c, 0x5d, 0x2b, 0x05, 0x1d, 0x04, 0x00, 0x3b,
|
||||
0x1c, 0x5d, 0x2b, 0x4b, 0x10, 0x03, 0x64, 0x0c, 0x0c, 0x01, 0x20, 0x66, 0x01, 0x38, 0x10, 0x05,
|
||||
0x18, 0x35, 0x00, 0x07, 0x02, 0x6e, 0x5a, 0x6e, 0x6b, 0x10, 0x06, 0x18, 0x08, 0x1b, 0x08, 0x1b,
|
||||
0x3b, 0x00, 0x33, 0x6e, 0x30, 0x02, 0x57, 0x03, 0x3a, 0x10, 0x07, 0x18, 0x08, 0x44, 0x00, 0x06,
|
||||
0x02, 0x00, 0x3b, 0x3d, 0x02, 0x4c, 0x1c, 0x51, 0x0a, 0x08, 0x32, 0x78, 0x3d, 0x55, 0x2d, 0x09,
|
||||
0x01, 0x31, 0x10, 0x06, 0x18, 0x52, 0x3c, 0x1a, 0x30, 0x02, 0x57, 0x03, 0x3a, 0x26, 0x4d, 0x60,
|
||||
0x3a, 0x48, 0x10, 0x06, 0x18, 0x52, 0x3c, 0x6e, 0x01, 0x08, 0x33, 0x1a, 0x5d, 0x41, 0x47, 0x0a,
|
||||
0x1a, 0x44, 0x55, 0x39, 0x06, 0x10, 0x05, 0x18, 0x2b, 0x0b, 0x0b, 0x01, 0x20, 0x41, 0x62, 0x24,
|
||||
0x01, 0x10, 0x03, 0x1a, 0x39, 0x07, 0x5c, 0x5c, 0x5b, 0x3a, 0x20, 0x30, 0x00, 0x5c, 0x5c, 0x47,
|
||||
0x33, 0x20, 0x44, 0x10, 0x02, 0x23, 0x35, 0x47, 0x5e, 0x5e, 0x10, 0x04, 0x73, 0x08, 0x00, 0x5c,
|
||||
0x47, 0x46, 0x1d, 0x5d, 0x05, 0x20, 0x33, 0x5c, 0x1a, 0x44, 0x57, 0x3b, 0x1d, 0x44, 0x10, 0x06,
|
||||
0x18, 0x01, 0x02, 0x01, 0x44, 0x1b, 0x07, 0x38, 0x07, 0x41, 0x78, 0x4e, 0x04, 0x03, 0x10,
|
||||
};
|
||||
|
||||
static const uint16_t mf_rlefont_phptTISF3_glyph_offsets_0[95] = {
|
||||
0x0000, 0x0003, 0x000a, 0x0015, 0x0028, 0x004f, 0x0070, 0x008e,
|
||||
0x0094, 0x00a2, 0x00b0, 0x00c3, 0x00d7, 0x00df, 0x00e6, 0x00eb,
|
||||
0x00f9, 0x0103, 0x0111, 0x0123, 0x013a, 0x014f, 0x0166, 0x017a,
|
||||
0x018c, 0x019b, 0x01ae, 0x01b2, 0x01ba, 0x01ce, 0x01d9, 0x01ee,
|
||||
0x0201, 0x0233, 0x0248, 0x0255, 0x0263, 0x0272, 0x027b, 0x0282,
|
||||
0x0299, 0x02a9, 0x02ae, 0x02c1, 0x02d3, 0x02d9, 0x02fe, 0x0319,
|
||||
0x0327, 0x0336, 0x0347, 0x0353, 0x036e, 0x0378, 0x0386, 0x039d,
|
||||
0x03c3, 0x03de, 0x03eb, 0x03f7, 0x0406, 0x0417, 0x042b, 0x043b,
|
||||
0x043e, 0x0442, 0x0457, 0x0461, 0x0470, 0x047d, 0x048c, 0x0496,
|
||||
0x04a8, 0x04b3, 0x04b8, 0x04c0, 0x02a9, 0x04d2, 0x04e4, 0x04eb,
|
||||
0x04f3, 0x04fe, 0x0506, 0x0510, 0x0525, 0x052f, 0x053a, 0x054a,
|
||||
0x0563, 0x0573, 0x0586, 0x0592, 0x05a4, 0x05ab, 0x05bf,
|
||||
};
|
||||
|
||||
static const struct mf_rlefont_char_range_s mf_rlefont_phptTISF3_char_ranges[] = {
|
||||
{32, 95, mf_rlefont_phptTISF3_glyph_offsets_0, mf_rlefont_phptTISF3_glyph_data_0},
|
||||
};
|
||||
|
||||
const struct mf_rlefont_s mf_rlefont_phptTISF3 = {
|
||||
{
|
||||
"babyblue Medium 11",
|
||||
"phptTISF3",
|
||||
9, /* width */
|
||||
11, /* height */
|
||||
2, /* min x advance */
|
||||
10, /* max x advance */
|
||||
0, /* baseline x */
|
||||
8, /* baseline y */
|
||||
11, /* line height */
|
||||
0, /* flags */
|
||||
63, /* fallback character */
|
||||
&mf_rlefont_character_width,
|
||||
&mf_rlefont_render_character,
|
||||
},
|
||||
4, /* version */
|
||||
mf_rlefont_phptTISF3_dictionary_data,
|
||||
mf_rlefont_phptTISF3_dictionary_offsets,
|
||||
59, /* rle dict count */
|
||||
99, /* total dict count */
|
||||
1, /* char range count */
|
||||
mf_rlefont_phptTISF3_char_ranges,
|
||||
};
|
||||
|
||||
#ifdef MF_INCLUDED_FONTS
|
||||
/* List entry for searching fonts by name. */
|
||||
static const struct mf_font_list_s mf_rlefont_phptTISF3_listentry = {
|
||||
MF_INCLUDED_FONTS,
|
||||
(struct mf_font_s*)&mf_rlefont_phptTISF3
|
||||
};
|
||||
#undef MF_INCLUDED_FONTS
|
||||
#define MF_INCLUDED_FONTS (&mf_rlefont_phptTISF3_listentry)
|
||||
#endif
|
||||
|
||||
|
||||
/* End of automatically generated font definition for phptTISF3. */
|
||||
|
150
demos/modules/gdisp/gdisp_fonts/font_hellovetica11.h
Normal file
150
demos/modules/gdisp/gdisp_fonts/font_hellovetica11.h
Normal file
@ -0,0 +1,150 @@
|
||||
|
||||
|
||||
/* Start of automatically generated font definition for phptWBvQt. */
|
||||
|
||||
#ifndef MF_RLEFONT_INTERNALS
|
||||
#define MF_RLEFONT_INTERNALS
|
||||
#endif
|
||||
#include "mf_rlefont.h"
|
||||
|
||||
#ifndef MF_RLEFONT_VERSION_4_SUPPORTED
|
||||
#error The font file is not compatible with this version of mcufont.
|
||||
#endif
|
||||
|
||||
static const uint8_t mf_rlefont_phptWBvQt_dictionary_data[244] = {
|
||||
0x05, 0x07, 0x0b, 0x80, 0x0c, 0x0a, 0x03, 0x80, 0x80, 0x05, 0x81, 0x05, 0x80, 0x05, 0x81, 0x05,
|
||||
0x80, 0x05, 0x81, 0x05, 0x80, 0x07, 0x80, 0x01, 0x32, 0x87, 0x04, 0x80, 0x06, 0x81, 0x06, 0x80,
|
||||
0x04, 0x81, 0x02, 0x84, 0x04, 0x80, 0x0c, 0x80, 0x0c, 0x80, 0x07, 0x80, 0x04, 0x80, 0x01, 0x80,
|
||||
0x01, 0x80, 0x04, 0x80, 0x0c, 0x80, 0x06, 0x05, 0x81, 0x36, 0x83, 0x08, 0x41, 0x29, 0x01, 0x80,
|
||||
0x01, 0x04, 0x80, 0x04, 0x80, 0x07, 0x80, 0x80, 0x02, 0x06, 0x80, 0x05, 0x08, 0x02, 0x81, 0x01,
|
||||
0x81, 0x82, 0x35, 0x85, 0x01, 0x08, 0x80, 0x02, 0x81, 0x05, 0x04, 0x80, 0x03, 0x81, 0x02, 0x80,
|
||||
0x01, 0x04, 0x80, 0x06, 0x80, 0x05, 0x80, 0x03, 0x80, 0x05, 0x80, 0x0c, 0x06, 0x86, 0x94, 0x0f,
|
||||
0xa4, 0xa4, 0x3c, 0x66, 0x35, 0x00, 0x68, 0x35, 0x00, 0x68, 0x8b, 0x94, 0x8d, 0xa4, 0xa7, 0x2e,
|
||||
0x25, 0x3a, 0x25, 0x18, 0x3a, 0x3a, 0x34, 0x36, 0x2c, 0x36, 0x2c, 0xd4, 0x19, 0x25, 0xa4, 0x28,
|
||||
0x39, 0x1c, 0x3c, 0x3a, 0x28, 0x26, 0x19, 0xac, 0x1b, 0x37, 0x9c, 0x28, 0x20, 0x2b, 0x1a, 0x3b,
|
||||
0xc0, 0xa4, 0xa4, 0xa7, 0x3c, 0xa9, 0x3c, 0x76, 0xa5, 0x19, 0x00, 0x60, 0x19, 0xad, 0x3c, 0x66,
|
||||
0xa4, 0x3a, 0x1d, 0x30, 0x3c, 0x96, 0x3a, 0xc3, 0x25, 0x1a, 0x24, 0x18, 0x3b, 0x83, 0x3a, 0x24,
|
||||
0x00, 0x94, 0x1a, 0xfd, 0x1b, 0x2b, 0x39, 0xcc, 0x94, 0x0f, 0x25, 0x6c, 0x36, 0x3b, 0x3a, 0x3b,
|
||||
0x2d, 0x8c, 0x36, 0x86, 0x74, 0x3b, 0x2c, 0x36, 0xfc, 0x86, 0x8c, 0x96, 0x0f, 0x8b, 0xa4, 0x39,
|
||||
0x30, 0x21, 0x23, 0x65, 0x00, 0xac, 0x31, 0x21, 0x23, 0x65, 0x21, 0x36, 0x00, 0x3a, 0x74, 0x00,
|
||||
0x8e, 0x0f, 0x3c, 0x8c,
|
||||
};
|
||||
|
||||
static const uint16_t mf_rlefont_phptWBvQt_dictionary_offsets[70] = {
|
||||
0x0000, 0x0001, 0x0002, 0x0005, 0x0006, 0x0008, 0x0018, 0x0019,
|
||||
0x001a, 0x001e, 0x0023, 0x0024, 0x0025, 0x002b, 0x002f, 0x0032,
|
||||
0x0037, 0x0039, 0x003c, 0x003e, 0x0041, 0x0047, 0x0049, 0x004c,
|
||||
0x004d, 0x004f, 0x0051, 0x0052, 0x0053, 0x0055, 0x005a, 0x005d,
|
||||
0x005e, 0x0061, 0x0068, 0x006a, 0x006c, 0x006d, 0x006f, 0x007a,
|
||||
0x0080, 0x0083, 0x0086, 0x0090, 0x0093, 0x0095, 0x0099, 0x009d,
|
||||
0x00a0, 0x00a1, 0x00a8, 0x00aa, 0x00b7, 0x00bf, 0x00c3, 0x00c5,
|
||||
0x00c9, 0x00cd, 0x00cf, 0x00d6, 0x00d8, 0x00db, 0x00dc, 0x00e4,
|
||||
0x00e6, 0x00ea, 0x00ec, 0x00ef, 0x00f1, 0x00f4,
|
||||
};
|
||||
|
||||
static const uint8_t mf_rlefont_phptWBvQt_glyph_data_0[725] = {
|
||||
0x02, 0x00, 0x10, 0x05, 0x47, 0x4d, 0x24, 0x1b, 0x1b, 0x1a, 0x10, 0x06, 0xe6, 0x5c, 0x5c, 0x5c,
|
||||
0x0f, 0x10, 0x03, 0x00, 0x10, 0x03, 0x47, 0x0f, 0x10, 0x05, 0x2a, 0x47, 0x4e, 0x06, 0x1e, 0x33,
|
||||
0xc0, 0x10, 0x05, 0x2a, 0xfe, 0x10, 0x05, 0x33, 0x3a, 0x33, 0x33, 0xa4, 0x10, 0x05, 0x33, 0x3b,
|
||||
0x1e, 0x33, 0x47, 0x4e, 0x0b, 0xbc, 0x2f, 0x46, 0x27, 0x18, 0x4e, 0x4e, 0x4e, 0x24, 0x1b, 0x1b,
|
||||
0x1a, 0x10, 0x0b, 0x18, 0x24, 0x57, 0x5c, 0xc5, 0x53, 0x2c, 0x22, 0x2e, 0xc5, 0x58, 0x59, 0x10,
|
||||
0x0b, 0x31, 0x34, 0x36, 0x53, 0x53, 0x1c, 0x28, 0x42, 0xc3, 0x10, 0x0b, 0x23, 0x56, 0x21, 0x23,
|
||||
0x28, 0x1b, 0x58, 0x2e, 0x2b, 0x54, 0x5a, 0x0f, 0x10, 0x0b, 0xe2, 0x8b, 0x8c, 0x94, 0x39, 0x53,
|
||||
0x53, 0x53, 0x2c, 0x39, 0xf8, 0x3c, 0x83, 0x10, 0x0c, 0x31, 0x4c, 0x4d, 0x0f, 0x1f, 0x10, 0x0c,
|
||||
0x31, 0x4c, 0x4d, 0x0f, 0x10, 0x0b, 0x23, 0x56, 0x21, 0x23, 0xa4, 0x7d, 0x28, 0xa4, 0x28, 0x21,
|
||||
0xd4, 0x59, 0x26, 0x3c, 0x62, 0x10, 0x0b, 0xc6, 0x53, 0x53, 0x53, 0x23, 0xa5, 0x1f, 0x36, 0x53,
|
||||
0x53, 0x2c, 0x10, 0x03, 0x47, 0x4d, 0x4d, 0x0f, 0x10, 0x0a, 0x19, 0x47, 0x4d, 0x4e, 0x4f, 0x18,
|
||||
0x3a, 0x82, 0x10, 0x0b, 0xc6, 0x53, 0xd4, 0x39, 0xc8, 0x94, 0x54, 0x86, 0x74, 0x5c, 0x3d, 0x54,
|
||||
0x8c, 0x39, 0x8c, 0x54, 0x10, 0x09, 0x47, 0x4d, 0x4d, 0x83, 0x10, 0x0e, 0xfe, 0x1b, 0xa1, 0xa4,
|
||||
0xaf, 0xa4, 0x5b, 0xa5, 0x5b, 0xa5, 0x5b, 0x96, 0x98, 0xa8, 0xac, 0x8c, 0x95, 0xa5, 0x40, 0xc5,
|
||||
0x86, 0x45, 0xfd, 0x3a, 0xa4, 0x10, 0x0b, 0xfe, 0x19, 0x65, 0x3a, 0x40, 0x86, 0x25, 0x86, 0x25,
|
||||
0x88, 0x25, 0x88, 0x25, 0x88, 0x25, 0x9c, 0x25, 0x94, 0x25, 0x57, 0x20, 0x36, 0x2c, 0x10, 0x0d,
|
||||
0xfc, 0x82, 0x19, 0x3e, 0x35, 0x00, 0x68, 0x35, 0xcc, 0x8c, 0x9c, 0x2c, 0x22, 0x10, 0x0b, 0x31,
|
||||
0x42, 0x22, 0x3a, 0x4d, 0x0f, 0x10, 0x0d, 0xfc, 0x82, 0x19, 0x3e, 0x35, 0x00, 0x68, 0x35, 0xed,
|
||||
0x36, 0x90, 0x8c, 0x98, 0x74, 0xab, 0x10, 0x0b, 0x31, 0x42, 0x34, 0x39, 0x53, 0x53, 0xd4, 0x10,
|
||||
0x0a, 0x00, 0x82, 0x2e, 0x4f, 0x1a, 0x31, 0x4e, 0xa0, 0x1a, 0x4f, 0x18, 0x3a, 0x82, 0x10, 0x0c,
|
||||
0x31, 0x1f, 0x19, 0x4d, 0x4d, 0x24, 0x10, 0x0b, 0x58, 0x59, 0x58, 0x59, 0x58, 0x2e, 0x2b, 0x54,
|
||||
0x5a, 0x0f, 0x10, 0x0b, 0x58, 0x21, 0x00, 0x8c, 0x53, 0x53, 0xfc, 0x8c, 0x5c, 0x5c, 0x44, 0x1a,
|
||||
0x0f, 0x10, 0x0e, 0xfe, 0x3a, 0x94, 0x50, 0x2b, 0x50, 0x2b, 0x67, 0x57, 0x8d, 0x95, 0x5b, 0x8d,
|
||||
0x5b, 0x8d, 0x5b, 0x8d, 0x5b, 0x8d, 0x8c, 0x90, 0x53, 0x10, 0x09, 0x31, 0x20, 0x20, 0xf4, 0x86,
|
||||
0x57, 0x3a, 0x57, 0x1a, 0x3b, 0x4e, 0x45, 0x26, 0x2f, 0x46, 0xd4, 0x10, 0x0b, 0x8a, 0x8c, 0x53,
|
||||
0x23, 0x4a, 0xe6, 0x5c, 0x5c, 0x44, 0x1a, 0x4d, 0x10, 0x0c, 0x31, 0x1f, 0x1b, 0x4e, 0xfe, 0x1a,
|
||||
0x44, 0x1a, 0x4e, 0x24, 0x27, 0xb4, 0x1f, 0x10, 0x0a, 0x29, 0x25, 0x2e, 0x51, 0xfc, 0x34, 0x41,
|
||||
0x4f, 0x3c, 0x63, 0x10, 0x0a, 0x47, 0x4e, 0xe6, 0x3f, 0x4f, 0x49, 0x10, 0x09, 0x29, 0xfd, 0x8c,
|
||||
0x41, 0x47, 0x52, 0x10, 0x0a, 0x19, 0x47, 0x3a, 0x4b, 0x00, 0x60, 0x10, 0x09, 0x29, 0x2d, 0x90,
|
||||
0x94, 0x39, 0xf4, 0x83, 0x3c, 0x3b, 0x52, 0x10, 0x05, 0xf4, 0x4e, 0x24, 0x7c, 0x1a, 0x4d, 0x24,
|
||||
0x10, 0x0a, 0xfc, 0x29, 0xd5, 0x2f, 0xa5, 0x28, 0x41, 0x2b, 0x43, 0x67, 0x19, 0xad, 0x2f, 0x9b,
|
||||
0x94, 0xa4, 0x3c, 0x4a, 0xc2, 0x10, 0x09, 0x47, 0x4e, 0xf2, 0x8b, 0x94, 0x8c, 0x41, 0x4f, 0x41,
|
||||
0x4f, 0x10, 0x03, 0x2b, 0x1e, 0x4d, 0x4d, 0x10, 0x04, 0x38, 0x1e, 0x4d, 0x4d, 0x4e, 0x4e, 0x37,
|
||||
0x10, 0x09, 0x47, 0x51, 0x2d, 0x94, 0x54, 0x3d, 0x5a, 0x5c, 0x5c, 0x3d, 0x88, 0xa4, 0x8c, 0x21,
|
||||
0x10, 0x0e, 0x1e, 0x8c, 0xab, 0x97, 0xad, 0xa8, 0xa7, 0x95, 0x3a, 0x40, 0x3a, 0x40, 0x3a, 0x40,
|
||||
0x3a, 0xa5, 0x10, 0x09, 0x1e, 0x8c, 0x3f, 0x3a, 0x4f, 0x23, 0x4f, 0x10, 0x0a, 0x33, 0xdc, 0x5c,
|
||||
0x5c, 0x2b, 0xa4, 0x3a, 0x1d, 0xf8, 0x3c, 0xa8, 0x3c, 0x74, 0x10, 0x0a, 0x1e, 0x8c, 0x3f, 0x4f,
|
||||
0x49, 0x19, 0x24, 0x10, 0x0a, 0x33, 0x4b, 0xbc, 0x47, 0xc5, 0x06, 0x1e, 0x8c, 0x3a, 0x57, 0x3c,
|
||||
0x74, 0x1b, 0x4d, 0x51, 0x10, 0x09, 0x1e, 0xb4, 0x5c, 0x3d, 0x1a, 0xe2, 0x2f, 0x28, 0x2f, 0x39,
|
||||
0xf4, 0x4a, 0xe2, 0x10, 0x05, 0xfc, 0x24, 0x7c, 0x1a, 0x4d, 0x24, 0x2e, 0x10, 0x09, 0x1e, 0xcc,
|
||||
0x94, 0x41, 0x4f, 0x41, 0x4f, 0x18, 0x82, 0x10, 0x09, 0x1e, 0xdc, 0x20, 0x20, 0x20, 0x20, 0x36,
|
||||
0x36, 0x3a, 0x57, 0x1b, 0x45, 0xfe, 0x10, 0x0e, 0x33, 0x50, 0x2b, 0x50, 0xfe, 0x8a, 0x87, 0x8d,
|
||||
0x8d, 0x25, 0x8d, 0x25, 0x8d, 0x25, 0x8d, 0x3a, 0x65, 0x10, 0x09, 0x1e, 0xdc, 0x36, 0x36, 0x3a,
|
||||
0x94, 0x4e, 0x24, 0x57, 0x2f, 0x46, 0xd4, 0x10, 0x09, 0x1e, 0xcc, 0x94, 0x41, 0x4f, 0x3c, 0x95,
|
||||
0x2f, 0x45, 0xfd, 0x4e, 0x24, 0xd4, 0x10, 0x0a, 0x33, 0x1f, 0x1a, 0x44, 0x1b, 0x24, 0x27, 0x23,
|
||||
0x1f, 0x10, 0x01, 0x00, 0x10,
|
||||
};
|
||||
|
||||
static const uint16_t mf_rlefont_phptWBvQt_glyph_offsets_0[95] = {
|
||||
0x0000, 0x0003, 0x000b, 0x0012, 0x0012, 0x0012, 0x0012, 0x0015,
|
||||
0x0000, 0x0000, 0x0012, 0x0012, 0x0019, 0x001d, 0x0022, 0x0000,
|
||||
0x0012, 0x0012, 0x0012, 0x0012, 0x0012, 0x0012, 0x0012, 0x0012,
|
||||
0x0012, 0x0012, 0x0026, 0x002d, 0x0012, 0x0012, 0x0012, 0x0034,
|
||||
0x0012, 0x0042, 0x0050, 0x005b, 0x0069, 0x0078, 0x007f, 0x0085,
|
||||
0x0096, 0x00a3, 0x00a9, 0x00b3, 0x00c5, 0x00cb, 0x00e6, 0x00ff,
|
||||
0x010e, 0x0116, 0x0127, 0x0130, 0x013f, 0x0147, 0x0153, 0x0162,
|
||||
0x017a, 0x018c, 0x0199, 0x0000, 0x0000, 0x0000, 0x0000, 0x0012,
|
||||
0x0000, 0x01a8, 0x01b4, 0x01bc, 0x01c4, 0x01cc, 0x01d8, 0x01e1,
|
||||
0x01f6, 0x0202, 0x0208, 0x0211, 0x00a3, 0x0221, 0x0233, 0x023c,
|
||||
0x024b, 0x0254, 0x025a, 0x0265, 0x0274, 0x027d, 0x0288, 0x0297,
|
||||
0x02aa, 0x02b8, 0x02c7, 0x0000, 0x02d2, 0x0000, 0x0012,
|
||||
};
|
||||
|
||||
static const struct mf_rlefont_char_range_s mf_rlefont_phptWBvQt_char_ranges[] = {
|
||||
{32, 95, mf_rlefont_phptWBvQt_glyph_offsets_0, mf_rlefont_phptWBvQt_glyph_data_0},
|
||||
};
|
||||
|
||||
const struct mf_rlefont_s mf_rlefont_phptWBvQt = {
|
||||
{
|
||||
"Hellovetica Regular 11",
|
||||
"phptWBvQt",
|
||||
13, /* width */
|
||||
17, /* height */
|
||||
1, /* min x advance */
|
||||
14, /* max x advance */
|
||||
0, /* baseline x */
|
||||
14, /* baseline y */
|
||||
19, /* line height */
|
||||
2, /* flags */
|
||||
63, /* fallback character */
|
||||
&mf_rlefont_character_width,
|
||||
&mf_rlefont_render_character,
|
||||
},
|
||||
4, /* version */
|
||||
mf_rlefont_phptWBvQt_dictionary_data,
|
||||
mf_rlefont_phptWBvQt_dictionary_offsets,
|
||||
37, /* rle dict count */
|
||||
69, /* total dict count */
|
||||
1, /* char range count */
|
||||
mf_rlefont_phptWBvQt_char_ranges,
|
||||
};
|
||||
|
||||
#ifdef MF_INCLUDED_FONTS
|
||||
/* List entry for searching fonts by name. */
|
||||
static const struct mf_font_list_s mf_rlefont_phptWBvQt_listentry = {
|
||||
MF_INCLUDED_FONTS,
|
||||
(struct mf_font_s*)&mf_rlefont_phptWBvQt
|
||||
};
|
||||
#undef MF_INCLUDED_FONTS
|
||||
#define MF_INCLUDED_FONTS (&mf_rlefont_phptWBvQt_listentry)
|
||||
#endif
|
||||
|
||||
|
||||
/* End of automatically generated font definition for phptWBvQt. */
|
||||
|
201
demos/modules/gdisp/gdisp_fonts/font_hellovetica11_aa.h
Normal file
201
demos/modules/gdisp/gdisp_fonts/font_hellovetica11_aa.h
Normal file
@ -0,0 +1,201 @@
|
||||
|
||||
|
||||
/* Start of automatically generated font definition for phpMM3UuI. */
|
||||
|
||||
#ifndef MF_RLEFONT_INTERNALS
|
||||
#define MF_RLEFONT_INTERNALS
|
||||
#endif
|
||||
#include "mf_rlefont.h"
|
||||
|
||||
#ifndef MF_RLEFONT_VERSION_4_SUPPORTED
|
||||
#error The font file is not compatible with this version of mcufont.
|
||||
#endif
|
||||
|
||||
static const uint8_t mf_rlefont_phpMM3UuI_dictionary_data[351] = {
|
||||
0x0d, 0xc4, 0xce, 0x07, 0xc5, 0x80, 0xc2, 0x02, 0xc5, 0x80, 0xc2, 0x02, 0xc5, 0x80, 0xc2, 0x05,
|
||||
0xc5, 0x80, 0xc2, 0x05, 0x03, 0xc5, 0x80, 0xc2, 0x40, 0x32, 0xf2, 0x0c, 0x83, 0x0c, 0xf4, 0x1d,
|
||||
0x06, 0xc5, 0x2d, 0x40, 0x04, 0x80, 0xc7, 0xf6, 0x06, 0xc7, 0xc6, 0x80, 0xc2, 0x09, 0x80, 0xc2,
|
||||
0x03, 0x0d, 0xc5, 0x80, 0xc2, 0x06, 0x02, 0xc5, 0x80, 0x02, 0x87, 0xc5, 0x80, 0xc2, 0x03, 0x03,
|
||||
0xcd, 0x81, 0x02, 0xd4, 0x85, 0x07, 0xc5, 0x80, 0x40, 0x23, 0xd2, 0x42, 0x02, 0xf6, 0xc5, 0x80,
|
||||
0x09, 0xc7, 0xe6, 0x0d, 0xc5, 0x80, 0xc2, 0x0d, 0xc5, 0x80, 0xc2, 0x83, 0x02, 0xc5, 0xcd, 0xd6,
|
||||
0x01, 0xc5, 0x80, 0xc2, 0xc2, 0xc5, 0xc6, 0xc1, 0x0a, 0xd6, 0xc9, 0xc1, 0xc4, 0xc6, 0xc4, 0xc6,
|
||||
0xce, 0xd5, 0x04, 0x83, 0x0e, 0xc9, 0xc3, 0xc2, 0xc6, 0x40, 0xc7, 0xc1, 0x04, 0xc2, 0x80, 0xcb,
|
||||
0x06, 0xc5, 0x80, 0xc2, 0x01, 0x80, 0xc2, 0xc6, 0xc9, 0x81, 0x01, 0xc5, 0x04, 0xc5, 0x80, 0xc2,
|
||||
0xc9, 0xc1, 0xc4, 0xcd, 0xc2, 0x03, 0x01, 0xc1, 0x2a, 0x2b, 0x1a, 0x1b, 0x1b, 0x23, 0x02, 0x23,
|
||||
0x1c, 0x2a, 0x3c, 0x1b, 0x3c, 0x05, 0x4e, 0x04, 0x01, 0x23, 0x3d, 0x06, 0x07, 0x47, 0x4d, 0x1a,
|
||||
0x55, 0x4f, 0x26, 0x1d, 0x51, 0x4c, 0x1d, 0x4c, 0x1d, 0x23, 0x19, 0x03, 0x2b, 0x47, 0x4d, 0x1a,
|
||||
0x55, 0x4f, 0x26, 0xe4, 0x41, 0x3b, 0x07, 0x04, 0x08, 0x25, 0x0d, 0xf7, 0x00, 0x21, 0x2c, 0x1d,
|
||||
0x1b, 0x1b, 0x1d, 0x1b, 0x2d, 0x1a, 0x02, 0x3e, 0x27, 0x05, 0x4f, 0x03, 0x3c, 0x00, 0x30, 0x06,
|
||||
0x07, 0x4e, 0x04, 0x4c, 0x3f, 0x0d, 0xc7, 0x30, 0x03, 0x40, 0x54, 0x1f, 0x4f, 0x03, 0x3c, 0x00,
|
||||
0x1a, 0x51, 0x4c, 0x1d, 0x4c, 0x1d, 0xe4, 0x28, 0x03, 0x2b, 0x02, 0x38, 0x38, 0x38, 0x18, 0x1b,
|
||||
0x1b, 0x00, 0x1a, 0x1b, 0x23, 0x4d, 0x3c, 0x1d, 0x35, 0x3d, 0x4d, 0x2a, 0x3c, 0x35, 0x3d, 0x2b,
|
||||
0x28, 0x37, 0x28, 0x2f, 0x1c, 0x2a, 0x1c, 0x2a, 0x1b, 0x38, 0x38, 0x2a, 0x1a, 0x1b, 0x36, 0x03,
|
||||
0xc4, 0x06, 0x26, 0x1d, 0x21, 0xd3, 0x23, 0x4a, 0x07, 0x40, 0x54, 0x4c, 0x3c, 0x2d, 0x1b, 0x27,
|
||||
0x23, 0x06, 0x0d, 0xfb, 0x26, 0x4d, 0x23, 0x1a, 0x1d, 0x1a, 0x1d, 0x01, 0x00, 0x1a, 0x53, 0x54,
|
||||
0x35, 0x03, 0x32, 0x32, 0x3d, 0x0d, 0x54, 0x28, 0x2f, 0x54, 0x1b, 0x38, 0x27, 0x30, 0x03, 0x32,
|
||||
0x32, 0x32, 0x30, 0x83, 0x30, 0x06, 0x2e, 0x2e, 0x2e, 0x1a, 0x38, 0x18, 0x05, 0x4d, 0x1b,
|
||||
};
|
||||
|
||||
static const uint16_t mf_rlefont_phpMM3UuI_dictionary_offsets[98] = {
|
||||
0x0000, 0x0001, 0x0003, 0x0007, 0x000b, 0x0014, 0x0018, 0x0020,
|
||||
0x0022, 0x0023, 0x0025, 0x0028, 0x0029, 0x002b, 0x002e, 0x0031,
|
||||
0x0036, 0x0039, 0x003b, 0x003f, 0x0040, 0x0042, 0x0043, 0x0044,
|
||||
0x0045, 0x0048, 0x004a, 0x004b, 0x004d, 0x004e, 0x0050, 0x0051,
|
||||
0x0053, 0x005b, 0x005c, 0x005f, 0x0060, 0x0064, 0x0066, 0x0068,
|
||||
0x0069, 0x006b, 0x006d, 0x006f, 0x0071, 0x0072, 0x0075, 0x0077,
|
||||
0x0079, 0x007a, 0x007c, 0x007e, 0x0080, 0x0085, 0x0087, 0x0089,
|
||||
0x008a, 0x008c, 0x0090, 0x0092, 0x0094, 0x0096, 0x0098, 0x009b,
|
||||
0x009e, 0x00a0, 0x00a2, 0x00a6, 0x00aa, 0x00cc, 0x00cf, 0x00d4,
|
||||
0x00d6, 0x00d9, 0x00e3, 0x00e5, 0x00fb, 0x00ff, 0x0105, 0x010f,
|
||||
0x0112, 0x0114, 0x0118, 0x011b, 0x011d, 0x011f, 0x0124, 0x012e,
|
||||
0x0131, 0x0133, 0x0135, 0x0137, 0x013b, 0x013e, 0x0140, 0x0149,
|
||||
0x015c, 0x015f,
|
||||
};
|
||||
|
||||
static const uint8_t mf_rlefont_phpMM3UuI_glyph_data_0[1386] = {
|
||||
0x02, 0x00, 0x10, 0x06, 0x6a, 0x64, 0x2b, 0x18, 0x60, 0x10, 0x08, 0x1b, 0x6b, 0x6b, 0x6b, 0x2a,
|
||||
0x10, 0x03, 0x00, 0x10, 0x05, 0x2d, 0x56, 0x38, 0x10, 0x06, 0x2b, 0x33, 0x38, 0x38, 0x10, 0x06,
|
||||
0x1e, 0x10, 0x06, 0x33, 0x60, 0x10, 0x06, 0x48, 0x6c, 0x4a, 0x3e, 0x3f, 0x31, 0x60, 0x10, 0x06,
|
||||
0x48, 0x6c, 0x4a, 0x3e, 0x18, 0x31, 0x38, 0x38, 0x10, 0x0b, 0x2d, 0x50, 0x71, 0xe4, 0x28, 0x07,
|
||||
0x40, 0x72, 0x57, 0x2d, 0x53, 0x02, 0x6f, 0x00, 0x06, 0x02, 0x18, 0x43, 0x58, 0x62, 0x53, 0x32,
|
||||
0x3f, 0x6f, 0xe4, 0x18, 0x60, 0x10, 0x0d, 0xe4, 0x6f, 0x50, 0x0e, 0x02, 0xc4, 0x30, 0x07, 0x25,
|
||||
0x28, 0x07, 0x25, 0x03, 0x46, 0x06, 0x03, 0x06, 0x03, 0x52, 0x1a, 0x1d, 0x30, 0x04, 0x32, 0x47,
|
||||
0x72, 0x50, 0x2f, 0x72, 0x50, 0x06, 0x05, 0x44, 0x44, 0x08, 0x58, 0x2a, 0x69, 0x1b, 0x10, 0x0d,
|
||||
0x68, 0x0b, 0x2d, 0x67, 0x40, 0x26, 0x69, 0x28, 0x03, 0x32, 0x32, 0x32, 0x30, 0xe3, 0x4b, 0xc4,
|
||||
0x59, 0x69, 0x1b, 0x67, 0x3b, 0x07, 0x52, 0x2b, 0x68, 0x0b, 0x10, 0x0d, 0xe4, 0x32, 0x71, 0x67,
|
||||
0x09, 0x72, 0x50, 0x3e, 0x2d, 0x55, 0x08, 0x02, 0xe4, 0x59, 0x1c, 0x75, 0x1b, 0x38, 0xc4, 0x75,
|
||||
0x1c, 0x19, 0x03, 0xc4, 0x43, 0x58, 0x2a, 0x2a, 0xe4, 0x41, 0x03, 0x3b, 0x5b, 0x45, 0x10, 0x0d,
|
||||
0x28, 0x39, 0x4b, 0x02, 0x2d, 0x67, 0x4e, 0x4d, 0xe4, 0x59, 0x69, 0x69, 0x1c, 0x43, 0x54, 0x1b,
|
||||
0x51, 0x1f, 0x22, 0x42, 0x01, 0x1f, 0xe3, 0x4b, 0x10, 0x0d, 0x68, 0x4f, 0x06, 0x67, 0x34, 0x77,
|
||||
0x35, 0x37, 0x34, 0x54, 0x68, 0x4f, 0x06, 0x10, 0x0d, 0x68, 0x4f, 0x06, 0x67, 0x34, 0x77, 0x56,
|
||||
0x10, 0x0d, 0xe4, 0x32, 0x71, 0x67, 0x0a, 0x85, 0x59, 0x1c, 0x75, 0x2d, 0x56, 0x2d, 0x32, 0x32,
|
||||
0x1a, 0xc0, 0x1a, 0xc4, 0x2a, 0x1c, 0x19, 0x6d, 0xd4, 0x72, 0x41, 0x03, 0x34, 0x08, 0x72, 0x7c,
|
||||
0x2a, 0x10, 0x0d, 0x69, 0x69, 0x28, 0x03, 0x32, 0x32, 0x47, 0x26, 0x28, 0x39, 0x71, 0x28, 0x42,
|
||||
0x2e, 0x2e, 0x08, 0x26, 0x59, 0x69, 0x1b, 0x10, 0x05, 0x6a, 0x38, 0x64, 0x2a, 0x10, 0x0c, 0x5f,
|
||||
0x64, 0x56, 0x27, 0x75, 0x3c, 0x4c, 0x1d, 0x00, 0x67, 0x4e, 0x26, 0xe4, 0x82, 0x10, 0x0d, 0x59,
|
||||
0x1c, 0x70, 0x54, 0x1b, 0x51, 0x4c, 0x1b, 0x1a, 0x2d, 0x32, 0x3e, 0x30, 0x03, 0x3d, 0x0d, 0x02,
|
||||
0x2d, 0x30, 0x0e, 0x0d, 0x0b, 0x54, 0x1a, 0x3c, 0x5f, 0x55, 0x2e, 0x54, 0xc4, 0x2a, 0x19, 0x03,
|
||||
0x1a, 0x51, 0x23, 0x2a, 0x55, 0x08, 0x49, 0x2b, 0x1c, 0x10, 0x0a, 0x6a, 0x64, 0x2a, 0xc4, 0x67,
|
||||
0x42, 0x2d, 0x1f, 0x2f, 0x09, 0x10, 0x10, 0x28, 0x03, 0x01, 0xc4, 0x55, 0x06, 0x4d, 0x28, 0x4b,
|
||||
0x23, 0x0e, 0x0f, 0x4d, 0x28, 0x42, 0x1f, 0x08, 0x4d, 0x1b, 0x78, 0x78, 0x78, 0x78, 0x01, 0x70,
|
||||
0x02, 0x19, 0x04, 0x5a, 0x4d, 0x5a, 0x4d, 0x00, 0x78, 0x3a, 0x00, 0x5e, 0x1b, 0x00, 0x57, 0x65,
|
||||
0x1b, 0x10, 0x0d, 0x28, 0x03, 0x01, 0xe4, 0x2a, 0x28, 0x4b, 0xe4, 0x2a, 0x28, 0x42, 0x51, 0x00,
|
||||
0x51, 0x78, 0x00, 0x51, 0x78, 0x00, 0x51, 0x01, 0x70, 0x02, 0x3c, 0x00, 0x51, 0x3c, 0x3c, 0x00,
|
||||
0x51, 0x3c, 0x3c, 0xc4, 0x2a, 0x03, 0x0d, 0x06, 0x26, 0x1b, 0x00, 0x28, 0x07, 0x4d, 0xc4, 0x2a,
|
||||
0x53, 0x07, 0x26, 0x1b, 0xa4, 0x26, 0x1b, 0xc4, 0x08, 0x26, 0x1c, 0x10, 0x0f, 0x4a, 0xe3, 0x4d,
|
||||
0x2d, 0x67, 0x4e, 0x26, 0x1b, 0x1a, 0x1d, 0x73, 0x73, 0x73, 0x30, 0x54, 0x19, 0x03, 0x2d, 0x4a,
|
||||
0x75, 0x3c, 0x51, 0x23, 0x41, 0x37, 0x5b, 0x00, 0x82, 0x10, 0x0d, 0x68, 0x0b, 0x2d, 0x67, 0x40,
|
||||
0x26, 0x69, 0x1c, 0x76, 0x0b, 0x30, 0x42, 0x2e, 0x2e, 0x03, 0xc4, 0x6a, 0x10, 0x0f, 0x4a, 0x4f,
|
||||
0x71, 0xe4, 0x43, 0x37, 0x4e, 0x0d, 0x32, 0x51, 0x73, 0x73, 0x73, 0x30, 0x54, 0x2a, 0x55, 0x02,
|
||||
0x00, 0x2a, 0x19, 0x03, 0xe4, 0x43, 0x02, 0x75, 0x3c, 0x51, 0x23, 0x41, 0x37, 0x4e, 0x04, 0x00,
|
||||
0x3e, 0xc4, 0x82, 0x3c, 0x10, 0x0d, 0x68, 0x0a, 0x2d, 0x67, 0x40, 0x26, 0x69, 0x1c, 0x76, 0x0c,
|
||||
0xc4, 0x69, 0x69, 0x10, 0x0c, 0x2d, 0x80, 0x0d, 0x2b, 0x67, 0x4e, 0x26, 0x1d, 0x51, 0x4c, 0x2b,
|
||||
0x75, 0x1d, 0x2d, 0x18, 0x03, 0x02, 0x01, 0x18, 0x0d, 0x0d, 0x0c, 0x32, 0x01, 0x36, 0xb4, 0x0d,
|
||||
0x18, 0x2e, 0x06, 0x3e, 0x27, 0x2a, 0x3c, 0x4c, 0x1d, 0x23, 0x03, 0x09, 0x07, 0x34, 0x08, 0x52,
|
||||
0x23, 0x80, 0x0d, 0x10, 0x0c, 0xe0, 0x83, 0x23, 0x06, 0x40, 0x22, 0x2b, 0x62, 0x6a, 0x64, 0x10,
|
||||
0x0d, 0x69, 0x69, 0x69, 0x1c, 0x35, 0x6d, 0x1d, 0x00, 0x23, 0x41, 0x03, 0x3b, 0x5b, 0x45, 0x10,
|
||||
0x0d, 0x69, 0x1c, 0x3c, 0x1d, 0x73, 0x00, 0x4c, 0x6c, 0x03, 0x0d, 0x02, 0x19, 0x54, 0x1a, 0x6b,
|
||||
0x05, 0x25, 0x3a, 0x00, 0x38, 0x10, 0x10, 0x1b, 0xc4, 0x5e, 0x1b, 0x5e, 0x1b, 0x2d, 0x5a, 0x4d,
|
||||
0x5a, 0x66, 0x4d, 0x2a, 0x3c, 0x35, 0x3d, 0x4d, 0x2a, 0x3c, 0x05, 0x4d, 0x35, 0x3d, 0x72, 0x03,
|
||||
0x0e, 0x02, 0x3a, 0x00, 0x23, 0x65, 0x10, 0x0a, 0x65, 0x2d, 0x19, 0x02, 0x3a, 0x02, 0x5f, 0x6b,
|
||||
0x05, 0x25, 0x55, 0x02, 0x19, 0x04, 0x27, 0x00, 0x62, 0x53, 0x50, 0x0d, 0x54, 0x1a, 0x6b, 0x05,
|
||||
0x25, 0x19, 0x02, 0x3a, 0x58, 0x65, 0x10, 0x0d, 0x1c, 0x02, 0x09, 0x0d, 0x54, 0x19, 0x49, 0x4c,
|
||||
0x1b, 0x1a, 0x1d, 0x2d, 0x30, 0x07, 0x25, 0x28, 0x07, 0x72, 0xc4, 0x19, 0x07, 0x0d, 0x54, 0x5f,
|
||||
0x64, 0x10, 0x0c, 0xe0, 0x83, 0x23, 0x34, 0x40, 0x0f, 0x24, 0x3f, 0x6c, 0x1d, 0x27, 0xc4, 0x53,
|
||||
0x32, 0x3f, 0x6f, 0x19, 0x58, 0xc4, 0x6f, 0x2a, 0x36, 0x4e, 0x22, 0x3b, 0x2b, 0xbc, 0x83, 0x10,
|
||||
0x0c, 0x6e, 0x23, 0x41, 0x32, 0x47, 0x4d, 0x3f, 0x0e, 0x71, 0x00, 0x1f, 0x2e, 0x08, 0x72, 0x65,
|
||||
0x2d, 0x03, 0x09, 0x07, 0x40, 0x46, 0x3e, 0xc4, 0x7c, 0x3c, 0x10, 0x0c, 0x6a, 0x63, 0x53, 0x58,
|
||||
0x61, 0x74, 0x2c, 0x10, 0x0a, 0x6e, 0x4c, 0x00, 0x41, 0x74, 0x38, 0x2b, 0x54, 0xe4, 0x57, 0x2d,
|
||||
0x41, 0x24, 0x5b, 0x45, 0x10, 0x0c, 0x36, 0x56, 0x38, 0x36, 0x2c, 0x3c, 0x2d, 0x23, 0x5c, 0x2a,
|
||||
0x10, 0x0a, 0x21, 0x0d, 0xfb, 0x3f, 0x03, 0x0b, 0x37, 0x0b, 0x74, 0x2b, 0x72, 0x28, 0x04, 0x02,
|
||||
0x32, 0x72, 0x28, 0x39, 0x72, 0x28, 0x06, 0x44, 0x44, 0x74, 0x2b, 0x02, 0x36, 0x2a, 0x26, 0xc4,
|
||||
0x41, 0x34, 0x04, 0x01, 0x3f, 0x0d, 0xfb, 0x10, 0x06, 0x1d, 0xc4, 0x30, 0x49, 0x3f, 0x6f, 0x71,
|
||||
0x2d, 0x23, 0x4e, 0x0f, 0x49, 0x23, 0x62, 0x6a, 0x38, 0x10, 0x0c, 0x5d, 0x25, 0x55, 0x05, 0x06,
|
||||
0x3b, 0x32, 0x36, 0x0d, 0x54, 0x2a, 0x1d, 0x51, 0x4c, 0x1d, 0x4c, 0x1d, 0x23, 0x53, 0x03, 0x2b,
|
||||
0x47, 0x26, 0xc4, 0x0d, 0x02, 0x55, 0x4f, 0x26, 0xc4, 0x04, 0x3b, 0x07, 0x04, 0x08, 0x26, 0x4a,
|
||||
0x00, 0x2c, 0x3c, 0x4c, 0x1d, 0x23, 0x41, 0x06, 0x34, 0x00, 0x04, 0x01, 0x2d, 0x23, 0x0d, 0x71,
|
||||
0x10, 0x0a, 0x1b, 0x38, 0x27, 0x30, 0x4f, 0x4b, 0x2b, 0x30, 0x07, 0x40, 0x72, 0x65, 0x65, 0x65,
|
||||
0x65, 0x10, 0x05, 0x6c, 0x4a, 0x3e, 0x20, 0x56, 0x64, 0x56, 0x10, 0x04, 0x50, 0x25, 0x4a, 0x3e,
|
||||
0x20, 0x56, 0x38, 0x64, 0x2a, 0xc4, 0x4a, 0x09, 0x58, 0x1a, 0x10, 0x0a, 0x6a, 0x1b, 0x00, 0x1a,
|
||||
0x2d, 0x06, 0x07, 0x74, 0x01, 0x70, 0x02, 0x2d, 0x30, 0x04, 0x06, 0x25, 0x50, 0x71, 0x30, 0x06,
|
||||
0x05, 0x08, 0x02, 0xe4, 0x4c, 0x2a, 0x4c, 0x2a, 0x4c, 0x03, 0x0b, 0x07, 0x74, 0x1b, 0x10, 0x10,
|
||||
0x48, 0x1b, 0x2c, 0xdc, 0x0d, 0x2b, 0x50, 0x4f, 0x08, 0x4e, 0xfb, 0x07, 0x4e, 0x4d, 0x28, 0x49,
|
||||
0x00, 0x35, 0x24, 0x1b, 0x2d, 0x78, 0x5e, 0x1b, 0x5e, 0x1b, 0x5e, 0x1b, 0x1d, 0x10, 0x0a, 0x48,
|
||||
0x28, 0x05, 0x4f, 0x09, 0x2b, 0x30, 0x0e, 0x40, 0x72, 0x28, 0x06, 0x28, 0x58, 0x57, 0x65, 0x65,
|
||||
0x65, 0x10, 0x0c, 0x5d, 0x2d, 0x3f, 0x3d, 0x4e, 0x54, 0x1a, 0x3c, 0x00, 0x1a, 0x51, 0x4c, 0x1d,
|
||||
0x4c, 0x1d, 0x23, 0x19, 0x03, 0x2b, 0x02, 0x75, 0x51, 0x50, 0x25, 0x41, 0x06, 0x5b, 0xc4, 0x2c,
|
||||
0x10, 0x0c, 0x48, 0x1b, 0x63, 0x53, 0x58, 0x61, 0x74, 0x0d, 0xf7, 0x5f, 0x38, 0x10, 0x0c, 0x5d,
|
||||
0x3c, 0x2d, 0x23, 0x5c, 0x56, 0x38, 0x10, 0x08, 0x48, 0x1b, 0x2a, 0x30, 0x03, 0x04, 0x3e, 0x2b,
|
||||
0x30, 0x4b, 0xc4, 0x30, 0x06, 0x03, 0x23, 0x62, 0x6a, 0x10, 0x0a, 0x48, 0xb4, 0x0d, 0x00, 0x3f,
|
||||
0x53, 0x07, 0x4e, 0x0d, 0x54, 0x4c, 0x03, 0x08, 0x01, 0x36, 0x53, 0x03, 0x32, 0x54, 0x36, 0x71,
|
||||
0x2d, 0x23, 0x04, 0x2e, 0x08, 0x52, 0x36, 0x54, 0x05, 0x72, 0x57, 0x2d, 0x41, 0x07, 0x40, 0x3e,
|
||||
0x3f, 0x71, 0x10, 0x06, 0x6f, 0x47, 0x0f, 0x03, 0x36, 0xbc, 0x72, 0xc4, 0x04, 0x08, 0x0f, 0x3e,
|
||||
0x2b, 0x5f, 0x64, 0x35, 0x49, 0x27, 0x10, 0x0a, 0x48, 0x65, 0x65, 0x65, 0x65, 0x28, 0x07, 0x40,
|
||||
0x4d, 0x3f, 0x0e, 0x71, 0x10, 0x0a, 0x48, 0x65, 0x65, 0x65, 0x1d, 0x6b, 0x05, 0x4d, 0x3f, 0x03,
|
||||
0x46, 0x09, 0x52, 0x2b, 0x5f, 0x10, 0x10, 0x2d, 0x48, 0x78, 0x5e, 0x1b, 0x5e, 0x00, 0x02, 0x09,
|
||||
0x02, 0x03, 0x3e, 0x5a, 0x66, 0x4d, 0x2a, 0x00, 0x03, 0x46, 0x09, 0x52, 0x03, 0x0b, 0x07, 0x03,
|
||||
0x52, 0x23, 0x78, 0x10, 0x0a, 0x48, 0x57, 0x2d, 0x02, 0x46, 0x2d, 0x06, 0x49, 0x5f, 0x2a, 0x5f,
|
||||
0x27, 0x2d, 0x4a, 0x19, 0x03, 0xe4, 0x30, 0x3d, 0x25, 0x19, 0x04, 0x55, 0x70, 0x58, 0x65, 0x10,
|
||||
0x0a, 0x48, 0x65, 0x65, 0x65, 0xe4, 0x0d, 0x3d, 0x72, 0xc4, 0x0d, 0x3d, 0x72, 0xc4, 0x0b, 0x50,
|
||||
0x0d, 0x02, 0x3f, 0x6f, 0x06, 0x03, 0x52, 0x2d, 0x3f, 0x0d, 0x02, 0x10, 0x0a, 0x48, 0xc0, 0x93,
|
||||
0x23, 0x34, 0x4e, 0x0f, 0x07, 0x2d, 0x23, 0x4a, 0x75, 0x23, 0x6c, 0x2b, 0x19, 0x04, 0x38, 0x3f,
|
||||
0x6c, 0x2b, 0x4e, 0x22, 0x23, 0x29, 0x10, 0x01, 0x00, 0x10,
|
||||
};
|
||||
|
||||
static const uint16_t mf_rlefont_phpMM3UuI_glyph_offsets_0[95] = {
|
||||
0x0000, 0x0003, 0x000a, 0x0011, 0x0011, 0x0011, 0x0011, 0x0014,
|
||||
0x0000, 0x0000, 0x0011, 0x0011, 0x0019, 0x001f, 0x0022, 0x0000,
|
||||
0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011, 0x0011,
|
||||
0x0011, 0x0011, 0x0026, 0x002f, 0x0011, 0x0011, 0x0011, 0x0039,
|
||||
0x0011, 0x0056, 0x007f, 0x009b, 0x00bf, 0x00d9, 0x00e8, 0x00f1,
|
||||
0x0112, 0x0128, 0x012e, 0x013e, 0x016a, 0x0176, 0x01a2, 0x01dc,
|
||||
0x01fa, 0x020d, 0x0235, 0x0244, 0x0274, 0x0280, 0x0290, 0x02a6,
|
||||
0x02c7, 0x02e7, 0x0302, 0x0000, 0x0000, 0x0000, 0x0000, 0x0011,
|
||||
0x0000, 0x0320, 0x033b, 0x0344, 0x0355, 0x0361, 0x0388, 0x039a,
|
||||
0x03d1, 0x03e2, 0x03eb, 0x03fb, 0x0128, 0x041f, 0x043e, 0x0452,
|
||||
0x0471, 0x047e, 0x0487, 0x049a, 0x04c3, 0x04d7, 0x04e5, 0x04f6,
|
||||
0x0514, 0x0530, 0x054c, 0x0000, 0x0567, 0x0000, 0x0011,
|
||||
};
|
||||
|
||||
static const struct mf_rlefont_char_range_s mf_rlefont_phpMM3UuI_char_ranges[] = {
|
||||
{32, 95, mf_rlefont_phpMM3UuI_glyph_offsets_0, mf_rlefont_phpMM3UuI_glyph_data_0},
|
||||
};
|
||||
|
||||
const struct mf_rlefont_s mf_rlefont_phpMM3UuI = {
|
||||
{
|
||||
"Hellovetica Regular 11",
|
||||
"phpMM3UuI",
|
||||
16, /* width */
|
||||
17, /* height */
|
||||
1, /* min x advance */
|
||||
16, /* max x advance */
|
||||
1, /* baseline x */
|
||||
14, /* baseline y */
|
||||
19, /* line height */
|
||||
0, /* flags */
|
||||
63, /* fallback character */
|
||||
&mf_rlefont_character_width,
|
||||
&mf_rlefont_render_character,
|
||||
},
|
||||
4, /* version */
|
||||
mf_rlefont_phpMM3UuI_dictionary_data,
|
||||
mf_rlefont_phpMM3UuI_dictionary_offsets,
|
||||
62, /* rle dict count */
|
||||
97, /* total dict count */
|
||||
1, /* char range count */
|
||||
mf_rlefont_phpMM3UuI_char_ranges,
|
||||
};
|
||||
|
||||
#ifdef MF_INCLUDED_FONTS
|
||||
/* List entry for searching fonts by name. */
|
||||
static const struct mf_font_list_s mf_rlefont_phpMM3UuI_listentry = {
|
||||
MF_INCLUDED_FONTS,
|
||||
(struct mf_font_s*)&mf_rlefont_phpMM3UuI
|
||||
};
|
||||
#undef MF_INCLUDED_FONTS
|
||||
#define MF_INCLUDED_FONTS (&mf_rlefont_phpMM3UuI_listentry)
|
||||
#endif
|
||||
|
||||
|
||||
/* End of automatically generated font definition for phpMM3UuI. */
|
||||
|
186
demos/modules/gdisp/gdisp_fonts/font_pf_ronda_seven11_aa.h
Normal file
186
demos/modules/gdisp/gdisp_fonts/font_pf_ronda_seven11_aa.h
Normal file
@ -0,0 +1,186 @@
|
||||
|
||||
|
||||
/* Start of automatically generated font definition for phpMbOYHb. */
|
||||
|
||||
#ifndef MF_RLEFONT_INTERNALS
|
||||
#define MF_RLEFONT_INTERNALS
|
||||
#endif
|
||||
#include "mf_rlefont.h"
|
||||
|
||||
#ifndef MF_RLEFONT_VERSION_4_SUPPORTED
|
||||
#error The font file is not compatible with this version of mcufont.
|
||||
#endif
|
||||
|
||||
static const uint8_t mf_rlefont_phpMbOYHb_dictionary_data[226] = {
|
||||
0x80, 0x04, 0x02, 0x81, 0x03, 0x80, 0x03, 0x04, 0x07, 0x03, 0x80, 0x0b, 0x18, 0x02, 0x01, 0x83,
|
||||
0x09, 0x0a, 0x03, 0x32, 0x84, 0x32, 0x81, 0x0b, 0x40, 0x07, 0x84, 0xc6, 0x83, 0x08, 0x80, 0x0b,
|
||||
0x80, 0x0b, 0x80, 0x08, 0x80, 0x05, 0x40, 0x15, 0x06, 0xcb, 0x04, 0x31, 0xc6, 0x01, 0x80, 0x01,
|
||||
0x80, 0xc6, 0x06, 0xc6, 0x82, 0xc6, 0x16, 0x84, 0x80, 0x05, 0x80, 0x04, 0x0c, 0x08, 0x03, 0x80,
|
||||
0x07, 0x80, 0x01, 0x01, 0x80, 0x05, 0x06, 0x80, 0x02, 0x80, 0x82, 0x80, 0xcc, 0x05, 0x80, 0x04,
|
||||
0x80, 0xcc, 0x05, 0x01, 0x80, 0x0b, 0x80, 0x0b, 0x80, 0x08, 0x80, 0xcc, 0x01, 0x07, 0x80, 0x02,
|
||||
0x0d, 0x01, 0x81, 0x80, 0x08, 0x81, 0x80, 0xc1, 0x01, 0xcc, 0x33, 0x80, 0xc8, 0x42, 0x1d, 0x2a,
|
||||
0x1d, 0x43, 0x22, 0x00, 0x39, 0x36, 0x95, 0x39, 0x00, 0x33, 0x38, 0x33, 0x38, 0x00, 0x06, 0x1e,
|
||||
0x82, 0x84, 0xa5, 0x06, 0xc4, 0xa5, 0x0c, 0x1b, 0x86, 0x3c, 0x28, 0x1f, 0x94, 0xc8, 0xa6, 0x1a,
|
||||
0x95, 0x36, 0x95, 0x39, 0x1e, 0xc2, 0x47, 0x1b, 0x3d, 0x36, 0x74, 0x1e, 0x1e, 0x2f, 0x0c, 0x37,
|
||||
0x42, 0x1a, 0x0f, 0xa4, 0x04, 0x1b, 0x33, 0x8a, 0x87, 0xb0, 0x2c, 0x41, 0x42, 0xf9, 0x23, 0x8d,
|
||||
0x18, 0x39, 0x0f, 0x21, 0x84, 0xa8, 0x26, 0x42, 0x36, 0x08, 0x43, 0x1e, 0x1e, 0x86, 0x38, 0x33,
|
||||
0x2a, 0x3a, 0x06, 0x22, 0x0f, 0x2b, 0x39, 0xa6, 0x98, 0x43, 0x42, 0x19, 0x1c, 0x06, 0x29, 0x1e,
|
||||
0x1e, 0x3d, 0x2c, 0xd5, 0x42, 0x1d, 0x00, 0x45, 0x3a, 0x1a, 0x06, 0x3b, 0x31, 0x06, 0x1b, 0x20,
|
||||
0x1c, 0x0b,
|
||||
};
|
||||
|
||||
static const uint16_t mf_rlefont_phpMbOYHb_dictionary_offsets[81] = {
|
||||
0x0000, 0x0002, 0x0004, 0x0007, 0x0008, 0x0009, 0x000c, 0x000d,
|
||||
0x000e, 0x0010, 0x0011, 0x0012, 0x0013, 0x0015, 0x0017, 0x0018,
|
||||
0x001a, 0x001c, 0x001e, 0x0024, 0x0026, 0x0028, 0x002b, 0x002d,
|
||||
0x0030, 0x0033, 0x0037, 0x0038, 0x003c, 0x003d, 0x003e, 0x0041,
|
||||
0x0043, 0x0046, 0x0048, 0x004a, 0x004b, 0x0053, 0x005a, 0x005d,
|
||||
0x0060, 0x0061, 0x0063, 0x0065, 0x0066, 0x0068, 0x006a, 0x006b,
|
||||
0x006d, 0x0071, 0x0073, 0x0078, 0x007d, 0x007f, 0x008d, 0x0091,
|
||||
0x0094, 0x009b, 0x009e, 0x00a0, 0x00a2, 0x00aa, 0x00ad, 0x00ae,
|
||||
0x00b0, 0x00b2, 0x00b4, 0x00bb, 0x00c0, 0x00c4, 0x00c7, 0x00c9,
|
||||
0x00cb, 0x00cf, 0x00d2, 0x00d4, 0x00d6, 0x00d8, 0x00dd, 0x00df,
|
||||
0x00e2,
|
||||
};
|
||||
|
||||
static const uint8_t mf_rlefont_phpMbOYHb_glyph_data_0[1283] = {
|
||||
0x04, 0x00, 0x10, 0x04, 0x46, 0x48, 0x0d, 0xc4, 0x1e, 0x39, 0x10, 0x06, 0x51, 0x38, 0x57, 0x1b,
|
||||
0xa8, 0x10, 0x08, 0x46, 0x0f, 0x38, 0x94, 0x42, 0x8e, 0x39, 0x0c, 0x0f, 0x0c, 0x18, 0x94, 0x42,
|
||||
0x8e, 0x39, 0x0a, 0x0f, 0x0a, 0x2b, 0xac, 0x84, 0xac, 0x84, 0xac, 0x10, 0x08, 0x23, 0x40, 0x1e,
|
||||
0x59, 0x05, 0x0f, 0x0c, 0x2b, 0x9c, 0x87, 0x64, 0x07, 0xee, 0x0c, 0x23, 0x64, 0x0a, 0xfe, 0x84,
|
||||
0x64, 0x0d, 0x00, 0x59, 0x09, 0x0f, 0x0a, 0x43, 0x84, 0xac, 0x0c, 0xc4, 0xac, 0x0c, 0x23, 0x64,
|
||||
0x0a, 0xee, 0x66, 0xec, 0x0a, 0x58, 0x10, 0x0b, 0x25, 0xa5, 0x06, 0x64, 0xf9, 0x8c, 0x64, 0xc9,
|
||||
0x86, 0xb2, 0x42, 0x3d, 0x68, 0x2b, 0x9d, 0x3e, 0x4c, 0x0f, 0x74, 0x10, 0x08, 0x25, 0x44, 0x1c,
|
||||
0x0b, 0x1f, 0x8a, 0x1a, 0x0e, 0x18, 0x68, 0x84, 0x4c, 0xc7, 0x08, 0xc4, 0x01, 0x0f, 0x44, 0x88,
|
||||
0x68, 0x45, 0x1f, 0x8c, 0x07, 0x47, 0x23, 0x1a, 0x0e, 0x2b, 0x4c, 0xb3, 0x10, 0x03, 0x61, 0x10,
|
||||
0x06, 0x23, 0x40, 0x1e, 0x59, 0x0b, 0x0f, 0x22, 0x0e, 0x22, 0x52, 0x21, 0x63, 0x63, 0x0e, 0x26,
|
||||
0x52, 0x22, 0x49, 0x3a, 0x10, 0x06, 0x22, 0x1e, 0x36, 0xa4, 0x63, 0x3e, 0x22, 0x63, 0x63, 0x0e,
|
||||
0x22, 0x3e, 0x1c, 0x8a, 0x39, 0x10, 0x08, 0x00, 0x46, 0x42, 0x36, 0x96, 0x08, 0xf5, 0xb4, 0x0e,
|
||||
0x0e, 0xe5, 0x8c, 0x44, 0x08, 0x42, 0x44, 0x22, 0x0b, 0x01, 0x10, 0x08, 0x23, 0x1e, 0x61, 0x3b,
|
||||
0x0a, 0x5f, 0x2a, 0x10, 0x04, 0x26, 0x46, 0x2c, 0x5c, 0x08, 0x10, 0x06, 0x27, 0x25, 0x43, 0x10,
|
||||
0x04, 0x27, 0x2c, 0xec, 0x10, 0x07, 0x40, 0x1e, 0x39, 0x04, 0x22, 0x59, 0x8a, 0x39, 0x58, 0x22,
|
||||
0x49, 0x58, 0x59, 0x49, 0x58, 0x59, 0x04, 0x0f, 0x10, 0x08, 0x24, 0x2d, 0x4b, 0x18, 0x4b, 0x33,
|
||||
0x4c, 0x28, 0x10, 0x04, 0x2e, 0x0f, 0x48, 0x2a, 0xec, 0x10, 0x08, 0x24, 0x1b, 0x64, 0x0f, 0x0d,
|
||||
0x08, 0x03, 0x3e, 0x1f, 0x64, 0xd5, 0x0c, 0x22, 0x3e, 0x35, 0x0e, 0x58, 0x1c, 0x36, 0x1d, 0x42,
|
||||
0x4c, 0xc3, 0x02, 0x10, 0x08, 0x24, 0x01, 0xc4, 0x52, 0x1d, 0x42, 0x36, 0x08, 0x3b, 0x66, 0xb4,
|
||||
0x0b, 0x34, 0x53, 0x64, 0x18, 0x0b, 0x23, 0x74, 0x0b, 0x10, 0x08, 0x46, 0xfe, 0x59, 0x08, 0x03,
|
||||
0xe5, 0x39, 0x03, 0x42, 0xee, 0x84, 0x4c, 0xef, 0x1c, 0x52, 0x38, 0x64, 0x3b, 0x0c, 0x0e, 0x21,
|
||||
0x3d, 0x10, 0x08, 0x1e, 0x50, 0x0f, 0x30, 0xa4, 0x0c, 0x22, 0x3c, 0x06, 0x32, 0x10, 0x08, 0x2e,
|
||||
0x32, 0x84, 0xa5, 0x66, 0x86, 0x3e, 0x1b, 0x63, 0x28, 0xc4, 0x86, 0x3c, 0xa5, 0x66, 0xc0, 0x10,
|
||||
0x08, 0x00, 0x1e, 0x1e, 0x08, 0xc3, 0x04, 0x22, 0x58, 0x59, 0x49, 0x58, 0x58, 0x26, 0x58, 0x59,
|
||||
0x52, 0x10, 0x08, 0x24, 0x2d, 0x86, 0x4b, 0x02, 0x32, 0x02, 0x1b, 0x4b, 0x06, 0x28, 0x10, 0x08,
|
||||
0x46, 0x3b, 0x2b, 0x4c, 0x37, 0x1a, 0x64, 0xe5, 0x38, 0x52, 0x1a, 0x64, 0xe5, 0x38, 0x4c, 0x32,
|
||||
0x26, 0x53, 0x64, 0xa5, 0x84, 0x28, 0x10, 0x04, 0x2c, 0x3a, 0x27, 0x0f, 0x10, 0x04, 0x2c, 0x3a,
|
||||
0x22, 0x2e, 0x35, 0x1d, 0x59, 0x01, 0x09, 0x09, 0x21, 0x01, 0x07, 0x10, 0x04, 0x1b, 0x27, 0x58,
|
||||
0x22, 0x08, 0x26, 0x59, 0x36, 0xa4, 0x10, 0x06, 0x2c, 0x29, 0x1e, 0xf3, 0x10, 0x04, 0x1f, 0x27,
|
||||
0x59, 0x1d, 0x38, 0x39, 0x22, 0x58, 0x10, 0x08, 0x46, 0x3b, 0x84, 0x4c, 0xd5, 0x0c, 0x22, 0x3e,
|
||||
0x21, 0x3e, 0x35, 0x0e, 0x42, 0x4c, 0x58, 0x26, 0x1e, 0x44, 0x10, 0x0c, 0x1f, 0x40, 0x1e, 0x07,
|
||||
0x32, 0x07, 0x1f, 0x4c, 0x0f, 0x0d, 0x00, 0xb4, 0x06, 0xe6, 0xa2, 0x8e, 0x05, 0xf3, 0x98, 0x5e,
|
||||
0x5e, 0x5e, 0x00, 0xa1, 0x8e, 0x07, 0x0d, 0xa9, 0xa6, 0xa8, 0x4c, 0x0f, 0x0d, 0x1b, 0x04, 0x43,
|
||||
0x06, 0x1f, 0x4c, 0xf3, 0x10, 0x08, 0x2e, 0x32, 0x66, 0x4b, 0x33, 0x82, 0x33, 0x4b, 0x0f, 0x10,
|
||||
0x08, 0x1e, 0x1e, 0x82, 0x66, 0x38, 0x0b, 0x1b, 0x4b, 0xc3, 0x02, 0x1b, 0x86, 0x38, 0x33, 0x38,
|
||||
0x0b, 0x1b, 0x82, 0x10, 0x08, 0x25, 0xf7, 0x2d, 0x3e, 0x1b, 0x48, 0xa5, 0x0c, 0x1b, 0x4c, 0x32,
|
||||
0x10, 0x08, 0x1e, 0x1e, 0x82, 0x66, 0x86, 0x4b, 0x33, 0x4b, 0x0b, 0x1b, 0x82, 0x10, 0x08, 0x1e,
|
||||
0x50, 0x43, 0x05, 0x84, 0x63, 0x59, 0x80, 0x47, 0x10, 0x08, 0x1e, 0x50, 0x43, 0x05, 0xc4, 0x3d,
|
||||
0xec, 0x10, 0x08, 0x24, 0x2d, 0x86, 0x3d, 0xcc, 0x01, 0x93, 0x1a, 0x04, 0x04, 0x2b, 0x33, 0xa6,
|
||||
0x87, 0x4c, 0xb3, 0x10, 0x08, 0x5b, 0x4b, 0xc3, 0x33, 0x4b, 0x0f, 0x10, 0x03, 0x61, 0x1d, 0x48,
|
||||
0x10, 0x06, 0x46, 0x3a, 0x26, 0x48, 0x2b, 0x64, 0x0a, 0x00, 0x86, 0x74, 0x06, 0x10, 0x08, 0x51,
|
||||
0x00, 0x8c, 0x1a, 0x0b, 0x04, 0x23, 0x8c, 0x8a, 0x8c, 0x42, 0x47, 0x1b, 0x39, 0x47, 0x35, 0x92,
|
||||
0x3f, 0x42, 0xb5, 0x39, 0xa4, 0x10, 0x07, 0x61, 0x23, 0x48, 0x32, 0x02, 0x10, 0x0a, 0x51, 0x39,
|
||||
0x36, 0x75, 0xb4, 0x8c, 0xad, 0x1a, 0x0b, 0x04, 0x3a, 0x8c, 0xaa, 0x4f, 0x4f, 0x10, 0x08, 0x5b,
|
||||
0x41, 0x0d, 0x8c, 0xac, 0x0b, 0xc8, 0x8c, 0x8d, 0x8c, 0x8d, 0x8c, 0x52, 0x2b, 0xb5, 0x33, 0x38,
|
||||
0x33, 0x10, 0x08, 0x1e, 0x4d, 0x21, 0x3d, 0x10, 0x08, 0x25, 0x43, 0x0b, 0x2d, 0x07, 0x33, 0x06,
|
||||
0x33, 0x05, 0x33, 0x04, 0x33, 0x03, 0x33, 0x02, 0x33, 0x01, 0x2b, 0x33, 0x4c, 0x28, 0x22, 0x49,
|
||||
0x45, 0x10, 0x08, 0x1e, 0x4d, 0x38, 0x57, 0x39, 0x36, 0xa5, 0x06, 0x10, 0x08, 0x24, 0xe5, 0x64,
|
||||
0xa5, 0x66, 0x0c, 0xa5, 0x0c, 0x1f, 0x64, 0x59, 0x4c, 0x0c, 0x0d, 0x09, 0x06, 0x02, 0x1b, 0x74,
|
||||
0x30, 0xa4, 0x0c, 0x22, 0x3e, 0x00, 0x64, 0xa5, 0x66, 0xc0, 0x10, 0x08, 0x00, 0x1e, 0x1e, 0x0b,
|
||||
0x32, 0x0b, 0x35, 0x48, 0x2a, 0x10, 0x08, 0x5b, 0x4b, 0x33, 0x4b, 0x06, 0x28, 0x10, 0x08, 0x5b,
|
||||
0x00, 0x33, 0x4c, 0x0f, 0x09, 0x3a, 0x06, 0x39, 0x09, 0x3a, 0x1c, 0x47, 0x41, 0x1c, 0x09, 0x0c,
|
||||
0x00, 0x59, 0x3d, 0x10, 0x0a, 0x51, 0x4e, 0x4e, 0x4e, 0x4e, 0x65, 0x10, 0x08, 0x1e, 0x1e, 0x04,
|
||||
0x54, 0x0b, 0x21, 0x59, 0x04, 0x0b, 0x08, 0x0b, 0x04, 0xc4, 0xb0, 0x0b, 0x84, 0xa7, 0x2b, 0x33,
|
||||
0x04, 0x0f, 0xa4, 0x04, 0x10, 0x08, 0x1e, 0x1e, 0x04, 0x54, 0x59, 0x48, 0x10, 0x08, 0x1e, 0x1e,
|
||||
0xc2, 0x49, 0x0b, 0x0f, 0x22, 0x04, 0x59, 0x0e, 0x08, 0x35, 0x08, 0x04, 0x22, 0x04, 0x42, 0x45,
|
||||
0x08, 0x21, 0x63, 0x83, 0x10, 0x06, 0x21, 0x1e, 0x74, 0x0b, 0x35, 0x48, 0x2a, 0x36, 0x74, 0x0b,
|
||||
0x10, 0x08, 0x34, 0x1e, 0x04, 0x63, 0x5d, 0x63, 0x0f, 0x63, 0x5d, 0x63, 0x5d, 0x04, 0x10, 0x06,
|
||||
0x40, 0x1e, 0x0b, 0x43, 0x63, 0x48, 0x2a, 0x0b, 0x3b, 0x10, 0x06, 0x25, 0x42, 0x08, 0xf9, 0x04,
|
||||
0x1c, 0x08, 0x37, 0x47, 0x10, 0x06, 0x27, 0x2c, 0x20, 0x10, 0x04, 0x45, 0x26, 0x5d, 0x08, 0x10,
|
||||
0x07, 0x2c, 0x67, 0x4f, 0x4f, 0x60, 0x10, 0x06, 0x61, 0x8c, 0x42, 0x47, 0xf9, 0x4a, 0x36, 0xe5,
|
||||
0x0b, 0x23, 0x74, 0x44, 0x10, 0x07, 0x55, 0x0b, 0xec, 0x0c, 0x84, 0x63, 0x53, 0x3e, 0x1b, 0x4c,
|
||||
0xf3, 0x10, 0x07, 0x1b, 0x61, 0xf3, 0x1c, 0x0b, 0x4f, 0x4f, 0x60, 0x10, 0x06, 0x55, 0xe5, 0x0b,
|
||||
0x3f, 0x38, 0x80, 0x84, 0x38, 0x39, 0x02, 0x06, 0x0b, 0x08, 0x1b, 0x74, 0x10, 0x04, 0x1e, 0x1e,
|
||||
0x64, 0x44, 0x1c, 0x4c, 0x58, 0x03, 0x22, 0x49, 0x48, 0x10, 0x06, 0x2c, 0x67, 0x4f, 0x4f, 0x19,
|
||||
0x5a, 0x30, 0x06, 0x61, 0x8c, 0x42, 0x47, 0xf9, 0x4a, 0x4f, 0xec, 0x10, 0x03, 0x51, 0x22, 0x1e,
|
||||
0x48, 0x0f, 0x10, 0x03, 0x51, 0x22, 0x1e, 0x48, 0x5c, 0x07, 0x61, 0x1a, 0x0d, 0x3f, 0x04, 0x01,
|
||||
0x3f, 0x0b, 0x84, 0xa8, 0x1c, 0x92, 0x3f, 0x44, 0x1b, 0x1a, 0x0e, 0x10, 0x0a, 0x2c, 0xf9, 0x47,
|
||||
0x41, 0x06, 0xbc, 0xb2, 0x1a, 0x95, 0x4e, 0x4e, 0x10, 0x06, 0x2c, 0xf9, 0x30, 0xb2, 0x4a, 0x4f,
|
||||
0xec, 0x10, 0x06, 0x55, 0x0b, 0x4f, 0x4f, 0x36, 0x31, 0x10, 0x06, 0x2c, 0xf9, 0x30, 0xb2, 0x4a,
|
||||
0x4f, 0x43, 0x30, 0x3d, 0x10, 0x06, 0x2c, 0x45, 0x3b, 0x1c, 0x0b, 0x4f, 0x4f, 0xd0, 0x3f, 0x2a,
|
||||
0xec, 0x10, 0x06, 0x2c, 0xf9, 0x42, 0x5f, 0x3d, 0x36, 0xd4, 0x10, 0x06, 0x2c, 0x19, 0x0b, 0x84,
|
||||
0x4c, 0x42, 0x64, 0x2b, 0x39, 0x49, 0x08, 0x30, 0xd4, 0x0c, 0x1c, 0x0b, 0x3b, 0x10, 0x04, 0x1f,
|
||||
0x1e, 0x1e, 0x01, 0x21, 0x64, 0x26, 0x58, 0x52, 0x21, 0x48, 0x10, 0x06, 0x62, 0x4a, 0x4f, 0x60,
|
||||
0x10, 0x06, 0x62, 0x4a, 0x4f, 0x36, 0x31, 0x10, 0x0a, 0x62, 0x23, 0x95, 0x4e, 0x4e, 0x65, 0x10,
|
||||
0x07, 0x40, 0x27, 0x04, 0xd5, 0x04, 0x39, 0x36, 0xef, 0x42, 0x5f, 0xdf, 0x84, 0xa6, 0x84, 0x04,
|
||||
0xd5, 0x04, 0x10, 0x06, 0x62, 0x4a, 0x4f, 0x19, 0x5a, 0x30, 0x04, 0x2c, 0x43, 0x63, 0x58, 0x22,
|
||||
0x63, 0x3b, 0x10, 0x04, 0x40, 0x1e, 0x64, 0x22, 0x0b, 0x08, 0x21, 0x3d, 0x36, 0x1d, 0x3d, 0x1d,
|
||||
0x06, 0x59, 0x64, 0x10, 0x03, 0x40, 0x1e, 0x48, 0x48, 0x10, 0x04, 0x1e, 0x45, 0x26, 0x30, 0xc4,
|
||||
0x63, 0x63, 0x59, 0x36, 0x1d, 0x5c, 0x0c, 0x10, 0x07, 0x25, 0x00, 0x0e, 0x08, 0x84, 0x08, 0xf9,
|
||||
0x42, 0x64, 0x10,
|
||||
};
|
||||
|
||||
static const uint16_t mf_rlefont_phpMbOYHb_glyph_offsets_0[95] = {
|
||||
0x0000, 0x0003, 0x000b, 0x0012, 0x002c, 0x0057, 0x006c, 0x008d,
|
||||
0x0090, 0x00a5, 0x00b6, 0x00cb, 0x00d4, 0x00db, 0x00e0, 0x00e5,
|
||||
0x00f9, 0x0103, 0x010a, 0x0124, 0x013a, 0x0152, 0x015e, 0x0170,
|
||||
0x0182, 0x018f, 0x01a7, 0x01ad, 0x01bc, 0x01c7, 0x01cd, 0x01d7,
|
||||
0x01eb, 0x0215, 0x0220, 0x0234, 0x0241, 0x024e, 0x0259, 0x0262,
|
||||
0x0274, 0x027c, 0x0281, 0x028e, 0x02a6, 0x02ad, 0x02be, 0x00f9,
|
||||
0x02d2, 0x02d8, 0x02f2, 0x02fc, 0x031b, 0x0326, 0x032e, 0x0344,
|
||||
0x034c, 0x0365, 0x036d, 0x0385, 0x0391, 0x039f, 0x03aa, 0x03b5,
|
||||
0x03ba, 0x03c0, 0x03c7, 0x03d5, 0x03e2, 0x03ec, 0x03fd, 0x040a,
|
||||
0x0412, 0x041c, 0x0423, 0x0429, 0x027c, 0x043c, 0x0449, 0x0452,
|
||||
0x045a, 0x0465, 0x0472, 0x047b, 0x048e, 0x049b, 0x04a1, 0x04a8,
|
||||
0x04b0, 0x04c3, 0x04ca, 0x04d3, 0x04e4, 0x04ea, 0x04f8,
|
||||
};
|
||||
|
||||
static const struct mf_rlefont_char_range_s mf_rlefont_phpMbOYHb_char_ranges[] = {
|
||||
{32, 95, mf_rlefont_phpMbOYHb_glyph_offsets_0, mf_rlefont_phpMbOYHb_glyph_data_0},
|
||||
};
|
||||
|
||||
const struct mf_rlefont_s mf_rlefont_phpMbOYHb = {
|
||||
{
|
||||
"PF Ronda Seven Regular 11",
|
||||
"phpMbOYHb",
|
||||
12, /* width */
|
||||
17, /* height */
|
||||
3, /* min x advance */
|
||||
12, /* max x advance */
|
||||
1, /* baseline x */
|
||||
14, /* baseline y */
|
||||
19, /* line height */
|
||||
0, /* flags */
|
||||
63, /* fallback character */
|
||||
&mf_rlefont_character_width,
|
||||
&mf_rlefont_render_character,
|
||||
},
|
||||
4, /* version */
|
||||
mf_rlefont_phpMbOYHb_dictionary_data,
|
||||
mf_rlefont_phpMbOYHb_dictionary_offsets,
|
||||
48, /* rle dict count */
|
||||
80, /* total dict count */
|
||||
1, /* char range count */
|
||||
mf_rlefont_phpMbOYHb_char_ranges,
|
||||
};
|
||||
|
||||
#ifdef MF_INCLUDED_FONTS
|
||||
/* List entry for searching fonts by name. */
|
||||
static const struct mf_font_list_s mf_rlefont_phpMbOYHb_listentry = {
|
||||
MF_INCLUDED_FONTS,
|
||||
(struct mf_font_s*)&mf_rlefont_phpMbOYHb
|
||||
};
|
||||
#undef MF_INCLUDED_FONTS
|
||||
#define MF_INCLUDED_FONTS (&mf_rlefont_phpMbOYHb_listentry)
|
||||
#endif
|
||||
|
||||
|
||||
/* End of automatically generated font definition for phpMbOYHb. */
|
||||
|
78
demos/modules/gdisp/gdisp_fonts/gfxconf.h
Normal file
78
demos/modules/gdisp/gdisp_fonts/gfxconf.h
Normal file
@ -0,0 +1,78 @@
|
||||
/*
|
||||
* Copyright (c) 2012, 2013, Joel Bodenmann aka Tectu <joel@unormal.org>
|
||||
* Copyright (c) 2012, 2013, Andrew Hannam aka inmarket
|
||||
*
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions are met:
|
||||
* * Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* * Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* * Neither the name of the <organization> nor the
|
||||
* names of its contributors may be used to endorse or promote products
|
||||
* derived from this software without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
* DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
|
||||
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
||||
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#ifndef _GFXCONF_H
|
||||
#define _GFXCONF_H
|
||||
|
||||
/* The operating system to use - one of these must be defined */
|
||||
//#define GFX_USE_OS_CHIBIOS FALSE
|
||||
//#define GFX_USE_OS_WIN32 FALSE
|
||||
//#define GFX_USE_OS_POSIX FALSE
|
||||
|
||||
/* GFX sub-systems to turn on */
|
||||
#define GFX_USE_GDISP TRUE
|
||||
|
||||
/* Features for the GDISP sub-system. */
|
||||
#define GDISP_NEED_VALIDATION TRUE
|
||||
#define GDISP_NEED_CLIP TRUE
|
||||
#define GDISP_NEED_TEXT TRUE
|
||||
#define GDISP_NEED_CIRCLE FALSE
|
||||
#define GDISP_NEED_ELLIPSE FALSE
|
||||
#define GDISP_NEED_ARC FALSE
|
||||
#define GDISP_NEED_SCROLL FALSE
|
||||
#define GDISP_NEED_PIXELREAD FALSE
|
||||
#define GDISP_NEED_CONTROL FALSE
|
||||
#define GDISP_NEED_MULTITHREAD FALSE
|
||||
#define GDISP_NEED_ASYNC FALSE
|
||||
#define GDISP_NEED_MSGAPI FALSE
|
||||
#define GDISP_NEED_ANTIALIAS TRUE
|
||||
|
||||
/* GDISP - fonts to include */
|
||||
#define GDISP_INCLUDE_FONT_DEJAVUSANS10 TRUE
|
||||
#define GDISP_INCLUDE_FONT_DEJAVUSANS12 FALSE
|
||||
#define GDISP_INCLUDE_FONT_DEJAVUSANS16 FALSE
|
||||
#define GDISP_INCLUDE_FONT_DEJAVUSANS24 FALSE
|
||||
#define GDISP_INCLUDE_FONT_DEJAVUSANS32 FALSE
|
||||
#define GDISP_INCLUDE_FONT_DEJAVUSANSBOLD12 FALSE
|
||||
#define GDISP_INCLUDE_FONT_FIXED_10x20 FALSE
|
||||
#define GDISP_INCLUDE_FONT_FIXED_7x14 FALSE
|
||||
#define GDISP_INCLUDE_FONT_FIXED_5x8 FALSE
|
||||
#define GDISP_INCLUDE_FONT_DEJAVUSANS12_AA FALSE
|
||||
#define GDISP_INCLUDE_FONT_DEJAVUSANS16_AA FALSE
|
||||
#define GDISP_INCLUDE_FONT_DEJAVUSANS24_AA FALSE
|
||||
#define GDISP_INCLUDE_FONT_DEJAVUSANS32_AA FALSE
|
||||
#define GDISP_INCLUDE_FONT_DEJAVUSANSBOLD12_AA FALSE
|
||||
|
||||
#define GDISP_INCLUDE_FONT_UI1 FALSE
|
||||
#define GDISP_INCLUDE_FONT_UI2 TRUE
|
||||
#define GDISP_INCLUDE_FONT_LARGENUMBERS FALSE
|
||||
|
||||
#define GDISP_INCLUDE_USER_FONTS TRUE
|
||||
|
||||
#endif /* _GFXCONF_H */
|
82
demos/modules/gdisp/gdisp_fonts/main.c
Normal file
82
demos/modules/gdisp/gdisp_fonts/main.c
Normal file
@ -0,0 +1,82 @@
|
||||
/*
|
||||
* Copyright (c) 2012, 2013, Joel Bodenmann aka Tectu <joel@unormal.org>
|
||||
* Copyright (c) 2012, 2013, Andrew Hannam aka inmarket
|
||||
*
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions are met:
|
||||
* * Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* * Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* * Neither the name of the <organization> nor the
|
||||
* names of its contributors may be used to endorse or promote products
|
||||
* derived from this software without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
* DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
|
||||
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
||||
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include "gfx.h"
|
||||
|
||||
int main(void) {
|
||||
coord_t width;
|
||||
font_t font1, font2;
|
||||
coord_t fheight1, fheight2;
|
||||
const char *line1, *line2;
|
||||
char buf[8];
|
||||
|
||||
/* Initialize and clear the display */
|
||||
gfxInit();
|
||||
|
||||
// Get the screen size
|
||||
width = gdispGetWidth();
|
||||
|
||||
// Get the fonts we want to use
|
||||
font1 = gdispOpenFont("DejaVu*");
|
||||
font2 = gdispOpenFont("UI2*");
|
||||
//font2 = gdispOpenFont("Geosans*");
|
||||
//font2 = gdispOpenFont("Free*");
|
||||
//font2 = gdispOpenFont("Hellovetica*");
|
||||
//font2 = gdispOpenFont("babyblue*");
|
||||
//font2 = gdispOpenFont("PF Ronda*");
|
||||
//font2 = gdispOpenFont("Apple*");
|
||||
|
||||
// Font 1
|
||||
line1 = "a b c d e f h i j k l m n o p q r s t u v w x y z A B C D E F G H I J K L M N O P Q R S T U V W X Y Z";
|
||||
line2 = "0 1 2 3 4 5 6 7 8 9 ~ ! @ # $ % ^ & * _ - + = ( ) { } [ ] < > | / \\ : ; , . ? ' \" `";
|
||||
fheight1 = gdispGetFontMetric(font1, fontHeight)+2;
|
||||
gdispFillStringBox(0, 0, width, fheight1, line1, font1, Black, White, justifyCenter);
|
||||
gdispFillStringBox(0, fheight1+1, width, fheight1, line2, font1, Black, White, justifyCenter);
|
||||
|
||||
// Font 2
|
||||
fheight2 = gdispGetFontMetric(font2, fontHeight)+2;
|
||||
gdispFillStringBox(0, 2*fheight1+2, width, fheight2, line1, font2, Black, White, justifyCenter);
|
||||
gdispFillStringBox(0, 2*fheight1+fheight2+3, width, fheight2, line2, font2, Black, White, justifyCenter);
|
||||
|
||||
// Show Sizes
|
||||
buf[0] = (fheight1-2)/10 + '0';
|
||||
buf[1] = (fheight1-2)%10 + '0';
|
||||
buf[2] = ',';
|
||||
buf[3] = ' ';
|
||||
buf[4] = (fheight2-2)/10 + '0';
|
||||
buf[5] = (fheight2-2)%10 + '0';
|
||||
buf[6] = 0;
|
||||
gdispFillStringBox(0, 2*fheight1+2*fheight2+4, width, fheight1, buf, font1, Red, White, justifyCenter);
|
||||
|
||||
// Wait forever
|
||||
while(TRUE) {
|
||||
gfxSleepMilliseconds(500);
|
||||
}
|
||||
}
|
||||
|
37
demos/modules/gdisp/gdisp_fonts/userfonts.h
Normal file
37
demos/modules/gdisp/gdisp_fonts/userfonts.h
Normal file
@ -0,0 +1,37 @@
|
||||
/*
|
||||
* Copyright (c) 2012, 2013, Joel Bodenmann aka Tectu <joel@unormal.org>
|
||||
* Copyright (c) 2012, 2013, Andrew Hannam aka inmarket
|
||||
*
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions are met:
|
||||
* * Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* * Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* * Neither the name of the <organization> nor the
|
||||
* names of its contributors may be used to endorse or promote products
|
||||
* derived from this software without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
* DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
|
||||
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
||||
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include "font_Apple12.h"
|
||||
#include "font_FreePixel10.h"
|
||||
//#include "font_GeosansLight11.h"
|
||||
#include "font_GeosansLight11_aa.h"
|
||||
#include "font_hellovetica11.h"
|
||||
//#include "font_hellovetica11_aa.h"
|
||||
#include "font_babyblue11_aa.h"
|
||||
#include "font_pf_ronda_seven11_aa.h"
|
Loading…
Reference in New Issue
Block a user