File: font.h

package info (click to toggle)
alevt 1%3A1.6.1-10.2
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 872 kB
  • ctags: 662
  • sloc: sh: 6,853; ansic: 6,256; makefile: 112; perl: 104
file content (18 lines) | stat: -rw-r--r-- 468 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef FONT_H
#define FONT_H

#include "fontsize.h"	/* the #defines from font?.xbm */

#if font1_width != font2_width || font1_height != font2_height
#error different font sizes.
#endif

extern unsigned char font1_bits[];
extern unsigned char font2_bits[];

#define font_width	font1_width
#define font_height	font1_height
#define CW		(font_width/32)        /* pixel width of a character */
#define CH		(font_height/8)        /* pixel height of a character */

#endif