blob: baf233a0ba8dfef12ef1bca4d77c460d00ff7b76 (
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
|
/*
* Font description structures
*
* Copyright (C) 2019 Patrick McDermott
*
* This file is part of fbcon2png.
*
* fbcon2png is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* fbcon2png is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with fbcon2png. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef LINUX_FONT_H
#define LINUX_FONT_H
struct font_desc {
int idx;
const char *name;
int width;
int height;
const void *data;
int pref;
};
#define MPLUS_1MN_MEDIUM_10x14_IDX 0
#define MPLUS_1MN_REGULAR_12x17_IDX 1
#define MPLUS_1MN_REGULAR_14x19_IDX 2
#define MPLUS_1MN_REGULAR_16x22_IDX 3
extern const struct font_desc font_mplus_1mn_medium_10x14;
extern const struct font_desc font_mplus_1mn_regular_12x17;
extern const struct font_desc font_mplus_1mn_regular_14x19;
extern const struct font_desc font_mplus_1mn_regular_16x22;
#endif /* LINUX_FONT_H */
|