OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [mw/] [src/] [drivers/] [nofont.c] - Blame information for rev 1772

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 673 markom
/*
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
};

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.