diff options
author | etobi <git@e-tobi.net> | 2013-09-03 09:48:45 +0200 |
---|---|---|
committer | etobi <git@e-tobi.net> | 2013-09-03 09:48:45 +0200 |
commit | 9fe4d4ea9c054e539ab679ed2e9c076c35beb69d (patch) | |
tree | affff927f15c8ae6c77890cc9564855efe2e51db /util/alevt/font.h | |
parent | 9a5228e0f2b898367b7943d294be58caf6ce8bb3 (diff) | |
download | linux-dvb-apps-9fe4d4ea9c054e539ab679ed2e9c076c35beb69d.tar.gz |
Imported Upstream version 1.1.1+rev1355upstream/1.1.1+rev1355
Diffstat (limited to 'util/alevt/font.h')
-rw-r--r-- | util/alevt/font.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/util/alevt/font.h b/util/alevt/font.h new file mode 100644 index 0000000..c17c4bc --- /dev/null +++ b/util/alevt/font.h @@ -0,0 +1,19 @@ +#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[]; +extern unsigned char font3_bits[]; +extern unsigned char font4_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 |