At least: font code generator, exchange code support for color 128x128
This commit is contained in:
@@ -1,751 +0,0 @@
|
||||
/* 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,
|
||||
};
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
/* 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
|
||||
*/
|
||||
|
||||
#ifndef _FONTEM_OpenSansExtraBold_28_H
|
||||
#define _FONTEM_OpenSansExtraBold_28_H
|
||||
|
||||
#include "fontem.h"
|
||||
|
||||
extern const struct font font_OpenSansExtraBold_28;
|
||||
|
||||
#endif /* _FONTEM_OpenSansExtraBold_28_H */
|
||||
@@ -1,793 +0,0 @@
|
||||
/* 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,
|
||||
};
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
/* 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
|
||||
*/
|
||||
|
||||
#ifndef _FONTEM_OpenSansExtraBold_32_H
|
||||
#define _FONTEM_OpenSansExtraBold_32_H
|
||||
|
||||
#include "fontem.h"
|
||||
|
||||
extern const struct font font_OpenSansExtraBold_32;
|
||||
|
||||
#endif /* _FONTEM_OpenSansExtraBold_32_H */
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,15 +0,0 @@
|
||||
/* 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
|
||||
*/
|
||||
|
||||
#ifndef _FONTEM_OpenSansExtraBold_64_H
|
||||
#define _FONTEM_OpenSansExtraBold_64_H
|
||||
|
||||
#include "fontem.h"
|
||||
|
||||
extern const struct font font_OpenSansExtraBold_64;
|
||||
|
||||
#endif /* _FONTEM_OpenSansExtraBold_64_H */
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,15 +0,0 @@
|
||||
/* 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
|
||||
*/
|
||||
|
||||
#ifndef _FONTEM_notomono_24_H
|
||||
#define _FONTEM_notomono_24_H
|
||||
|
||||
#include "fontem.h"
|
||||
|
||||
extern const struct font font_notomono_24;
|
||||
|
||||
#endif /* _FONTEM_notomono_24_H */
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,15 +0,0 @@
|
||||
/* 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
|
||||
*/
|
||||
|
||||
#ifndef _FONTEM_notomono_29_H
|
||||
#define _FONTEM_notomono_29_H
|
||||
|
||||
#include "fontem.h"
|
||||
|
||||
extern const struct font font_notomono_29;
|
||||
|
||||
#endif /* _FONTEM_notomono_29_H */
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,15 +0,0 @@
|
||||
/* 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
|
||||
*/
|
||||
|
||||
#ifndef _FONTEM_notomono_64_H
|
||||
#define _FONTEM_notomono_64_H
|
||||
|
||||
#include "fontem.h"
|
||||
|
||||
extern const struct font font_notomono_64;
|
||||
|
||||
#endif /* _FONTEM_notomono_64_H */
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,15 +0,0 @@
|
||||
/* 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
|
||||
*/
|
||||
|
||||
#ifndef _FONTEM_notomono_68_H
|
||||
#define _FONTEM_notomono_68_H
|
||||
|
||||
#include "fontem.h"
|
||||
|
||||
extern const struct font font_notomono_68;
|
||||
|
||||
#endif /* _FONTEM_notomono_68_H */
|
||||
@@ -1,84 +0,0 @@
|
||||
/** Font structure definitions.
|
||||
*
|
||||
* 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
|
||||
*/
|
||||
|
||||
#ifndef _FONTEM_H
|
||||
#define _FONTEM_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
|
||||
/** Alpha compositing "A over B" mechanism */
|
||||
#define alpha_blend(in, in_alpha, out, out_alpha) \
|
||||
((0x100 * in * in_alpha * (255 - out_alpha) + out * out_alpha * (255 - in_alpha)) >> 16)
|
||||
#define blend(a, b, alpha) \
|
||||
(((a) * (255 - (alpha)) + (b) * (alpha)) >> 8)
|
||||
|
||||
/** Extract the Alpha channel from a 32-bit RGBA value */
|
||||
#define rgba32_get_a(rgba) ((rgba >> 24) & 0xff)
|
||||
/** Extract the Red channel from a 32-bit RGBA value */
|
||||
#define rgba32_get_r(rgba) ((rgba >> 16) & 0xff)
|
||||
/** Extract the Green channel from a 32-bit RGBA value */
|
||||
#define rgba32_get_g(rgba) ((rgba >> 8) & 0xff)
|
||||
/** Extract the Blue channel from a 32-bit RGBA value */
|
||||
#define rgba32_get_b(rgba) (rgba & 0xff)
|
||||
|
||||
/** Extract the Red channel from a 16-bit RGB value */
|
||||
#define rgb16_get_r(rgb) ((rgb >> 8) & 0xf8)
|
||||
/** Extract the Green channel from a 16-bit RGB value */
|
||||
#define rgb16_get_g(rgb) ((rgb >> 3) & 0xfc)
|
||||
/** Extract the Blue channel from a 16-bit RGB value */
|
||||
#define rgb16_get_b(rgb) ((rgb << 3) & 0xf8)
|
||||
/** Combine Red, Green and Blue channels into a 16-bit RGB value */
|
||||
#define rgb16_combine(r, g, b) \
|
||||
((((r) & 0xf8) << 8) | \
|
||||
(((g) & 0xfc) << 3) | \
|
||||
(((b) & 0xf8) >> 3))
|
||||
|
||||
|
||||
/** Glyph character value rype */
|
||||
typedef uint16_t glyph_t;
|
||||
|
||||
/** Description of a glyph; a single character in a font. */
|
||||
struct glyph {
|
||||
glyph_t glyph; /** The glyph this entry refers to */
|
||||
|
||||
int16_t left; /** Offset of the left edge of the glyph */
|
||||
int16_t top; /** Offset of the top edge of the glyph */
|
||||
int16_t advance; /** Horizonal offset when advancing to the next glyph */
|
||||
|
||||
uint16_t cols; /** Width of the bitmap */
|
||||
uint16_t rows; /** Height of the bitmap */
|
||||
const uint8_t *bitmap; /** Bitmap data */
|
||||
|
||||
const struct kerning *kerning; /** Font kerning data */
|
||||
};
|
||||
|
||||
/** Kerning table; for a pair of glyphs, provides the horizontal adjustment. */
|
||||
struct kerning {
|
||||
glyph_t left; /** The left-glyph */
|
||||
int16_t offset; /** The kerning offset for this glyph pair */
|
||||
};
|
||||
|
||||
/** Description of a font. */
|
||||
struct font {
|
||||
char *name; /** Name of the font */
|
||||
char *style; /** Style of the font */
|
||||
|
||||
uint16_t size; /** Point size of the font */
|
||||
uint16_t dpi; /** Resolution of the font */
|
||||
|
||||
int16_t ascender; /** Ascender height */
|
||||
int16_t descender; /** Descender height */
|
||||
int16_t height; /** Baseline-to-baseline height */
|
||||
|
||||
uint16_t count; /** Number of glyphs */
|
||||
uint16_t max; /** Maximum glyph index */
|
||||
const struct glyph **glyphs; /** Font glyphs */
|
||||
char compressed; /** TRUE if glyph bitmaps are RLE compressed */
|
||||
};
|
||||
|
||||
#endif /* _FONTEM_H */
|
||||
Reference in New Issue
Block a user