flipdot/flipcontrol_esp32/include/fonts.h

213 lines
6.7 KiB
C

#ifndef FONTS_H
#define FONTS_H
#include <Arduino.h>
uint8_t font_spacing=1;
const uint8_t font_normal_width=6;
const uint8_t font_offset=33;
const uint8_t font_normal_mean_width=5;
const uint8_t font_normal[94][font_normal_width]= { //minecraftia
{95,0,0,0,0,0}, // 33 !
{3,0,3,0,0,0}, // 34 "
{20,127,20,127,20,0}, // 35 #
{36,42,107,42,18,0}, // 36 $
{67,48,8,6,97,0}, // 37 %
{48,74,93,50,72,0}, // 38 &
{3,0,0,0,0,0}, // 39 '
{28,34,65,65,0,0}, // 40 (
{65,65,34,28,0,0}, // 41 )
{5,2,2,5,0,0}, // 42 *
{16,16,124,16,16,0}, // 43 +
{224,0,0,0,0,0}, // 44 ,
{16,16,16,16,16,0}, // 45 -
{96,0,0,0,0,0}, // 46 .
{64,48,8,6,1,0}, // 47 /
{62,81,73,69,62,0}, // 48 0
{64,66,127,64,64,0}, // 49 1
{98,81,73,73,70,0}, // 50 2
{34,65,73,73,54,0}, // 51 3
{24,20,18,17,127,0}, // 52 4
{39,69,69,69,57,0}, // 53 5
{60,74,73,73,48,0}, // 54 6
{3,1,113,9,7,0}, // 55 7
{54,73,73,73,54,0}, // 56 8
{6,73,73,41,30,0}, // 57 9
{102,0,0,0,0,0}, // 58 :
{230,0,0,0,0,0}, // 59 ;
{8,20,34,65,0,0}, // 60 <
{36,36,36,36,36,0}, // 61 =
{65,34,20,8,0,0}, // 62 >
{2,1,81,9,6,0}, // 63 ?
{62,65,93,93,81,94}, // 64 @
{126,5,5,5,126,0}, // 65 A
{127,69,69,69,58,0}, // 66 B
{62,65,65,65,34,0}, // 67 C
{127,65,65,65,62,0}, // 68 D
{127,69,69,65,65,0}, // 69 E
{127,5,5,1,1,0}, // 70 F
{62,65,69,69,61,0}, // 71 G
{127,4,4,4,127,0}, // 72 H
{65,127,65,0,0,0}, // 73 I
{32,64,64,64,63,0}, // 74 J
{127,4,4,10,113,0}, // 75 K
{127,64,64,64,64,0}, // 76 L
{127,2,4,2,127,0}, // 77 M
{127,2,4,8,127,0}, // 78 N
{62,65,65,65,62,0}, // 79 O
{127,5,5,5,2,0}, // 80 P
{62,65,65,33,94,0}, // 81 Q
{127,5,5,5,122,0}, // 82 R
{34,69,69,69,57,0}, // 83 S
{1,1,127,1,1,0}, // 84 T
{63,64,64,64,63,0}, // 85 U
{15,48,64,48,15,0}, // 86 V
{127,32,16,32,127,0}, // 87 W
{113,10,4,10,113,0}, // 88 X
{1,2,124,2,1,0}, // 89 Y
{97,81,73,69,67,0}, // 90 Z
{127,65,65,0,0,0}, // 91 [
{1,6,8,48,64,0}, // 92 Backslash
{65,65,127,0,0,0}, // 93 ]
{4,2,1,2,4,0}, // 94 ^
{128,128,128,128,128,0}, // 95 _
{0,1,0,0,0,0}, // 96 `
{32,84,84,84,120,0}, // 97 a
{127,72,68,68,56,0}, // 98 b
{56,68,68,68,40,0}, // 99 c
{56,68,68,72,127,0}, // 100 d
{56,84,84,84,88,0}, // 101 e
{4,126,5,5,0,0}, // 102 f
{152,164,164,164,124,0}, // 103 g
{127,8,4,4,120,0}, // 104 h
{125,0,0,0,0,0}, // 105 i
{96,128,128,128,125,0}, // 106 j
{127,16,40,68,0,0}, // 107 k
{63,64,0,0,0,0}, // 108 l
{124,4,24,4,120,0}, // 109 m
{124,4,4,4,120,0}, // 110 n
{56,68,68,68,56,0}, // 111 o
{252,40,36,36,24,0}, // 112 p
{24,36,36,40,252,0}, // 113 q
{124,8,4,4,8,0}, // 114 r
{72,84,84,84,36,0}, // 115 s
{2,63,66,0,0,0}, // 116 t
{60,64,64,64,124,0}, // 117 u
{28,32,64,32,28,0}, // 118 v
{60,64,112,64,124,0}, // 119 w
{68,40,16,40,68,0}, // 120 x
{156,160,160,160,124,0}, // 121 y
{68,100,84,76,68,0}, // 122 z
{8,54,65,65,0,0}, // 123 {
{255,0,0,0,0,0}, // 124 |
{65,65,54,8,0,0}, // 125 }
{2,1,1,2,2,1}, // 126 ~
};
const uint8_t font_large_width=9;
const uint8_t font_large_offset=33;
const uint8_t font_large_mean_width=6;
const uint16_t font_large[94][9]= {
{0,0,0,1790,0,0,0,0,0}, // 33=!
{0,0,14,0,14,0,0,0,0}, // 34="
{0,272,2044,272,272,2044,272,0,0}, // 35=#
{0,796,1058,3107,1058,972,0,0,0}, // 36=$
{524,274,140,64,1568,2320,1544,0,0}, // 37=%
{896,1116,1058,1122,668,896,1120,0,0}, // 38=&
{0,0,0,8,6,0,0,0,0}, // 39='
{0,0,1016,1028,2050,0,0,0,0}, // 40=(
{0,0,2050,1028,1016,0,0,0,0}, // 41=)
{0,64,336,224,224,336,64,0,0}, // 42=*
{0,64,64,496,64,64,0,0,0}, // 43=+
{0,0,0,2048,1536,0,0,0,0}, // 44=,
{0,0,64,64,64,64,0,0,0}, // 45=-
{0,0,0,1536,0,0,0,0,0}, // 46=.
{0,1536,384,96,24,6,0,0,0}, // 47=/
{0,1020,1282,1218,1074,1034,1020,0,0}, // 48=0
{0,0,16,8,4,2046,0,0,0}, // 49=1
{0,1796,1154,1090,1058,1042,1036,0,0}, // 50=2
{0,516,1026,1058,1058,1058,988,0,0}, // 51=3
{0,96,80,72,68,2046,64,0,0}, // 52=4
{0,574,1058,1058,1058,1058,962,0,0}, // 53=5
{0,1016,1060,1058,1058,1058,960,0,0}, // 54=6
{0,2,2,1922,66,34,30,0,0}, // 55=7
{0,988,1058,1058,1058,1058,988,0,0}, // 56=8
{0,540,1058,1058,1058,1058,1020,0,0}, // 57=9
{0,0,0,1584,0,0,0,0,0}, // 58=:
{0,0,0,2048,1584,0,0,0,0}, // 59=;
{0,64,160,272,520,1028,0,0,0}, // 60=<
{0,160,160,160,160,160,160,0,0}, // 61==
{0,1028,520,272,160,64,0,0,0}, // 62=>
{0,12,2,1666,66,34,28,0,0}, // 63=?
{496,520,1156,1364,1364,1508,1288,240,0}, // 64=@
{0,2044,66,66,66,66,2044,0,0}, // 65=A
{0,2046,1058,1058,1058,1058,988,0,0}, // 66=B
{0,1020,1026,1026,1026,1026,516,0,0}, // 67=C
{0,2046,1026,1026,1026,516,504,0,0}, // 68=D
{0,2046,1058,1058,1058,1026,1026,0,0}, // 69=E
{0,2046,34,34,34,2,2,0,0}, // 70=F
{0,1020,1026,1026,1090,1090,964,0,0}, // 71=G
{0,2046,32,32,32,32,2046,0,0}, // 72=H
{0,1026,1026,2046,1026,1026,0,0,0}, // 73=I
{0,768,1024,1024,1024,1024,1022,0,0}, // 74=J
{0,2046,32,32,80,136,1798,0,0}, // 75=K
{0,2046,1024,1024,1024,1024,1024,0,0}, // 76=L
{2046,4,8,48,8,4,2046,0,0}, // 77=M
{0,2046,4,8,16,32,2046,0,0}, // 78=N
{0,1020,1026,1026,1026,1026,1020,0,0}, // 79=O
{0,2046,34,34,34,34,28,0,0}, // 80=P
{0,1020,1026,1026,1282,1538,4092,0,0}, // 81=Q
{0,2046,34,34,34,98,1948,0,0}, // 82=R
{0,524,1042,1058,1058,1090,900,0,0}, // 83=S
{2,2,2,2046,2,2,2,0,0}, // 84=T
{0,1022,1024,1024,1024,1024,1022,0,0}, // 85=U
{30,96,384,1536,384,96,30,0,0}, // 86=V
{2046,512,256,224,256,512,2046,0,0}, // 87=W
{0,1806,144,96,96,144,1806,0,0}, // 88=X
{6,24,32,1984,32,24,6,0,0}, // 89=Y
{0,1794,1154,1090,1058,1042,1038,0,0}, // 90=Z
{0,0,4094,2050,2050,0,0,0,0}, // 91=[
{0,6,24,96,384,1536,0,0,0}, // 92=Backslash
{0,0,2050,2050,4094,0,0,0,0}, // 93=]
{0,4,2,1,2,4,0,0,0}, // 94=^
{0,4096,4096,4096,4096,4096,4096,0,0}, // 95=_
{0,0,0,6,8,0,0,0,0}, // 96=`
{0,896,1104,1104,1104,1104,2016,0,0}, // 97=a
{0,2046,1040,1040,1040,1040,992,0,0}, // 98=b
{0,992,1040,1040,1040,1040,544,0,0}, // 99=c
{0,992,1040,1040,1040,1040,2046,0,0}, // 100=d
{0,992,1168,1168,1168,1168,736,0,0}, // 101=e
{0,32,2044,34,34,2,4,0,0}, // 102=f
{0,5088,9232,9232,9232,8720,8160,0,0}, // 103=g
{0,2046,16,16,16,16,2016,0,0}, // 104=h
{0,1040,1040,2036,1024,1024,0,0,0}, // 105=i
{0,6144,8192,8192,8192,8180,0,0,0}, // 106=j
{0,2046,128,128,128,320,1584,0,0}, // 107=k
{0,1026,1026,2046,1024,1024,0,0,0}, // 108=l
{2032,16,16,992,16,16,2016,0,0}, // 109=m
{0,2032,16,16,16,16,2016,0,0}, // 110=n
{0,992,1040,1040,1040,1040,992,0,0}, // 111=o
{0,16368,1040,1040,1040,1040,992,0,0}, // 112=p
{0,992,1040,1040,1040,1040,16368,0,0}, // 113=q
{0,2032,32,16,16,16,0,0,0}, // 114=r
{0,608,1168,1168,1168,1168,800,0,0}, // 115=s
{0,16,16,1020,1040,1040,0,0,0}, // 116=t
{0,1008,1024,1024,1024,1024,2032,0,0}, // 117=u
{48,192,768,1024,768,192,48,0,0}, // 118=v
{1008,1024,512,448,512,1024,1008,0,0}, // 119=w
{1040,544,320,128,320,544,1040,0,0}, // 120=x
{0,9200,9216,9216,9216,4608,4080,0,0}, // 121=y
{0,1552,1296,1168,1104,1072,1040,0,0}, // 122=z
{0,64,64,1980,2050,2050,0,0,0}, // 123={
{0,0,0,2014,0,0,0,0,0}, // 124=|
{0,2050,2050,1980,64,64,0,0,0}, // 125=}
{0,4,2,2,4,4,2,0,0}, // 126=~
};
#endif