cdc0142a2500b5c687fe6586ca5176830bde8a4b
[bertos.git] / mware / font.h
1 /*!
2  * \file
3  * <!--
4  * Copyright 2003, 2004, 2005 Develer S.r.l. (http://www.develer.com/)
5  * This file is part of DevLib - See README.devlib for information.
6  * -->
7  *
8  * \version $Id$
9  *
10  * \author Stefano Fedrigo <aleph@develer.com>
11  *
12  * \brief Font 8x6 IBM-PC 8bit
13  */
14
15 /*#*
16  *#* $Log$
17  *#* Revision 1.5  2005/03/01 23:26:45  bernie
18  *#* Use new CPU-neutral program-memory API.
19  *#*
20  *#* Revision 1.4  2004/12/31 16:42:55  bernie
21  *#* Sanitize for non-Harvard processors.
22  *#*
23  *#* Revision 1.3  2004/08/25 14:12:09  rasky
24  *#* Aggiornato il comment block dei log RCS
25  *#*
26  *#* Revision 1.2  2004/06/03 11:27:09  bernie
27  *#* Add dual-license information.
28  *#*
29  *#* Revision 1.1  2004/05/23 15:43:16  bernie
30  *#* Import mware modules.
31  *#*
32  *#* Revision 1.2  2004/03/24 15:48:53  bernie
33  *#* Remove Copyright messages from Doxygen output
34  *#*
35  *#* Revision 1.1  2004/01/13 12:15:28  aleph
36  *#* Move font table in program memory; add font.h
37  *#*
38  *#*/
39 #ifndef MWARE_FONT_H
40 #define MWARE_FONT_H
41
42 #include <compiler.h> /* uint8_t */
43 #include <mware/pgm.h> /* PROGMEM */
44
45 /*!
46  * \name Font size (in pixel)
47  * \{
48  */
49 #define FONT_WIDTH   6
50 #define FONT_HEIGHT  8
51 /* \} */
52
53 /*! Font table */
54 extern const PROGMEM uint8_t font[256 * FONT_WIDTH];
55
56 #endif /* MWARE_FONT_H */