ugfx/demos/modules/gdisp/fonts/font_GeosansLight11.h
2013-10-28 00:42:38 +01:00

141 lines
8.2 KiB
C

/* 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. */