µGFX  2.9
version 2.9
fixed_5x8.c
1 
2 
3 /* Start of automatically generated font definition for fixed_5x8. */
4 
5 #ifndef MF_BWFONT_INTERNALS
6 #define MF_BWFONT_INTERNALS
7 #endif
8 #include "mf_bwfont.h"
9 
10 #ifndef MF_BWFONT_VERSION_4_SUPPORTED
11 #error The font file is not compatible with this version of mcufont.
12 #endif
13 
14 static const gU8 mf_bwfont_fixed_5x8_glyph_data_0[475] = {
15  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x5e, 0x00, 0x00, 0x00, 0x0e, 0x00, 0x0e, 0x00, 0x14,
16  0x7f, 0x14, 0x7f, 0x14, 0x04, 0x2a, 0x7f, 0x2a, 0x10, 0x00, 0x16, 0x08, 0x34, 0x00, 0x36, 0x49,
17  0x36, 0x40, 0x00, 0x00, 0x00, 0x0e, 0x00, 0x00, 0x00, 0x3c, 0x42, 0x00, 0x00, 0x00, 0x42, 0x3c,
18  0x00, 0x00, 0x54, 0x38, 0x38, 0x54, 0x00, 0x10, 0x10, 0x7c, 0x10, 0x10, 0x00, 0x80, 0x60, 0x20,
19  0x00, 0x10, 0x10, 0x10, 0x10, 0x00, 0x00, 0x40, 0xe0, 0x40, 0x00, 0x60, 0x10, 0x08, 0x06, 0x00,
20  0x00, 0x3c, 0x42, 0x3c, 0x00, 0x00, 0x44, 0x7e, 0x40, 0x00, 0x64, 0x52, 0x52, 0x4c, 0x00, 0x22,
21  0x4a, 0x4e, 0x32, 0x00, 0x18, 0x14, 0x7e, 0x10, 0x00, 0x2e, 0x4a, 0x4a, 0x32, 0x00, 0x3c, 0x4a,
22  0x4a, 0x30, 0x00, 0x02, 0x62, 0x1a, 0x06, 0x00, 0x34, 0x4a, 0x4a, 0x34, 0x00, 0x0c, 0x52, 0x52,
23  0x3c, 0x00, 0x00, 0x6c, 0x6c, 0x00, 0x00, 0x00, 0x80, 0x6c, 0x2c, 0x00, 0x00, 0x18, 0x24, 0x42,
24  0x00, 0x28, 0x28, 0x28, 0x28, 0x00, 0x00, 0x42, 0x24, 0x18, 0x00, 0x00, 0x04, 0x52, 0x0c, 0x00,
25  0x3c, 0x42, 0x99, 0xa5, 0x1e, 0x7c, 0x12, 0x12, 0x7c, 0x00, 0x7e, 0x4a, 0x4a, 0x34, 0x00, 0x3c,
26  0x42, 0x42, 0x24, 0x00, 0x7e, 0x42, 0x42, 0x3c, 0x00, 0x7e, 0x4a, 0x4a, 0x42, 0x00, 0x7e, 0x0a,
27  0x0a, 0x02, 0x00, 0x3c, 0x42, 0x52, 0x34, 0x00, 0x7e, 0x08, 0x08, 0x7e, 0x00, 0x00, 0x42, 0x7e,
28  0x42, 0x00, 0x20, 0x42, 0x3e, 0x02, 0x00, 0x7e, 0x08, 0x34, 0x42, 0x00, 0x7e, 0x40, 0x40, 0x40,
29  0x00, 0x7e, 0x0c, 0x0c, 0x7e, 0x00, 0x7e, 0x0c, 0x38, 0x7e, 0x00, 0x3c, 0x42, 0x42, 0x3c, 0x00,
30  0x7e, 0x12, 0x12, 0x0c, 0x00, 0x3c, 0x52, 0x62, 0xbc, 0x00, 0x7e, 0x12, 0x12, 0x6c, 0x00, 0x24,
31  0x4a, 0x52, 0x24, 0x00, 0x00, 0x02, 0x7e, 0x02, 0x00, 0x3e, 0x40, 0x40, 0x3e, 0x00, 0x1e, 0x60,
32  0x60, 0x1e, 0x00, 0x7e, 0x30, 0x30, 0x7e, 0x00, 0x66, 0x18, 0x18, 0x66, 0x00, 0x06, 0x08, 0x70,
33  0x08, 0x06, 0x62, 0x52, 0x4a, 0x46, 0x00, 0x00, 0x7e, 0x42, 0x42, 0x00, 0x06, 0x08, 0x10, 0x60,
34  0x00, 0x00, 0x42, 0x42, 0x7e, 0x00, 0x00, 0x04, 0x02, 0x04, 0x00, 0x80, 0x80, 0x80, 0x80, 0x00,
35  0x00, 0x02, 0x04, 0x00, 0x00, 0x30, 0x48, 0x48, 0x78, 0x00, 0x7e, 0x48, 0x48, 0x30, 0x00, 0x00,
36  0x30, 0x48, 0x48, 0x00, 0x30, 0x48, 0x48, 0x7e, 0x00, 0x30, 0x68, 0x58, 0x10, 0x00, 0x10, 0x7c,
37  0x12, 0x04, 0x00, 0x10, 0xa8, 0xa8, 0x70, 0x00, 0x7e, 0x08, 0x08, 0x70, 0x00, 0x00, 0x48, 0x7a,
38  0x40, 0x00, 0x00, 0x40, 0x80, 0x7a, 0x00, 0x7e, 0x10, 0x10, 0x68, 0x00, 0x00, 0x42, 0x7e, 0x40,
39  0x00, 0x78, 0x08, 0x70, 0x08, 0x70, 0x78, 0x08, 0x08, 0x70, 0x00, 0x30, 0x48, 0x48, 0x30, 0x00,
40  0xf8, 0x28, 0x28, 0x10, 0x00, 0x10, 0x28, 0x28, 0xf8, 0x00, 0x78, 0x10, 0x08, 0x10, 0x00, 0x00,
41  0x50, 0x58, 0x28, 0x00, 0x08, 0x3e, 0x48, 0x20, 0x00, 0x38, 0x40, 0x40, 0x78, 0x00, 0x00, 0x38,
42  0x40, 0x38, 0x00, 0x38, 0x40, 0x30, 0x40, 0x38, 0x48, 0x30, 0x30, 0x48, 0x00, 0x58, 0xa0, 0xa0,
43  0x78, 0x00, 0x48, 0x68, 0x58, 0x48, 0x00, 0x08, 0x2a, 0x55, 0x41, 0x00, 0x00, 0x00, 0x7e, 0x00,
44  0x00, 0x41, 0x55, 0x2a, 0x08, 0x00, 0x04, 0x02, 0x04, 0x02, 0x00,
45 };
46 
47 static const struct mf_bwfont_char_range_s mf_bwfont_fixed_5x8_char_ranges[] = {
48  {
49  32, /* first char */
50  95, /* char count */
51  0, /* offset x */
52  0, /* offset y */
53  1, /* height in bytes */
54  8, /* height in pixels */
55  5, /* width */
56  0, /* glyph widths */
57  0, /* glyph offsets */
58  mf_bwfont_fixed_5x8_glyph_data_0, /* glyph data */
59  },
60 };
61 
62 const struct mf_bwfont_s mf_bwfont_fixed_5x8 = {
63  {
64  "-Misc-Fixed-Medium-R-Normal--8-80-75-75-C-50-ISO8859-15",
65  "fixed_5x8",
66  5, /* width */
67  8, /* height */
68  5, /* min x advance */
69  5, /* max x advance */
70  0, /* baseline x */
71  7, /* baseline y */
72  8, /* line height */
73  3, /* flags */
74  63, /* fallback character */
75  &mf_bwfont_character_width,
76  &mf_bwfont_render_character,
77  },
78  4, /* version */
79  1, /* char range count */
80  mf_bwfont_fixed_5x8_char_ranges,
81 };
82 
83 #ifdef MF_INCLUDED_FONTS
84 /* List entry for searching fonts by name. */
85 static const struct mf_font_list_s mf_bwfont_fixed_5x8_listentry = {
86  MF_INCLUDED_FONTS,
87  (struct mf_font_s*)&mf_bwfont_fixed_5x8
88 };
89 #undef MF_INCLUDED_FONTS
90 #define MF_INCLUDED_FONTS (&mf_bwfont_fixed_5x8_listentry)
91 #endif
92 
93 
94 /* End of automatically generated font definition for fixed_5x8. */
95