Skip to content

Commit

Permalink
prepare first release
Browse files Browse the repository at this point in the history
  • Loading branch information
davetcc committed Dec 30, 2022
1 parent 51643b3 commit 9d98d45
Show file tree
Hide file tree
Showing 8 changed files with 1,740 additions and 1,657 deletions.
3 changes: 1 addition & 2 deletions examples/adaUnicodeShim/adaUnicodeShim.ino
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
#include <Adafruit_ILI9341.h>
#include <SPI.h>
#include <Wire.h>
#include <Fonts/FreeSans12pt7b.h>
#include <Fonts/RobotoMedium24.h>
#include "Fonts/OpenSansCyrillicLatin18.h"

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

const GFXfont* adaFontToUse = &FreeSans12pt7b;
const GFXfont* adaFontToUse = &RobotoMedium24;
const UnicodeFont* unicodeFontTouse = OpenSansCyrillicLatin18;

void setup() {
Expand Down
2 changes: 1 addition & 1 deletion library.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
}
],
"dependencies": [],
"version": "0.0.1",
"version": "0.1.0",
"license": "Apache-2.0",
"frameworks": "arduino,mbed",
"platforms": "*"
Expand Down
1,336 changes: 640 additions & 696 deletions src/Fonts/OpenSansCyrillicLatin12.h

Large diffs are not rendered by default.

1,673 changes: 819 additions & 854 deletions src/Fonts/OpenSansCyrillicLatin18.h

Large diffs are not rendered by default.

169 changes: 169 additions & 0 deletions src/Fonts/RobotoMedium18.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,169 @@
// Font file generated by theCodersCorner.com Font Generator
// Approximate font size: 1926 bytes

