C++ refactoring, plus low-power support, plus software-based SPI CS
I'm backlogged.
This commit is contained in:
751
lib/fonts/font-OpenSansExtraBold-28.c
Normal file
751
lib/fonts/font-OpenSansExtraBold-28.c
Normal file
@@ -0,0 +1,751 @@
|
||||
/* 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-28.h"
|
||||
|
||||
/* Character list: 0123456789:APM */
|
||||
|
||||
/** Kerning table for character ' '. */
|
||||
static const struct kerning kerning_OpenSansExtraBold_28_0020[] = {
|
||||
{ /* .left = */ 0, /* .offset = */ 0 },
|
||||
};
|
||||
|
||||
/** Glyph definition for character ' '. */
|
||||
static const struct glyph glyph_OpenSansExtraBold_28_0020 = {
|
||||
.glyph = 32,
|
||||
.left = 0,
|
||||
.top = 0,
|
||||
.advance = 10,
|
||||
.cols = 0,
|
||||
.rows = 0,
|
||||
.bitmap = NULL,
|
||||
.kerning = kerning_OpenSansExtraBold_28_0020,
|
||||
};
|
||||
|
||||
/** Bitmap definition for character '0'. */
|
||||
static const uint8_t bitmap_OpenSansExtraBold_28_0030[] = {
|
||||
0x01, 0xfc, 0x00, 0x00,
|
||||
0x07, 0xff, 0x00, 0x00,
|
||||
0x0f, 0xff, 0x80, 0x00,
|
||||
0x1f, 0xff, 0xc0, 0x00,
|
||||
0x3f, 0xff, 0xe0, 0x00,
|
||||
0x3f, 0xff, 0xe0, 0x00,
|
||||
0x7f, 0x8f, 0xf0, 0x00,
|
||||
0x7f, 0x8f, 0xf0, 0x00,
|
||||
0x7f, 0x07, 0xf0, 0x00,
|
||||
0x7f, 0x07, 0xf0, 0x00,
|
||||
0x7f, 0x07, 0xf0, 0x00,
|
||||
0xff, 0x07, 0xf8, 0x00,
|
||||
0xff, 0x07, 0xf8, 0x00,
|
||||
0xff, 0x07, 0xf8, 0x00,
|
||||
0xff, 0x07, 0xf8, 0x00,
|
||||
0xff, 0x07, 0xf8, 0x00,
|
||||
0xff, 0x07, 0xf8, 0x00,
|
||||
0x7f, 0x07, 0xf0, 0x00,
|
||||
0x7f, 0x07, 0xf0, 0x00,
|
||||
0x7f, 0x07, 0xf0, 0x00,
|
||||
0x7f, 0x8f, 0xf0, 0x00,
|
||||
0x7f, 0x8f, 0xf0, 0x00,
|
||||
0x3f, 0xff, 0xe0, 0x00,
|
||||
0x3f, 0xff, 0xe0, 0x00,
|
||||
0x1f, 0xff, 0xc0, 0x00,
|
||||
0x0f, 0xff, 0x80, 0x00,
|
||||
0x07, 0xff, 0x00, 0x00,
|
||||
0x01, 0xfc, 0x00, 0x00,
|
||||
};
|
||||
|
||||
/** Kerning table for character '0'. */
|
||||
static const struct kerning kerning_OpenSansExtraBold_28_0030[] = {
|
||||
{ /* .left = */ 0, /* .offset = */ 0 },
|
||||
};
|
||||
|
||||
/** Glyph definition for character '0'. */
|
||||
static const struct glyph glyph_OpenSansExtraBold_28_0030 = {
|
||||
.glyph = 48,
|
||||
.left = 1,
|
||||
.top = 28,
|
||||
.advance = 23,
|
||||
.cols = 21,
|
||||
.rows = 28,
|
||||
.bitmap = bitmap_OpenSansExtraBold_28_0030,
|
||||
.kerning = kerning_OpenSansExtraBold_28_0030,
|
||||
};
|
||||
|
||||
/** Bitmap definition for character '1'. */
|
||||
static const uint8_t bitmap_OpenSansExtraBold_28_0031[] = {
|
||||
0x00, 0x7f,
|
||||
0x01, 0xff,
|
||||
0x03, 0xff,
|
||||
0x07, 0xff,
|
||||
0x0f, 0xff,
|
||||
0x1f, 0xff,
|
||||
0x7f, 0xff,
|
||||
0xff, 0xff,
|
||||
0xff, 0xff,
|
||||
0x7e, 0xff,
|
||||
0x3c, 0xff,
|
||||
0x18, 0xff,
|
||||
0x10, 0xff,
|
||||
0x00, 0xff,
|
||||
0x00, 0xff,
|
||||
0x00, 0xff,
|
||||
0x00, 0xff,
|
||||
0x00, 0xff,
|
||||
0x00, 0xff,
|
||||
0x00, 0xff,
|
||||
0x00, 0xff,
|
||||
0x00, 0xff,
|
||||
0x00, 0xff,
|
||||
0x00, 0xff,
|
||||
0x00, 0xff,
|
||||
0x00, 0xff,
|
||||
0x00, 0xff,
|
||||
0x00, 0xff,
|
||||
};
|
||||
|
||||
/** Kerning table for character '1'. */
|
||||
static const struct kerning kerning_OpenSansExtraBold_28_0031[] = {
|
||||
{ /* .left = */ 0, /* .offset = */ 0 },
|
||||
};
|
||||
|
||||
/** Glyph definition for character '1'. */
|
||||
static const struct glyph glyph_OpenSansExtraBold_28_0031 = {
|
||||
.glyph = 49,
|
||||
.left = 2,
|
||||
.top = 28,
|
||||
.advance = 23,
|
||||
.cols = 16,
|
||||
.rows = 28,
|
||||
.bitmap = bitmap_OpenSansExtraBold_28_0031,
|
||||
.kerning = kerning_OpenSansExtraBold_28_0031,
|
||||
};
|
||||
|
||||
/** Bitmap definition for character '2'. */
|
||||
static const uint8_t bitmap_OpenSansExtraBold_28_0032[] = {
|
||||
0x03, 0xfc, 0x00, 0x00,
|
||||
0x0f, 0xff, 0x80, 0x00,
|
||||
0x3f, 0xff, 0xc0, 0x00,
|
||||
0x7f, 0xff, 0xe0, 0x00,
|
||||
0xff, 0xff, 0xe0, 0x00,
|
||||
0x7f, 0xff, 0xf0, 0x00,
|
||||
0x3f, 0x0f, 0xf0, 0x00,
|
||||
0x1c, 0x0f, 0xf0, 0x00,
|
||||
0x08, 0x0f, 0xf0, 0x00,
|
||||
0x00, 0x0f, 0xf0, 0x00,
|
||||
0x00, 0x0f, 0xf0, 0x00,
|
||||
0x00, 0x1f, 0xe0, 0x00,
|
||||
0x00, 0x3f, 0xe0, 0x00,
|
||||
0x00, 0x3f, 0xc0, 0x00,
|
||||
0x00, 0x7f, 0x80, 0x00,
|
||||
0x00, 0xff, 0x80, 0x00,
|
||||
0x01, 0xff, 0x00, 0x00,
|
||||
0x03, 0xfe, 0x00, 0x00,
|
||||
0x07, 0xf8, 0x00, 0x00,
|
||||
0x0f, 0xf0, 0x00, 0x00,
|
||||
0x1f, 0xe0, 0x00, 0x00,
|
||||
0x3f, 0xc0, 0x00, 0x00,
|
||||
0x7f, 0xff, 0xf8, 0x00,
|
||||
0xff, 0xff, 0xf8, 0x00,
|
||||
0xff, 0xff, 0xf8, 0x00,
|
||||
0xff, 0xff, 0xf8, 0x00,
|
||||
0xff, 0xff, 0xf8, 0x00,
|
||||
0xff, 0xff, 0xf8, 0x00,
|
||||
};
|
||||
|
||||
/** Kerning table for character '2'. */
|
||||
static const struct kerning kerning_OpenSansExtraBold_28_0032[] = {
|
||||
{ /* .left = '7' */ 55, /* .offset = */ -1 },
|
||||
{ /* .left = */ 0, /* .offset = */ 0 },
|
||||
};
|
||||
|
||||
/** Glyph definition for character '2'. */
|
||||
static const struct glyph glyph_OpenSansExtraBold_28_0032 = {
|
||||
.glyph = 50,
|
||||
.left = 1,
|
||||
.top = 28,
|
||||
.advance = 23,
|
||||
.cols = 21,
|
||||
.rows = 28,
|
||||
.bitmap = bitmap_OpenSansExtraBold_28_0032,
|
||||
.kerning = kerning_OpenSansExtraBold_28_0032,
|
||||
};
|
||||
|
||||
/** Bitmap definition for character '3'. */
|
||||
static const uint8_t bitmap_OpenSansExtraBold_28_0033[] = {
|
||||
0x03, 0xfc, 0x00, 0x00,
|
||||
0x1f, 0xff, 0x80, 0x00,
|
||||
0x7f, 0xff, 0xc0, 0x00,
|
||||
0x7f, 0xff, 0xe0, 0x00,
|
||||
0x7f, 0xff, 0xe0, 0x00,
|
||||
0x3f, 0xff, 0xf0, 0x00,
|
||||
0x1c, 0x1f, 0xf0, 0x00,
|
||||
0x10, 0x0f, 0xf0, 0x00,
|
||||
0x00, 0x0f, 0xe0, 0x00,
|
||||
0x00, 0x0f, 0xe0, 0x00,
|
||||
0x00, 0x3f, 0xc0, 0x00,
|
||||
0x07, 0xff, 0x80, 0x00,
|
||||
0x07, 0xff, 0x00, 0x00,
|
||||
0x07, 0xfc, 0x00, 0x00,
|
||||
0x07, 0xff, 0x80, 0x00,
|
||||
0x07, 0xff, 0xc0, 0x00,
|
||||
0x07, 0xff, 0xe0, 0x00,
|
||||
0x00, 0x1f, 0xf0, 0x00,
|
||||
0x00, 0x0f, 0xf0, 0x00,
|
||||
0x00, 0x0f, 0xf0, 0x00,
|
||||
0x80, 0x0f, 0xf0, 0x00,
|
||||
0xf0, 0x1f, 0xf0, 0x00,
|
||||
0xff, 0xff, 0xf0, 0x00,
|
||||
0xff, 0xff, 0xf0, 0x00,
|
||||
0xff, 0xff, 0xe0, 0x00,
|
||||
0xff, 0xff, 0xc0, 0x00,
|
||||
0xff, 0xff, 0x00, 0x00,
|
||||
0x0f, 0xf8, 0x00, 0x00,
|
||||
};
|
||||
|
||||
/** Kerning table for character '3'. */
|
||||
static const struct kerning kerning_OpenSansExtraBold_28_0033[] = {
|
||||
{ /* .left = */ 0, /* .offset = */ 0 },
|
||||
};
|
||||
|
||||
/** Glyph definition for character '3'. */
|
||||
static const struct glyph glyph_OpenSansExtraBold_28_0033 = {
|
||||
.glyph = 51,
|
||||
.left = 1,
|
||||
.top = 28,
|
||||
.advance = 23,
|
||||
.cols = 20,
|
||||
.rows = 28,
|
||||
.bitmap = bitmap_OpenSansExtraBold_28_0033,
|
||||
.kerning = kerning_OpenSansExtraBold_28_0033,
|
||||
};
|
||||
|
||||
/** Bitmap definition for character '4'. */
|
||||
static const uint8_t bitmap_OpenSansExtraBold_28_0034[] = {
|
||||
0x00, 0x1f, 0xc0, 0x00,
|
||||
0x00, 0x3f, 0xc0, 0x00,
|
||||
0x00, 0x3f, 0xc0, 0x00,
|
||||
0x00, 0x7f, 0xc0, 0x00,
|
||||
0x00, 0xff, 0xc0, 0x00,
|
||||
0x00, 0xff, 0xc0, 0x00,
|
||||
0x01, 0xff, 0xc0, 0x00,
|
||||
0x03, 0xff, 0xc0, 0x00,
|
||||
0x03, 0xff, 0xc0, 0x00,
|
||||
0x07, 0xff, 0xc0, 0x00,
|
||||
0x0f, 0xdf, 0xc0, 0x00,
|
||||
0x1f, 0xdf, 0xc0, 0x00,
|
||||
0x1f, 0x9f, 0xc0, 0x00,
|
||||
0x3f, 0x9f, 0xc0, 0x00,
|
||||
0x7f, 0x1f, 0xc0, 0x00,
|
||||
0x7e, 0x1f, 0xc0, 0x00,
|
||||
0xfe, 0x1f, 0xc0, 0x00,
|
||||
0xff, 0xff, 0xf8, 0x00,
|
||||
0xff, 0xff, 0xf8, 0x00,
|
||||
0xff, 0xff, 0xf8, 0x00,
|
||||
0xff, 0xff, 0xf8, 0x00,
|
||||
0xff, 0xff, 0xf8, 0x00,
|
||||
0xff, 0xff, 0xf8, 0x00,
|
||||
0x00, 0x1f, 0xc0, 0x00,
|
||||
0x00, 0x1f, 0xc0, 0x00,
|
||||
0x00, 0x1f, 0xc0, 0x00,
|
||||
0x00, 0x1f, 0xc0, 0x00,
|
||||
0x00, 0x1f, 0xc0, 0x00,
|
||||
};
|
||||
|
||||
/** Kerning table for character '4'. */
|
||||
static const struct kerning kerning_OpenSansExtraBold_28_0034[] = {
|
||||
{ /* .left = '7' */ 55, /* .offset = */ -1 },
|
||||
{ /* .left = */ 0, /* .offset = */ 0 },
|
||||
};
|
||||
|
||||
/** Glyph definition for character '4'. */
|
||||
static const struct glyph glyph_OpenSansExtraBold_28_0034 = {
|
||||
.glyph = 52,
|
||||
.left = 1,
|
||||
.top = 28,
|
||||
.advance = 23,
|
||||
.cols = 21,
|
||||
.rows = 28,
|
||||
.bitmap = bitmap_OpenSansExtraBold_28_0034,
|
||||
.kerning = kerning_OpenSansExtraBold_28_0034,
|
||||
};
|
||||
|
||||
/** Bitmap definition for character '5'. */
|
||||
static const uint8_t bitmap_OpenSansExtraBold_28_0035[] = {
|
||||
0x7f, 0xff, 0x80, 0x00,
|
||||
0x7f, 0xff, 0x80, 0x00,
|
||||
0x7f, 0xff, 0x80, 0x00,
|
||||
0x7f, 0xff, 0x80, 0x00,
|
||||
0x7f, 0xff, 0x80, 0x00,
|
||||
0x7f, 0xff, 0x80, 0x00,
|
||||
0x7f, 0x00, 0x00, 0x00,
|
||||
0x7f, 0x00, 0x00, 0x00,
|
||||
0x7f, 0x00, 0x00, 0x00,
|
||||
0x7e, 0x00, 0x00, 0x00,
|
||||
0x7f, 0xfc, 0x00, 0x00,
|
||||
0x7f, 0xff, 0x00, 0x00,
|
||||
0xff, 0xff, 0x80, 0x00,
|
||||
0xff, 0xff, 0xc0, 0x00,
|
||||
0xff, 0xff, 0xc0, 0x00,
|
||||
0x7f, 0xff, 0xe0, 0x00,
|
||||
0x10, 0x3f, 0xe0, 0x00,
|
||||
0x00, 0x1f, 0xe0, 0x00,
|
||||
0x00, 0x0f, 0xe0, 0x00,
|
||||
0x00, 0x0f, 0xe0, 0x00,
|
||||
0x00, 0x1f, 0xe0, 0x00,
|
||||
0xf0, 0x3f, 0xe0, 0x00,
|
||||
0xff, 0xff, 0xe0, 0x00,
|
||||
0xff, 0xff, 0xc0, 0x00,
|
||||
0xff, 0xff, 0x80, 0x00,
|
||||
0xff, 0xff, 0x00, 0x00,
|
||||
0xff, 0xfe, 0x00, 0x00,
|
||||
0x1f, 0xf0, 0x00, 0x00,
|
||||
};
|
||||
|
||||
/** Kerning table for character '5'. */
|
||||
static const struct kerning kerning_OpenSansExtraBold_28_0035[] = {
|
||||
{ /* .left = */ 0, /* .offset = */ 0 },
|
||||
};
|
||||
|
||||
/** Glyph definition for character '5'. */
|
||||
static const struct glyph glyph_OpenSansExtraBold_28_0035 = {
|
||||
.glyph = 53,
|
||||
.left = 2,
|
||||
.top = 28,
|
||||
.advance = 23,
|
||||
.cols = 19,
|
||||
.rows = 28,
|
||||
.bitmap = bitmap_OpenSansExtraBold_28_0035,
|
||||
.kerning = kerning_OpenSansExtraBold_28_0035,
|
||||
};
|
||||
|
||||
/** Bitmap definition for character '6'. */
|
||||
static const uint8_t bitmap_OpenSansExtraBold_28_0036[] = {
|
||||
0x00, 0x3f, 0xe0, 0x00,
|
||||
0x01, 0xff, 0xe0, 0x00,
|
||||
0x03, 0xff, 0xe0, 0x00,
|
||||
0x0f, 0xff, 0xe0, 0x00,
|
||||
0x1f, 0xff, 0xe0, 0x00,
|
||||
0x1f, 0xff, 0xe0, 0x00,
|
||||
0x3f, 0xe0, 0x00, 0x00,
|
||||
0x3f, 0x80, 0x00, 0x00,
|
||||
0x7f, 0x00, 0x00, 0x00,
|
||||
0x7f, 0x3f, 0x00, 0x00,
|
||||
0x7e, 0x7f, 0xc0, 0x00,
|
||||
0x7e, 0xff, 0xe0, 0x00,
|
||||
0x7f, 0xff, 0xe0, 0x00,
|
||||
0xff, 0xff, 0xf0, 0x00,
|
||||
0xff, 0xff, 0xf0, 0x00,
|
||||
0xff, 0x8f, 0xf8, 0x00,
|
||||
0xff, 0x07, 0xf8, 0x00,
|
||||
0xff, 0x07, 0xf8, 0x00,
|
||||
0xff, 0x07, 0xf8, 0x00,
|
||||
0x7f, 0x07, 0xf8, 0x00,
|
||||
0x7f, 0x07, 0xf8, 0x00,
|
||||
0x7f, 0x8f, 0xf0, 0x00,
|
||||
0x3f, 0xff, 0xf0, 0x00,
|
||||
0x3f, 0xff, 0xf0, 0x00,
|
||||
0x1f, 0xff, 0xe0, 0x00,
|
||||
0x0f, 0xff, 0xc0, 0x00,
|
||||
0x07, 0xff, 0x80, 0x00,
|
||||
0x01, 0xfc, 0x00, 0x00,
|
||||
};
|
||||
|
||||
/** Kerning table for character '6'. */
|
||||
static const struct kerning kerning_OpenSansExtraBold_28_0036[] = {
|
||||
{ /* .left = */ 0, /* .offset = */ 0 },
|
||||
};
|
||||
|
||||
/** Glyph definition for character '6'. */
|
||||
static const struct glyph glyph_OpenSansExtraBold_28_0036 = {
|
||||
.glyph = 54,
|
||||
.left = 1,
|
||||
.top = 28,
|
||||
.advance = 23,
|
||||
.cols = 21,
|
||||
.rows = 28,
|
||||
.bitmap = bitmap_OpenSansExtraBold_28_0036,
|
||||
.kerning = kerning_OpenSansExtraBold_28_0036,
|
||||
};
|
||||
|
||||
/** Bitmap definition for character '7'. */
|
||||
static const uint8_t bitmap_OpenSansExtraBold_28_0037[] = {
|
||||
0xff, 0xff, 0xf0, 0x00,
|
||||
0xff, 0xff, 0xf0, 0x00,
|
||||
0xff, 0xff, 0xf0, 0x00,
|
||||
0xff, 0xff, 0xf0, 0x00,
|
||||
0xff, 0xff, 0xf0, 0x00,
|
||||
0xff, 0xff, 0xe0, 0x00,
|
||||
0x00, 0x1f, 0xe0, 0x00,
|
||||
0x00, 0x1f, 0xc0, 0x00,
|
||||
0x00, 0x1f, 0xc0, 0x00,
|
||||
0x00, 0x3f, 0xc0, 0x00,
|
||||
0x00, 0x3f, 0x80, 0x00,
|
||||
0x00, 0x7f, 0x80, 0x00,
|
||||
0x00, 0x7f, 0x00, 0x00,
|
||||
0x00, 0xff, 0x00, 0x00,
|
||||
0x00, 0xfe, 0x00, 0x00,
|
||||
0x01, 0xfe, 0x00, 0x00,
|
||||
0x01, 0xfe, 0x00, 0x00,
|
||||
0x01, 0xfc, 0x00, 0x00,
|
||||
0x03, 0xfc, 0x00, 0x00,
|
||||
0x03, 0xf8, 0x00, 0x00,
|
||||
0x07, 0xf8, 0x00, 0x00,
|
||||
0x07, 0xf8, 0x00, 0x00,
|
||||
0x0f, 0xf0, 0x00, 0x00,
|
||||
0x0f, 0xf0, 0x00, 0x00,
|
||||
0x0f, 0xe0, 0x00, 0x00,
|
||||
0x1f, 0xe0, 0x00, 0x00,
|
||||
0x1f, 0xc0, 0x00, 0x00,
|
||||
0x3f, 0xc0, 0x00, 0x00,
|
||||
};
|
||||
|
||||
/** Kerning table for character '7'. */
|
||||
static const struct kerning kerning_OpenSansExtraBold_28_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_28_0037 = {
|
||||
.glyph = 55,
|
||||
.left = 2,
|
||||
.top = 28,
|
||||
.advance = 23,
|
||||
.cols = 20,
|
||||
.rows = 28,
|
||||
.bitmap = bitmap_OpenSansExtraBold_28_0037,
|
||||
.kerning = kerning_OpenSansExtraBold_28_0037,
|
||||
};
|
||||
|
||||
/** Bitmap definition for character '8'. */
|
||||
static const uint8_t bitmap_OpenSansExtraBold_28_0038[] = {
|
||||
0x03, 0xfe, 0x00, 0x00,
|
||||
0x0f, 0xff, 0x80, 0x00,
|
||||
0x1f, 0xff, 0xc0, 0x00,
|
||||
0x3f, 0xff, 0xe0, 0x00,
|
||||
0x7f, 0xff, 0xf0, 0x00,
|
||||
0x7f, 0x8f, 0xf0, 0x00,
|
||||
0x7f, 0x07, 0xf0, 0x00,
|
||||
0x7f, 0x07, 0xf0, 0x00,
|
||||
0x7f, 0x8f, 0xf0, 0x00,
|
||||
0x3f, 0xdf, 0xe0, 0x00,
|
||||
0x3f, 0xff, 0xe0, 0x00,
|
||||
0x1f, 0xff, 0xc0, 0x00,
|
||||
0x0f, 0xff, 0x80, 0x00,
|
||||
0x07, 0xfe, 0x00, 0x00,
|
||||
0x0f, 0xff, 0x80, 0x00,
|
||||
0x3f, 0xff, 0xc0, 0x00,
|
||||
0x7f, 0xff, 0xe0, 0x00,
|
||||
0x7f, 0x8f, 0xf0, 0x00,
|
||||
0x7f, 0x07, 0xf0, 0x00,
|
||||
0xfe, 0x03, 0xf8, 0x00,
|
||||
0xfe, 0x03, 0xf8, 0x00,
|
||||
0xfe, 0x03, 0xf8, 0x00,
|
||||
0x7f, 0x07, 0xf0, 0x00,
|
||||
0x7f, 0xff, 0xf0, 0x00,
|
||||
0x7f, 0xff, 0xf0, 0x00,
|
||||
0x3f, 0xff, 0xe0, 0x00,
|
||||
0x0f, 0xff, 0x80, 0x00,
|
||||
0x03, 0xfe, 0x00, 0x00,
|
||||
};
|
||||
|
||||
/** Kerning table for character '8'. */
|
||||
static const struct kerning kerning_OpenSansExtraBold_28_0038[] = {
|
||||
{ /* .left = */ 0, /* .offset = */ 0 },
|
||||
};
|
||||
|
||||
/** Glyph definition for character '8'. */
|
||||
static const struct glyph glyph_OpenSansExtraBold_28_0038 = {
|
||||
.glyph = 56,
|
||||
.left = 1,
|
||||
.top = 28,
|
||||
.advance = 23,
|
||||
.cols = 21,
|
||||
.rows = 28,
|
||||
.bitmap = bitmap_OpenSansExtraBold_28_0038,
|
||||
.kerning = kerning_OpenSansExtraBold_28_0038,
|
||||
};
|
||||
|
||||
/** Bitmap definition for character '9'. */
|
||||
static const uint8_t bitmap_OpenSansExtraBold_28_0039[] = {
|
||||
0x03, 0xf8, 0x00, 0x00,
|
||||
0x0f, 0xff, 0x00, 0x00,
|
||||
0x1f, 0xff, 0x80, 0x00,
|
||||
0x3f, 0xff, 0xc0, 0x00,
|
||||
0x7f, 0xff, 0xe0, 0x00,
|
||||
0x7f, 0xff, 0xe0, 0x00,
|
||||
0xff, 0x0f, 0xf0, 0x00,
|
||||
0xff, 0x07, 0xf0, 0x00,
|
||||
0xfe, 0x07, 0xf0, 0x00,
|
||||
0xfe, 0x07, 0xf0, 0x00,
|
||||
0xfe, 0x07, 0xf8, 0x00,
|
||||
0xff, 0x07, 0xf8, 0x00,
|
||||
0xff, 0x0f, 0xf8, 0x00,
|
||||
0xff, 0xff, 0xf8, 0x00,
|
||||
0x7f, 0xff, 0xf8, 0x00,
|
||||
0x7f, 0xff, 0xf8, 0x00,
|
||||
0x3f, 0xfb, 0xf8, 0x00,
|
||||
0x1f, 0xf3, 0xf0, 0x00,
|
||||
0x07, 0xe7, 0xf0, 0x00,
|
||||
0x00, 0x07, 0xf0, 0x00,
|
||||
0x00, 0x1f, 0xf0, 0x00,
|
||||
0x00, 0x7f, 0xe0, 0x00,
|
||||
0x3f, 0xff, 0xe0, 0x00,
|
||||
0x3f, 0xff, 0xc0, 0x00,
|
||||
0x3f, 0xff, 0x80, 0x00,
|
||||
0x3f, 0xff, 0x00, 0x00,
|
||||
0x3f, 0xfc, 0x00, 0x00,
|
||||
0x3f, 0xe0, 0x00, 0x00,
|
||||
};
|
||||
|
||||
/** Kerning table for character '9'. */
|
||||
static const struct kerning kerning_OpenSansExtraBold_28_0039[] = {
|
||||
{ /* .left = */ 0, /* .offset = */ 0 },
|
||||
};
|
||||
|
||||
/** Glyph definition for character '9'. */
|
||||
static const struct glyph glyph_OpenSansExtraBold_28_0039 = {
|
||||
.glyph = 57,
|
||||
.left = 1,
|
||||
.top = 28,
|
||||
.advance = 23,
|
||||
.cols = 21,
|
||||
.rows = 28,
|
||||
.bitmap = bitmap_OpenSansExtraBold_28_0039,
|
||||
.kerning = kerning_OpenSansExtraBold_28_0039,
|
||||
};
|
||||
|
||||
/** Bitmap definition for character ':'. */
|
||||
static const uint8_t bitmap_OpenSansExtraBold_28_003a[] = {
|
||||
0x7c, 0x00,
|
||||
0xfe, 0x00,
|
||||
0xfe, 0x00,
|
||||
0xff, 0x00,
|
||||
0xfe, 0x00,
|
||||
0xfe, 0x00,
|
||||
0x7c, 0x00,
|
||||
0x00, 0x00,
|
||||
0x00, 0x00,
|
||||
0x00, 0x00,
|
||||
0x00, 0x00,
|
||||
0x00, 0x00,
|
||||
0x00, 0x00,
|
||||
0x00, 0x00,
|
||||
0x00, 0x00,
|
||||
0x7c, 0x00,
|
||||
0xfe, 0x00,
|
||||
0xfe, 0x00,
|
||||
0xff, 0x00,
|
||||
0xfe, 0x00,
|
||||
0xfe, 0x00,
|
||||
0x7c, 0x00,
|
||||
};
|
||||
|
||||
/** Kerning table for character ':'. */
|
||||
static const struct kerning kerning_OpenSansExtraBold_28_003a[] = {
|
||||
{ /* .left = */ 0, /* .offset = */ 0 },
|
||||
};
|
||||
|
||||
/** Glyph definition for character ':'. */
|
||||
static const struct glyph glyph_OpenSansExtraBold_28_003a = {
|
||||
.glyph = 58,
|
||||
.left = 2,
|
||||
.top = 22,
|
||||
.advance = 11,
|
||||
.cols = 8,
|
||||
.rows = 22,
|
||||
.bitmap = bitmap_OpenSansExtraBold_28_003a,
|
||||
.kerning = kerning_OpenSansExtraBold_28_003a,
|
||||
};
|
||||
|
||||
/** Bitmap definition for character 'A'. */
|
||||
static const uint8_t bitmap_OpenSansExtraBold_28_0041[] = {
|
||||
0x00, 0x7f, 0xe0, 0x00,
|
||||
0x00, 0xff, 0xe0, 0x00,
|
||||
0x00, 0xff, 0xf0, 0x00,
|
||||
0x00, 0xff, 0xf0, 0x00,
|
||||
0x01, 0xff, 0xf0, 0x00,
|
||||
0x01, 0xff, 0xf8, 0x00,
|
||||
0x01, 0xff, 0xf8, 0x00,
|
||||
0x01, 0xf9, 0xf8, 0x00,
|
||||
0x03, 0xf9, 0xfc, 0x00,
|
||||
0x03, 0xf9, 0xfc, 0x00,
|
||||
0x03, 0xf9, 0xfc, 0x00,
|
||||
0x07, 0xf0, 0xfe, 0x00,
|
||||
0x07, 0xf0, 0xfe, 0x00,
|
||||
0x07, 0xf0, 0xfe, 0x00,
|
||||
0x0f, 0xf0, 0xff, 0x00,
|
||||
0x0f, 0xf0, 0x7f, 0x00,
|
||||
0x0f, 0xe0, 0x7f, 0x00,
|
||||
0x1f, 0xff, 0xff, 0x80,
|
||||
0x1f, 0xff, 0xff, 0x80,
|
||||
0x1f, 0xff, 0xff, 0x80,
|
||||
0x3f, 0xff, 0xff, 0xc0,
|
||||
0x3f, 0xff, 0xff, 0xc0,
|
||||
0x3f, 0xff, 0xff, 0xc0,
|
||||
0x7f, 0xc0, 0x1f, 0xe0,
|
||||
0x7f, 0x80, 0x1f, 0xe0,
|
||||
0x7f, 0x80, 0x1f, 0xe0,
|
||||
0xff, 0x80, 0x1f, 0xf0,
|
||||
0xff, 0x00, 0x0f, 0xf0,
|
||||
};
|
||||
|
||||
/** Kerning table for character 'A'. */
|
||||
static const struct kerning kerning_OpenSansExtraBold_28_0041[] = {
|
||||
{ /* .left = */ 0, /* .offset = */ 0 },
|
||||
};
|
||||
|
||||
/** Glyph definition for character 'A'. */
|
||||
static const struct glyph glyph_OpenSansExtraBold_28_0041 = {
|
||||
.glyph = 65,
|
||||
.left = 0,
|
||||
.top = 28,
|
||||
.advance = 28,
|
||||
.cols = 28,
|
||||
.rows = 28,
|
||||
.bitmap = bitmap_OpenSansExtraBold_28_0041,
|
||||
.kerning = kerning_OpenSansExtraBold_28_0041,
|
||||
};
|
||||
|
||||
/** Bitmap definition for character 'M'. */
|
||||
static const uint8_t bitmap_OpenSansExtraBold_28_004d[] = {
|
||||
0xff, 0xc0, 0x03, 0xff,
|
||||
0xff, 0xe0, 0x07, 0xff,
|
||||
0xff, 0xe0, 0x07, 0xff,
|
||||
0xff, 0xe0, 0x07, 0xff,
|
||||
0xff, 0xe0, 0x07, 0xff,
|
||||
0xff, 0xf0, 0x0f, 0xff,
|
||||
0xff, 0xf0, 0x0f, 0xff,
|
||||
0xff, 0xf0, 0x0f, 0xff,
|
||||
0xfd, 0xf8, 0x1f, 0xff,
|
||||
0xfd, 0xf8, 0x1f, 0xff,
|
||||
0xfd, 0xf8, 0x1f, 0x7f,
|
||||
0xfe, 0xf8, 0x1f, 0x7f,
|
||||
0xfe, 0xfc, 0x3f, 0x7f,
|
||||
0xfe, 0xfc, 0x3f, 0x7f,
|
||||
0xfe, 0xfc, 0x3e, 0x7f,
|
||||
0xfe, 0x7e, 0x7e, 0x7f,
|
||||
0xfe, 0x7e, 0x7e, 0x7f,
|
||||
0xfe, 0x7e, 0x7c, 0x7f,
|
||||
0xfe, 0x3f, 0x7c, 0x7f,
|
||||
0xfe, 0x3f, 0xfc, 0x7f,
|
||||
0xfe, 0x3f, 0xfc, 0x7f,
|
||||
0xfe, 0x3f, 0xf8, 0x7f,
|
||||
0xfe, 0x1f, 0xf8, 0x7f,
|
||||
0xfe, 0x1f, 0xf8, 0x7f,
|
||||
0xfe, 0x1f, 0xf0, 0x7f,
|
||||
0xfe, 0x0f, 0xf0, 0x7f,
|
||||
0xfe, 0x0f, 0xf0, 0x7f,
|
||||
0xfe, 0x0f, 0xf0, 0x7f,
|
||||
};
|
||||
|
||||
/** Kerning table for character 'M'. */
|
||||
static const struct kerning kerning_OpenSansExtraBold_28_004d[] = {
|
||||
{ /* .left = */ 0, /* .offset = */ 0 },
|
||||
};
|
||||
|
||||
/** Glyph definition for character 'M'. */
|
||||
static const struct glyph glyph_OpenSansExtraBold_28_004d = {
|
||||
.glyph = 77,
|
||||
.left = 3,
|
||||
.top = 28,
|
||||
.advance = 38,
|
||||
.cols = 32,
|
||||
.rows = 28,
|
||||
.bitmap = bitmap_OpenSansExtraBold_28_004d,
|
||||
.kerning = kerning_OpenSansExtraBold_28_004d,
|
||||
};
|
||||
|
||||
/** Bitmap definition for character 'P'. */
|
||||
static const uint8_t bitmap_OpenSansExtraBold_28_0050[] = {
|
||||
0xff, 0xfc, 0x00, 0x00,
|
||||
0xff, 0xff, 0x80, 0x00,
|
||||
0xff, 0xff, 0xc0, 0x00,
|
||||
0xff, 0xff, 0xe0, 0x00,
|
||||
0xff, 0xff, 0xf0, 0x00,
|
||||
0xff, 0xff, 0xf0, 0x00,
|
||||
0xff, 0x0f, 0xf0, 0x00,
|
||||
0xff, 0x07, 0xf0, 0x00,
|
||||
0xff, 0x07, 0xf8, 0x00,
|
||||
0xff, 0x07, 0xf8, 0x00,
|
||||
0xff, 0x07, 0xf0, 0x00,
|
||||
0xff, 0x0f, 0xf0, 0x00,
|
||||
0xff, 0x1f, 0xf0, 0x00,
|
||||
0xff, 0xff, 0xf0, 0x00,
|
||||
0xff, 0xff, 0xe0, 0x00,
|
||||
0xff, 0xff, 0xe0, 0x00,
|
||||
0xff, 0xff, 0xc0, 0x00,
|
||||
0xff, 0xff, 0x00, 0x00,
|
||||
0xff, 0xfc, 0x00, 0x00,
|
||||
0xff, 0x00, 0x00, 0x00,
|
||||
0xff, 0x00, 0x00, 0x00,
|
||||
0xff, 0x00, 0x00, 0x00,
|
||||
0xff, 0x00, 0x00, 0x00,
|
||||
0xff, 0x00, 0x00, 0x00,
|
||||
0xff, 0x00, 0x00, 0x00,
|
||||
0xff, 0x00, 0x00, 0x00,
|
||||
0xff, 0x00, 0x00, 0x00,
|
||||
0xff, 0x00, 0x00, 0x00,
|
||||
};
|
||||
|
||||
/** Kerning table for character 'P'. */
|
||||
static const struct kerning kerning_OpenSansExtraBold_28_0050[] = {
|
||||
{ /* .left = '7' */ 55, /* .offset = */ -2 },
|
||||
{ /* .left = */ 0, /* .offset = */ 0 },
|
||||
};
|
||||
|
||||
/** Glyph definition for character 'P'. */
|
||||
static const struct glyph glyph_OpenSansExtraBold_28_0050 = {
|
||||
.glyph = 80,
|
||||
.left = 3,
|
||||
.top = 28,
|
||||
.advance = 25,
|
||||
.cols = 21,
|
||||
.rows = 28,
|
||||
.bitmap = bitmap_OpenSansExtraBold_28_0050,
|
||||
.kerning = kerning_OpenSansExtraBold_28_0050,
|
||||
};
|
||||
|
||||
/** Glyphs table for font "Open Sans". */
|
||||
static const struct glyph *glyphs_OpenSansExtraBold_28[] = {
|
||||
&glyph_OpenSansExtraBold_28_0020, /* U+0020 ' ' */
|
||||
&glyph_OpenSansExtraBold_28_0030, /* U+0030 '0' */
|
||||
&glyph_OpenSansExtraBold_28_0031, /* U+0031 '1' */
|
||||
&glyph_OpenSansExtraBold_28_0032, /* U+0032 '2' */
|
||||
&glyph_OpenSansExtraBold_28_0033, /* U+0033 '3' */
|
||||
&glyph_OpenSansExtraBold_28_0034, /* U+0034 '4' */
|
||||
&glyph_OpenSansExtraBold_28_0035, /* U+0035 '5' */
|
||||
&glyph_OpenSansExtraBold_28_0036, /* U+0036 '6' */
|
||||
&glyph_OpenSansExtraBold_28_0037, /* U+0037 '7' */
|
||||
&glyph_OpenSansExtraBold_28_0038, /* U+0038 '8' */
|
||||
&glyph_OpenSansExtraBold_28_0039, /* U+0039 '9' */
|
||||
&glyph_OpenSansExtraBold_28_003a, /* U+003A ':' */
|
||||
&glyph_OpenSansExtraBold_28_0041, /* U+0041 'A' */
|
||||
&glyph_OpenSansExtraBold_28_004d, /* U+004D 'M' */
|
||||
&glyph_OpenSansExtraBold_28_0050, /* U+0050 'P' */
|
||||
};
|
||||
|
||||
/** Definition for font "Open Sans". */
|
||||
const struct font font_OpenSansExtraBold_28 = {
|
||||
.name = "Open Sans",
|
||||
.style = "ExtraBold",
|
||||
.size = 28,
|
||||
.dpi = 100,
|
||||
.count = 15,
|
||||
.max = 80,
|
||||
.ascender = 42,
|
||||
.descender = -12,
|
||||
.height = 53,
|
||||
.glyphs = glyphs_OpenSansExtraBold_28,
|
||||
.compressed = 0,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user