Skip to content

Commit 9d98d45

Browse files
committed
prepare first release
1 parent 51643b3 commit 9d98d45

8 files changed

+1740
-1657
lines changed

examples/adaUnicodeShim/adaUnicodeShim.ino

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
#include <Adafruit_ILI9341.h>
44
#include <SPI.h>
55
#include <Wire.h>
6-
#include <Fonts/FreeSans12pt7b.h>
76
#include <Fonts/RobotoMedium24.h>
87
#include "Fonts/OpenSansCyrillicLatin18.h"
98

@@ -30,7 +29,7 @@ int baselineTcUni = 0;
3029
const char helloText[] PROGMEM = "hello world";
3130
const char helloUkraine[] PROGMEM = "Привіт Світ";
3231

33-
const GFXfont* adaFontToUse = &FreeSans12pt7b;
32+
const GFXfont* adaFontToUse = &RobotoMedium24;
3433
const UnicodeFont* unicodeFontTouse = OpenSansCyrillicLatin18;
3534

3635
void setup() {

library.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
}
1515
],
1616
"dependencies": [],
17-
"version": "0.0.1",
17+
"version": "0.1.0",
1818
"license": "Apache-2.0",
1919
"frameworks": "arduino,mbed",
2020
"platforms": "*"

src/Fonts/OpenSansCyrillicLatin12.h

Lines changed: 640 additions & 696 deletions
Large diffs are not rendered by default.

src/Fonts/OpenSansCyrillicLatin18.h

Lines changed: 819 additions & 854 deletions
Large diffs are not rendered by default.

src/Fonts/RobotoMedium18.h

