]> git.karo-electronics.de Git - karo-tx-redboot.git/blob - packages/services/gfx/mw/v2_0/src/drivers/nofont.c
Cleanup CVS ipmorted branch
[karo-tx-redboot.git] / packages / services / gfx / mw / v2_0 / src / drivers / nofont.c
1 /*
2  * Copyright (c) 2000 Greg Haerr <greg@censoft.com>
3  *
4  * Screen Driver Utilities
5  * 
6  * Microwindows null font stub
7  */
8 #include <stdio.h>
9 #include "device.h"
10 #include "genfont.h"
11
12 /* no compiled in fonts*/
13
14 static MWCFONT nullfont = {
15         "", 0, 0, 0, 0, 0, NULL, NULL, NULL
16 };
17
18 /* handling routines for MWCOREFONT*/
19 static MWFONTPROCS fontprocs = {
20         MWTF_ASCII,             /* routines expect ascii*/
21         NULL,                   /* getfontinfo*/
22         NULL,                   /* gettextsize*/
23         NULL,                   /* gettextbits*/
24         NULL,                   /* unloadfont*/
25         NULL,                   /* xxx_drawtext*/
26         NULL,                   /* setfontsize*/
27         NULL,                   /* setfontrotation*/
28         NULL,                   /* setfontattr*/
29 };
30
31 /* first font is default font if no match*/
32 MWCOREFONT gen_fonts[NUMBER_FONTS] = {
33         {&fontprocs, 0, 0, 0, MWFONT_SYSTEM_VAR, &nullfont},
34         {&fontprocs, 0, 0, 0, MWFONT_SYSTEM_VAR, &nullfont},
35         {&fontprocs, 0, 0, 0, MWFONT_SYSTEM_VAR, &nullfont},
36         {&fontprocs, 0, 0, 0, MWFONT_SYSTEM_VAR, &nullfont},
37 };