4 * Read kernel font into BUF with room for COUNT 32x32 glyphs.
5 * Return 0 on success -1 on failure.
6 * Sets number of glyphs in COUNT, glyph size in WIDTH and HEIGHT.
8 extern int getfont(int fd, unsigned char *buf, int *count, int *width, int *height);
11 * Load kernel font of width WIDTH and pointsize HEIGHT from BUF
13 * Return 0 on success, -1 on failure.
15 extern int putfont(int fd, unsigned char *buf, int count, int width, int height);
18 * Find the maximum height of nonblank pixels
19 * (in the ((WIDTH+7)/8)*32*COUNT bytes of BUF).
21 extern int font_charheight(unsigned char *buf, int count, int width);
24 * Find the size of the kernel font.
26 extern int getfontsize(int fd);
29 * Restore font (doesn't work).
31 extern int restorefont(int fd);
33 #endif /* _KDFONTOP_H */