diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/font.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/font.h b/include/linux/font.h index f8b0e94787..feeab97191 100644 --- a/include/linux/font.h +++ b/include/linux/font.h @@ -12,17 +12,25 @@ #define _VIDEO_FONT_H #include <param.h> +#include <wchar.h> +struct font_index { + wchar_t wc; /* code of the char. */ + short index; /* offset of the char in the bitmap. */ +}; struct font_desc { const char *name; int width, height; + struct font_index *index; const void *data; + int num_chars; struct list_head list; }; /* Max. length for the name of a predefined font */ #define MAX_FONT_NAME 32 +extern int find_font_index(const struct font_desc *font, int ch); extern const struct font_desc *find_font_enum(int n); extern struct param_d *add_param_font(struct device_d *dev, int (*set)(struct param_d *p, void *priv), |