Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 3d18b297ae
Fetching contributors…

Cannot retrieve contributors at this time

168 lines (157 sloc) 4.619 kb
/*
*
* Font3x5
*
* created with FontCreator
* written by F. Maximilian Thiele
*
* http://www.apetech.de/fontCreator
* me@apetech.de
*
* File Name : Font3x5.h
* Date : 17.02.2012
* Font size in bytes : 1472
* Font width : 3
* Font height : 5
* Font first char : 32
* Font last char : 128
* Font used chars : 96
*
* The font data are defined as
*
* struct _FONT_ {
* uint16_t font_Size_in_Bytes_over_all_included_Size_it_self;
* uint8_t font_Width_in_Pixel_for_fixed_drawing;
* uint8_t font_Height_in_Pixel_for_all_characters;
* unit8_t font_First_Char;
* uint8_t font_Char_Count;
*
* uint8_t font_Char_Widths[font_Last_Char - font_First_Char +1];
* // for each character the separate width in pixels,
* // characters < 128 have an implicit virtual right empty row
*
* uint8_t font_data[];
* // bit field of all characters
*/
#include <inttypes.h>
#include <avr/pgmspace.h>
#ifndef FONT3X5_H
#define FONT3X5_H
#define FONT3X5_WIDTH 3
#define FONT3X5_HEIGHT 5
static uint8_t Font3x5[] PROGMEM = {
0x05, 0xC0, // size
0x03, // width
0x05, // height
0x20, // first char
0x60, // char count
// char widths
0x03, 0x01, 0x03, 0x03, 0x03, 0x03, 0x03, 0x01, 0x02, 0x02,
0x03, 0x03, 0x01, 0x03, 0x01, 0x03, 0x03, 0x03, 0x03, 0x03,
0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x01, 0x01, 0x03, 0x03,
0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03,
0x03, 0x03, 0x03, 0x03, 0x03, 0x05, 0x04, 0x03, 0x03, 0x03,
0x03, 0x03, 0x03, 0x03, 0x03, 0x05, 0x03, 0x03, 0x03, 0x02,
0x03, 0x02, 0x03, 0x03, 0x02, 0x03, 0x03, 0x03, 0x03, 0x03,
0x03, 0x03, 0x03, 0x01, 0x03, 0x03, 0x01, 0x05, 0x03, 0x03,
0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x05, 0x03, 0x03,
0x03, 0x03, 0x01, 0x03, 0x03, 0x03,
// font data
0x00, 0x00, 0x00, // 32
0xB8, // 33
0x18, 0x00, 0x18, // 34
0xF8, 0x70, 0xF8, // 35
0x10, 0xF8, 0x40, // 36
0x00, 0x00, 0x00, // 37
0x00, 0x00, 0x00, // 38
0x18, // 39
0x70, 0x88, // 40
0x88, 0x70, // 41
0x70, 0x70, 0x70, // 42
0x20, 0x70, 0x20, // 43
0xC0, // 44
0x20, 0x20, 0x20, // 45
0x80, // 46
0xC0, 0x20, 0x18, // 47
0xF8, 0x88, 0xF8, // 48
0x90, 0xF8, 0x80, // 49
0xE8, 0xA8, 0xB8, // 50
0xA8, 0xA8, 0xF8, // 51
0x38, 0x20, 0xF8, // 52
0xB8, 0xA8, 0xE8, // 53
0xF8, 0xA8, 0xE8, // 54
0x08, 0xE8, 0x18, // 55
0xF8, 0xA8, 0xF8, // 56
0xB8, 0xA8, 0xF8, // 57
0x50, // 58
0xD0, // 59
0x20, 0x50, 0x88, // 60
0x50, 0x50, 0x50, // 61
0x88, 0x50, 0x20, // 62
0x08, 0xA8, 0x18, // 63
0x70, 0xE8, 0x70, // 64
0xF0, 0x28, 0xF0, // 65
0xF8, 0xA8, 0x50, // 66
0xF8, 0x88, 0x88, // 67
0xF8, 0x88, 0x70, // 68
0xF8, 0xA8, 0xA8, // 69
0xF8, 0x28, 0x28, // 70
0xF8, 0x88, 0xC8, // 71
0xF8, 0x20, 0xF8, // 72
0x88, 0xF8, 0x88, // 73
0x40, 0x80, 0x78, // 74
0xF8, 0x20, 0xD8, // 75
0xF8, 0x80, 0x80, // 76
0xF8, 0x10, 0xE0, 0x10, 0xF8, // 77
0xF8, 0x30, 0x40, 0xF8, // 78
0xF8, 0x88, 0xF8, // 79
0xF8, 0x28, 0x38, // 80
0x78, 0x48, 0xF8, // 81
0xF8, 0x28, 0xD0, // 82
0xB8, 0xA8, 0xE8, // 83
0x08, 0xF8, 0x08, // 84
0xF8, 0x80, 0xF8, // 85
0x78, 0x80, 0x78, // 86
0x78, 0x80, 0x78, 0x80, 0x78, // 87
0xD8, 0x20, 0xD8, // 88
0x18, 0xE0, 0x18, // 89
0xC8, 0xA8, 0x98, // 90
0xF8, 0x88, // 91
0x18, 0x20, 0xC0, // 92
0x88, 0xF8, // 93
0x10, 0x08, 0x10, // 94
0x80, 0x80, 0x80, // 95
0x08, 0x10, // 96
0xE8, 0xA8, 0xF8, // 97
0xF8, 0xA0, 0xE0, // 98
0xE0, 0xA0, 0xA0, // 99
0xE0, 0xA0, 0xF8, // 100
0xF8, 0xA8, 0xB8, // 101
0xF8, 0x28, 0x08, // 102
0xB8, 0xA8, 0xF8, // 103
0xF8, 0x20, 0xE0, // 104
0xE8, // 105
0x40, 0x80, 0x68, // 106
0xF8, 0x40, 0xA0, // 107
0xF8, // 108
0xF0, 0x20, 0xC0, 0x20, 0xC0, // 109
0xE0, 0x20, 0xC0, // 110
0xE0, 0xA0, 0xE0, // 111
0xF8, 0x28, 0x30, // 112
0x38, 0x28, 0xF0, // 113
0xE0, 0x20, 0x20, // 114
0x90, 0xA8, 0x48, // 115
0x10, 0xF8, 0x10, // 116
0xE0, 0x80, 0xE0, // 117
0x60, 0x80, 0x60, // 118
0x60, 0x80, 0x60, 0x80, 0x60, // 119
0xA0, 0x40, 0xA0, // 120
0x30, 0xA0, 0xF0, // 121
0xC8, 0xA8, 0x98, // 122
0x20, 0xF8, 0x88, // 123
0xF8, // 124
0x88, 0xF8, 0x20, // 125
0x60, 0x20, 0x30, // 126
0x00, 0x00, 0x00 // 127
};
#endif
Jump to Line
Something went wrong with that request. Please try again.