A simple library for SSH1106 controlled GLCDs

Dependents:   SSH1106_OLED

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers font_8x8.h Source File

font_8x8.h

00001 #ifndef FONT8x8_H
00002 #define FONT8x8_H
00003 
00004 /* File '8X8.FV' as include
00005  * The font was generated with EA FontEditor. Please contact ELECTRONIC ASSEMBLY
00006  * for more details (techik@lcd-module.de)
00007  *
00008  * TAB 6/22/2015 - Modified for mbed compiler
00009  *
00010  * The array starts with a 8 byte header:
00011  *  1st Byte: 'F' first 2 bytes are always FV
00012  *  2nd Byte: 'V' for FONT VERTICAL
00013  *  3rd Byte: First code to define
00014  *  4th Byte: Last  code to define
00015  *  5th Byte: Width of character in dots
00016  *  6th Byte: Height of character in dots
00017  *  7th Byte: Height of character in bytes
00018  *  8th Byte: Bytes needed for each character (1..255)
00019  *            or 0 for big fonts calculate WidthInDots * HeightInBytes
00020  * After that font data will follow
00021  */
00022 
00023 #define FONT_8X8_LEN  776
00024 
00025 const char font_8x8[FONT_8X8_LEN] =
00026 {
00027    70, 86, 32,127,  8,  8,  1,  8,
00028     0,  0,  0,  0,  0,  0,  0,  0,
00029     0,  0,  0, 95, 95,  0,  0,  0,
00030     0,  7,  7,  0,  0,  7,  7,  0,
00031    36,126,126, 36,126,126, 36,  0,
00032     0, 36, 46,107,107, 58, 18,  0,
00033     0,102, 54, 24, 12,102, 98,  0,
00034    48,122, 79, 93, 55,114, 80,  0,
00035     0,  0,  0,  7,  7,  0,  0,  0,
00036     0,  0,  0, 62,127, 99, 65,  0,
00037     0, 65, 99,127, 62,  0,  0,  0,
00038     8, 42, 62, 28, 28, 62, 42,  8,
00039     0,  8,  8, 62, 62,  8,  8,  0,
00040     0,128,224, 96,  0,  0,  0,  0,
00041     0,  8,  8,  8,  8,  8,  8,  0,
00042     0,  0,  0, 96, 96,  0,  0,  0,
00043     0, 96, 48, 24, 12,  6,  3,  0,
00044     0, 62,127, 73, 69,127, 62,  0,
00045     0, 64, 66,127,127, 64, 64,  0,
00046     0, 66, 99,113, 89, 79, 70,  0,
00047     0, 33, 97, 69, 79,123, 49,  0,
00048     0, 24, 28, 22,127,127, 16,  0,
00049     0, 39,103, 69, 69,125, 57,  0,
00050     0, 62,127, 73, 73,121, 48,  0,
00051     0,  1,113,121, 13,  7,  3,  0,
00052     0, 54,127, 73, 73,127, 54,  0,
00053     0,  6, 79, 73,105, 63, 30,  0,
00054     0,  0,  0, 54, 54,  0,  0,  0,
00055     0,  0, 64,118, 54,  0,  0,  0,
00056     0,  0,  8, 28, 54, 99, 65,  0,
00057     0, 36, 36, 36, 36, 36, 36,  0,
00058     0, 65, 99, 54, 28,  8,  0,  0,
00059     0,  2,  3, 81, 89, 15,  6,  0,
00060     0, 62,127, 65, 93, 87, 94,  0,
00061     0,124,126, 19, 19,126,124,  0,
00062     0,127,127, 73, 73,127, 54,  0,
00063     0, 62,127, 65, 65, 99, 34,  0,
00064     0,127,127, 65, 99, 62, 28,  0,
00065     0,127,127, 73, 73, 73, 65,  0,
00066     0,127,127,  9,  9,  9,  1,  0,
00067     0, 62,127, 65, 73,121,121,  0,
00068     0,127,127,  8,  8,127,127,  0,
00069     0,  0, 65,127,127, 65,  0,  0,
00070     0, 32, 96, 64, 64,127, 63,  0,
00071     0,127,127, 28, 54, 99, 65,  0,
00072     0,127,127, 64, 64, 64, 64,  0,
00073   127,127,  6, 12,  6,127,127,  0,
00074     0,127,127, 14, 28,127,127,  0,
00075     0, 62,127, 65, 65,127, 62,  0,
00076     0,127,127,  9,  9, 15,  6,  0,
00077     0, 62,127, 81, 33,127, 94,  0,
00078     0,127,127,  9, 25,127,102,  0,
00079     0, 38,111, 73, 73,123, 50,  0,
00080     0,  1,  1,127,127,  1,  1,  0,
00081     0, 63,127, 64, 64,127,127,  0,
00082     0, 31, 63, 96, 96, 63, 31,  0,
00083   127,127, 48, 24, 48,127,127,  0,
00084     0, 99,119, 28, 28,119, 99,  0,
00085     0,  7, 15,120,120, 15,  7,  0,
00086     0, 97,113, 89, 77, 71, 67,  0,
00087     0,  0,  0,127,127, 65, 65,  0,
00088     0,  3,  6, 12, 24, 48, 96,  0,
00089     0, 65, 65,127,127,  0,  0,  0,
00090     8, 12,  6,  3,  6, 12,  8,  0,
00091    64, 64, 64, 64, 64, 64, 64,  0,
00092     2,  6, 12,  8,  0,  0,  0,  0,
00093     0, 32,116, 84, 84,124,120,  0,
00094     0,127,127, 68, 68,124, 56,  0,
00095     0, 56,124, 68, 68, 68,  0,  0,
00096     0, 56,124, 68, 68,127,127,  0,
00097     0, 56,124, 84, 84, 92, 24,  0,
00098     0,  4,126,127,  5,  5,  0,  0,
00099     0,152,188,164,164,252,124,  0,
00100     0,127,127,  4,  4,124,120,  0,
00101     0,  0, 68,125,125, 64,  0,  0,
00102     0,128,128,253,125,  0,  0,  0,
00103     0,127,127, 16, 56,108, 68,  0,
00104     0,  0, 65,127,127, 64,  0,  0,
00105   124,124, 12, 24, 12,124,120,  0,
00106     0,124,124,  4,  4,124,120,  0,
00107     0, 56,124, 68, 68,124, 56,  0,
00108     0,252,252, 68, 68,124, 56,  0,
00109     0, 56,124, 68, 68,252,252,  0,
00110     0,124,124,  4,  4, 12,  8,  0,
00111     0, 72, 92, 84, 84,116, 36,  0,
00112     0,  4,  4, 62,126, 68, 68,  0,
00113     0, 60,124, 64, 64,124,124,  0,
00114     0, 28, 60, 96, 96, 60, 28,  0,
00115    28,124, 96, 48, 96,124, 28,  0,
00116     0, 68,108, 56, 56,108, 68,  0,
00117     0,156,188,160,160,252,124,  0,
00118     0, 68,100,116, 92, 76, 68,  0,
00119     0,  0,  8, 62,119, 65, 65,  0,
00120     0,  0,  0,255,255,  0,  0,  0,
00121     0, 65, 65,119, 62,  8,  0,  0,
00122    12,  6,  6, 12, 24, 24, 12,  0,
00123     0, 96,120, 94, 70, 88, 96,  0
00124 };
00125 
00126 #endif