aboutsummaryrefslogtreecommitdiffstats
path: root/demos/games/minesweeper/resources/romfs/userfonts.h
blob: e775aec05dc59311bfa6465b8b1eb2c8079a4cc8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
/* Start of automatically generated font definition for digital_7__mono_20. */

#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_digital_7__mono_20_dictionary_data[39] = {
    0x81, 0x05, 0x81, 0x05, 0x81, 0x05, 0x81, 0x05, 0x81, 0x06, 0x80, 0x01, 0x07, 0x80, 0x05, 0x85, 
    0x05, 0x80, 0x81, 0x03, 0x03, 0x85, 0x0f, 0x44, 0x84, 0x85, 0x86, 0x88, 0x44, 0x44, 0x44, 0x44, 
    0x24, 0x84, 0x44, 0x44, 0x18, 0xc4, 0x83, 
};

static const uint16_t mf_rlefont_digital_7__mono_20_dictionary_offsets[13] = {
    0x0000, 0x0009, 0x000c, 0x000f, 0x0010, 0x0012, 0x0013, 0x0014, 
    0x0016, 0x001c, 0x0020, 0x0024, 0x0027, 
};

static const uint8_t mf_rlefont_digital_7__mono_20_glyph_data_0[63] = {
    0x09, 0x1b, 0x18, 0x1c, 0x1a, 0x18, 0x1b, 0x09, 0x21, 0x19, 0x22, 0x21, 0x09, 0x83, 0x44, 0x21, 
    0x83, 0x20, 0x1f, 0x10, 0x09, 0x83, 0x44, 0x21, 0x82, 0x44, 0x21, 0x83, 0x09, 0x84, 0x23, 0x20, 
    0xec, 0x44, 0x09, 0x43, 0x20, 0x1f, 0x20, 0xec, 0x83, 0x09, 0x43, 0x20, 0x1f, 0x23, 0x0f, 0x09, 
    0x1b, 0x18, 0x22, 0x21, 0x09, 0x1b, 0x23, 0x23, 0x0f, 0x09, 0x1b, 0x23, 0x20, 0xec, 0x83, 
};

static const uint16_t mf_rlefont_digital_7__mono_20_glyph_offsets_0[10] = {
    0x0000, 0x0007, 0x000c, 0x0014, 0x001c, 0x0022, 0x0029, 0x002f, 
    0x0034, 0x0039, 
};

static const struct mf_rlefont_char_range_s mf_rlefont_digital_7__mono_20_char_ranges[] = {
    {48, 10, mf_rlefont_digital_7__mono_20_glyph_offsets_0, mf_rlefont_digital_7__mono_20_glyph_data_0},
};

const struct mf_rlefont_s mf_rlefont_digital_7__mono_20 = {
    {
    "Digital-7 Mono Mono 20",
    "digital_7__mono_20",
    7, /* width */
    13, /* height */
    9, /* min x advance */
    9, /* max x advance */
    -1, /* baseline x */
    13, /* baseline y */
    11, /* line height */
    3, /* flags */
    32, /* fallback character */
    &mf_rlefont_character_width,
    &mf_rlefont_render_character,
    },
    4, /* version */
    mf_rlefont_digital_7__mono_20_dictionary_data,
    mf_rlefont_digital_7__mono_20_dictionary_offsets,
    8, /* rle dict count */
    12, /* total dict count */
    1, /* char range count */
    mf_rlefont_digital_7__mono_20_char_ranges,
};

#ifdef MF_INCLUDED_FONTS
/* List entry for searching fonts by name. */
static const struct mf_font_list_s mf_rlefont_digital_7__mono_20_listentry = {
    MF_INCLUDED_FONTS,
    (struct mf_font_s*)&mf_rlefont_digital_7__mono_20
};
#undef MF_INCLUDED_FONTS
#define MF_INCLUDED_FONTS (&mf_rlefont_digital_7__mono_20_listentry)
#endif


/* End of automatically generated font definition for digital_7__mono_20. */