| * font.h -- `Soft' font definitions |
| * Created 1995 by Geert Uytterhoeven |
| * This file is subject to the terms and conditions of the GNU General Public |
| * License. See the file COPYING in the main directory of this archive |
| extern const struct font_desc font_vga_8x8, |
| /* Find a font with a specific name */ |
| extern const struct font_desc *find_font(const char *name); |
| /* Get the default font for a specific screen size */ |
| extern const struct font_desc *get_default_font(int xres, int yres, |
| /* Max. length for the name of a predefined font */ |
| #define REFCOUNT(fd) (((int *)(fd))[-1]) |
| #define FNTSIZE(fd) (((int *)(fd))[-2]) |
| #define FNTCHARCNT(fd) (((int *)(fd))[-3]) |
| #define FNTSUM(fd) (((int *)(fd))[-4]) |
| #define FONT_EXTRA_WORDS 4 |
| unsigned int extra[FONT_EXTRA_WORDS]; |
| const unsigned char data[]; |
| #endif /* _VIDEO_FONT_H */ |