Ryan Tseng
/
DisplayTest
KS0108/ArialB30.h@0:87b78725a6dd, 2012-03-05 (annotated)
- Committer:
- kagelump
- Date:
- Mon Mar 05 06:00:16 2012 +0000
- Revision:
- 0:87b78725a6dd
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
kagelump | 0:87b78725a6dd | 1 | |
kagelump | 0:87b78725a6dd | 2 | |
kagelump | 0:87b78725a6dd | 3 | /* |
kagelump | 0:87b78725a6dd | 4 | * |
kagelump | 0:87b78725a6dd | 5 | * ArialB40 |
kagelump | 0:87b78725a6dd | 6 | * |
kagelump | 0:87b78725a6dd | 7 | * created with FontCreator |
kagelump | 0:87b78725a6dd | 8 | * written by F. Maximilian Thiele |
kagelump | 0:87b78725a6dd | 9 | * |
kagelump | 0:87b78725a6dd | 10 | * http://www.apetech.de/fontCreator |
kagelump | 0:87b78725a6dd | 11 | * me@apetech.de |
kagelump | 0:87b78725a6dd | 12 | * |
kagelump | 0:87b78725a6dd | 13 | * File Name : ArialB40.h |
kagelump | 0:87b78725a6dd | 14 | * Date : 22.02.2012 |
kagelump | 0:87b78725a6dd | 15 | * Font size in bytes : 6338 |
kagelump | 0:87b78725a6dd | 16 | * Font width : 20 |
kagelump | 0:87b78725a6dd | 17 | * Font height : 29 |
kagelump | 0:87b78725a6dd | 18 | * Font first char : 48 |
kagelump | 0:87b78725a6dd | 19 | * Font last char : 58 |
kagelump | 0:87b78725a6dd | 20 | * Font used chars : 10 |
kagelump | 0:87b78725a6dd | 21 | * |
kagelump | 0:87b78725a6dd | 22 | * The font data are defined as |
kagelump | 0:87b78725a6dd | 23 | * |
kagelump | 0:87b78725a6dd | 24 | * struct _FONT_ { |
kagelump | 0:87b78725a6dd | 25 | * uint16_t font_Size_in_Bytes_over_all_included_Size_it_self; |
kagelump | 0:87b78725a6dd | 26 | * uint8_t font_Width_in_Pixel_for_fixed_drawing; |
kagelump | 0:87b78725a6dd | 27 | * uint8_t font_Height_in_Pixel_for_all_characters; |
kagelump | 0:87b78725a6dd | 28 | * unit8_t font_First_Char; |
kagelump | 0:87b78725a6dd | 29 | * uint8_t font_Char_Count; |
kagelump | 0:87b78725a6dd | 30 | * |
kagelump | 0:87b78725a6dd | 31 | * uint8_t font_Char_Widths[font_Last_Char - font_First_Char +1]; |
kagelump | 0:87b78725a6dd | 32 | * // for each character the separate width in pixels, |
kagelump | 0:87b78725a6dd | 33 | * // characters < 128 have an implicit virtual right empty row |
kagelump | 0:87b78725a6dd | 34 | * |
kagelump | 0:87b78725a6dd | 35 | * uint8_t font_data[]; |
kagelump | 0:87b78725a6dd | 36 | * // bit field of all characters |
kagelump | 0:87b78725a6dd | 37 | */ |
kagelump | 0:87b78725a6dd | 38 | |
kagelump | 0:87b78725a6dd | 39 | #ifndef ARIALB30_H |
kagelump | 0:87b78725a6dd | 40 | #define ARIALB30_H |
kagelump | 0:87b78725a6dd | 41 | |
kagelump | 0:87b78725a6dd | 42 | #define ARIALB30_WIDTH 20 |
kagelump | 0:87b78725a6dd | 43 | #define ARIALB30_HEIGHT 29 |
kagelump | 0:87b78725a6dd | 44 | |
kagelump | 0:87b78725a6dd | 45 | static unsigned int ArialB30[] = { |
kagelump | 0:87b78725a6dd | 46 | 0x18, 0xC2, // size |
kagelump | 0:87b78725a6dd | 47 | 0x14, // width |
kagelump | 0:87b78725a6dd | 48 | 0x1D, // height |
kagelump | 0:87b78725a6dd | 49 | 0x30, // first char |
kagelump | 0:87b78725a6dd | 50 | 0x0A, // char count |
kagelump | 0:87b78725a6dd | 51 | |
kagelump | 0:87b78725a6dd | 52 | // char widths |
kagelump | 0:87b78725a6dd | 53 | 0x16, 0x10, 0x16, 0x16, 0x1A, 0x16, 0x16, 0x16, 0x16, 0x16, |
kagelump | 0:87b78725a6dd | 54 | |
kagelump | 0:87b78725a6dd | 55 | |
kagelump | 0:87b78725a6dd | 56 | // font data |
kagelump | 0:87b78725a6dd | 57 | 0x00, 0xE0, 0xF0, 0xFC, 0xFC, 0xFE, 0xFE, 0xFF, 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 0x78, 0x38, 0x18, 0x08, 0x00, 0x00 // 57 |
kagelump | 0:87b78725a6dd | 67 | |
kagelump | 0:87b78725a6dd | 68 | }; |
kagelump | 0:87b78725a6dd | 69 | |
kagelump | 0:87b78725a6dd | 70 | #endif |