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

146 lines
8.7 KiB
C

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