URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [rtos/] [ecos-2.0/] [packages/] [services/] [gfx/] [mw/] [v2_0/] [src/] [drivers/] [nofont.c] - Rev 174
Compare with Previous | Blame | View Log
/* * Copyright (c) 2000 Greg Haerr <greg@censoft.com> * * Screen Driver Utilities * * Microwindows null font stub */ #include <stdio.h> #include "device.h" #include "genfont.h" /* no compiled in fonts*/ static MWCFONT nullfont = { "", 0, 0, 0, 0, 0, NULL, NULL, NULL }; /* handling routines for MWCOREFONT*/ static MWFONTPROCS fontprocs = { MWTF_ASCII, /* routines expect ascii*/ NULL, /* getfontinfo*/ NULL, /* gettextsize*/ NULL, /* gettextbits*/ NULL, /* unloadfont*/ NULL, /* xxx_drawtext*/ NULL, /* setfontsize*/ NULL, /* setfontrotation*/ NULL, /* setfontattr*/ }; /* first font is default font if no match*/ MWCOREFONT gen_fonts[NUMBER_FONTS] = { {&fontprocs, 0, 0, 0, MWFONT_SYSTEM_VAR, &nullfont}, {&fontprocs, 0, 0, 0, MWFONT_SYSTEM_VAR, &nullfont}, {&fontprocs, 0, 0, 0, MWFONT_SYSTEM_VAR, &nullfont}, {&fontprocs, 0, 0, 0, MWFONT_SYSTEM_VAR, &nullfont}, };