Display text on LCD displays (even on multiple ones). Allow to create windows (frames) on display, and to combine them (split, add, duplicate, scroll). See http://mbed.org/users/hlipka/notebook/lcdwindow/ for more information.

Dependents:   Mbell

font.h

Committer:
hlipka
Date:
2011-02-22
Revision:
9:2fe93daa2106
Parent:
2:5ac5bab7daaf

File content as of revision 9:2fe93daa2106:

/*
This font has been created by rotating the original 'vincent' font.
See below for the original copyright, or go to
http://forum.osdev.org/viewtopic.php?f=2&t=22033
*/
/*
Created Sunday, May 23, 2010 by Quinn Evans
Renamed and updated Monday 24, 2010

This font (Vincent) is released by me into the public domain. I claim no
copyright, and hereby make this software available to the public for any use,
at any time, free of restrictions, legal or otherwise.
*/
#ifndef FONT_H
#define FONT_H 1
unsigned char font_data[128][8] = {
//0x0=0
{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,},
//0x1=1
{0x00,0x7c,0x82,0xaa,0xc2,0xaa,0x82,0x7c,},
//0x2=2
{0x00,0x7c,0xfe,0xd6,0xbe,0xd6,0xfe,0x7c,},
//0x3=3
{0x00,0x1c,0x3e,0x7c,0xf8,0x7c,0x3e,0x1c,},
//0x4=4
{0x00,0x10,0x38,0x7c,0xfe,0x7c,0x38,0x10,},
//0x5=5
{0x00,0x10,0x38,0x94,0xfe,0x94,0x38,0x10,},
//0x6=6
{0x00,0x10,0x38,0xbc,0xfe,0xbc,0x38,0x10,},
//0x7=7
{0x00,0x00,0x38,0x7c,0x7c,0x7c,0x38,0x00,},
//0x8=8
{0xff,0xff,0xc7,0x83,0x83,0x83,0xc7,0xff,},
//0x9=9
{0x00,0x00,0x38,0x44,0x44,0x44,0x38,0x00,},
//0xa=10
{0xff,0xff,0xc7,0xbb,0xbb,0xbb,0xc7,0xff,},
//0xb=11
{0x00,0x60,0x90,0x90,0x72,0x0a,0x06,0x1e,},
//0xc=12
{0x00,0x00,0x64,0x94,0x9e,0x94,0x64,0x00,},
//0xd=13
{0x00,0xc0,0xe0,0x7e,0x02,0x04,0x00,0x00,},
//0xe=14
{0x00,0xc0,0xe0,0x7c,0x06,0x62,0x72,0x3e,},
//0xf=15
{0x00,0x10,0x54,0x38,0xee,0x38,0x54,0x10,},
//0x10=16
{0x00,0xfe,0xfe,0x7c,0x7c,0x38,0x38,0x10,},
//0x11=17
{0x00,0x10,0x38,0x38,0x7c,0x7c,0xfe,0xfe,},
//0x12=18
{0x00,0x00,0x28,0x44,0xfe,0x44,0x28,0x00,},
//0x13=19
{0x00,0xde,0xde,0x00,0x00,0xde,0xde,0x00,},
//0x14=20
{0x00,0x0c,0x1e,0x12,0x12,0xfe,0x02,0xfe,},
//0x15=21
{0x00,0x48,0x94,0xa4,0x4a,0x52,0x24,0x00,},
//0x16=22
{0x00,0xe0,0xe0,0xe0,0xe0,0xe0,0xe0,0xe0,},
//0x17=23
{0x00,0x00,0xa8,0xc4,0xfe,0xc4,0xa8,0x00,},
//0x18=24
{0x00,0x10,0x18,0xfc,0xfe,0xfc,0x18,0x10,},
//0x19=25
{0x00,0x10,0x30,0x7e,0xfe,0x7e,0x30,0x10,},
//0x1a=26
{0x00,0x38,0x38,0x38,0xfe,0x7c,0x38,0x10,},
//0x1b=27
{0x00,0x10,0x38,0x7c,0xfe,0x38,0x38,0x38,},
//0x1c=28
{0x00,0xf8,0xf8,0xf8,0xc0,0xc0,0xc0,0xc0,},
//0x1d=29
{0x00,0x10,0x38,0x54,0x10,0x54,0x38,0x10,},
//0x1e=30
{0x00,0xc0,0xf0,0xfc,0xfe,0xfc,0xf0,0xc0,},
//0x1f=31
{0x00,0x06,0x1e,0x7e,0xfe,0x7e,0x1e,0x06,},
//0x20=32
{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,},
//0x21=33
{0x00,0x00,0x0c,0xbe,0xbe,0x0c,0x00,0x00,},
//0x22=34
{0x00,0x00,0x06,0x0e,0x00,0x0e,0x06,0x00,},
//0x23=35
{0x00,0x28,0xfe,0xfe,0x28,0xfe,0xfe,0x28,},
//0x24=36
{0x00,0x00,0x48,0x54,0xd6,0x54,0x24,0x00,},
//0x25=37
{0x00,0x46,0x66,0x30,0x18,0xcc,0xc4,0x00,},
//0x26=38
{0x00,0x64,0xfe,0x8a,0x9a,0xee,0xc4,0xa0,},
//0x27=39
{0x00,0x00,0x10,0x1e,0x0e,0x00,0x00,0x00,},
//0x28=40
{0x00,0x82,0xc6,0x7c,0x38,0x00,0x00,0x00,},
//0x29=41
{0x00,0x00,0x00,0x38,0x7c,0xc6,0x82,0x00,},
//0x2a=42
{0x00,0x10,0x54,0x7c,0x38,0x7c,0x54,0x10,},
//0x2b=43
{0x00,0x00,0x10,0x10,0x7c,0x10,0x10,0x00,},
//0x2c=44
{0x00,0x80,0xf0,0x70,0x00,0x00,0x00,0x00,},
//0x2d=45
{0x00,0x00,0x10,0x10,0x10,0x10,0x00,0x00,},
//0x2e=46
{0x00,0xc0,0xc0,0x00,0x00,0x00,0x00,0x00,},
//0x2f=47
{0x00,0x40,0x60,0x30,0x18,0x0c,0x04,0x00,},
//0x30=48
{0x00,0x7c,0xfe,0x92,0x8a,0xfe,0x7c,0x00,},
//0x31=49
{0x00,0x80,0x88,0xfe,0xfe,0x80,0x80,0x00,},
//0x32=50
{0x00,0xc4,0xe6,0xa2,0x92,0x9e,0x8c,0x00,},
//0x33=51
{0x00,0x44,0xc6,0x92,0x92,0xfe,0x6c,0x00,},
//0x34=52
{0x00,0x30,0x28,0x24,0xfe,0xfe,0x20,0x00,},
//0x35=53
{0x00,0x4e,0xce,0x8a,0x8a,0xfa,0x72,0x00,},
//0x36=54
{0x00,0x7c,0xfe,0x92,0x92,0xf6,0x64,0x00,},
//0x37=55
{0x00,0x06,0x06,0xe2,0xfa,0x1e,0x06,0x00,},
//0x38=56
{0x00,0x6c,0xfe,0x92,0x92,0xfe,0x6c,0x00,},
//0x39=57
{0x00,0x4c,0xde,0x92,0x92,0xfe,0x7c,0x00,},
//0x3a=58
{0x00,0x00,0x00,0x6c,0x6c,0x00,0x00,0x00,},
//0x3b=59
{0x00,0x00,0x80,0xec,0x6c,0x00,0x00,0x00,},
//0x3c=60
{0x00,0x00,0x10,0x38,0x6c,0xc6,0x82,0x00,},
//0x3d=61
{0x00,0x00,0x28,0x28,0x28,0x28,0x00,0x00,},
//0x3e=62
{0x00,0x82,0xc6,0x6c,0x38,0x10,0x00,0x00,},
//0x3f=63
{0x00,0x04,0x06,0xb2,0xb2,0x1e,0x0c,0x00,},
//0x40=64
{0x00,0x3c,0x42,0x5a,0x5a,0x4c,0x20,0x00,},
//0x41=65
{0x00,0xfc,0xfe,0x12,0x12,0xfe,0xfc,0x00,},
//0x42=66
{0x00,0xfe,0xfe,0x92,0x92,0xfe,0x6c,0x00,},
//0x43=67
{0x00,0x7c,0xfe,0x82,0x82,0xc6,0x44,0x00,},
//0x44=68
{0x00,0xfe,0xfe,0x82,0x82,0xfe,0x7c,0x00,},
//0x45=69
{0x00,0xfe,0xfe,0x92,0x92,0x92,0x82,0x00,},
//0x46=70
{0x00,0xfe,0xfe,0x12,0x12,0x12,0x02,0x00,},
//0x47=71
{0x00,0x7c,0xfe,0x82,0xa2,0xe6,0x64,0x00,},
//0x48=72
{0x00,0xfe,0xfe,0x10,0x10,0xfe,0xfe,0x00,},
//0x49=73
{0x00,0x00,0x82,0xfe,0xfe,0x82,0x00,0x00,},
//0x4a=74
{0x00,0x60,0xe0,0x82,0xfe,0x7e,0x02,0x00,},
//0x4b=75
{0x00,0xfe,0xfe,0x38,0x6c,0xc6,0x82,0x00,},
//0x4c=76
{0x00,0xfe,0xfe,0x80,0x80,0x80,0x80,0x00,},
//0x4d=77
{0x00,0xfe,0xfe,0x0c,0x18,0x0c,0xfe,0xfe,},
//0x4e=78
{0x00,0xfe,0xfe,0x0c,0x18,0x30,0xfe,0xfe,},
//0x4f=79
{0x00,0x7c,0xfe,0x82,0x82,0xfe,0x7c,0x00,},
//0x50=80
{0x00,0xfe,0xfe,0x22,0x22,0x3e,0x1c,0x00,},
//0x51=81
{0x00,0x3c,0x7e,0x42,0x62,0xfe,0xbc,0x00,},
//0x52=82
{0x00,0xfe,0xfe,0x32,0x72,0xde,0x8c,0x00,},
//0x53=83
{0x00,0x4c,0xde,0x92,0x92,0xf6,0x64,0x00,},
//0x54=84
{0x00,0x06,0x02,0xfe,0xfe,0x02,0x06,0x00,},
//0x55=85
{0x00,0x7e,0xfe,0x80,0x80,0xfe,0xfe,0x00,},
//0x56=86
{0x00,0x3e,0x7e,0xc0,0xc0,0x7e,0x3e,0x00,},
//0x57=87
{0x00,0xfe,0xfe,0x60,0x30,0x60,0xfe,0xfe,},
//0x58=88
{0x00,0xc6,0xee,0x38,0x10,0x38,0xee,0xc6,},
//0x59=89
{0x00,0x0e,0x1e,0xf0,0xf0,0x1e,0x0e,0x00,},
//0x5a=90
{0x00,0xc2,0xe2,0xb2,0x9a,0x8e,0x86,0x00,},
//0x5b=91
{0x00,0x00,0x00,0xfe,0xfe,0x82,0x82,0x00,},
//0x5c=92
{0x00,0x04,0x0c,0x18,0x30,0x60,0x40,0x00,},
//0x5d=93
{0x00,0x82,0x82,0xfe,0xfe,0x00,0x00,0x00,},
//0x5e=94
{0x00,0x10,0x08,0x04,0x02,0x04,0x08,0x10,},
//0x5f=95
{0x00,0x80,0x80,0x80,0x80,0x80,0x80,0x80,},
//0x60=96
{0x00,0x00,0x00,0x00,0x06,0x0e,0x08,0x00,},
//0x61=97
{0x00,0x40,0xe8,0xa8,0xa8,0xf8,0xf0,0x00,},
//0x62=98
{0x00,0xfe,0xfe,0x90,0x90,0xf0,0x60,0x00,},
//0x63=99
{0x00,0x70,0xf8,0x88,0x88,0xd8,0x50,0x00,},
//0x64=100
{0x00,0x60,0xf0,0x90,0x90,0xfe,0xfe,0x00,},
//0x65=101
{0x00,0x70,0xf8,0xa8,0xa8,0xb8,0x30,0x00,},
//0x66=102
{0x00,0x20,0xfc,0xfe,0x22,0x26,0x04,0x00,},
//0x67=103
{0x00,0x18,0xbc,0xa4,0xa4,0xfc,0x7c,0x00,},
//0x68=104
{0x00,0xfe,0xfe,0x10,0x10,0xf0,0xe0,0x00,},
//0x69=105
{0x00,0x00,0x80,0xf4,0xf4,0x80,0x00,0x00,},
//0x6a=106
{0x00,0x60,0xe0,0x80,0xfa,0x7a,0x00,0x00,},
//0x6b=107
{0x00,0xfe,0xfe,0x20,0x70,0xd8,0x88,0x00,},
//0x6c=108
{0x00,0x00,0x00,0xfe,0xfe,0x00,0x00,0x00,},
//0x6d=109
{0x00,0xf8,0xf8,0x30,0xe0,0x30,0xf8,0xf8,},
//0x6e=110
{0x00,0xf8,0xf8,0x18,0x18,0xf8,0xf0,0x00,},
//0x6f=111
{0x00,0x70,0xf8,0x88,0x88,0xf8,0x70,0x00,},
//0x70=112
{0x00,0xfc,0xfc,0x24,0x24,0x3c,0x18,0x00,},
//0x71=113
{0x00,0x18,0x3c,0x24,0xfc,0xfc,0x80,0xc0,},
//0x72=114
{0x00,0xf8,0xf8,0x08,0x08,0x38,0x30,0x00,},
//0x73=115
{0x00,0x90,0xa8,0xa8,0xa8,0xa8,0x48,0x00,},
//0x74=116
{0x00,0x10,0x10,0xfc,0xfc,0x10,0x10,0x00,},
//0x75=117
{0x00,0x78,0xf8,0x80,0x80,0xf8,0xf8,0x00,},
//0x76=118
{0x00,0x30,0x70,0xc0,0xc0,0x70,0x30,0x00,},
//0x77=119
{0x00,0x78,0xf8,0x80,0xf0,0x80,0xf8,0x78,},
//0x78=120
{0x00,0x88,0xd8,0x70,0x70,0xd8,0x88,0x00,},
//0x79=121
{0x00,0x18,0xb8,0xa0,0xa0,0xf8,0x78,0x00,},
//0x7a=122
{0x00,0x00,0xc8,0xe8,0xb8,0x98,0x00,0x00,},
//0x7b=123
{0x00,0x00,0x10,0x7c,0xee,0x82,0x82,0x00,},
//0x7c=124
{0x00,0x00,0x00,0xee,0xee,0x00,0x00,0x00,},
//0x7d=125
{0x00,0x82,0x82,0xee,0x7c,0x10,0x00,0x00,},
//0x7e=126
{0x00,0x10,0x18,0x08,0x18,0x10,0x08,0x00,},
//0x7f=127
{0x00,0xf0,0x98,0x8c,0x86,0x8c,0x98,0xf0,},
};
#endif