Lines changed: 169 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,169 @@
1+
// Font file generated by theCodersCorner.com Font Generator
2+
// Approximate font size: 1926 bytes
3+
4+
const uint8_t RobotoMedium18Bitmaps[] PROGMEM = {
5+
0xff,0xff,0xd2,0x40,0x7e,0x99,0x99,0x90,0x09,0x86,0x41,0x90,0x4c,0x7f,0xc4,0x83,0x20,0xc8,0xff,0x89,
6+
0x82,0x61,0x90,0x64,0x00,0x08,0x08,0x3c,0x7e,0xe7,0xc3,0xe0,0x70,0x3e,0x0f,0x03,0xc3,0xc3,0xff,0x3e,
7+
0x18,0x18,0x70,0x1b,0x12,0x26,0x44,0x8d,0xa0,0xec,0x01,0x00,0x6e,0x0b,0x22,0x44,0xc8,0x91,0x90,0x1c,
8+
0x3c,0x0f,0xc1,0x8c,0x31,0x87,0x60,0x78,0x0e,0x03,0x66,0xc6,0xd8,0xf3,0x8e,0x3f,0xc3,0xee,0xf8,0x08,
9+
0x8c,0xc6,0x63,0x18,0xc6,0x31,0x8c,0x31,0x86,0x10,0x40,0x82,0x18,0x63,0x0c,0x63,0x18,0xc6,0x31,0x98,
10+
0xcc,0x44,0x00,0x18,0x18,0x5a,0xff,0x18,0x3c,0x66,0x24,0x18,0x18,0x18,0x18,0xff,0xff,0x18,0x18,0x18,
11+
0x18,0x6d,0xbc,0xff,0xfc,0x06,0x08,0x30,0x41,0x83,0x04,0x18,0x30,0x41,0x83,0x04,0x18,0x00,0x3c,0x7e,
12+
0xe7,0xc3,0xc3,0xc3,0xc3,0xc3,0xc3,0xc3,0xe7,0x7e,0x3c,0x0c,0xff,0xf3,0x0c,0x30,0xc3,0x0c,0x30,0xc3,
13+
0x0c,0x3c,0x7e,0xc7,0xc3,0x03,0x06,0x0e,0x0c,0x18,0x30,0x60,0xff,0xff,0x3c,0x7e,0xc7,0xc3,0x07,0x3e,
14+
0x3e,0x07,0x03,0xc3,0xc7,0xfe,0x3c,0x03,0x01,0xc0,0xf0,0x3c,0x1b,0x0c,0xc3,0x31,0x8c,0xff,0xff,0xf0,
15+
0x30,0x0c,0x03,0x00,0x7f,0x7f,0x60,0x60,0x7e,0x7f,0xc7,0x03,0x03,0xc3,0xe3,0x7f,0x3c,0x1c,0x3c,0x70,
16+
0x60,0xde,0xff,0xe7,0xc3,0xc3,0xc3,0xe3,0x7e,0x3c,0xff,0xff,0x03,0x03,0x06,0x06,0x0c,0x0c,0x18,0x18,
17+
0x30,0x30,0x70,0x3c,0x7e,0xe7,0xc3,0xe7,0x7e,0x7e,0xe7,0xc3,0xc3,0xe7,0x7e,0x3c,0x3c,0x7e,0xe7,0xc3,
18+
0xc3,0xc3,0xe7,0xff,0x3b,0x06,0x0e,0x3c,0x38,0xfc,0x00,0x07,0xe0,0x77,0x00,0x00,0x06,0x66,0x6c,0x02,
19+
0x3d,0xf7,0x0e,0x0f,0x07,0x83,0xff,0xff,0x00,0x00,0xff,0xff,0x81,0xc1,0xf0,0x70,0xe7,0xbc,0x60,0x7d,
20+
0xff,0x18,0x30,0x61,0x86,0x1c,0x30,0x00,0x01,0x83,0x00,0x07,0xc0,0x60,0xc3,0x01,0x98,0x02,0x43,0xcf,
21+
0x19,0x1c,0xc4,0x63,0x31,0x88,0xc6,0x23,0x18,0x8c,0x73,0x32,0xc7,0x71,0x00,0x06,0x00,0x0c,0x10,0x0f,
22+
0xc0,0x06,0x00,0xf0,0x0f,0x00,0xf0,0x19,0x81,0x98,0x19,0x83,0x0c,0x3f,0xc7,0xfe,0x60,0x66,0x06,0xe0,
23+
0x70,0xfe,0x7f,0xb0,0xf8,0x3c,0x3f,0xfb,0xfd,0x87,0xc1,0xe0,0xf0,0xff,0xff,0xe0,0x1f,0x0f,0xe7,0x1f,
24+
0x83,0xc0,0xf0,0x0c,0x03,0x00,0xc0,0xf8,0x37,0x1c,0xfe,0x1f,0x00,0xfe,0x3f,0xce,0x3b,0x86,0xe0,0xf8,
25+
0x3e,0x0f,0x83,0xe0,0xf8,0x6e,0x3b,0xfc,0xfe,0x00,0xff,0xff,0xf8,0x1c,0x0e,0x07,0xfb,0xfd,0xc0,0xe0,
26+
0x70,0x38,0x1f,0xff,0xf8,0xff,0xff,0xe0,0xe0,0xe0,0xe0,0xff,0xff,0xe0,0xe0,0xe0,0xe0,0xe0,0x1e,0x1f,
27+
0xe6,0x1b,0x83,0xc0,0x30,0x0c,0x7f,0x1f,0xc0,0xf8,0x37,0x0d,0xff,0x1f,0x00,0xe0,0xf8,0x3e,0x0f,0x83,
28+
0xe0,0xff,0xff,0xff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0x76,0x19,0xfe,0x1e,0x00,
39+
0xe0,0x76,0x06,0x70,0xe3,0x0c,0x30,0xc3,0x9c,0x19,0x81,0x98,0x19,0x80,0xf0,0x0f,0x00,0xf0,0x06,0x00,
40+
0xe1,0x87,0x61,0x86,0x61,0xc6,0x63,0xc6,0x33,0xce,0x33,0x4c,0x32,0x6c,0x36,0x6c,0x36,0x6c,0x1e,0x38,
41+
0x1c,0x38,0x1c,0x38,0x1c,0x38,0xe0,0xee,0x18,0xc6,0x0d,0xc1,0xf0,0x1e,0x03,0x80,0x78,0x1f,0x07,0x70,
42+
0xc7,0x38,0x6e,0x0e,0xe0,0xec,0x19,0xc7,0x18,0xc3,0xb8,0x36,0x07,0x80,0x70,0x0e,0x01,0xc0,0x38,0x07,
43+
0x00,0xe0,0xff,0xff,0xc0,0xc0,0xe0,0x60,0x60,0x70,0x70,0x30,0x30,0x38,0x1f,0xff,0xf8,0xff,0xcc,0xcc,
44+
0xcc,0xcc,0xcc,0xcc,0xcc,0xff,0xc0,0x60,0x60,0x30,0x30,0x30,0x18,0x18,0x1c,0x0c,0x0c,0x06,0x06,0x07,
45+
0xff,0x33,0x33,0x33,0x33,0x33,0x33,0x33,0xff,0x30,0xc7,0x9e,0xcf,0x30,0xff,0xff,0xe1,0x8e,0x3c,0x7e,
46+
0xe7,0x03,0x3f,0xff,0xc3,0xc7,0xff,0x7b,0xc0,0xc0,0xc0,0xc0,0xdc,0xff,0xe7,0xc3,0xc3,0xc3,0xc3,0xe7,
47+
0xfe,0xde,0x1e,0x3f,0x98,0xcc,0x3e,0x07,0x01,0x80,0xc7,0x7f,0x0f,0x00,0x03,0x03,0x03,0x03,0x3b,0x7f,
48+
0xe7,0xc3,0xc3,0xc3,0xc3,0xe7,0x7f,0x3b,0x3c,0x7e,0xe3,0xc3,0xff,0xff,0xc0,0xe2,0x7f,0x3e,0x1c,0xf3,
49+
0x0c,0xff,0xf3,0x0c,0x30,0xc3,0x0c,0x30,0xc0,0x3b,0x7f,0xe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+
0x38,0x1c,0x0e,0x06,0x03,0x07,0x83,0x80,0xff,0xfc,0x38,0xe1,0x86,0x1c,0x70,0xff,0xfc,0x08,0x73,0x0c,
61+
0x30,0xc3,0x0c,0xe3,0x83,0x0c,0x30,0xc3,0x06,0x0c,0xff,0xfe,0xc1,0x87,0x0c,0x30,0xc3,0x0c,0x1c,0x73,
62+
0x0c,0x30,0xc3,0x18,0xc0,0x78,0xdf,0x3c,0xfb,0x1e
63+
};
64+
65+
const GFXglyph RobotoMedium18Glyphs[] PROGMEM = {
66+
{ 0, 0, 0, 4, 0, -17 } /* [ ] 32 */,
67+
{ 0, 3, 13, 5, 1, -14 } /* [!] 33 */,
68+
{ 5, 4, 5, 6, 1, -15 } /* ["] 34 */,
69+
{ 8, 10, 13, 11, 1, -14 } /* [#] 35 */,
70+
{ 25, 8, 17, 10, 1, -16 } /* [$] 36 */,
71+
{ 42, 11, 13, 13, 1, -14 } /* [%] 37 */,
72+
{ 60, 11, 13, 12, 1, -14 } /* [&] 38 */,
73+
{ 78, 1, 5, 3, 1, -15 } /* ['] 39 */,
74+
{ 79, 5, 18, 6, 1, -15 } /* [(] 40 */,
75+
{ 91, 5, 18, 6, 0, -15 } /* [)] 41 */,
76+
{ 103, 8, 8, 8, 0, -14 } /* [*] 42 */,
77+
{ 111, 8, 10, 10, 1, -12 } /* [+] 43 */,
78+
{ 121, 3, 5, 4, 0, -3 } /* [,] 44 */,
79+
{ 123, 4, 2, 6, 1, -7 } /* [-] 45 */,
80+
{ 124, 3, 2, 5, 1, -3 } /* [.] 46 */,
81+
{ 125, 7, 14, 7, 0, -14 } /* [/] 47 */,
82+
{ 138, 8, 13, 10, 1, -14 } /* [0] 48 */,
83+
{ 151, 6, 13, 10, 1, -14 } /* [1] 49 */,
84+
{ 161, 8, 13, 10, 1, -14 } /* [2] 50 */,
85+
{ 174, 8, 13, 10, 1, -14 } /* [3] 51 */,
86+
{ 187, 10, 13, 10, 0, -14 } /* [4] 52 */,
87+
{ 204, 8, 13, 10, 1, -14 } /* [5] 53 */,
88+
{ 217, 8, 13, 10, 1, -14 } /* [6] 54 */,
89+
{ 230, 8, 13, 10, 1, -14 } /* [7] 55 */,
90+
{ 243, 8, 13, 10, 1, -14 } /* [8] 56 */,
91+
{ 256, 8, 13, 10, 1, -14 } /* [9] 57 */,
92+
{ 269, 3, 9, 5, 1, -10 } /* [:] 58 */,
93+
{ 273, 4, 12, 4, 0, -10 } /* [;] 59 */,
94+
{ 279, 7, 8, 9, 1, -11 } /* [<] 60 */,
95+
{ 286, 8, 6, 10, 1, -10 } /* [=] 61 */,
96+
{ 292, 7, 8, 9, 1, -11 } /* [>] 62 */,
97+
{ 299, 7, 13, 9, 1, -14 } /* [?] 63 */,
98+
{ 311, 14, 17, 16, 1, -14 } /* [@] 64 */,
99+
{ 341, 12, 13, 12, 0, -14 } /* [A] 65 */,
100+
{ 361, 9, 13, 11, 1, -14 } /* [B] 66 */,
101+
{ 376, 10, 13, 12, 1, -14 } /* [C] 67 */,
102+
{ 393, 10, 13, 12, 1, -14 } /* [D] 68 */,
103+
{ 410, 9, 13, 10, 1, -14 } /* [E] 69 */,
104+
{ 425, 8, 13, 10, 1, -14 } /* [F] 70 */,
105+
{ 438, 10, 13, 12, 1, -14 } /* [G] 71 */,
106+
{ 455, 10, 13, 13, 1, -14 } /* [H] 72 */,
107+
{ 472, 3, 13, 5, 1, -14 } /* [I] 73 */,
108+
{ 477, 9, 13, 10, 0, -14 } /* [J] 74 */,
109+
{ 492, 10, 13, 11, 1, -14 } /* [K] 75 */,
110+
{ 509, 8, 13, 10, 1, -14 } /* [L] 76 */,
111+
{ 522, 13, 13, 16, 1, -14 } /* [M] 77 */,
112+
{ 544, 11, 13, 13, 1, -14 } /* [N] 78 */,
113+
{ 562, 10, 13, 12, 1, -14 } /* [O] 79 */,
114+
{ 579, 9, 13, 12, 2, -14 } /* [P] 80 */,
115+
{ 594, 10, 15, 12, 1, -14 } /* [Q] 81 */,
116+
{ 613, 10, 13, 11, 1, -14 } /* [R] 82 */,
117+
{ 630, 9, 13, 11, 1, -14 } /* [S] 83 */,
118+
{ 645, 11, 13, 11, 0, -14 } /* [T] 84 */,
119+
{ 663, 10, 13, 12, 1, -14 } /* [U] 85 */,
120+
{ 680, 12, 13, 12, 0, -14 } /* [V] 86 */,
121+
{ 700, 16, 13, 16, 0, -14 } /* [W] 87 */,
122+
{ 726, 11, 13, 11, 0, -14 } /* [X] 88 */,
123+
{ 744, 11, 13, 11, 0, -14 } /* [Y] 89 */,
124+
{ 762, 9, 13, 11, 1, -14 } /* [Z] 90 */,
125+
{ 777, 4, 18, 5, 1, -16 } /* [[] 91 */,
126+
{ 786, 8, 14, 8, 0, -14 } /* [\] 92 */,
127+
{ 800, 4, 18, 5, 0, -16 } /* []] 93 */,
128+
{ 809, 6, 6, 8, 1, -14 } /* [^] 94 */,
129+
{ 814, 8, 2, 8, 0, -1 } /* [_] 95 */,
130+
{ 816, 5, 3, 6, 0, -15 } /* [`] 96 */,
131+
{ 818, 8, 10, 10, 1, -11 } /* [a] 97 */,
132+
{ 828, 8, 14, 10, 1, -15 } /* [b] 98 */,
133+
{ 842, 9, 10, 9, 0, -11 } /* [c] 99 */,
134+
{ 854, 8, 14, 10, 1, -15 } /* [d] 100 */,
135+
{ 868, 8, 10, 10, 1, -11 } /* [e] 101 */,
136+
{ 878, 6, 14, 6, 0, -15 } /* [f] 102 */,
137+
{ 889, 8, 14, 10, 1, -11 } /* [g] 103 */,
138+
{ 903, 8, 14, 10, 1, -15 } /* [h] 104 */,
139+
{ 917, 3, 13, 5, 1, -14 } /* [i] 105 */,
140+
{ 922, 4, 17, 5, 0, -14 } /* [j] 106 */,
141+
{ 931, 8, 14, 9, 1, -15 } /* [k] 107 */,
142+
{ 945, 2, 14, 5, 1, -15 } /* [l] 108 */,
143+
{ 949, 14, 10, 16, 1, -11 } /* [m] 109 */,
144+
{ 967, 8, 10, 10, 1, -11 } /* [n] 110 */,
145+
{ 977, 8, 10, 10, 1, -11 } /* [o] 111 */,
146+
{ 987, 8, 14, 10, 1, -11 } /* [p] 112 */,
147+
{ 1001, 8, 14, 10, 1, -11 } /* [q] 113 */,
148+
{ 1015, 5, 10, 6, 1, -11 } /* [r] 114 */,
149+
{ 1022, 8, 10, 9, 0, -11 } /* [s] 115 */,
150+
{ 1032, 6, 12, 6, 0, -13 } /* [t] 116 */,
151+
{ 1041, 8, 10, 10, 1, -11 } /* [u] 117 */,
152+
{ 1051, 9, 10, 9, 0, -11 } /* [v] 118 */,
153+
{ 1063, 13, 10, 13, 0, -11 } /* [w] 119 */,
154+
{ 1080, 9, 10, 9, 0, -11 } /* [x] 120 */,
155+
{ 1092, 9, 14, 9, 0, -11 } /* [y] 121 */,
156+
{ 1108, 7, 10, 9, 1, -11 } /* [z] 122 */,
157+
{ 1117, 6, 17, 6, 0, -15 } /* [{] 123 */,
158+
{ 1130, 1, 15, 5, 2, -14 } /* [|] 124 */,
159+
{ 1132, 6, 17, 6, 0, -15 } /* [}] 125 */,
160+
{ 1145, 10, 4, 12, 1, -8 } /* [~] 126 */
161+
};
162+
163+
const GFXfont RobotoMedium18 PROGMEM = {
164+
(uint8_t*)RobotoMedium18Bitmaps,
165+
(GFXglyph*)RobotoMedium18Glyphs,
166+
32, 126,
167+
17
168+
};
169+

0 commit comments

Comments
 (0)