const uint8_t RobotoMedium18Bitmaps[] PROGMEM = {
0xff,0xff,0xd2,0x40,0x7e,0x99,0x99,0x90,0x09,0x86,0x41,0x90,0x4c,0x7f,0xc4,0x83,0x20,0xc8,0xff,0x89,
0x82,0x61,0x90,0x64,0x00,0x08,0x08,0x3c,0x7e,0xe7,0xc3,0xe0,0x70,0x3e,0x0f,0x03,0xc3,0xc3,0xff,0x3e,
0x18,0x18,0x70,0x1b,0x12,0x26,0x44,0x8d,0xa0,0xec,0x01,0x00,0x6e,0x0b,0x22,0x44,0xc8,0x91,0x90,0x1c,
0x3c,0x0f,0xc1,0x8c,0x31,0x87,0x60,0x78,0x0e,0x03,0x66,0xc6,0xd8,0xf3,0x8e,0x3f,0xc3,0xee,0xf8,0x08,
0x8c,0xc6,0x63,0x18,0xc6,0x31,0x8c,0x31,0x86,0x10,0x40,0x82,0x18,0x63,0x0c,0x63,0x18,0xc6,0x31,0x98,
0xcc,0x44,0x00,0x18,0x18,0x5a,0xff,0x18,0x3c,0x66,0x24,0x18,0x18,0x18,0x18,0xff,0xff,0x18,0x18,0x18,
0x18,0x6d,0xbc,0xff,0xfc,0x06,0x08,0x30,0x41,0x83,0x04,0x18,0x30,0x41,0x83,0x04,0x18,0x00,0x3c,0x7e,
0xe7,0xc3,0xc3,0xc3,0xc3,0xc3,0xc3,0xc3,0xe7,0x7e,0x3c,0x0c,0xff,0xf3,0x0c,0x30,0xc3,0x0c,0x30,0xc3,
0x0c,0x3c,0x7e,0xc7,0xc3,0x03,0x06,0x0e,0x0c,0x18,0x30,0x60,0xff,0xff,0x3c,0x7e,0xc7,0xc3,0x07,0x3e,
0x3e,0x07,0x03,0xc3,0xc7,0xfe,0x3c,0x03,0x01,0xc0,0xf0,0x3c,0x1b,0x0c,0xc3,0x31,0x8c,0xff,0xff,0xf0,
0x30,0x0c,0x03,0x00,0x7f,0x7f,0x60,0x60,0x7e,0x7f,0xc7,0x03,0x03,0xc3,0xe3,0x7f,0x3c,0x1c,0x3c,0x70,
0x60,0xde,0xff,0xe7,0xc3,0xc3,0xc3,0xe3,0x7e,0x3c,0xff,0xff,0x03,0x03,0x06,0x06,0x0c,0x0c,0x18,0x18,
0x30,0x30,0x70,0x3c,0x7e,0xe7,0xc3,0xe7,0x7e,0x7e,0xe7,0xc3,0xc3,0xe7,0x7e,0x3c,0x3c,0x7e,0xe7,0xc3,
0xc3,0xc3,0xe7,0xff,0x3b,0x06,0x0e,0x3c,0x38,0xfc,0x00,0x07,0xe0,0x77,0x00,0x00,0x06,0x66,0x6c,0x02,
0x3d,0xf7,0x0e,0x0f,0x07,0x83,0xff,0xff,0x00,0x00,0xff,0xff,0x81,0xc1,0xf0,0x70,0xe7,0xbc,0x60,0x7d,
0xff,0x18,0x30,0x61,0x86,0x1c,0x30,0x00,0x01,0x83,0x00,0x07,0xc0,0x60,0xc3,0x01,0x98,0x02,0x43,0xcf,
0x19,0x1c,0xc4,0x63,0x31,0x88,0xc6,0x23,0x18,0x8c,0x73,0x32,0xc7,0x71,0x00,0x06,0x00,0x0c,0x10,0x0f,
0xc0,0x06,0x00,0xf0,0x0f,0x00,0xf0,0x19,0x81,0x98,0x19,0x83,0x0c,0x3f,0xc7,0xfe,0x60,0x66,0x06,0xe0,
0x70,0xfe,0x7f,0xb0,0xf8,0x3c,0x3f,0xfb,0xfd,0x87,0xc1,0xe0,0xf0,0xff,0xff,0xe0,0x1f,0x0f,0xe7,0x1f,
0x83,0xc0,0xf0,0x0c,0x03,0x00,0xc0,0xf8,0x37,0x1c,0xfe,0x1f,0x00,0xfe,0x3f,0xce,0x3b,0x86,0xe0,0xf8,
0x3e,0x0f,0x83,0xe0,0xf8,0x6e,0x3b,0xfc,0xfe,0x00,0xff,0xff,0xf8,0x1c,0x0e,0x07,0xfb,0xfd,0xc0,0xe0,
0x70,0x38,0x1f,0xff,0xf8,0xff,0xff,0xe0,0xe0,0xe0,0xe0,0xff,0xff,0xe0,0xe0,0xe0,0xe0,0xe0,0x1e,0x1f,
0xe6,0x1b,0x83,0xc0,0x30,0x0c,0x7f,0x1f,0xc0,0xf8,0x37,0x0d,0xff,0x1f,0x00,0xe0,0xf8,0x3e,0x0f,0x83,
0xe0,0xff,0xff,0xff,0x83,0xe0,0xf8,0x3e,0x0f,0x83,0xe0,0xc0,0xff,0xff,0xff,0xff,0xfe,0x01,0x80,0xc0,
0x60,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x1c,0x73,
0x0c,0x30,0xc3,0x18,0xc0,0x78,0xdf,0x3c,0xfb,0x1e
};

