C++ refactoring, plus low-power support, plus software-based SPI CS

I'm backlogged.
This commit is contained in:
2019-04-13 15:08:02 -07:00
parent d5bfecedb2
commit 6747d6c831
54 changed files with 13193 additions and 7264 deletions

View File

@@ -0,0 +1,793 @@
/* AUTOMATICALLY GENERATED FILE! EDITING NOT RECOMMENDED!
*
* This file is distributed under the terms of the MIT License.
* See the LICENSE file at the top of this tree, or if it is missing a copy can
* be found at http://opensource.org/licenses/MIT
*/
#include <stdio.h>
#include <stdlib.h>
#include "fontem.h"
#include "font-OpenSansExtraBold-32.h"
/* Character list: 0123456789:APM */
/** Kerning table for character ' '. */
static const struct kerning kerning_OpenSansExtraBold_32_0020[] = {
{ /* .left = */ 0, /* .offset = */ 0 },
};
/** Glyph definition for character ' '. */
static const struct glyph glyph_OpenSansExtraBold_32_0020 = {
.glyph = 32,
.left = 0,
.top = 0,
.advance = 11,
.cols = 0,
.rows = 0,
.bitmap = NULL,
.kerning = kerning_OpenSansExtraBold_32_0020,
};
/** Bitmap definition for character '0'. */
static const uint8_t bitmap_OpenSansExtraBold_32_0030[] = {
0x01, 0xfe, 0x00, 0x00,
0x07, 0xff, 0x80, 0x00,
0x1f, 0xff, 0xc0, 0x00,
0x1f, 0xff, 0xe0, 0x00,
0x3f, 0xff, 0xf0, 0x00,
0x7f, 0xff, 0xf0, 0x00,
0x7f, 0xff, 0xf8, 0x00,
0x7f, 0xcf, 0xf8, 0x00,
0xff, 0x87, 0xfc, 0x00,
0xff, 0x07, 0xfc, 0x00,
0xff, 0x03, 0xfc, 0x00,
0xff, 0x03, 0xfc, 0x00,
0xff, 0x03, 0xfc, 0x00,
0xff, 0x03, 0xfc, 0x00,
0xff, 0x03, 0xfc, 0x00,
0xff, 0x03, 0xfc, 0x00,
0xff, 0x03, 0xfc, 0x00,
0xff, 0x03, 0xfc, 0x00,
0xff, 0x03, 0xfc, 0x00,
0xff, 0x03, 0xfc, 0x00,
0xff, 0x03, 0xfc, 0x00,
0xff, 0x07, 0xfc, 0x00,
0xff, 0x87, 0xfc, 0x00,
0x7f, 0xcf, 0xf8, 0x00,
0x7f, 0xff, 0xf8, 0x00,
0x7f, 0xff, 0xf8, 0x00,
0x3f, 0xff, 0xf0, 0x00,
0x1f, 0xff, 0xe0, 0x00,
0x0f, 0xff, 0xe0, 0x00,
0x07, 0xff, 0x80, 0x00,
0x01, 0xfe, 0x00, 0x00,
};
/** Kerning table for character '0'. */
static const struct kerning kerning_OpenSansExtraBold_32_0030[] = {
{ /* .left = */ 0, /* .offset = */ 0 },
};
/** Glyph definition for character '0'. */
static const struct glyph glyph_OpenSansExtraBold_32_0030 = {
.glyph = 48,
.left = 2,
.top = 31,
.advance = 26,
.cols = 22,
.rows = 31,
.bitmap = bitmap_OpenSansExtraBold_32_0030,
.kerning = kerning_OpenSansExtraBold_32_0030,
};
/** Bitmap definition for character '1'. */
static const uint8_t bitmap_OpenSansExtraBold_32_0031[] = {
0x00, 0x3f, 0xc0, 0x00,
0x00, 0x7f, 0xc0, 0x00,
0x00, 0xff, 0xc0, 0x00,
0x03, 0xff, 0xc0, 0x00,
0x07, 0xff, 0xc0, 0x00,
0x0f, 0xff, 0xc0, 0x00,
0x1f, 0xff, 0xc0, 0x00,
0x7f, 0xff, 0xc0, 0x00,
0xff, 0xff, 0xc0, 0x00,
0x7f, 0xff, 0xc0, 0x00,
0x7f, 0xbf, 0xc0, 0x00,
0x3f, 0x3f, 0xc0, 0x00,
0x1c, 0x3f, 0xc0, 0x00,
0x08, 0x3f, 0xc0, 0x00,
0x00, 0x3f, 0xc0, 0x00,
0x00, 0x3f, 0xc0, 0x00,
0x00, 0x3f, 0xc0, 0x00,
0x00, 0x3f, 0xc0, 0x00,
0x00, 0x3f, 0xc0, 0x00,
0x00, 0x3f, 0xc0, 0x00,
0x00, 0x3f, 0xc0, 0x00,
0x00, 0x3f, 0xc0, 0x00,
0x00, 0x3f, 0xc0, 0x00,
0x00, 0x3f, 0xc0, 0x00,
0x00, 0x3f, 0xc0, 0x00,
0x00, 0x3f, 0xc0, 0x00,
0x00, 0x3f, 0xc0, 0x00,
0x00, 0x3f, 0xc0, 0x00,
0x00, 0x3f, 0xc0, 0x00,
0x00, 0x3f, 0xc0, 0x00,
0x00, 0x3f, 0xc0, 0x00,
};
/** Kerning table for character '1'. */
static const struct kerning kerning_OpenSansExtraBold_32_0031[] = {
{ /* .left = */ 0, /* .offset = */ 0 },
};
/** Glyph definition for character '1'. */
static const struct glyph glyph_OpenSansExtraBold_32_0031 = {
.glyph = 49,
.left = 2,
.top = 31,
.advance = 26,
.cols = 18,
.rows = 31,
.bitmap = bitmap_OpenSansExtraBold_32_0031,
.kerning = kerning_OpenSansExtraBold_32_0031,
};
/** Bitmap definition for character '2'. */
static const uint8_t bitmap_OpenSansExtraBold_32_0032[] = {
0x00, 0xff, 0x00, 0x00,
0x07, 0xff, 0xc0, 0x00,
0x1f, 0xff, 0xf0, 0x00,
0x3f, 0xff, 0xf8, 0x00,
0xff, 0xff, 0xfc, 0x00,
0xff, 0xff, 0xfc, 0x00,
0x7f, 0xff, 0xfc, 0x00,
0x3f, 0x87, 0xfe, 0x00,
0x1e, 0x03, 0xfe, 0x00,
0x0c, 0x03, 0xfe, 0x00,
0x00, 0x03, 0xfe, 0x00,
0x00, 0x03, 0xfc, 0x00,
0x00, 0x07, 0xfc, 0x00,
0x00, 0x0f, 0xf8, 0x00,
0x00, 0x1f, 0xf8, 0x00,
0x00, 0x1f, 0xf0, 0x00,
0x00, 0x3f, 0xe0, 0x00,
0x00, 0x7f, 0xc0, 0x00,
0x00, 0xff, 0x80, 0x00,
0x03, 0xff, 0x00, 0x00,
0x07, 0xfe, 0x00, 0x00,
0x0f, 0xfc, 0x00, 0x00,
0x1f, 0xf8, 0x00, 0x00,
0x3f, 0xf0, 0x00, 0x00,
0x7f, 0xff, 0xfe, 0x00,
0xff, 0xff, 0xfe, 0x00,
0xff, 0xff, 0xfe, 0x00,
0xff, 0xff, 0xfe, 0x00,
0xff, 0xff, 0xfe, 0x00,
0xff, 0xff, 0xfe, 0x00,
0xff, 0xff, 0xfe, 0x00,
};
/** Kerning table for character '2'. */
static const struct kerning kerning_OpenSansExtraBold_32_0032[] = {
{ /* .left = '7' */ 55, /* .offset = */ -1 },
{ /* .left = */ 0, /* .offset = */ 0 },
};
/** Glyph definition for character '2'. */
static const struct glyph glyph_OpenSansExtraBold_32_0032 = {
.glyph = 50,
.left = 1,
.top = 31,
.advance = 26,
.cols = 23,
.rows = 31,
.bitmap = bitmap_OpenSansExtraBold_32_0032,
.kerning = kerning_OpenSansExtraBold_32_0032,
};
/** Bitmap definition for character '3'. */
static const uint8_t bitmap_OpenSansExtraBold_32_0033[] = {
0x03, 0xfe, 0x00, 0x00,
0x1f, 0xff, 0xc0, 0x00,
0x7f, 0xff, 0xe0, 0x00,
0xff, 0xff, 0xf0, 0x00,
0xff, 0xff, 0xf8, 0x00,
0x7f, 0xff, 0xf8, 0x00,
0x3f, 0xff, 0xf8, 0x00,
0x3c, 0x0f, 0xf8, 0x00,
0x10, 0x07, 0xf8, 0x00,
0x00, 0x07, 0xf8, 0x00,
0x00, 0x0f, 0xf8, 0x00,
0x00, 0x1f, 0xf0, 0x00,
0x0f, 0xff, 0xe0, 0x00,
0x0f, 0xff, 0xc0, 0x00,
0x0f, 0xff, 0x00, 0x00,
0x0f, 0xff, 0x00, 0x00,
0x0f, 0xff, 0xe0, 0x00,
0x0f, 0xff, 0xf0, 0x00,
0x0f, 0xff, 0xf8, 0x00,
0x00, 0x1f, 0xfc, 0x00,
0x00, 0x07, 0xfc, 0x00,
0x00, 0x07, 0xfc, 0x00,
0x80, 0x07, 0xfc, 0x00,
0xf0, 0x0f, 0xfc, 0x00,
0xff, 0xff, 0xfc, 0x00,
0xff, 0xff, 0xf8, 0x00,
0xff, 0xff, 0xf8, 0x00,
0xff, 0xff, 0xf0, 0x00,
0xff, 0xff, 0xe0, 0x00,
0xff, 0xff, 0x80, 0x00,
0x0f, 0xfc, 0x00, 0x00,
};
/** Kerning table for character '3'. */
static const struct kerning kerning_OpenSansExtraBold_32_0033[] = {
{ /* .left = */ 0, /* .offset = */ 0 },
};
/** Glyph definition for character '3'. */
static const struct glyph glyph_OpenSansExtraBold_32_0033 = {
.glyph = 51,
.left = 2,
.top = 31,
.advance = 26,
.cols = 22,
.rows = 31,
.bitmap = bitmap_OpenSansExtraBold_32_0033,
.kerning = kerning_OpenSansExtraBold_32_0033,
};
/** Bitmap definition for character '4'. */
static const uint8_t bitmap_OpenSansExtraBold_32_0034[] = {
0x00, 0x07, 0xf8, 0x00,
0x00, 0x0f, 0xf8, 0x00,
0x00, 0x1f, 0xf8, 0x00,
0x00, 0x1f, 0xf8, 0x00,
0x00, 0x3f, 0xf8, 0x00,
0x00, 0x7f, 0xf8, 0x00,
0x00, 0xff, 0xf8, 0x00,
0x00, 0xff, 0xf8, 0x00,
0x01, 0xff, 0xf8, 0x00,
0x03, 0xff, 0xf8, 0x00,
0x03, 0xff, 0xf8, 0x00,
0x07, 0xff, 0xf8, 0x00,
0x0f, 0xef, 0xf8, 0x00,
0x0f, 0xef, 0xf8, 0x00,
0x1f, 0xcf, 0xf8, 0x00,
0x3f, 0xcf, 0xf8, 0x00,
0x3f, 0x8f, 0xf8, 0x00,
0x7f, 0x0f, 0xf8, 0x00,
0xfe, 0x0f, 0xf8, 0x00,
0xff, 0xff, 0xff, 0x00,
0xff, 0xff, 0xff, 0x00,
0xff, 0xff, 0xff, 0x00,
0xff, 0xff, 0xff, 0x00,
0xff, 0xff, 0xff, 0x00,
0xff, 0xff, 0xff, 0x00,
0xff, 0xff, 0xff, 0x00,
0x00, 0x0f, 0xf8, 0x00,
0x00, 0x0f, 0xf8, 0x00,
0x00, 0x0f, 0xf8, 0x00,
0x00, 0x0f, 0xf8, 0x00,
0x00, 0x0f, 0xf8, 0x00,
};
/** Kerning table for character '4'. */
static const struct kerning kerning_OpenSansExtraBold_32_0034[] = {
{ /* .left = '7' */ 55, /* .offset = */ -1 },
{ /* .left = */ 0, /* .offset = */ 0 },
};
/** Glyph definition for character '4'. */
static const struct glyph glyph_OpenSansExtraBold_32_0034 = {
.glyph = 52,
.left = 1,
.top = 31,
.advance = 26,
.cols = 24,
.rows = 31,
.bitmap = bitmap_OpenSansExtraBold_32_0034,
.kerning = kerning_OpenSansExtraBold_32_0034,
};
/** Bitmap definition for character '5'. */
static const uint8_t bitmap_OpenSansExtraBold_32_0035[] = {
0x3f, 0xff, 0xf0, 0x00,
0x3f, 0xff, 0xf0, 0x00,
0x3f, 0xff, 0xf0, 0x00,
0x3f, 0xff, 0xf0, 0x00,
0x7f, 0xff, 0xf0, 0x00,
0x7f, 0xff, 0xf0, 0x00,
0x7f, 0xff, 0xf0, 0x00,
0x7f, 0x80, 0x00, 0x00,
0x7f, 0x80, 0x00, 0x00,
0x7f, 0x80, 0x00, 0x00,
0x7f, 0x80, 0x00, 0x00,
0x7f, 0xff, 0x00, 0x00,
0x7f, 0xff, 0xc0, 0x00,
0x7f, 0xff, 0xe0, 0x00,
0x7f, 0xff, 0xf0, 0x00,
0x7f, 0xff, 0xf8, 0x00,
0x7f, 0xff, 0xf8, 0x00,
0x7f, 0xff, 0xfc, 0x00,
0x18, 0x1f, 0xfc, 0x00,
0x00, 0x07, 0xfc, 0x00,
0x00, 0x07, 0xfc, 0x00,
0x00, 0x07, 0xfc, 0x00,
0x80, 0x07, 0xfc, 0x00,
0xf8, 0x0f, 0xfc, 0x00,
0xff, 0xff, 0xf8, 0x00,
0xff, 0xff, 0xf8, 0x00,
0xff, 0xff, 0xf0, 0x00,
0xff, 0xff, 0xf0, 0x00,
0xff, 0xff, 0xe0, 0x00,
0x7f, 0xff, 0x80, 0x00,
0x0f, 0xfc, 0x00, 0x00,
};
/** Kerning table for character '5'. */
static const struct kerning kerning_OpenSansExtraBold_32_0035[] = {
{ /* .left = */ 0, /* .offset = */ 0 },
};
/** Glyph definition for character '5'. */
static const struct glyph glyph_OpenSansExtraBold_32_0035 = {
.glyph = 53,
.left = 2,
.top = 31,
.advance = 26,
.cols = 22,
.rows = 31,
.bitmap = bitmap_OpenSansExtraBold_32_0035,
.kerning = kerning_OpenSansExtraBold_32_0035,
};
/** Bitmap definition for character '6'. */
static const uint8_t bitmap_OpenSansExtraBold_32_0036[] = {
0x00, 0x1f, 0xf8, 0x00,
0x00, 0xff, 0xf8, 0x00,
0x03, 0xff, 0xf8, 0x00,
0x07, 0xff, 0xf8, 0x00,
0x1f, 0xff, 0xf8, 0x00,
0x1f, 0xff, 0xf8, 0x00,
0x3f, 0xff, 0xf8, 0x00,
0x7f, 0xf0, 0x00, 0x00,
0x7f, 0xc0, 0x00, 0x00,
0x7f, 0x80, 0x00, 0x00,
0xff, 0x1f, 0x80, 0x00,
0xff, 0x7f, 0xe0, 0x00,
0xfe, 0xff, 0xf0, 0x00,
0xfe, 0xff, 0xf8, 0x00,
0xff, 0xff, 0xfc, 0x00,
0xff, 0xff, 0xfc, 0x00,
0xff, 0xff, 0xfc, 0x00,
0xff, 0x87, 0xfc, 0x00,
0xff, 0x03, 0xfe, 0x00,
0xff, 0x03, 0xfe, 0x00,
0xff, 0x03, 0xfe, 0x00,
0xff, 0x03, 0xfe, 0x00,
0xff, 0x83, 0xfc, 0x00,
0xff, 0xc7, 0xfc, 0x00,
0x7f, 0xff, 0xfc, 0x00,
0x7f, 0xff, 0xfc, 0x00,
0x3f, 0xff, 0xf8, 0x00,
0x1f, 0xff, 0xf0, 0x00,
0x0f, 0xff, 0xe0, 0x00,
0x07, 0xff, 0xc0, 0x00,
0x00, 0xfe, 0x00, 0x00,
};
/** Kerning table for character '6'. */
static const struct kerning kerning_OpenSansExtraBold_32_0036[] = {
{ /* .left = */ 0, /* .offset = */ 0 },
};
/** Glyph definition for character '6'. */
static const struct glyph glyph_OpenSansExtraBold_32_0036 = {
.glyph = 54,
.left = 2,
.top = 31,
.advance = 26,
.cols = 23,
.rows = 31,
.bitmap = bitmap_OpenSansExtraBold_32_0036,
.kerning = kerning_OpenSansExtraBold_32_0036,
};
/** Bitmap definition for character '7'. */
static const uint8_t bitmap_OpenSansExtraBold_32_0037[] = {
0xff, 0xff, 0xfe, 0x00,
0xff, 0xff, 0xfe, 0x00,
0xff, 0xff, 0xfe, 0x00,
0xff, 0xff, 0xfe, 0x00,
0xff, 0xff, 0xfe, 0x00,
0xff, 0xff, 0xfc, 0x00,
0xff, 0xff, 0xfc, 0x00,
0x00, 0x07, 0xf8, 0x00,
0x00, 0x07, 0xf8, 0x00,
0x00, 0x0f, 0xf8, 0x00,
0x00, 0x0f, 0xf0, 0x00,
0x00, 0x1f, 0xf0, 0x00,
0x00, 0x1f, 0xe0, 0x00,
0x00, 0x1f, 0xe0, 0x00,
0x00, 0x3f, 0xc0, 0x00,
0x00, 0x3f, 0xc0, 0x00,
0x00, 0x7f, 0xc0, 0x00,
0x00, 0x7f, 0x80, 0x00,
0x00, 0xff, 0x80, 0x00,
0x00, 0xff, 0x00, 0x00,
0x01, 0xff, 0x00, 0x00,
0x01, 0xfe, 0x00, 0x00,
0x03, 0xfe, 0x00, 0x00,
0x03, 0xfe, 0x00, 0x00,
0x03, 0xfc, 0x00, 0x00,
0x07, 0xfc, 0x00, 0x00,
0x07, 0xf8, 0x00, 0x00,
0x0f, 0xf8, 0x00, 0x00,
0x0f, 0xf0, 0x00, 0x00,
0x1f, 0xf0, 0x00, 0x00,
0x1f, 0xf0, 0x00, 0x00,
};
/** Kerning table for character '7'. */
static const struct kerning kerning_OpenSansExtraBold_32_0037[] = {
{ /* .left = '2' */ 50, /* .offset = */ -1 },
{ /* .left = '4' */ 52, /* .offset = */ -1 },
{ /* .left = '7' */ 55, /* .offset = */ 1 },
{ /* .left = */ 0, /* .offset = */ 0 },
};
/** Glyph definition for character '7'. */
static const struct glyph glyph_OpenSansExtraBold_32_0037 = {
.glyph = 55,
.left = 2,
.top = 31,
.advance = 26,
.cols = 23,
.rows = 31,
.bitmap = bitmap_OpenSansExtraBold_32_0037,
.kerning = kerning_OpenSansExtraBold_32_0037,
};
/** Bitmap definition for character '8'. */
static const uint8_t bitmap_OpenSansExtraBold_32_0038[] = {
0x00, 0xff, 0x80, 0x00,
0x07, 0xff, 0xe0, 0x00,
0x0f, 0xff, 0xf8, 0x00,
0x1f, 0xff, 0xf8, 0x00,
0x3f, 0xff, 0xfc, 0x00,
0x3f, 0xff, 0xfc, 0x00,
0x7f, 0xc3, 0xfe, 0x00,
0x7f, 0x81, 0xfe, 0x00,
0x7f, 0x81, 0xfe, 0x00,
0x3f, 0xc3, 0xfc, 0x00,
0x3f, 0xe7, 0xfc, 0x00,
0x1f, 0xff, 0xf8, 0x00,
0x1f, 0xff, 0xf8, 0x00,
0x0f, 0xff, 0xe0, 0x00,
0x03, 0xff, 0xc0, 0x00,
0x07, 0xff, 0xc0, 0x00,
0x0f, 0xff, 0xf0, 0x00,
0x3f, 0xff, 0xf8, 0x00,
0x3f, 0xff, 0xfc, 0x00,
0x7f, 0xc7, 0xfe, 0x00,
0x7f, 0x81, 0xfe, 0x00,
0x7f, 0x00, 0xfe, 0x00,
0xff, 0x00, 0xff, 0x00,
0xff, 0x80, 0xff, 0x00,
0x7f, 0xc1, 0xfe, 0x00,
0x7f, 0xff, 0xfe, 0x00,
0x7f, 0xff, 0xfe, 0x00,
0x3f, 0xff, 0xfc, 0x00,
0x1f, 0xff, 0xf8, 0x00,
0x0f, 0xff, 0xe0, 0x00,
0x01, 0xff, 0x80, 0x00,
};
/** Kerning table for character '8'. */
static const struct kerning kerning_OpenSansExtraBold_32_0038[] = {
{ /* .left = */ 0, /* .offset = */ 0 },
};
/** Glyph definition for character '8'. */
static const struct glyph glyph_OpenSansExtraBold_32_0038 = {
.glyph = 56,
.left = 1,
.top = 31,
.advance = 26,
.cols = 24,
.rows = 31,
.bitmap = bitmap_OpenSansExtraBold_32_0038,
.kerning = kerning_OpenSansExtraBold_32_0038,
};
/** Bitmap definition for character '9'. */
static const uint8_t bitmap_OpenSansExtraBold_32_0039[] = {
0x01, 0xfe, 0x00, 0x00,
0x07, 0xff, 0xc0, 0x00,
0x0f, 0xff, 0xe0, 0x00,
0x1f, 0xff, 0xf0, 0x00,
0x3f, 0xff, 0xf8, 0x00,
0x7f, 0xff, 0xfc, 0x00,
0x7f, 0xff, 0xfc, 0x00,
0x7f, 0xc7, 0xfe, 0x00,
0xff, 0x83, 0xfe, 0x00,
0xff, 0x01, 0xfe, 0x00,
0xff, 0x01, 0xfe, 0x00,
0xff, 0x01, 0xfe, 0x00,
0xff, 0x81, 0xfe, 0x00,
0xff, 0xc7, 0xff, 0x00,
0x7f, 0xff, 0xff, 0x00,
0x7f, 0xff, 0xff, 0x00,
0x7f, 0xff, 0xfe, 0x00,
0x3f, 0xfe, 0xfe, 0x00,
0x1f, 0xfe, 0xfe, 0x00,
0x0f, 0xfd, 0xfe, 0x00,
0x03, 0xf1, 0xfe, 0x00,
0x00, 0x03, 0xfe, 0x00,
0x00, 0x07, 0xfc, 0x00,
0x00, 0x3f, 0xfc, 0x00,
0x3f, 0xff, 0xf8, 0x00,
0x3f, 0xff, 0xf8, 0x00,
0x3f, 0xff, 0xf0, 0x00,
0x3f, 0xff, 0xe0, 0x00,
0x3f, 0xff, 0xc0, 0x00,
0x3f, 0xff, 0x00, 0x00,
0x3f, 0xf0, 0x00, 0x00,
};
/** Kerning table for character '9'. */
static const struct kerning kerning_OpenSansExtraBold_32_0039[] = {
{ /* .left = */ 0, /* .offset = */ 0 },
};
/** Glyph definition for character '9'. */
static const struct glyph glyph_OpenSansExtraBold_32_0039 = {
.glyph = 57,
.left = 1,
.top = 31,
.advance = 26,
.cols = 24,
.rows = 31,
.bitmap = bitmap_OpenSansExtraBold_32_0039,
.kerning = kerning_OpenSansExtraBold_32_0039,
};
/** Bitmap definition for character ':'. */
static const uint8_t bitmap_OpenSansExtraBold_32_003a[] = {
0x3e, 0x00,
0x7f, 0x00,
0xff, 0x80,
0xff, 0x80,
0xff, 0x80,
0xff, 0x80,
0x7f, 0x00,
0x3e, 0x00,
0x00, 0x00,
0x00, 0x00,
0x00, 0x00,
0x00, 0x00,
0x00, 0x00,
0x00, 0x00,
0x00, 0x00,
0x00, 0x00,
0x00, 0x00,
0x3e, 0x00,
0x7f, 0x00,
0xff, 0x80,
0xff, 0x80,
0xff, 0x80,
0xff, 0x80,
0x7f, 0x00,
0x3e, 0x00,
};
/** Kerning table for character ':'. */
static const struct kerning kerning_OpenSansExtraBold_32_003a[] = {
{ /* .left = */ 0, /* .offset = */ 0 },
};
/** Glyph definition for character ':'. */
static const struct glyph glyph_OpenSansExtraBold_32_003a = {
.glyph = 58,
.left = 2,
.top = 25,
.advance = 13,
.cols = 9,
.rows = 25,
.bitmap = bitmap_OpenSansExtraBold_32_003a,
.kerning = kerning_OpenSansExtraBold_32_003a,
};
/** Bitmap definition for character 'A'. */
static const uint8_t bitmap_OpenSansExtraBold_32_0041[] = {
0x00, 0x3f, 0xfc, 0x00,
0x00, 0x3f, 0xfc, 0x00,
0x00, 0x7f, 0xfc, 0x00,
0x00, 0x7f, 0xfe, 0x00,
0x00, 0x7f, 0xfe, 0x00,
0x00, 0xff, 0xfe, 0x00,
0x00, 0xff, 0xff, 0x00,
0x00, 0xfe, 0xff, 0x00,
0x01, 0xfe, 0x7f, 0x00,
0x01, 0xfe, 0x7f, 0x80,
0x01, 0xfe, 0x7f, 0x80,
0x03, 0xfc, 0x3f, 0x80,
0x03, 0xfc, 0x3f, 0xc0,
0x03, 0xfc, 0x3f, 0xc0,
0x07, 0xfc, 0x3f, 0xc0,
0x07, 0xf8, 0x1f, 0xe0,
0x07, 0xf8, 0x1f, 0xe0,
0x0f, 0xf8, 0x1f, 0xe0,
0x0f, 0xff, 0xff, 0xf0,
0x0f, 0xff, 0xff, 0xf0,
0x1f, 0xff, 0xff, 0xf0,
0x1f, 0xff, 0xff, 0xf8,
0x1f, 0xff, 0xff, 0xf8,
0x3f, 0xff, 0xff, 0xf8,
0x3f, 0xff, 0xff, 0xfc,
0x3f, 0xe0, 0x07, 0xfc,
0x7f, 0xe0, 0x03, 0xfc,
0x7f, 0xc0, 0x03, 0xfe,
0x7f, 0xc0, 0x03, 0xfe,
0xff, 0xc0, 0x03, 0xff,
0xff, 0x80, 0x01, 0xff,
};
/** Kerning table for character 'A'. */
static const struct kerning kerning_OpenSansExtraBold_32_0041[] = {
{ /* .left = */ 0, /* .offset = */ 0 },
};
/** Glyph definition for character 'A'. */
static const struct glyph glyph_OpenSansExtraBold_32_0041 = {
.glyph = 65,
.left = 0,
.top = 31,
.advance = 32,
.cols = 32,
.rows = 31,
.bitmap = bitmap_OpenSansExtraBold_32_0041,
.kerning = kerning_OpenSansExtraBold_32_0041,
};
/** Bitmap definition for character 'M'. */
static const uint8_t bitmap_OpenSansExtraBold_32_004d[] = {
0xff, 0xf0, 0x00, 0x7f, 0xf8, 0x00,
0xff, 0xf0, 0x00, 0x7f, 0xf8, 0x00,
0xff, 0xf8, 0x00, 0xff, 0xf8, 0x00,
0xff, 0xf8, 0x00, 0xff, 0xf8, 0x00,
0xff, 0xf8, 0x00, 0xff, 0xf8, 0x00,
0xff, 0xf8, 0x00, 0xff, 0xf8, 0x00,
0xff, 0xfc, 0x01, 0xff, 0xf8, 0x00,
0xff, 0xfc, 0x01, 0xff, 0xf8, 0x00,
0xff, 0xfc, 0x01, 0xff, 0xf8, 0x00,
0xff, 0xfe, 0x03, 0xff, 0xf8, 0x00,
0xff, 0xfe, 0x03, 0xf7, 0xf8, 0x00,
0xff, 0x7e, 0x03, 0xf7, 0xf8, 0x00,
0xff, 0x7f, 0x07, 0xf7, 0xf8, 0x00,
0xff, 0x7f, 0x07, 0xf7, 0xf8, 0x00,
0xff, 0x7f, 0x07, 0xe7, 0xf8, 0x00,
0xff, 0x3f, 0x87, 0xe7, 0xf8, 0x00,
0xff, 0x3f, 0x8f, 0xe7, 0xf8, 0x00,
0xff, 0x3f, 0x8f, 0xc7, 0xf8, 0x00,
0xff, 0x1f, 0x8f, 0xc7, 0xf8, 0x00,
0xff, 0x1f, 0xdf, 0xc7, 0xf8, 0x00,
0xff, 0x1f, 0xdf, 0x87, 0xf8, 0x00,
0xff, 0x0f, 0xdf, 0x87, 0xf8, 0x00,
0xff, 0x0f, 0xff, 0x87, 0xf8, 0x00,
0xff, 0x0f, 0xff, 0x87, 0xf8, 0x00,
0xff, 0x0f, 0xff, 0x07, 0xf8, 0x00,
0xff, 0x07, 0xff, 0x07, 0xf8, 0x00,
0xff, 0x07, 0xff, 0x07, 0xf8, 0x00,
0xff, 0x07, 0xfe, 0x07, 0xf8, 0x00,
0xff, 0x03, 0xfe, 0x07, 0xf8, 0x00,
0xff, 0x03, 0xfe, 0x07, 0xf8, 0x00,
0xff, 0x03, 0xfe, 0x07, 0xf8, 0x00,
};
/** Kerning table for character 'M'. */
static const struct kerning kerning_OpenSansExtraBold_32_004d[] = {
{ /* .left = */ 0, /* .offset = */ 0 },
};
/** Glyph definition for character 'M'. */
static const struct glyph glyph_OpenSansExtraBold_32_004d = {
.glyph = 77,
.left = 3,
.top = 31,
.advance = 43,
.cols = 37,
.rows = 31,
.bitmap = bitmap_OpenSansExtraBold_32_004d,
.kerning = kerning_OpenSansExtraBold_32_004d,
};
/** Bitmap definition for character 'P'. */
static const uint8_t bitmap_OpenSansExtraBold_32_0050[] = {
0xff, 0xff, 0x00, 0x00,
0xff, 0xff, 0xe0, 0x00,
0xff, 0xff, 0xf0, 0x00,
0xff, 0xff, 0xf8, 0x00,
0xff, 0xff, 0xfc, 0x00,
0xff, 0xff, 0xfc, 0x00,
0xff, 0xff, 0xfe, 0x00,
0xff, 0x87, 0xfe, 0x00,
0xff, 0x83, 0xfe, 0x00,
0xff, 0x81, 0xfe, 0x00,
0xff, 0x81, 0xfe, 0x00,
0xff, 0x81, 0xfe, 0x00,
0xff, 0x83, 0xfe, 0x00,
0xff, 0x87, 0xfe, 0x00,
0xff, 0xff, 0xfe, 0x00,
0xff, 0xff, 0xfc, 0x00,
0xff, 0xff, 0xfc, 0x00,
0xff, 0xff, 0xf8, 0x00,
0xff, 0xff, 0xf0, 0x00,
0xff, 0xff, 0xc0, 0x00,
0xff, 0xff, 0x00, 0x00,
0xff, 0x80, 0x00, 0x00,
0xff, 0x80, 0x00, 0x00,
0xff, 0x80, 0x00, 0x00,
0xff, 0x80, 0x00, 0x00,
0xff, 0x80, 0x00, 0x00,
0xff, 0x80, 0x00, 0x00,
0xff, 0x80, 0x00, 0x00,
0xff, 0x80, 0x00, 0x00,
0xff, 0x80, 0x00, 0x00,
0xff, 0x80, 0x00, 0x00,
};
/** Kerning table for character 'P'. */
static const struct kerning kerning_OpenSansExtraBold_32_0050[] = {
{ /* .left = '7' */ 55, /* .offset = */ -2 },
{ /* .left = */ 0, /* .offset = */ 0 },
};
/** Glyph definition for character 'P'. */
static const struct glyph glyph_OpenSansExtraBold_32_0050 = {
.glyph = 80,
.left = 3,
.top = 31,
.advance = 28,
.cols = 23,
.rows = 31,
.bitmap = bitmap_OpenSansExtraBold_32_0050,
.kerning = kerning_OpenSansExtraBold_32_0050,
};
/** Glyphs table for font "Open Sans". */
static const struct glyph *glyphs_OpenSansExtraBold_32[] = {
&glyph_OpenSansExtraBold_32_0020, /* U+0020 ' ' */
&glyph_OpenSansExtraBold_32_0030, /* U+0030 '0' */
&glyph_OpenSansExtraBold_32_0031, /* U+0031 '1' */
&glyph_OpenSansExtraBold_32_0032, /* U+0032 '2' */
&glyph_OpenSansExtraBold_32_0033, /* U+0033 '3' */
&glyph_OpenSansExtraBold_32_0034, /* U+0034 '4' */
&glyph_OpenSansExtraBold_32_0035, /* U+0035 '5' */
&glyph_OpenSansExtraBold_32_0036, /* U+0036 '6' */
&glyph_OpenSansExtraBold_32_0037, /* U+0037 '7' */
&glyph_OpenSansExtraBold_32_0038, /* U+0038 '8' */
&glyph_OpenSansExtraBold_32_0039, /* U+0039 '9' */
&glyph_OpenSansExtraBold_32_003a, /* U+003A ':' */
&glyph_OpenSansExtraBold_32_0041, /* U+0041 'A' */
&glyph_OpenSansExtraBold_32_004d, /* U+004D 'M' */
&glyph_OpenSansExtraBold_32_0050, /* U+0050 'P' */
};
/** Definition for font "Open Sans". */
const struct font font_OpenSansExtraBold_32 = {
.name = "Open Sans",
.style = "ExtraBold",
.size = 32,
.dpi = 100,
.count = 15,
.max = 80,
.ascender = 48,
.descender = -14,
.height = 61,
.glyphs = glyphs_OpenSansExtraBold_32,
.compressed = 0,
};