|
3 | 3 | // Approximate size: 11473 bytes
|
4 | 4 | // Source file: OpenSans-Regular.ttf
|
5 | 5 | // Point size: 12pt
|
6 |
| -// Variable name: OpenSansRegular12pt |
| 6 | +// Variable name: OpenSansCyrillicLatin12 |
7 | 7 |
|
8 | 8 | #include <UnicodeFontDefs.h>
|
9 | 9 |
|
10 | 10 | // Bitmaps for Cyrillic
|
11 |
| -const uint8_t OpenSansRegular12ptBitmaps_8[] PROGMEM = { |
| 11 | +const uint8_t OpenSansCyrillicLatin12Bitmaps_8[] PROGMEM = { |
12 | 12 | 0x60,0x81,0x00,0xfe,0x08,0x20,0x83,0xf8,0x20,0x82,0x08,0x3f,0x49,0x20,0x00,0xfe,0x08,0x20,0x83,0xf8,
|
13 | 13 | 0x20,0x82,0x08,0x3f,0xff,0x02,0x00,0x40,0x08,0x01,0x00,0x3f,0x84,0x18,0x81,0x10,0x22,0x04,0x41,0x88,
|
14 | 14 | 0xe0,0x0c,0x21,0x00,0xfe,0x08,0x20,0x82,0x08,0x20,0x82,0x08,0x20,0x1f,0x98,0x58,0x18,0x0c,0x07,0xfb,
|
@@ -206,7 +206,7 @@ const uint8_t OpenSansRegular12ptBitmaps_8[] PROGMEM = {
|
206 | 206 | };
|
207 | 207 |
|
208 | 208 | // Glyphs for Cyrillic
|
209 |
| -const UnicodeFontGlyph OpenSansRegular12ptGlyphs_8[] PROGMEM = { |
| 209 | +const UnicodeFontGlyph OpenSansCyrillicLatin12Glyphs_8[] PROGMEM = { |
210 | 210 | { 0, 0, 6, 16, 9, 2, -16} /* [Ѐ] 1024*/ ,
|
211 | 211 | { 1, 12, 6, 16, 9, 2, -16} /* [Ё] 1025*/ ,
|
212 | 212 | { 2, 24, 11, 12, 12, 0, -12} /* [Ђ] 1026*/ ,
|
@@ -461,7 +461,7 @@ const UnicodeFontGlyph OpenSansRegular12ptGlyphs_8[] PROGMEM = {
|
461 | 461 | };
|
462 | 462 |
|
463 | 463 | // Bitmaps for Latin Extended-A
|
464 |
| -const uint8_t OpenSansRegular12ptBitmaps_2[] PROGMEM = { |
| 464 | +const uint8_t OpenSansCyrillicLatin12Bitmaps_2[] PROGMEM = { |
465 | 465 | 0x1f,0x00,0x00,0x10,0x07,0x00,0xa0,0x34,0x04,0xc0,0x88,0x21,0x87,0xf1,0x82,0x20,0x64,0x05,0x80,0xc0,
|
466 | 466 | 0x3e,0x01,0xf2,0x30,0x20,0x5f,0xe1,0x83,0x8d,0xe8,0x11,0x03,0xc0,0x00,0x02,0x00,0xe0,0x14,0x06,0x80,
|
467 | 467 | 0x98,0x11,0x04,0x30,0xfe,0x30,0x44,0x0c,0x80,0xb0,0x18,0x22,0x78,0x03,0xe4,0x60,0x40,0xbf,0xc3,0x07,
|
@@ -555,7 +555,7 @@ const uint8_t OpenSansRegular12ptBitmaps_2[] PROGMEM = {
|
555 | 555 | };
|
556 | 556 |
|
557 | 557 | // Glyphs for Latin Extended-A
|
558 |
| -const UnicodeFontGlyph OpenSansRegular12ptGlyphs_2[] PROGMEM = { |
| 558 | +const UnicodeFontGlyph OpenSansCyrillicLatin12Glyphs_2[] PROGMEM = { |
559 | 559 | { 0, 0, 11, 14, 11, 0, -14} /* [Ā] 256*/ ,
|
560 | 560 | { 1, 20, 7, 11, 9, 1, -11} /* [ā] 257*/ ,
|
561 | 561 | { 2, 30, 11, 15, 11, 0, -15} /* [Ă] 258*/ ,
|
@@ -686,7 +686,7 @@ const UnicodeFontGlyph OpenSansRegular12ptGlyphs_2[] PROGMEM = {
|
686 | 686 | };
|
687 | 687 |
|
688 | 688 | // Bitmaps for Basic Latin
|
689 |
| -const uint8_t OpenSansRegular12ptBitmaps_0[] PROGMEM = { |
| 689 | +const uint8_t OpenSansCyrillicLatin12Bitmaps_0[] PROGMEM = { |
690 | 690 | 0x00,0x00,0xf5,0x55,0x0f,0xdc,0xe5,0x20,0x08,0x81,0x10,0x24,0x3f,0xf1,0x10,0x22,0x04,0x47,0xfe,0x12,
|
691 | 691 | 0x04,0x40,0x88,0x11,0x00,0x10,0x7e,0xd2,0x90,0xd0,0x70,0x1e,0x13,0x13,0x96,0xfc,0x10,0x10,0x70,0x49,
|
692 | 692 | 0x08,0x89,0x88,0x90,0x8a,0xe8,0xa9,0x95,0x17,0x51,0x09,0x11,0x91,0x10,0x93,0x0e,0x3c,0x0c,0xc1,0x08,
|
@@ -739,7 +739,7 @@ const uint8_t OpenSansRegular12ptBitmaps_0[] PROGMEM = {
|
739 | 739 | };
|
740 | 740 |
|
741 | 741 | // Glyphs for Basic Latin
|
742 |
| -const UnicodeFontGlyph OpenSansRegular12ptGlyphs_0[] PROGMEM = { |
| 742 | +const UnicodeFontGlyph OpenSansCyrillicLatin12Glyphs_0[] PROGMEM = { |
743 | 743 | { 31, 0, 1, 1, 10, 0, -1} /* [] 31*/ ,
|
744 | 744 | { 32, 1, 1, 1, 4, 0, -1} /* [ ] 32*/ ,
|
745 | 745 | { 33, 2, 2, 12, 4, 1, -12} /* [!] 33*/ ,
|
@@ -838,10 +838,10 @@ const UnicodeFontGlyph OpenSansRegular12ptGlyphs_0[] PROGMEM = {
|
838 | 838 | { 126, 969, 8, 2, 10, 1, -7} /* [~] 126*/
|
839 | 839 | };
|
840 | 840 |
|
841 |
| -const UnicodeFontBlock OpenSansRegular12ptBlocks[] PROGMEM = { |
842 |
| - {1024, OpenSansRegular12ptBitmaps_8, OpenSansRegular12ptGlyphs_8, 255} /* Cyrillic */, |
843 |
| - {256, OpenSansRegular12ptBitmaps_2, OpenSansRegular12ptGlyphs_2, 127} /* Latin Extended-A */, |
844 |
| - {0, OpenSansRegular12ptBitmaps_0, OpenSansRegular12ptGlyphs_0, 127} /* Basic Latin */ |
| 841 | +const UnicodeFontBlock OpenSansCyrillicLatin12Blocks[] PROGMEM = { |
| 842 | + {1024, OpenSansCyrillicLatin12Bitmaps_8, OpenSansCyrillicLatin12Glyphs_8, 255} /* Cyrillic */, |
| 843 | + {256, OpenSansCyrillicLatin12Bitmaps_2, OpenSansCyrillicLatin12Glyphs_2, 127} /* Latin Extended-A */, |
| 844 | + {0, OpenSansCyrillicLatin12Bitmaps_0, OpenSansCyrillicLatin12Glyphs_0, 127} /* Basic Latin */ |
845 | 845 | };
|
846 | 846 |
|
847 |
| -const UnicodeFont OpenSansRegular12pt[] PROGMEM = { {OpenSansRegular12ptBlocks, 3, 19, TCFONT_ONE_BIT_PER_PIXEL} }; |
| 847 | +const UnicodeFont OpenSansCyrillicLatin12[] PROGMEM = { {OpenSansCyrillicLatin12Blocks, 3, 19, TCFONT_ONE_BIT_PER_PIXEL} }; |
0 commit comments