Min-Max Einträge für den Beginn der Buchstaben hinterlegt

This commit is contained in:
starcalc 2018-12-07 00:35:39 +01:00
parent 92e3e42c71
commit c9fd65440b
1 changed files with 16 additions and 1 deletions

17
font.h
View File

@ -1,4 +1,20 @@
static uint8_t fontmin[128] = {
0,
0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,
3,3,2,1,0,0,3,3,2,1,1,3,2,3,1,1,2,1,1,2,1,1,1,1,1,3,3,1,1,1,2,2,1,2,2,2,2,2,2,1,1,2,2,1,0,1,1,2,1,2,1,0,1,0,0,1,0,1,3,1,3,3,1,3,1,1,2,1,1,3,2,2,3,3,2,3,1,1,1,1,1,1,2,2,1,1,0,1,1,2,2,3,2,1,1
};
static uint8_t fontmax[128] = {
1,
1,1,1,1,1,1,1,1,1,1,
1,1,1,1,1,1,1,1,1,1,
1,1,1,1,1,1,1,1,1,1,1,1,
3,5,6,5,7,5,3,5,4,5,5,4,5,3,6,6,4,6,6,6,6,6,6,6,6,3,4,6,6,6,6,7,6,6,7,6,6,6,7,6,5,6,6,6,6,6,5,6,5,6,5,6,6,7,6,6,6,6,5,6,5,5,6,4,6,6,5,6,6,5,6,5,3,6,5,4,6,5,6,6,6,5,5,5,5,6,7,6,6,5,5,3,5,6,6
};
/* the values in this array are a 8x8 bitmap font for ascii characters */
static uint64_t font[128] = {
/************************************************************************
@ -147,4 +163,3 @@ static uint64_t font[128] = {
0x324C000000, /* ~ */
0x7E7E7E7E7E7E0000 /* DEL */
};