PokittoLib with changes to lcd refresh etc.

Dependents:   Pokittris

Fork of Pokitto by Pokitto Community Team

This is a fork by user @Spinal, and is used in Pokittris for testing. Do not import this to your own program.

POKITTO_CORE/FONTS/ZXSpec.cpp

Committer:
Pokitto
Date:
2017-09-18
Revision:
0:e8b8f36b4505

File content as of revision 0:e8b8f36b4505:


//WARNING: This Font Require X-GLCD Lib.
//         You can not use it with MikroE GLCD Lib.

//Font Generated by MikroElektronika GLCD Font Creator 1.2.0.0
//MikroElektronika 2011
//http://www.mikroe.com

//RECREATED BY @ROGB_UK


#include "PokittoFonts.h"

const unsigned char fontZXSpec[] = {
        8,8,32,0,
             0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,  // Code for char
        0x04, 0x00, 0x00, 0x00, 0x5E, 0x00, 0x00, 0x00, 0x00,  // Code for char !
        0x06, 0x00, 0x00, 0x06, 0x00, 0x00, 0x06, 0x00, 0x00,  // Code for char "
        0x07, 0x00, 0x24, 0x7E, 0x24, 0x24, 0x7E, 0x24, 0x00,  // Code for char #
        0x07, 0x00, 0x00, 0x5C, 0x54, 0xFE, 0x54, 0x74, 0x00,  // Code for char $
        0x07, 0x00, 0x46, 0x26, 0x10, 0x08, 0x64, 0x62, 0x00,  // Code for char %
        0x07, 0x00, 0x20, 0x54, 0x4A, 0x54, 0x20, 0x50, 0x00,  // Code for char &
        0x05, 0x00, 0x00, 0x00, 0x04, 0x02, 0x00, 0x00, 0x00,  // Code for char '
        0x06, 0x00, 0x00, 0x00, 0x00, 0x3C, 0x42, 0x00, 0x00,  // Code for char (
        0x04, 0x00, 0x00, 0x42, 0x3C, 0x00, 0x00, 0x00, 0x00,  // Code for char )
        0x07, 0x00, 0x00, 0x10, 0x54, 0x38, 0x54, 0x10, 0x00,  // Code for char *
        0x07, 0x00, 0x00, 0x10, 0x10, 0x7C, 0x10, 0x10, 0x00,  // Code for char +
        0x05, 0x00, 0x00, 0x00, 0x80, 0x60, 0x00, 0x00, 0x00,  // Code for char ,
        0x07, 0x00, 0x00, 0x10, 0x10, 0x10, 0x10, 0x10, 0x00,  // Code for char -
        0x05, 0x00, 0x00, 0x00, 0x60, 0x60, 0x00, 0x00, 0x00,  // Code for char .
        0x07, 0x00, 0x00, 0x40, 0x20, 0x10, 0x08, 0x04, 0x00,  // Code for char /
        0x07, 0x00, 0x3C, 0x62, 0x52, 0x4A, 0x46, 0x3C, 0x00,  // Code for char 0
        0x07, 0x00, 0x00, 0x44, 0x42, 0x7E, 0x40, 0x40, 0x00,  // Code for char 1
        0x07, 0x00, 0x64, 0x52, 0x52, 0x52, 0x52, 0x4C, 0x00,  // Code for char 2
        0x07, 0x00, 0x24, 0x42, 0x42, 0x4A, 0x4A, 0x34, 0x00,  // Code for char 3
        0x07, 0x00, 0x30, 0x28, 0x24, 0x7E, 0x20, 0x20, 0x00,  // Code for char 4
        0x07, 0x00, 0x2E, 0x4A, 0x4A, 0x4A, 0x4A, 0x32, 0x00,  // Code for char 5
        0x07, 0x00, 0x3C, 0x4A, 0x4A, 0x4A, 0x4A, 0x30, 0x00,  // Code for char 6
        0x07, 0x00, 0x02, 0x02, 0x62, 0x12, 0x0A, 0x06, 0x00,  // Code for char 7
        0x07, 0x00, 0x34, 0x4A, 0x4A, 0x4A, 0x4A, 0x34, 0x00,  // Code for char 8
        0x07, 0x00, 0x0C, 0x52, 0x52, 0x52, 0x52, 0x3C, 0x00,  // Code for char 9
        0x04, 0x00, 0x00, 0x00, 0x48, 0x00, 0x00, 0x00, 0x00,  // Code for char :
        0x04, 0x00, 0x00, 0x80, 0x64, 0x00, 0x00, 0x00, 0x00,  // Code for char ;
        0x06, 0x00, 0x00, 0x00, 0x10, 0x28, 0x44, 0x00, 0x00,  // Code for char <
        0x07, 0x00, 0x00, 0x28, 0x28, 0x28, 0x28, 0x28, 0x00,  // Code for char =
        0x06, 0x00, 0x00, 0x00, 0x44, 0x28, 0x10, 0x00, 0x00,  // Code for char >
        0x07, 0x00, 0x04, 0x02, 0x02, 0x52, 0x0A, 0x04, 0x00,  // Code for char ?
        0x07, 0x00, 0x3C, 0x42, 0x5A, 0x56, 0x5A, 0x1C, 0x00,  // Code for char @
        0x07, 0x00, 0x7C, 0x12, 0x12, 0x12, 0x12, 0x7C, 0x00,  // Code for char A
        0x07, 0x00, 0x7E, 0x4A, 0x4A, 0x4A, 0x4A, 0x34, 0x00,  // Code for char B
        0x07, 0x00, 0x3C, 0x42, 0x42, 0x42, 0x42, 0x24, 0x00,  // Code for char C
        0x07, 0x00, 0x7E, 0x42, 0x42, 0x42, 0x24, 0x18, 0x00,  // Code for char D
        0x07, 0x00, 0x7E, 0x4A, 0x4A, 0x4A, 0x4A, 0x42, 0x00,  // Code for char E
        0x07, 0x00, 0x7E, 0x0A, 0x0A, 0x0A, 0x0A, 0x02, 0x00,  // Code for char F
        0x07, 0x00, 0x3C, 0x42, 0x42, 0x52, 0x52, 0x34, 0x00,  // Code for char G
        0x07, 0x00, 0x7E, 0x08, 0x08, 0x08, 0x08, 0x7E, 0x00,  // Code for char H
        0x07, 0x00, 0x00, 0x42, 0x42, 0x7E, 0x42, 0x42, 0x00,  // Code for char I
        0x07, 0x00, 0x30, 0x40, 0x40, 0x40, 0x40, 0x3E, 0x00,  // Code for char J
        0x07, 0x00, 0x7E, 0x08, 0x08, 0x14, 0x22, 0x40, 0x00,  // Code for char K
        0x07, 0x00, 0x7E, 0x40, 0x40, 0x40, 0x40, 0x40, 0x00,  // Code for char L
        0x07, 0x00, 0x7E, 0x04, 0x08, 0x08, 0x04, 0x7E, 0x00,  // Code for char M
        0x07, 0x00, 0x7E, 0x04, 0x08, 0x10, 0x20, 0x7E, 0x00,  // Code for char N
        0x07, 0x00, 0x3C, 0x42, 0x42, 0x42, 0x42, 0x3C, 0x00,  // Code for char O
        0x07, 0x00, 0x7E, 0x12, 0x12, 0x12, 0x12, 0x0C, 0x00,  // Code for char P
        0x07, 0x00, 0x3C, 0x42, 0x52, 0x62, 0x42, 0x3C, 0x00,  // Code for char Q
        0x07, 0x00, 0x7E, 0x12, 0x12, 0x12, 0x32, 0x4C, 0x00,  // Code for char R
        0x07, 0x00, 0x24, 0x4A, 0x4A, 0x4A, 0x4A, 0x30, 0x00,  // Code for char S
        0x07, 0x02, 0x02, 0x02, 0x7E, 0x02, 0x02, 0x02, 0x00,  // Code for char T
        0x07, 0x00, 0x3E, 0x40, 0x40, 0x40, 0x40, 0x3E, 0x00,  // Code for char U
        0x07, 0x00, 0x1E, 0x20, 0x40, 0x40, 0x20, 0x1E, 0x00,  // Code for char V
        0x07, 0x00, 0x3E, 0x40, 0x20, 0x20, 0x40, 0x3E, 0x00,  // Code for char W
        0x07, 0x00, 0x42, 0x24, 0x18, 0x18, 0x24, 0x42, 0x00,  // Code for char X
        0x07, 0x02, 0x04, 0x08, 0x70, 0x08, 0x04, 0x02, 0x00,  // Code for char Y
        0x07, 0x00, 0x42, 0x62, 0x52, 0x4A, 0x46, 0x42, 0x00,  // Code for char Z
        0x07, 0x00, 0x00, 0x00, 0x00, 0x7E, 0x42, 0x42, 0x00,  // Code for char [
        0x06, 0x00, 0x04, 0x08, 0x10, 0x20, 0x40, 0x00, 0x00,  // Code for char BackSlash
        0x04, 0x00, 0x42, 0x42, 0x7E, 0x00, 0x00, 0x00, 0x00,  // Code for char ]
        0x06, 0x00, 0x04, 0x02, 0x7F, 0x02, 0x04, 0x00, 0x00,  // Code for char ^
        0x08, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80,  // Code for char _
        0x07, 0x00, 0x48, 0x7C, 0x4A, 0x4A, 0x42, 0x44, 0x00,  // Code for char `
        0x06, 0x00, 0x20, 0x54, 0x54, 0x54, 0x78, 0x00, 0x00,  // Code for char a
        0x07, 0x00, 0x00, 0x7E, 0x48, 0x48, 0x48, 0x30, 0x00,  // Code for char b
        0x06, 0x00, 0x00, 0x38, 0x44, 0x44, 0x44, 0x00, 0x00,  // Code for char c
        0x06, 0x00, 0x30, 0x48, 0x48, 0x48, 0x7E, 0x00, 0x00,  // Code for char d
        0x06, 0x00, 0x38, 0x54, 0x54, 0x54, 0x48, 0x00, 0x00,  // Code for char e
        0x06, 0x00, 0x00, 0x00, 0x7C, 0x0A, 0x02, 0x00, 0x00,  // Code for char f
        0x06, 0x00, 0x18, 0xA4, 0xA4, 0xA4, 0x7C, 0x00, 0x00,  // Code for char g
        0x06, 0x00, 0x7E, 0x08, 0x08, 0x08, 0x70, 0x00, 0x00,  // Code for char h
        0x05, 0x00, 0x00, 0x48, 0x7A, 0x40, 0x00, 0x00, 0x00,  // Code for char i
        0x06, 0x00, 0x00, 0x40, 0x80, 0x80, 0x7A, 0x00, 0x00,  // Code for char j
        0x06, 0x00, 0x00, 0x7E, 0x18, 0x24, 0x40, 0x00, 0x00,  // Code for char k
        0x06, 0x00, 0x00, 0x00, 0x3E, 0x40, 0x40, 0x00, 0x00,  // Code for char l
        0x06, 0x00, 0x7C, 0x04, 0x78, 0x04, 0x78, 0x00, 0x00,  // Code for char m
        0x06, 0x00, 0x7C, 0x04, 0x04, 0x04, 0x78, 0x00, 0x00,  // Code for char n
        0x06, 0x00, 0x38, 0x44, 0x44, 0x44, 0x38, 0x00, 0x00,  // Code for char o
        0x06, 0x00, 0xFC, 0x24, 0x24, 0x24, 0x18, 0x00, 0x00,  // Code for char p
        0x07, 0x00, 0x18, 0x24, 0x24, 0x24, 0xFC, 0x80, 0x00,  // Code for char q
        0x06, 0x00, 0x00, 0x78, 0x04, 0x04, 0x04, 0x00, 0x00,  // Code for char r
        0x06, 0x00, 0x48, 0x54, 0x54, 0x54, 0x20, 0x00, 0x00,  // Code for char s
        0x06, 0x00, 0x00, 0x04, 0x3E, 0x44, 0x40, 0x00, 0x00,  // Code for char t
        0x06, 0x00, 0x3C, 0x40, 0x40, 0x40, 0x3C, 0x00, 0x00,  // Code for char u
        0x06, 0x00, 0x0C, 0x30, 0x40, 0x30, 0x0C, 0x00, 0x00,  // Code for char v
        0x06, 0x00, 0x3C, 0x40, 0x3C, 0x40, 0x3C, 0x00, 0x00,  // Code for char w
        0x06, 0x00, 0x44, 0x28, 0x10, 0x28, 0x44, 0x00, 0x00,  // Code for char x
        0x06, 0x00, 0x1C, 0xA0, 0xA0, 0xA0, 0x7C, 0x00, 0x00,  // Code for char y
        0x06, 0x00, 0x44, 0x64, 0x54, 0x4C, 0x44, 0x00, 0x00,  // Code for char z
        0x07, 0x00, 0x00, 0x08, 0x08, 0x76, 0x42, 0x42, 0x00,  // Code for char {
        0x05, 0x00, 0x00, 0x00, 0x00, 0x7E, 0x00, 0x00, 0x00,  // Code for char |
        0x06, 0x00, 0x42, 0x42, 0x76, 0x08, 0x08, 0x00, 0x00,  // Code for char }
        0x07, 0x00, 0x00, 0x00, 0x04, 0x02, 0x04, 0x02, 0x00,  // Code for char ~
        0x08, 0x3C, 0x42, 0x99, 0xA5, 0xA5, 0x81, 0x42, 0x3C   // Code for char 
        };