1 | // GENERATED CODE DO NOT MODIFY! |
2 | // Any manual changes to this file will be overwritten! |
3 | //! ASCII glyph subset. |
4 | //! |
5 | //! | Type | Screenshot | | Type | Screenshot | |
6 | //! |------|------------|-|------|------------| |
7 | //! | `FONT_4X6` |  | | `FONT_7X13_ITALIC` |  | |
8 | //! | `FONT_5X7` |  | | `FONT_7X14` |  | |
9 | //! | `FONT_5X8` |  | | `FONT_7X14_BOLD` |  | |
10 | //! | `FONT_6X9` |  | | `FONT_8X13` |  | |
11 | //! | `FONT_6X10` |  | | `FONT_8X13_BOLD` |  | |
12 | //! | `FONT_6X12` |  | | `FONT_8X13_ITALIC` |  | |
13 | //! | `FONT_6X13` |  | | `FONT_9X15` |  | |
14 | //! | `FONT_6X13_BOLD` |  | | `FONT_9X15_BOLD` |  | |
15 | //! | `FONT_6X13_ITALIC` |  | | `FONT_9X18` |  | |
16 | //! | `FONT_7X13` |  | | `FONT_9X18_BOLD` |  | |
17 | //! | `FONT_7X13_BOLD` |  | | `FONT_10X20` |  | |
18 | |
19 | /// 4x6 pixel monospace font. |
20 | pub const FONT_4X6: crate::mono_font::MonoFont = crate::mono_font::MonoFont { |
21 | image: crate::image::ImageRaw::new(data:include_bytes!("../../../fonts/raw/ascii/font_4x6.raw" ), width:64), |
22 | glyph_mapping: &crate::mono_font::mapping::ASCII, |
23 | character_size: crate::geometry::Size::new(width:4, height:6), |
24 | character_spacing: 0, |
25 | baseline: 4, |
26 | underline: crate::mono_font::DecorationDimensions::new(offset:4 + 2, height:1), |
27 | strikethrough: crate::mono_font::DecorationDimensions::new(offset:6 / 2, height:1), |
28 | }; |
29 | |
30 | /// 5x7 pixel monospace font. |
31 | pub const FONT_5X7: crate::mono_font::MonoFont = crate::mono_font::MonoFont { |
32 | image: crate::image::ImageRaw::new(data:include_bytes!("../../../fonts/raw/ascii/font_5x7.raw" ), width:80), |
33 | glyph_mapping: &crate::mono_font::mapping::ASCII, |
34 | character_size: crate::geometry::Size::new(width:5, height:7), |
35 | character_spacing: 0, |
36 | baseline: 5, |
37 | underline: crate::mono_font::DecorationDimensions::new(offset:5 + 2, height:1), |
38 | strikethrough: crate::mono_font::DecorationDimensions::new(offset:7 / 2, height:1), |
39 | }; |
40 | |
41 | /// 5x8 pixel monospace font. |
42 | pub const FONT_5X8: crate::mono_font::MonoFont = crate::mono_font::MonoFont { |
43 | image: crate::image::ImageRaw::new(data:include_bytes!("../../../fonts/raw/ascii/font_5x8.raw" ), width:80), |
44 | glyph_mapping: &crate::mono_font::mapping::ASCII, |
45 | character_size: crate::geometry::Size::new(width:5, height:8), |
46 | character_spacing: 0, |
47 | baseline: 6, |
48 | underline: crate::mono_font::DecorationDimensions::new(offset:6 + 2, height:1), |
49 | strikethrough: crate::mono_font::DecorationDimensions::new(offset:8 / 2, height:1), |
50 | }; |
51 | |
52 | /// 6x9 pixel monospace font. |
53 | pub const FONT_6X9: crate::mono_font::MonoFont = crate::mono_font::MonoFont { |
54 | image: crate::image::ImageRaw::new(data:include_bytes!("../../../fonts/raw/ascii/font_6x9.raw" ), width:96), |
55 | glyph_mapping: &crate::mono_font::mapping::ASCII, |
56 | character_size: crate::geometry::Size::new(width:6, height:9), |
57 | character_spacing: 0, |
58 | baseline: 6, |
59 | underline: crate::mono_font::DecorationDimensions::new(offset:6 + 2, height:1), |
60 | strikethrough: crate::mono_font::DecorationDimensions::new(offset:9 / 2, height:1), |
61 | }; |
62 | |
63 | /// 6x10 pixel monospace font. |
64 | pub const FONT_6X10: crate::mono_font::MonoFont = crate::mono_font::MonoFont { |
65 | image: crate::image::ImageRaw::new( |
66 | data:include_bytes!("../../../fonts/raw/ascii/font_6x10.raw" ), |
67 | width:96, |
68 | ), |
69 | glyph_mapping: &crate::mono_font::mapping::ASCII, |
70 | character_size: crate::geometry::Size::new(width:6, height:10), |
71 | character_spacing: 0, |
72 | baseline: 7, |
73 | underline: crate::mono_font::DecorationDimensions::new(offset:7 + 2, height:1), |
74 | strikethrough: crate::mono_font::DecorationDimensions::new(offset:10 / 2, height:1), |
75 | }; |
76 | |
77 | /// 6x12 pixel monospace font. |
78 | pub const FONT_6X12: crate::mono_font::MonoFont = crate::mono_font::MonoFont { |
79 | image: crate::image::ImageRaw::new( |
80 | data:include_bytes!("../../../fonts/raw/ascii/font_6x12.raw" ), |
81 | width:96, |
82 | ), |
83 | glyph_mapping: &crate::mono_font::mapping::ASCII, |
84 | character_size: crate::geometry::Size::new(width:6, height:12), |
85 | character_spacing: 0, |
86 | baseline: 9, |
87 | underline: crate::mono_font::DecorationDimensions::new(offset:9 + 2, height:1), |
88 | strikethrough: crate::mono_font::DecorationDimensions::new(offset:12 / 2, height:1), |
89 | }; |
90 | |
91 | /// 6x13 pixel monospace font. |
92 | pub const FONT_6X13: crate::mono_font::MonoFont = crate::mono_font::MonoFont { |
93 | image: crate::image::ImageRaw::new( |
94 | data:include_bytes!("../../../fonts/raw/ascii/font_6x13.raw" ), |
95 | width:96, |
96 | ), |
97 | glyph_mapping: &crate::mono_font::mapping::ASCII, |
98 | character_size: crate::geometry::Size::new(width:6, height:13), |
99 | character_spacing: 0, |
100 | baseline: 10, |
101 | underline: crate::mono_font::DecorationDimensions::new(offset:10 + 2, height:1), |
102 | strikethrough: crate::mono_font::DecorationDimensions::new(offset:13 / 2, height:1), |
103 | }; |
104 | |
105 | /// 6x13 pixel monospace font. |
106 | pub const FONT_6X13_BOLD: crate::mono_font::MonoFont = crate::mono_font::MonoFont { |
107 | image: crate::image::ImageRaw::new( |
108 | data:include_bytes!("../../../fonts/raw/ascii/font_6x13_bold.raw" ), |
109 | width:96, |
110 | ), |
111 | glyph_mapping: &crate::mono_font::mapping::ASCII, |
112 | character_size: crate::geometry::Size::new(width:6, height:13), |
113 | character_spacing: 0, |
114 | baseline: 10, |
115 | underline: crate::mono_font::DecorationDimensions::new(offset:10 + 2, height:1), |
116 | strikethrough: crate::mono_font::DecorationDimensions::new(offset:13 / 2, height:1), |
117 | }; |
118 | |
119 | /// 6x13 pixel monospace font. |
120 | pub const FONT_6X13_ITALIC: crate::mono_font::MonoFont = crate::mono_font::MonoFont { |
121 | image: crate::image::ImageRaw::new( |
122 | data:include_bytes!("../../../fonts/raw/ascii/font_6x13_italic.raw" ), |
123 | width:96, |
124 | ), |
125 | glyph_mapping: &crate::mono_font::mapping::ASCII, |
126 | character_size: crate::geometry::Size::new(width:6, height:13), |
127 | character_spacing: 0, |
128 | baseline: 10, |
129 | underline: crate::mono_font::DecorationDimensions::new(offset:10 + 2, height:1), |
130 | strikethrough: crate::mono_font::DecorationDimensions::new(offset:13 / 2, height:1), |
131 | }; |
132 | |
133 | /// 7x13 pixel monospace font. |
134 | pub const FONT_7X13: crate::mono_font::MonoFont = crate::mono_font::MonoFont { |
135 | image: crate::image::ImageRaw::new( |
136 | data:include_bytes!("../../../fonts/raw/ascii/font_7x13.raw" ), |
137 | width:112, |
138 | ), |
139 | glyph_mapping: &crate::mono_font::mapping::ASCII, |
140 | character_size: crate::geometry::Size::new(width:7, height:13), |
141 | character_spacing: 0, |
142 | baseline: 10, |
143 | underline: crate::mono_font::DecorationDimensions::new(offset:10 + 2, height:1), |
144 | strikethrough: crate::mono_font::DecorationDimensions::new(offset:13 / 2, height:1), |
145 | }; |
146 | |
147 | /// 7x13 pixel monospace font. |
148 | pub const FONT_7X13_BOLD: crate::mono_font::MonoFont = crate::mono_font::MonoFont { |
149 | image: crate::image::ImageRaw::new( |
150 | data:include_bytes!("../../../fonts/raw/ascii/font_7x13_bold.raw" ), |
151 | width:112, |
152 | ), |
153 | glyph_mapping: &crate::mono_font::mapping::ASCII, |
154 | character_size: crate::geometry::Size::new(width:7, height:13), |
155 | character_spacing: 0, |
156 | baseline: 10, |
157 | underline: crate::mono_font::DecorationDimensions::new(offset:10 + 2, height:1), |
158 | strikethrough: crate::mono_font::DecorationDimensions::new(offset:13 / 2, height:1), |
159 | }; |
160 | |
161 | /// 7x13 pixel monospace font. |
162 | pub const FONT_7X13_ITALIC: crate::mono_font::MonoFont = crate::mono_font::MonoFont { |
163 | image: crate::image::ImageRaw::new( |
164 | data:include_bytes!("../../../fonts/raw/ascii/font_7x13_italic.raw" ), |
165 | width:112, |
166 | ), |
167 | glyph_mapping: &crate::mono_font::mapping::ASCII, |
168 | character_size: crate::geometry::Size::new(width:7, height:13), |
169 | character_spacing: 0, |
170 | baseline: 10, |
171 | underline: crate::mono_font::DecorationDimensions::new(offset:10 + 2, height:1), |
172 | strikethrough: crate::mono_font::DecorationDimensions::new(offset:13 / 2, height:1), |
173 | }; |
174 | |
175 | /// 7x14 pixel monospace font. |
176 | pub const FONT_7X14: crate::mono_font::MonoFont = crate::mono_font::MonoFont { |
177 | image: crate::image::ImageRaw::new( |
178 | data:include_bytes!("../../../fonts/raw/ascii/font_7x14.raw" ), |
179 | width:112, |
180 | ), |
181 | glyph_mapping: &crate::mono_font::mapping::ASCII, |
182 | character_size: crate::geometry::Size::new(width:7, height:14), |
183 | character_spacing: 0, |
184 | baseline: 11, |
185 | underline: crate::mono_font::DecorationDimensions::new(offset:11 + 2, height:1), |
186 | strikethrough: crate::mono_font::DecorationDimensions::new(offset:14 / 2, height:1), |
187 | }; |
188 | |
189 | /// 7x14 pixel monospace font. |
190 | pub const FONT_7X14_BOLD: crate::mono_font::MonoFont = crate::mono_font::MonoFont { |
191 | image: crate::image::ImageRaw::new( |
192 | data:include_bytes!("../../../fonts/raw/ascii/font_7x14_bold.raw" ), |
193 | width:112, |
194 | ), |
195 | glyph_mapping: &crate::mono_font::mapping::ASCII, |
196 | character_size: crate::geometry::Size::new(width:7, height:14), |
197 | character_spacing: 0, |
198 | baseline: 11, |
199 | underline: crate::mono_font::DecorationDimensions::new(offset:11 + 2, height:1), |
200 | strikethrough: crate::mono_font::DecorationDimensions::new(offset:14 / 2, height:1), |
201 | }; |
202 | |
203 | /// 8x13 pixel monospace font. |
204 | pub const FONT_8X13: crate::mono_font::MonoFont = crate::mono_font::MonoFont { |
205 | image: crate::image::ImageRaw::new( |
206 | data:include_bytes!("../../../fonts/raw/ascii/font_8x13.raw" ), |
207 | width:128, |
208 | ), |
209 | glyph_mapping: &crate::mono_font::mapping::ASCII, |
210 | character_size: crate::geometry::Size::new(width:8, height:13), |
211 | character_spacing: 0, |
212 | baseline: 10, |
213 | underline: crate::mono_font::DecorationDimensions::new(offset:10 + 2, height:1), |
214 | strikethrough: crate::mono_font::DecorationDimensions::new(offset:13 / 2, height:1), |
215 | }; |
216 | |
217 | /// 8x13 pixel monospace font. |
218 | pub const FONT_8X13_BOLD: crate::mono_font::MonoFont = crate::mono_font::MonoFont { |
219 | image: crate::image::ImageRaw::new( |
220 | data:include_bytes!("../../../fonts/raw/ascii/font_8x13_bold.raw" ), |
221 | width:128, |
222 | ), |
223 | glyph_mapping: &crate::mono_font::mapping::ASCII, |
224 | character_size: crate::geometry::Size::new(width:8, height:13), |
225 | character_spacing: 0, |
226 | baseline: 10, |
227 | underline: crate::mono_font::DecorationDimensions::new(offset:10 + 2, height:1), |
228 | strikethrough: crate::mono_font::DecorationDimensions::new(offset:13 / 2, height:1), |
229 | }; |
230 | |
231 | /// 8x13 pixel monospace font. |
232 | pub const FONT_8X13_ITALIC: crate::mono_font::MonoFont = crate::mono_font::MonoFont { |
233 | image: crate::image::ImageRaw::new( |
234 | data:include_bytes!("../../../fonts/raw/ascii/font_8x13_italic.raw" ), |
235 | width:128, |
236 | ), |
237 | glyph_mapping: &crate::mono_font::mapping::ASCII, |
238 | character_size: crate::geometry::Size::new(width:8, height:13), |
239 | character_spacing: 0, |
240 | baseline: 10, |
241 | underline: crate::mono_font::DecorationDimensions::new(offset:10 + 2, height:1), |
242 | strikethrough: crate::mono_font::DecorationDimensions::new(offset:13 / 2, height:1), |
243 | }; |
244 | |
245 | /// 9x15 pixel monospace font. |
246 | pub const FONT_9X15: crate::mono_font::MonoFont = crate::mono_font::MonoFont { |
247 | image: crate::image::ImageRaw::new( |
248 | data:include_bytes!("../../../fonts/raw/ascii/font_9x15.raw" ), |
249 | width:144, |
250 | ), |
251 | glyph_mapping: &crate::mono_font::mapping::ASCII, |
252 | character_size: crate::geometry::Size::new(width:9, height:15), |
253 | character_spacing: 0, |
254 | baseline: 11, |
255 | underline: crate::mono_font::DecorationDimensions::new(offset:11 + 2, height:1), |
256 | strikethrough: crate::mono_font::DecorationDimensions::new(offset:15 / 2, height:1), |
257 | }; |
258 | |
259 | /// 9x15 pixel monospace font. |
260 | pub const FONT_9X15_BOLD: crate::mono_font::MonoFont = crate::mono_font::MonoFont { |
261 | image: crate::image::ImageRaw::new( |
262 | data:include_bytes!("../../../fonts/raw/ascii/font_9x15_bold.raw" ), |
263 | width:144, |
264 | ), |
265 | glyph_mapping: &crate::mono_font::mapping::ASCII, |
266 | character_size: crate::geometry::Size::new(width:9, height:15), |
267 | character_spacing: 0, |
268 | baseline: 11, |
269 | underline: crate::mono_font::DecorationDimensions::new(offset:11 + 2, height:1), |
270 | strikethrough: crate::mono_font::DecorationDimensions::new(offset:15 / 2, height:1), |
271 | }; |
272 | |
273 | /// 9x18 pixel monospace font. |
274 | pub const FONT_9X18: crate::mono_font::MonoFont = crate::mono_font::MonoFont { |
275 | image: crate::image::ImageRaw::new( |
276 | data:include_bytes!("../../../fonts/raw/ascii/font_9x18.raw" ), |
277 | width:144, |
278 | ), |
279 | glyph_mapping: &crate::mono_font::mapping::ASCII, |
280 | character_size: crate::geometry::Size::new(width:9, height:18), |
281 | character_spacing: 0, |
282 | baseline: 13, |
283 | underline: crate::mono_font::DecorationDimensions::new(offset:13 + 2, height:1), |
284 | strikethrough: crate::mono_font::DecorationDimensions::new(offset:18 / 2, height:1), |
285 | }; |
286 | |
287 | /// 9x18 pixel monospace font. |
288 | pub const FONT_9X18_BOLD: crate::mono_font::MonoFont = crate::mono_font::MonoFont { |
289 | image: crate::image::ImageRaw::new( |
290 | data:include_bytes!("../../../fonts/raw/ascii/font_9x18_bold.raw" ), |
291 | width:144, |
292 | ), |
293 | glyph_mapping: &crate::mono_font::mapping::ASCII, |
294 | character_size: crate::geometry::Size::new(width:9, height:18), |
295 | character_spacing: 0, |
296 | baseline: 13, |
297 | underline: crate::mono_font::DecorationDimensions::new(offset:13 + 2, height:1), |
298 | strikethrough: crate::mono_font::DecorationDimensions::new(offset:18 / 2, height:1), |
299 | }; |
300 | |
301 | /// 10x20 pixel monospace font. |
302 | pub const FONT_10X20: crate::mono_font::MonoFont = crate::mono_font::MonoFont { |
303 | image: crate::image::ImageRaw::new( |
304 | data:include_bytes!("../../../fonts/raw/ascii/font_10x20.raw" ), |
305 | width:160, |
306 | ), |
307 | glyph_mapping: &crate::mono_font::mapping::ASCII, |
308 | character_size: crate::geometry::Size::new(width:10, height:20), |
309 | character_spacing: 0, |
310 | baseline: 15, |
311 | underline: crate::mono_font::DecorationDimensions::new(offset:15 + 2, height:1), |
312 | strikethrough: crate::mono_font::DecorationDimensions::new(offset:20 / 2, height:1), |
313 | }; |
314 | |