summaryrefslogtreecommitdiff
path: root/include/lib
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2021-11-02 23:14:38 +0100
committerDaniel Friesel <derf@finalrewind.org>2021-11-02 23:14:38 +0100
commitae792d1aca94749dceb9f843ae8bc8dfc3b9dfdd (patch)
treef3b37a6390df75c6d8fb08999537e1508f40d975 /include/lib
parentcb2e1564ec96ecea4ec08f332542415ca5a47a31 (diff)
add mirrored version of pixeloperator font
Diffstat (limited to 'include/lib')
-rw-r--r--include/lib/pixelfont/pixeloperator_mirrored.h207
1 files changed, 207 insertions, 0 deletions
diff --git a/include/lib/pixelfont/pixeloperator_mirrored.h b/include/lib/pixelfont/pixeloperator_mirrored.h
new file mode 100644
index 0000000..71a1cc0
--- /dev/null
+++ b/include/lib/pixelfont/pixeloperator_mirrored.h
@@ -0,0 +1,207 @@
+#pragma once
+/*
+ * Pixel Operator Font
+ * <https://notabug.org/HarvettFox96/ttf-pixeloperator>
+ * <https://www.dafont.com/pixel-operator.font>
+ *
+ * Copyright 2018 Jayvee Enaguas
+ *
+ * SPDX-License-Identifier: CC0-1.0
+ */
+
+typedef const unsigned char glyph_line_t;
+typedef const unsigned char* glyph_t;
+
+glyph_line_t chr_032[] = {0x03,0x00,0x00,0x00}; // <space>
+glyph_line_t chr_033[] = {0x01,0xbe}; // !
+glyph_line_t chr_034[] = {0x04,0x0c,0x02,0x0c,0x02}; // "
+glyph_line_t chr_035[] = {0x06,0x48,0xfc,0x48,0x48,0xfc,0x48}; // #
+glyph_line_t chr_036[] = {0x05,0x48,0x54,0xfe,0x54,0x24}; // $
+glyph_line_t chr_037[] = {0x07,0x0c,0x52,0x2c,0x10,0x68,0x94,0x60}; // %
+glyph_line_t chr_038[] = {0x05,0x6c,0x92,0x92,0x92,0xe4}; // &
+glyph_line_t chr_039[] = {0x01,0x0e}; // '
+glyph_line_t chr_040[] = {0x03,0x38,0x44,0x82}; // (
+glyph_line_t chr_041[] = {0x03,0x82,0x44,0x38}; // )
+glyph_line_t chr_042[] = {0x05,0x14,0x08,0x3e,0x08,0x14}; // *
+glyph_line_t chr_043[] = {0x05,0x10,0x10,0x7c,0x10,0x10}; // +
+glyph_line_t chr_044[] = {0x02,0x80,0x40}; // ,
+glyph_line_t chr_045[] = {0x05,0x10,0x10,0x10,0x10,0x10}; // -
+glyph_line_t chr_046[] = {0x01,0x80}; // .
+glyph_line_t chr_047[] = {0x03,0xc0,0x38,0x06}; // /
+glyph_line_t chr_048[] = {0x05,0x7c,0xa2,0x92,0x8a,0x7c}; // 0
+glyph_line_t chr_049[] = {0x03,0x08,0x04,0xfe}; // 1
+glyph_line_t chr_050[] = {0x05,0x84,0xc2,0xa2,0x92,0x8c}; // 2
+glyph_line_t chr_051[] = {0x05,0x44,0x82,0x92,0x92,0x6c}; // 3
+glyph_line_t chr_052[] = {0x05,0x30,0x28,0x24,0x22,0xfe}; // 4
+glyph_line_t chr_053[] = {0x05,0x4e,0x8a,0x8a,0x8a,0x72}; // 5
+glyph_line_t chr_054[] = {0x05,0x7c,0x92,0x92,0x92,0x64}; // 6
+glyph_line_t chr_055[] = {0x05,0xc2,0x22,0x12,0x0a,0x06}; // 7
+glyph_line_t chr_056[] = {0x05,0x6c,0x92,0x92,0x92,0x6c}; // 8
+glyph_line_t chr_057[] = {0x05,0x4c,0x92,0x92,0x92,0x7c}; // 9
+glyph_line_t chr_058[] = {0x01,0x48}; // :
+glyph_line_t chr_059[] = {0x02,0x80,0x48}; // ;
+glyph_line_t chr_060[] = {0x03,0x10,0x28,0x44}; // <
+glyph_line_t chr_061[] = {0x05,0x28,0x28,0x28,0x28,0x28}; // =
+glyph_line_t chr_062[] = {0x03,0x44,0x28,0x10}; // >
+glyph_line_t chr_063[] = {0x05,0x04,0x02,0xa2,0x12,0x0c}; // ?
+glyph_line_t chr_064[] = {0x07,0x7c,0x82,0x92,0xaa,0xba,0xa2,0x1c}; // @
+glyph_line_t chr_065[] = {0x05,0xfc,0x12,0x12,0x12,0xfc}; // A
+glyph_line_t chr_066[] = {0x05,0xfe,0x92,0x92,0x92,0x6c}; // B
+glyph_line_t chr_067[] = {0x05,0x7c,0x82,0x82,0x82,0x44}; // C
+glyph_line_t chr_068[] = {0x05,0xfe,0x82,0x82,0x82,0x7c}; // D
+glyph_line_t chr_069[] = {0x05,0xfe,0x92,0x92,0x82,0x82}; // E
+glyph_line_t chr_070[] = {0x05,0xfe,0x12,0x12,0x02,0x02}; // F
+glyph_line_t chr_071[] = {0x05,0x7c,0x82,0x82,0x92,0xf4}; // G
+glyph_line_t chr_072[] = {0x05,0xfe,0x10,0x10,0x10,0xfe}; // H
+glyph_line_t chr_073[] = {0x01,0xfe}; // I
+glyph_line_t chr_074[] = {0x05,0x40,0x80,0x80,0x80,0x7e}; // J
+glyph_line_t chr_075[] = {0x05,0xfe,0x10,0x28,0x44,0x82}; // K
+glyph_line_t chr_076[] = {0x05,0xfe,0x80,0x80,0x80,0x80}; // L
+glyph_line_t chr_077[] = {0x07,0xfe,0x08,0x10,0x20,0x10,0x08,0xfe}; // M
+glyph_line_t chr_078[] = {0x05,0xfe,0x08,0x10,0x20,0xfe}; // N
+glyph_line_t chr_079[] = {0x05,0x7c,0x82,0x82,0x82,0x7c}; // O
+glyph_line_t chr_080[] = {0x05,0xfe,0x12,0x12,0x12,0x0c}; // P
+glyph_line_t chr_081[] = {0x05,0x7c,0x82,0xa2,0x42,0xbc}; // Q
+glyph_line_t chr_082[] = {0x05,0xfe,0x22,0x22,0x62,0x9c}; // R
+glyph_line_t chr_083[] = {0x05,0x4c,0x92,0x92,0x92,0x64}; // S
+glyph_line_t chr_084[] = {0x05,0x02,0x02,0xfe,0x02,0x02}; // T
+glyph_line_t chr_085[] = {0x05,0x7e,0x80,0x80,0x80,0x7e}; // U
+glyph_line_t chr_086[] = {0x05,0x3e,0x40,0x80,0x40,0x3e}; // V
+glyph_line_t chr_087[] = {0x07,0x7e,0x80,0x80,0x78,0x80,0x80,0x7e}; // W
+glyph_line_t chr_088[] = {0x05,0xc6,0x28,0x10,0x28,0xc6}; // X
+glyph_line_t chr_089[] = {0x05,0x06,0x08,0xf0,0x08,0x06}; // Y
+glyph_line_t chr_090[] = {0x05,0xc2,0xa2,0x92,0x8a,0x86}; // Z
+glyph_line_t chr_091[] = {0x03,0xfe,0x82,0x82}; // [
+glyph_line_t chr_092[] = {0x03,0x06,0x38,0xc0}; // backslash
+glyph_line_t chr_093[] = {0x03,0x82,0x82,0xfe}; // ]
+glyph_line_t chr_094[] = {0x05,0x08,0x04,0x02,0x04,0x08}; // ^
+glyph_line_t chr_095[] = {0x05,0x80,0x80,0x80,0x80,0x80}; // _
+glyph_line_t chr_096[] = {0x02,0x02,0x04}; // `
+glyph_line_t chr_097[] = {0x05,0x40,0xa8,0xa8,0xa8,0xf0}; // a
+glyph_line_t chr_098[] = {0x05,0xfe,0x88,0x88,0x88,0x70}; // b
+glyph_line_t chr_099[] = {0x05,0x70,0x88,0x88,0x88,0x50}; // c
+glyph_line_t chr_100[] = {0x05,0x70,0x88,0x88,0x88,0xfe}; // d
+glyph_line_t chr_101[] = {0x05,0x70,0xa8,0xa8,0xa8,0x30}; // e
+glyph_line_t chr_102[] = {0x05,0x08,0xfc,0x0a,0x0a,0x02}; // f
+glyph_line_t chr_103[] = {0x05,0x10,0xa8,0xa8,0xa8,0x78}; // g
+glyph_line_t chr_104[] = {0x05,0xfe,0x08,0x08,0x08,0xf0}; // h
+glyph_line_t chr_105[] = {0x01,0xfa}; // i
+glyph_line_t chr_106[] = {0x05,0x40,0x80,0x80,0x80,0x7a}; // j
+glyph_line_t chr_107[] = {0x05,0xfe,0x20,0x30,0x48,0x80}; // k
+glyph_line_t chr_108[] = {0x01,0xfe}; // l
+glyph_line_t chr_109[] = {0x07,0xf8,0x08,0x08,0x30,0x08,0x08,0xf0}; // m
+glyph_line_t chr_110[] = {0x05,0xf8,0x08,0x08,0x08,0xf0}; // n
+glyph_line_t chr_111[] = {0x05,0x70,0x88,0x88,0x88,0x70}; // o
+glyph_line_t chr_112[] = {0x05,0xf0,0x28,0x28,0x28,0x10}; // p
+glyph_line_t chr_113[] = {0x05,0x10,0x28,0x28,0x28,0xf0}; // q
+glyph_line_t chr_114[] = {0x05,0xf8,0x20,0x10,0x08,0x08}; // r
+glyph_line_t chr_115[] = {0x05,0x90,0xa8,0xa8,0xa8,0x40}; // s
+glyph_line_t chr_116[] = {0x05,0x08,0x7c,0x88,0x88,0x80}; // t
+glyph_line_t chr_117[] = {0x05,0x78,0x80,0x80,0x80,0x78}; // u
+glyph_line_t chr_118[] = {0x05,0x38,0x40,0x80,0x40,0x38}; // v
+glyph_line_t chr_119[] = {0x07,0x78,0x80,0x80,0x40,0x80,0x80,0x78}; // w
+glyph_line_t chr_120[] = {0x05,0x88,0x50,0x20,0x50,0x88}; // x
+glyph_line_t chr_121[] = {0x05,0x98,0xa0,0xa0,0xa0,0x78}; // y
+glyph_line_t chr_122[] = {0x05,0x88,0xc8,0xa8,0x98,0x88}; // z
+glyph_line_t chr_123[] = {0x04,0x10,0x6c,0x82,0x82}; // {
+glyph_line_t chr_124[] = {0x01,0xfe}; // |
+glyph_line_t chr_125[] = {0x04,0x82,0x82,0x6c,0x10}; // }
+glyph_line_t chr_126[] = {0x06,0x04,0x02,0x02,0x04,0x04,0x02}; // ~
+
+const glyph_t pixeloperator_mirrored[] = {
+ chr_032,
+ chr_033,
+ chr_034,
+ chr_035,
+ chr_036,
+ chr_037,
+ chr_038,
+ chr_039,
+ chr_040,
+ chr_041,
+ chr_042,
+ chr_043,
+ chr_044,
+ chr_045,
+ chr_046,
+ chr_047,
+ chr_048,
+ chr_049,
+ chr_050,
+ chr_051,
+ chr_052,
+ chr_053,
+ chr_054,
+ chr_055,
+ chr_056,
+ chr_057,
+ chr_058,
+ chr_059,
+ chr_060,
+ chr_061,
+ chr_062,
+ chr_063,
+ chr_064,
+ chr_065,
+ chr_066,
+ chr_067,
+ chr_068,
+ chr_069,
+ chr_070,
+ chr_071,
+ chr_072,
+ chr_073,
+ chr_074,
+ chr_075,
+ chr_076,
+ chr_077,
+ chr_078,
+ chr_079,
+ chr_080,
+ chr_081,
+ chr_082,
+ chr_083,
+ chr_084,
+ chr_085,
+ chr_086,
+ chr_087,
+ chr_088,
+ chr_089,
+ chr_090,
+ chr_091,
+ chr_092,
+ chr_093,
+ chr_094,
+ chr_095,
+ chr_096,
+ chr_097,
+ chr_098,
+ chr_099,
+ chr_100,
+ chr_101,
+ chr_102,
+ chr_103,
+ chr_104,
+ chr_105,
+ chr_106,
+ chr_107,
+ chr_108,
+ chr_109,
+ chr_110,
+ chr_111,
+ chr_112,
+ chr_113,
+ chr_114,
+ chr_115,
+ chr_116,
+ chr_117,
+ chr_118,
+ chr_119,
+ chr_120,
+ chr_121,
+ chr_122,
+ chr_123,
+ chr_124,
+ chr_125,
+ chr_126
+};