summaryrefslogtreecommitdiffstats
path: root/drivers/video/font.h
blob: b020fcdc9142ef4caa8f03f6d274a12e48cc6279 (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
/*
 *  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
 *  for more details.
 */

#ifndef _FONT_H_
#define _FONT_H_

#include <linux/types.h>


   /*
    *    Find a font with a specific name
    */

extern int findsoftfont(char *name, int *width, int *height, u_char *data[]);


   /*
    *    Get the default font for a specific screen size
    */

extern void getdefaultfont(int xres, int yres, char *name[], int *width,
                           int *height, u_char *data[]);


/* Max. length for the name of a predefined font */
#define MAX_FONT_NAME	32

#endif /* _FONT_H_ */