const GFXglyph RobotoMedium18Glyphs[] PROGMEM = {
{ 0, 0, 0, 4, 0, -17 } /* [ ] 32 */,
{ 0, 3, 13, 5, 1, -14 } /* [!] 33 */,
{ 5, 4, 5, 6, 1, -15 } /* ["] 34 */,
{ 8, 10, 13, 11, 1, -14 } /* [#] 35 */,
{ 25, 8, 17, 10, 1, -16 } /* [$] 36 */,
{ 42, 11, 13, 13, 1, -14 } /* [%] 37 */,
{ 60, 11, 13, 12, 1, -14 } /* [&] 38 */,
{ 78, 1, 5, 3, 1, -15 } /* ['] 39 */,
{ 79, 5, 18, 6, 1, -15 } /* [(] 40 */,
{ 91, 5, 18, 6, 0, -15 } /* [)] 41 */,
{ 103, 8, 8, 8, 0, -14 } /* [*] 42 */,
{ 111, 8, 10, 10, 1, -12 } /* [+] 43 */,
{ 121, 3, 5, 4, 0, -3 } /* [,] 44 */,
{ 123, 4, 2, 6, 1, -7 } /* [-] 45 */,
{ 124, 3, 2, 5, 1, -3 } /* [.] 46 */,
{ 125, 7, 14, 7, 0, -14 } /* [/] 47 */,
{ 138, 8, 13, 10, 1, -14 } /* [0] 48 */,
{ 151, 6, 13, 10, 1, -14 } /* [1] 49 */,
{ 161, 8, 13, 10, 1, -14 } /* [2] 50 */,
{ 174, 8, 13, 10, 1, -14 } /* [3] 51 */,
{ 187, 10, 13, 10, 0, -14 } /* [4] 52 */,
{ 204, 8, 13, 10, 1, -14 } /* [5] 53 */,
{ 217, 8, 13, 10, 1, -14 } /* [6] 54 */,
{ 230, 8, 13, 10, 1, -14 } /* [7] 55 */,
{ 243, 8, 13, 10, 1, -14 } /* [8] 56 */,
{ 256, 8, 13, 10, 1, -14 } /* [9] 57 */,
{ 269, 3, 9, 5, 1, -10 } /* [:] 58 */,
{ 273, 4, 12, 4, 0, -10 } /* [;] 59 */,
{ 279, 7, 8, 9, 1, -11 } /* [<] 60 */,
{ 286, 8, 6, 10, 1, -10 } /* [=] 61 */,
{ 292, 7, 8, 9, 1, -11 } /* [>] 62 */,
{ 299, 7, 13, 9, 1, -14 } /* [?] 63 */,
{ 311, 14, 17, 16, 1, -14 } /* [@] 64 */,
{ 341, 12, 13, 12, 0, -14 } /* [A] 65 */,
{ 361, 9, 13, 11, 1, -14 } /* [B] 66 */,
{ 376, 10, 13, 12, 1, -14 } /* [C] 67 */,
{ 393, 10, 13, 12, 1, -14 } /* [D] 68 */,
{ 410, 9, 13, 10, 1, -14 } /* [E] 69 */,
{ 425, 8, 13, 10, 1, -14 } /* [F] 70 */,
{ 438, 10, 13, 12, 1, -14 } /* [G] 71 */,
{ 455, 10, 13, 13, 1, -14 } /* [H] 72 */,
{ 472, 3, 13, 5, 1, -14 } /* [I] 73 */,
{ 477, 9, 13, 10, 0, -14 } /* [J] 74 */,
{ 492, 10, 13, 11, 1, -14 } /* [K] 75 */,
{ 509, 8, 13, 10, 1, -14 } /* [L] 76 */,
{ 522, 13, 13, 16, 1, -14 } /* [M] 77 */,
{ 544, 11, 13, 13, 1, -14 } /* [N] 78 */,
{ 562, 10, 13, 12, 1, -14 } /* [O] 79 */,
{ 579, 9, 13, 12, 2, -14 } /* [P] 80 */,
{ 594, 10, 15, 12, 1, -14 } /* [Q] 81 */,
{ 613, 10, 13, 11, 1, -14 } /* [R] 82 */,
{ 630, 9, 13, 11, 1, -14 } /* [S] 83 */,
{ 645, 11, 13, 11, 0, -14 } /* [T] 84 */,
{ 663, 10, 13, 12, 1, -14 } /* [U] 85 */,
{ 680, 12, 13, 12, 0, -14 } /* [V] 86 */,
{ 700, 16, 13, 16, 0, -14 } /* [W] 87 */,
{ 726, 11, 13, 11, 0, -14 } /* [X] 88 */,
{ 744, 11, 13, 11, 0, -14 } /* [Y] 89 */,
{ 762, 9, 13, 11, 1, -14 } /* [Z] 90 */,
{ 777, 4, 18, 5, 1, -16 } /* [[] 91 */,
{ 786, 8, 14, 8, 0, -14 } /* [\] 92 */,
{ 800, 4, 18, 5, 0, -16 } /* []] 93 */,
{ 809, 6, 6, 8, 1, -14 } /* [^] 94 */,
{ 814, 8, 2, 8, 0, -1 } /* [_] 95 */,
{ 816, 5, 3, 6, 0, -15 } /* [`] 96 */,
{ 818, 8, 10, 10, 1, -11 } /* [a] 97 */,
{ 828, 8, 14, 10, 1, -15 } /* [b] 98 */,
{ 842, 9, 10, 9, 0, -11 } /* [c] 99 */,
{ 854, 8, 14, 10, 1, -15 } /* [d] 100 */,
{ 868, 8, 10, 10, 1, -11 } /* [e] 101 */,
{ 878, 6, 14, 6, 0, -15 } /* [f] 102 */,
{ 889, 8, 14, 10, 1, -11 } /* [g] 103 */,
{ 903, 8, 14, 10, 1, -15 } /* [h] 104 */,
{ 917, 3, 13, 5, 1, -14 } /* [i] 105 */,
{ 922, 4, 17, 5, 0, -14 } /* [j] 106 */,
{ 931, 8, 14, 9, 1, -15 } /* [k] 107 */,
{ 945, 2, 14, 5, 1, -15 } /* [l] 108 */,
{ 949, 14, 10, 16, 1, -11 } /* [m] 109 */,
{ 967, 8, 10, 10, 1, -11 } /* [n] 110 */,
{ 977, 8, 10, 10, 1, -11 } /* [o] 111 */,
{ 987, 8, 14, 10, 1, -11 } /* [p] 112 */,
{ 1001, 8, 14, 10, 1, -11 } /* [q] 113 */,
{ 1015, 5, 10, 6, 1, -11 } /* [r] 114 */,
{ 1022, 8, 10, 9, 0, -11 } /* [s] 115 */,
{ 1032, 6, 12, 6, 0, -13 } /* [t] 116 */,
{ 1041, 8, 10, 10, 1, -11 } /* [u] 117 */,
{ 1051, 9, 10, 9, 0, -11 } /* [v] 118 */,
{ 1063, 13, 10, 13, 0, -11 } /* [w] 119 */,
{ 1080, 9, 10, 9, 0, -11 } /* [x] 120 */,
{ 1092, 9, 14, 9, 0, -11 } /* [y] 121 */,
{ 1108, 7, 10, 9, 1, -11 } /* [z] 122 */,
{ 1117, 6, 17, 6, 0, -15 } /* [{] 123 */,
{ 1130, 1, 15, 5, 2, -14 } /* [|] 124 */,
{ 1132, 6, 17, 6, 0, -15 } /* [}] 125 */,
{ 1145, 10, 4, 12, 1, -8 } /* [~] 126 */
};

const GFXfont RobotoMedium18 PROGMEM = {
(uint8_t*)RobotoMedium18Bitmaps,
(GFXglyph*)RobotoMedium18Glyphs,
32, 126,
17
};

Loading

0 comments on commit 9d98d45

Please # to comment.