forked from achimdoebler/UGUI
-
Notifications
You must be signed in to change notification settings - Fork 5
/
ugui_fonts.h
155 lines (137 loc) · 3.83 KB
/
ugui_fonts.h
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
#ifndef __UGUI_FONTS_DATA_H
#define __UGUI_FONTS_DATA_H
/* -------------------------------------------------------------------------------- */
/* -- µGUI FONTS -- */
/* -- Source: http://www.mikrocontroller.net/user/show/benedikt -- */
/* -------------------------------------------------------------------------------- */
#include "ugui.h"
/*
Old fonts converted to new structure. They use Code Page 850 encoding. UTF-8 can be disabled if only these fonts are being used.
https://en.wikipedia.org/wiki/Code_page_850
*/
#ifdef UGUI_USE_FONT_4X16
extern UG_FONT FONT_4X6[];
#endif
#ifdef UGUI_USE_FONT_5X8
extern UG_FONT FONT_5X8[];
#endif
#ifdef UGUI_USE_FONT_5X12
extern UG_FONT FONT_5X12[];
#endif
#ifdef UGUI_USE_FONT_6X8
extern UG_FONT FONT_6X8[];
#endif
#ifdef UGUI_USE_FONT_6X10
extern UG_FONT FONT_6X10[];
#endif
#ifdef UGUI_USE_FONT_7X12
extern UG_FONT FONT_7X12[];
#endif
#ifdef UGUI_USE_FONT_8X8
extern UG_FONT FONT_8X8[];
#endif
#ifdef UGUI_USE_FONT_8X12
extern UG_FONT FONT_8X12[];
#endif
#ifdef UGUI_USE_FONT_8X12_CYRILLIC
extern UG_FONT FONT_8X12_CYRILLIC[];
#endif
#ifdef UGUI_USE_FONT_10X16
extern UG_FONT FONT_10X16[];
#endif
#ifdef UGUI_USE_FONT_12X16
extern UG_FONT FONT_12X16[];
#endif
#ifdef UGUI_USE_FONT_12X20
extern UG_FONT FONT_12X20[];
#endif
#ifdef UGUI_USE_FONT_16X26
extern UG_FONT FONT_16X26[];
#endif
#ifdef UGUI_USE_FONT_22X36
extern UG_FONT FONT_22X36[];
#endif
#ifdef UGUI_USE_FONT_24X40
extern UG_FONT FONT_24X40[];
#endif
#ifdef UGUI_USE_FONT_32X53
extern UG_FONT FONT_32X53[];
#endif
/*
New fonts. They use Unicode encoding. Can be generated with the new version of ttf2ugui
Accessing encodings higher than 127 () require UTF-8 enabled and set the editor settings to use that encoding.
https://en.wikipedia.org/wiki/List_of_Unicode_characters
*/
#ifdef UGUI_USE_FONT_arial_6X6
extern UG_FONT FONT_arial_6X6[];
#endif
#ifdef UGUI_USE_FONT_arial_6X6_CYRILLIC
extern UG_FONT FONT_arial_6X6_CYRILLIC[];
#endif
#ifdef UGUI_USE_FONT_arial_9X10
extern UG_FONT FONT_arial_9X10[];
#endif
#ifdef UGUI_USE_FONT_arial_9X10_CYRILLIC
extern UG_FONT FONT_arial_9X10_CYRILLIC[];
#endif
#ifdef UGUI_USE_FONT_arial_10X13
extern UG_FONT FONT_arial_10X13[];
#endif
#ifdef UGUI_USE_FONT_arial_10X13_CYRILLIC
extern UG_FONT FONT_arial_10X13_CYRILLIC[];
#endif
#ifdef UGUI_USE_FONT_arial_12X15
extern UG_FONT FONT_arial_12X15[];
#endif
#ifdef UGUI_USE_FONT_arial_12X15_CYRILLIC
extern UG_FONT FONT_arial_12X15_CYRILLIC[];
#endif
#ifdef UGUI_USE_FONT_arial_16X18
extern UG_FONT FONT_arial_16X18[];
#endif
#ifdef UGUI_USE_FONT_arial_16X18_CYRILLIC
extern UG_FONT FONT_arial_16X18_CYRILLIC[];
#endif
#ifdef UGUI_USE_FONT_arial_20X23
extern UG_FONT FONT_arial_20X23[];
#endif
#ifdef UGUI_USE_FONT_arial_20X23_CYRILLIC
extern UG_FONT FONT_arial_20X23_CYRILLIC[];
#endif
#ifdef UGUI_USE_FONT_arial_25X28
extern UG_FONT FONT_arial_25X28[];
#endif
#ifdef UGUI_USE_FONT_arial_25X28_CYRILLIC
extern UG_FONT FONT_arial_25X28_CYRILLIC[];
#endif
#ifdef UGUI_USE_FONT_arial_29X35
extern UG_FONT FONT_arial_29X35[];
#endif
#ifdef UGUI_USE_FONT_arial_29X35_CYRILLIC
extern UG_FONT FONT_arial_29X35_CYRILLIC[];
#endif
#ifdef UGUI_USE_FONT_arial_35X40
extern UG_FONT FONT_arial_35X40[];
#endif
#ifdef UGUI_USE_FONT_arial_35X40_CYRILLIC
extern UG_FONT FONT_arial_35X40_CYRILLIC[];
#endif
#ifdef UGUI_USE_FONT_arial_39X45
extern UG_FONT FONT_arial_39X45[];
#endif
#ifdef UGUI_USE_FONT_arial_39X45_CYRILLIC
extern UG_FONT FONT_arial_39X45_CYRILLIC[];
#endif
#ifdef UGUI_USE_FONT_arial_45X52
extern UG_FONT FONT_arial_45X52[];
#endif
#ifdef UGUI_USE_FONT_arial_45X52_CYRILLIC
extern UG_FONT FONT_arial_45X52_CYRILLIC[];
#endif
#ifdef UGUI_USE_FONT_arial_49X57
extern UG_FONT FONT_arial_49X57[];
#endif
#ifdef UGUI_USE_FONT_arial_49X57_CYRILLIC
extern UG_FONT FONT_arial_49X57_CYRILLIC[];
#endif
#endif // __UGUI_FONTS_DATA_H