1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-19 05:58:09 +00:00

feat: use alternative numeral glyphs for T3T1

Numeral chars 0-9 mapped to glyphs indices 1298-1307.
This commit does not modify gen_font.py, see issue for that.
This commit is contained in:
obrusvit 2024-06-21 10:44:21 +02:00 committed by matejcik
parent c73115df7b
commit 7adceec596
4 changed files with 28 additions and 16 deletions

View File

@ -1,3 +1,5 @@
// This file is generated by core/tools/codegen/gen_font.py
#include <stdint.h>
// clang-format off
@ -6,6 +8,8 @@
// - the third, fourth and fifth bytes are advance, bearingX and bearingY of the horizontal metrics of the glyph
// - the rest is packed 4-bit glyph data
// NOTE: numeral chars ('0','1',..,'9') mapped to alternative style glyphs contained in the font (glyph indices: 1298-1307)
/* */ static const uint8_t Font_TTSatoshi_DemiBold_18_glyph_32[] = { 0, 0, 5, 0, 0 };
/* ! */ static const uint8_t Font_TTSatoshi_DemiBold_18_glyph_33[] = { 3, 13, 5, 1, 13, 248, 12, 248, 12, 248, 12, 248, 12, 248, 12, 248, 11, 247, 10, 245, 8, 244, 7, 64, 1, 132, 6, 248, 12, 248, 12 };
/* " */ static const uint8_t Font_TTSatoshi_DemiBold_18_glyph_34[] = { 6, 5, 8, 1, 13, 254, 146, 127, 254, 146, 127, 254, 146, 127, 254, 146, 127, 34, 16, 18 };
@ -22,15 +26,15 @@
/* - */ static const uint8_t Font_TTSatoshi_DemiBold_18_glyph_45[] = { 7, 3, 8, 0, 7, 0, 0, 0, 0, 243, 255, 255, 14, 243, 255, 255, 14 };
/* . */ static const uint8_t Font_TTSatoshi_DemiBold_18_glyph_46[] = { 3, 3, 5, 1, 3, 135, 4, 254, 9, 254, 9 };
/* / */ static const uint8_t Font_TTSatoshi_DemiBold_18_glyph_47[] = { 8, 17, 7, 0, 13, 0, 0, 178, 11, 0, 0, 246, 13, 0, 0, 251, 8, 0, 0, 255, 3, 0, 80, 239, 0, 0, 144, 175, 0, 0, 224, 95, 0, 0, 243, 31, 0, 0, 247, 12, 0, 0, 252, 7, 0, 16, 255, 2, 0, 96, 223, 0, 0, 160, 159, 0, 0, 240, 79, 0, 0, 244, 15, 0, 0, 248, 11, 0, 0, 253, 6, 0, 0 };
/* 0 */ static const uint8_t Font_TTSatoshi_DemiBold_18_glyph_48[] = { 12, 13, 12, 0, 13, 0, 48, 234, 174, 3, 0, 0, 246, 255, 255, 127, 0, 32, 255, 109, 198, 255, 2, 160, 239, 0, 0, 253, 11, 224, 127, 0, 0, 246, 15, 240, 79, 0, 0, 243, 31, 242, 47, 0, 0, 242, 63, 240, 79, 0, 0, 243, 31, 224, 127, 0, 0, 246, 15, 160, 239, 0, 0, 253, 11, 32, 255, 93, 197, 255, 2, 0, 246, 255, 255, 127, 0, 0, 48, 234, 190, 4, 0 };
/* 1 */ static const uint8_t Font_TTSatoshi_DemiBold_18_glyph_49[] = { 6, 13, 7, 0, 13, 0, 240, 111, 248, 255, 111, 248, 255, 111, 66, 244, 111, 0, 240, 111, 0, 240, 111, 0, 240, 111, 0, 240, 111, 0, 240, 111, 0, 240, 111, 0, 240, 111, 0, 240, 111, 0, 240, 111 };
/* 2 */ static const uint8_t Font_TTSatoshi_DemiBold_18_glyph_50[] = { 10, 13, 10, 0, 13, 0, 162, 238, 76, 0, 32, 255, 255, 255, 6, 192, 255, 86, 253, 15, 240, 111, 0, 244, 63, 113, 23, 0, 242, 79, 0, 0, 0, 249, 31, 0, 0, 128, 255, 7, 0, 0, 248, 143, 0, 0, 128, 255, 9, 0, 0, 248, 159, 0, 0, 144, 255, 76, 51, 35, 240, 255, 255, 255, 143, 240, 255, 255, 255, 143 };
/* 3 */ static const uint8_t Font_TTSatoshi_DemiBold_18_glyph_51[] = { 10, 13, 10, 0, 13, 0, 179, 238, 92, 0, 96, 255, 255, 255, 7, 240, 207, 102, 252, 15, 162, 26, 0, 243, 63, 0, 0, 16, 249, 15, 0, 0, 253, 255, 5, 0, 0, 253, 239, 4, 0, 0, 33, 250, 30, 16, 1, 0, 240, 79, 245, 31, 0, 240, 95, 242, 207, 85, 251, 47, 112, 255, 255, 255, 8, 0, 196, 238, 92, 0 };
/* 4 */ static const uint8_t Font_TTSatoshi_DemiBold_18_glyph_52[] = { 10, 13, 10, 0, 13, 0, 0, 248, 255, 5, 0, 16, 255, 255, 5, 0, 144, 239, 255, 5, 0, 242, 79, 255, 5, 0, 251, 11, 255, 5, 64, 255, 3, 255, 5, 192, 175, 0, 255, 5, 245, 47, 0, 255, 5, 251, 255, 255, 255, 207, 251, 255, 255, 255, 207, 34, 34, 34, 255, 39, 0, 0, 0, 255, 5, 0, 0, 0, 255, 5 };
/* 5 */ static const uint8_t Font_TTSatoshi_DemiBold_18_glyph_53[] = { 10, 13, 11, 0, 13, 80, 255, 255, 255, 31, 96, 255, 255, 255, 31, 128, 207, 68, 68, 4, 144, 175, 0, 0, 0, 176, 159, 16, 0, 0, 192, 239, 255, 175, 1, 224, 255, 255, 255, 30, 128, 120, 2, 245, 143, 0, 0, 0, 144, 191, 145, 57, 0, 160, 175, 224, 239, 86, 250, 111, 64, 255, 255, 255, 11, 0, 162, 253, 124, 0 };
/* 0 */ static const uint8_t Font_TTSatoshi_DemiBold_18_glyph_48[] = { 11, 13, 10, 0, 13, 0, 145, 237, 91, 0, 0, 64, 254, 255, 255, 9, 0, 224, 239, 87, 251, 95, 0, 247, 47, 0, 176, 223, 0, 251, 10, 0, 48, 255, 2, 253, 7, 0, 0, 255, 4, 255, 5, 0, 0, 255, 6, 253, 7, 0, 0, 255, 4, 251, 10, 0, 48, 255, 2, 247, 47, 0, 176, 239, 0, 224, 239, 86, 251, 95, 0, 64, 254, 255, 255, 9, 0, 0, 162, 237, 91, 0, 0 };
/* 1 */ static const uint8_t Font_TTSatoshi_DemiBold_18_glyph_49[] = { 9, 13, 10, 1, 13, 0, 224, 127, 0, 0, 253, 255, 127, 0, 0, 253, 255, 127, 0, 0, 67, 228, 127, 0, 0, 0, 208, 127, 0, 0, 0, 208, 127, 0, 0, 0, 208, 127, 0, 0, 0, 208, 127, 0, 0, 0, 208, 127, 0, 0, 0, 208, 127, 0, 0, 84, 229, 175, 85, 2, 253, 255, 255, 255, 8, 253, 255, 255, 255, 8 };
/* 2 */ static const uint8_t Font_TTSatoshi_DemiBold_18_glyph_50[] = { 10, 13, 10, 0, 13, 0, 145, 253, 92, 0, 16, 254, 255, 255, 8, 160, 255, 87, 252, 31, 224, 127, 0, 243, 95, 112, 39, 0, 241, 111, 0, 0, 0, 248, 47, 0, 0, 112, 255, 8, 0, 0, 247, 175, 0, 0, 112, 255, 10, 0, 0, 247, 175, 0, 0, 112, 255, 77, 51, 35, 224, 255, 255, 255, 159, 224, 255, 255, 255, 159 };
/* 3 */ static const uint8_t Font_TTSatoshi_DemiBold_18_glyph_51[] = { 10, 13, 10, 0, 13, 0, 162, 253, 108, 0, 48, 255, 255, 255, 10, 208, 223, 87, 250, 63, 160, 58, 0, 240, 111, 0, 0, 0, 247, 63, 0, 0, 250, 255, 7, 0, 0, 250, 255, 6, 0, 0, 32, 248, 63, 16, 1, 0, 208, 127, 242, 63, 0, 208, 143, 224, 223, 70, 250, 95, 80, 255, 255, 255, 11, 0, 179, 254, 108, 0 };
/* 4 */ static const uint8_t Font_TTSatoshi_DemiBold_18_glyph_52[] = { 11, 13, 10, 0, 13, 0, 0, 243, 255, 10, 0, 0, 0, 252, 255, 10, 0, 0, 80, 255, 255, 10, 0, 0, 208, 143, 251, 10, 0, 0, 247, 30, 251, 10, 0, 16, 254, 7, 251, 10, 0, 128, 239, 0, 251, 10, 0, 241, 95, 0, 251, 10, 0, 247, 255, 255, 255, 255, 1, 247, 255, 255, 255, 255, 1, 33, 34, 34, 252, 43, 0, 0, 0, 0, 251, 10, 0, 0, 0, 0, 251, 10, 0 };
/* 5 */ static const uint8_t Font_TTSatoshi_DemiBold_18_glyph_53[] = { 10, 13, 10, 0, 13, 96, 255, 255, 255, 15, 112, 255, 255, 255, 15, 144, 191, 68, 68, 4, 160, 159, 0, 0, 0, 192, 127, 16, 0, 0, 224, 239, 255, 175, 1, 240, 255, 255, 255, 13, 128, 104, 2, 246, 127, 0, 0, 0, 176, 175, 146, 41, 0, 192, 159, 240, 223, 85, 250, 79, 80, 255, 255, 255, 10, 0, 179, 254, 108, 0 };
/* 6 */ static const uint8_t Font_TTSatoshi_DemiBold_18_glyph_54[] = { 10, 13, 10, 0, 13, 0, 0, 243, 127, 0, 0, 0, 253, 13, 0, 0, 128, 255, 3, 0, 0, 243, 143, 0, 0, 0, 253, 255, 108, 0, 112, 255, 255, 255, 9, 224, 239, 53, 250, 63, 243, 79, 0, 208, 143, 243, 31, 0, 160, 175, 241, 79, 0, 208, 143, 192, 239, 53, 250, 63, 32, 255, 255, 255, 9, 0, 161, 253, 92, 0 };
/* 7 */ static const uint8_t Font_TTSatoshi_DemiBold_18_glyph_55[] = { 9, 13, 9, 0, 13, 248, 255, 255, 255, 14, 248, 255, 255, 255, 14, 66, 68, 68, 255, 11, 0, 0, 64, 255, 5, 0, 0, 176, 239, 0, 0, 0, 241, 143, 0, 0, 0, 248, 47, 0, 0, 0, 254, 11, 0, 0, 64, 255, 5, 0, 0, 176, 239, 0, 0, 0, 242, 143, 0, 0, 0, 248, 31, 0, 0, 0, 254, 11, 0, 0 };
/* 8 */ static const uint8_t Font_TTSatoshi_DemiBold_18_glyph_56[] = { 10, 13, 11, 0, 13, 0, 162, 253, 124, 0, 32, 255, 255, 255, 11, 176, 223, 37, 248, 79, 208, 127, 0, 208, 127, 160, 207, 3, 246, 79, 16, 252, 255, 255, 8, 32, 253, 255, 255, 9, 192, 207, 2, 245, 95, 241, 63, 0, 160, 175, 242, 79, 0, 160, 191, 224, 223, 19, 246, 143, 64, 255, 255, 255, 13, 0, 162, 253, 140, 0 };
/* 7 */ static const uint8_t Font_TTSatoshi_DemiBold_18_glyph_55[] = { 10, 13, 10, 0, 13, 240, 255, 255, 255, 111, 240, 255, 255, 255, 111, 64, 68, 68, 248, 79, 0, 0, 0, 251, 13, 0, 0, 32, 255, 7, 0, 0, 128, 255, 1, 0, 0, 224, 175, 0, 0, 0, 245, 63, 0, 0, 0, 252, 13, 0, 0, 32, 255, 7, 0, 0, 144, 255, 1, 0, 0, 224, 175, 0, 0, 0, 246, 63, 0, 0 };
/* 8 */ static const uint8_t Font_TTSatoshi_DemiBold_18_glyph_56[] = { 10, 13, 10, 0, 13, 0, 162, 254, 108, 0, 48, 255, 255, 255, 10, 192, 223, 36, 248, 63, 240, 111, 0, 240, 111, 176, 207, 19, 247, 47, 32, 253, 255, 255, 6, 32, 253, 255, 255, 7, 208, 191, 2, 246, 79, 242, 47, 0, 176, 159, 243, 47, 0, 176, 175, 240, 207, 19, 247, 111, 80, 255, 255, 255, 12, 0, 179, 254, 124, 0 };
/* 9 */ static const uint8_t Font_TTSatoshi_DemiBold_18_glyph_57[] = { 10, 13, 10, 0, 13, 0, 161, 237, 92, 0, 32, 255, 255, 255, 8, 192, 239, 53, 250, 63, 241, 79, 0, 208, 143, 243, 31, 0, 160, 175, 241, 79, 0, 208, 175, 192, 239, 53, 250, 111, 48, 255, 255, 255, 14, 0, 162, 254, 255, 4, 0, 0, 242, 159, 0, 0, 0, 252, 14, 0, 0, 96, 255, 4, 0, 0, 241, 175, 0, 0 };
/* : */ static const uint8_t Font_TTSatoshi_DemiBold_18_glyph_58[] = { 3, 10, 5, 1, 10, 254, 9, 254, 9, 135, 5, 0, 0, 0, 0, 0, 0, 0, 0, 135, 4, 254, 9, 254, 9 };
/* ; */ static const uint8_t Font_TTSatoshi_DemiBold_18_glyph_59[] = { 4, 12, 5, 0, 10, 208, 175, 208, 175, 112, 88, 0, 0, 0, 0, 0, 0, 0, 0, 224, 143, 240, 79, 241, 15, 243, 11, 32, 1 };

View File

@ -1,3 +1,5 @@
// This file is generated by core/tools/codegen/gen_font.py
#include <stdint.h>
#if TREZOR_FONT_BPP != 4

View File

@ -1,3 +1,5 @@
// This file is generated by core/tools/codegen/gen_font.py
#include <stdint.h>
// clang-format off
@ -6,6 +8,8 @@
// - the third, fourth and fifth bytes are advance, bearingX and bearingY of the horizontal metrics of the glyph
// - the rest is packed 4-bit glyph data
// NOTE: numeral chars ('0','1',..,'9') mapped to alternative style glyphs contained in the font (glyph indices: 1298-1307)
//
/* */ static const uint8_t Font_TTSatoshi_DemiBold_21_glyph_32[] = { 0, 0, 5, 0, 0 };
/* ! */ static const uint8_t Font_TTSatoshi_DemiBold_21_glyph_33[] = { 4, 15, 6, 1, 15, 245, 111, 245, 111, 245, 111, 245, 111, 245, 111, 245, 111, 244, 95, 243, 79, 241, 47, 240, 31, 160, 10, 0, 0, 228, 110, 245, 111, 245, 111 };
/* " */ static const uint8_t Font_TTSatoshi_DemiBold_21_glyph_34[] = { 7, 5, 9, 1, 15, 251, 10, 253, 8, 251, 10, 253, 8, 251, 10, 253, 8, 251, 10, 253, 8, 218, 9, 219, 7 };
@ -22,15 +26,15 @@
/* - */ static const uint8_t Font_TTSatoshi_DemiBold_21_glyph_45[] = { 9, 3, 9, 0, 8, 96, 102, 102, 102, 0, 240, 255, 255, 255, 1, 240, 255, 255, 255, 1 };
/* . */ static const uint8_t Font_TTSatoshi_DemiBold_21_glyph_46[] = { 4, 3, 5, 1, 3, 235, 46, 251, 47, 251, 47 };
/* / */ static const uint8_t Font_TTSatoshi_DemiBold_21_glyph_47[] = { 9, 20, 8, 0, 16, 0, 0, 32, 136, 2, 0, 0, 128, 255, 1, 0, 0, 208, 207, 0, 0, 0, 242, 127, 0, 0, 0, 246, 63, 0, 0, 0, 251, 14, 0, 0, 0, 255, 9, 0, 0, 64, 255, 4, 0, 0, 144, 255, 0, 0, 0, 224, 191, 0, 0, 0, 243, 111, 0, 0, 0, 247, 47, 0, 0, 0, 252, 13, 0, 0, 16, 255, 8, 0, 0, 96, 255, 3, 0, 0, 160, 239, 0, 0, 0, 240, 175, 0, 0, 0, 244, 95, 0, 0, 0, 248, 31, 0, 0, 0, 253, 12, 0, 0, 0 };
/* 0 */ static const uint8_t Font_TTSatoshi_DemiBold_21_glyph_48[] = { 14, 15, 14, 0, 15, 0, 0, 197, 255, 108, 0, 0, 0, 144, 255, 255, 255, 10, 0, 0, 249, 255, 187, 255, 159, 0, 32, 255, 46, 0, 210, 255, 2, 144, 255, 5, 0, 64, 255, 10, 192, 239, 0, 0, 0, 254, 12, 224, 207, 0, 0, 0, 251, 15, 240, 191, 0, 0, 0, 250, 31, 224, 207, 0, 0, 0, 251, 15, 192, 239, 0, 0, 0, 254, 12, 144, 255, 5, 0, 64, 255, 10, 32, 255, 46, 0, 210, 255, 3, 0, 249, 255, 187, 255, 175, 0, 0, 160, 255, 255, 255, 10, 0, 0, 0, 165, 238, 107, 0, 0 };
/* 1 */ static const uint8_t Font_TTSatoshi_DemiBold_21_glyph_49[] = { 7, 15, 8, 0, 15, 0, 112, 255, 4, 148, 217, 255, 4, 247, 255, 255, 4, 247, 255, 255, 4, 0, 96, 255, 4, 0, 96, 255, 4, 0, 96, 255, 4, 0, 96, 255, 4, 0, 96, 255, 4, 0, 96, 255, 4, 0, 96, 255, 4, 0, 96, 255, 4, 0, 96, 255, 4, 0, 96, 255, 4, 0, 96, 255, 4 };
/* 2 */ static const uint8_t Font_TTSatoshi_DemiBold_21_glyph_50[] = { 12, 15, 12, 0, 15, 0, 80, 235, 190, 5, 0, 0, 249, 255, 255, 159, 0, 80, 255, 191, 251, 255, 5, 192, 255, 4, 96, 255, 10, 240, 207, 0, 0, 255, 13, 32, 18, 0, 16, 255, 12, 0, 0, 0, 160, 255, 7, 0, 0, 0, 249, 207, 0, 0, 0, 160, 255, 29, 0, 0, 0, 250, 223, 1, 0, 0, 160, 255, 29, 0, 0, 0, 251, 223, 1, 0, 0, 160, 255, 191, 153, 153, 25, 208, 255, 255, 255, 255, 31, 208, 255, 255, 255, 255, 31 };
/* 3 */ static const uint8_t Font_TTSatoshi_DemiBold_21_glyph_51[] = { 12, 15, 12, 0, 15, 0, 112, 236, 190, 5, 0, 16, 253, 255, 255, 175, 0, 160, 255, 174, 251, 255, 5, 240, 223, 0, 48, 255, 10, 80, 53, 0, 0, 255, 11, 0, 0, 0, 145, 255, 7, 0, 0, 242, 255, 191, 0, 0, 0, 242, 255, 95, 0, 0, 0, 97, 232, 255, 4, 0, 0, 0, 16, 254, 12, 163, 74, 0, 0, 252, 15, 242, 207, 0, 32, 255, 13, 192, 255, 174, 251, 255, 8, 32, 254, 255, 255, 191, 0, 0, 128, 252, 190, 5, 0 };
/* 4 */ static const uint8_t Font_TTSatoshi_DemiBold_21_glyph_52[] = { 12, 15, 12, 0, 15, 0, 0, 176, 255, 191, 0, 0, 0, 244, 255, 191, 0, 0, 0, 252, 255, 191, 0, 0, 80, 255, 249, 191, 0, 0, 208, 239, 240, 191, 0, 0, 246, 111, 240, 191, 0, 0, 254, 13, 240, 191, 0, 112, 255, 5, 240, 191, 0, 241, 223, 0, 240, 191, 0, 248, 191, 136, 248, 239, 56, 250, 255, 255, 255, 255, 111, 250, 255, 255, 255, 255, 111, 0, 0, 0, 240, 191, 0, 0, 0, 0, 240, 191, 0, 0, 0, 0, 240, 191, 0 };
/* 5 */ static const uint8_t Font_TTSatoshi_DemiBold_21_glyph_53[] = { 12, 15, 12, 0, 15, 0, 255, 255, 255, 255, 9, 16, 255, 255, 255, 255, 9, 48, 255, 156, 153, 153, 5, 64, 255, 5, 0, 0, 0, 96, 255, 3, 0, 0, 0, 112, 255, 100, 87, 1, 0, 144, 255, 255, 255, 127, 0, 160, 255, 255, 255, 255, 7, 176, 255, 40, 80, 255, 31, 0, 0, 0, 0, 247, 79, 48, 35, 0, 0, 245, 95, 224, 239, 2, 0, 251, 47, 112, 255, 191, 234, 255, 11, 0, 251, 255, 255, 223, 1, 0, 96, 235, 207, 8, 0 };
/* 0 */ static const uint8_t Font_TTSatoshi_DemiBold_21_glyph_48[] = { 13, 15, 12, 0, 15, 0, 80, 236, 207, 6, 0, 0, 0, 249, 255, 255, 191, 1, 0, 128, 255, 207, 251, 255, 10, 0, 241, 239, 3, 32, 253, 63, 0, 248, 111, 0, 0, 243, 191, 0, 251, 15, 0, 0, 208, 223, 0, 253, 13, 0, 0, 176, 255, 0, 255, 11, 0, 0, 144, 255, 2, 253, 13, 0, 0, 176, 255, 0, 251, 15, 0, 0, 208, 223, 0, 248, 111, 0, 0, 243, 191, 0, 241, 239, 3, 16, 253, 63, 0, 128, 255, 191, 251, 255, 10, 0, 0, 249, 255, 255, 191, 1, 0, 0, 80, 234, 190, 6, 0, 0 };
/* 1 */ static const uint8_t Font_TTSatoshi_DemiBold_21_glyph_49[] = { 11, 15, 12, 1, 15, 0, 32, 255, 8, 0, 0, 150, 201, 255, 8, 0, 0, 250, 255, 255, 8, 0, 0, 250, 255, 255, 8, 0, 0, 0, 32, 255, 8, 0, 0, 0, 32, 255, 8, 0, 0, 0, 32, 255, 8, 0, 0, 0, 32, 255, 8, 0, 0, 0, 32, 255, 8, 0, 0, 0, 32, 255, 8, 0, 0, 0, 32, 255, 8, 0, 0, 0, 32, 255, 8, 0, 0, 183, 203, 255, 189, 187, 1, 250, 255, 255, 255, 255, 1, 250, 255, 255, 255, 255, 1 };
/* 2 */ static const uint8_t Font_TTSatoshi_DemiBold_21_glyph_50[] = { 11, 15, 12, 1, 15, 0, 180, 238, 108, 0, 0, 128, 255, 255, 255, 11, 0, 243, 255, 188, 255, 111, 0, 250, 111, 0, 244, 207, 0, 253, 14, 0, 208, 255, 0, 34, 2, 0, 240, 239, 0, 0, 0, 0, 248, 159, 0, 0, 0, 128, 255, 29, 0, 0, 0, 248, 239, 2, 0, 0, 144, 255, 46, 0, 0, 0, 249, 239, 2, 0, 0, 144, 255, 46, 0, 0, 0, 249, 255, 155, 153, 153, 2, 251, 255, 255, 255, 255, 3, 251, 255, 255, 255, 255, 3 };
/* 3 */ static const uint8_t Font_TTSatoshi_DemiBold_21_glyph_51[] = { 12, 15, 12, 0, 15, 0, 80, 235, 207, 7, 0, 0, 250, 255, 255, 223, 0, 112, 255, 191, 234, 255, 9, 192, 255, 2, 16, 254, 13, 64, 69, 0, 0, 252, 15, 0, 0, 0, 97, 255, 10, 0, 0, 240, 255, 223, 1, 0, 0, 240, 255, 127, 0, 0, 0, 96, 199, 255, 7, 0, 0, 0, 0, 252, 15, 161, 106, 0, 0, 248, 47, 240, 239, 2, 0, 253, 15, 144, 255, 191, 234, 255, 11, 0, 252, 255, 255, 223, 1, 0, 96, 235, 206, 7, 0 };
/* 4 */ static const uint8_t Font_TTSatoshi_DemiBold_21_glyph_52[] = { 12, 15, 12, 0, 15, 0, 0, 96, 255, 255, 1, 0, 0, 224, 255, 255, 1, 0, 0, 247, 255, 255, 1, 0, 16, 255, 188, 255, 1, 0, 128, 255, 164, 255, 1, 0, 242, 191, 160, 255, 1, 0, 250, 63, 160, 255, 1, 48, 255, 10, 160, 255, 1, 176, 255, 2, 160, 255, 1, 243, 239, 136, 216, 255, 104, 245, 255, 255, 255, 255, 191, 245, 255, 255, 255, 255, 191, 0, 0, 0, 160, 255, 1, 0, 0, 0, 160, 255, 1, 0, 0, 0, 160, 255, 1 };
/* 5 */ static const uint8_t Font_TTSatoshi_DemiBold_21_glyph_53[] = { 12, 15, 12, 0, 15, 32, 255, 255, 255, 255, 7, 48, 255, 255, 255, 255, 7, 80, 255, 155, 153, 153, 4, 96, 255, 3, 0, 0, 0, 128, 255, 1, 0, 0, 0, 144, 255, 99, 71, 1, 0, 176, 255, 255, 255, 111, 0, 192, 255, 255, 255, 255, 5, 208, 255, 39, 97, 255, 15, 0, 0, 0, 0, 249, 63, 48, 35, 0, 0, 247, 79, 240, 239, 1, 0, 253, 31, 144, 255, 191, 234, 255, 10, 0, 252, 255, 255, 223, 1, 0, 112, 235, 206, 7, 0 };
/* 6 */ static const uint8_t Font_TTSatoshi_DemiBold_21_glyph_54[] = { 12, 15, 12, 0, 15, 0, 0, 80, 255, 12, 0, 0, 0, 225, 255, 3, 0, 0, 0, 249, 159, 0, 0, 0, 48, 255, 30, 0, 0, 0, 208, 255, 6, 0, 0, 0, 247, 255, 207, 7, 0, 32, 255, 255, 255, 207, 0, 160, 255, 175, 233, 255, 9, 240, 255, 2, 16, 254, 15, 242, 175, 0, 0, 248, 63, 241, 175, 0, 0, 248, 63, 224, 255, 2, 16, 253, 15, 96, 255, 159, 233, 255, 8, 0, 250, 255, 255, 207, 0, 0, 80, 235, 190, 6, 0 };
/* 7 */ static const uint8_t Font_TTSatoshi_DemiBold_21_glyph_55[] = { 11, 15, 11, 0, 15, 247, 255, 255, 255, 255, 6, 247, 255, 255, 255, 255, 6, 148, 153, 153, 249, 255, 5, 0, 0, 0, 242, 239, 0, 0, 0, 0, 248, 143, 0, 0, 0, 0, 254, 47, 0, 0, 0, 80, 255, 11, 0, 0, 0, 176, 255, 4, 0, 0, 0, 242, 239, 0, 0, 0, 0, 248, 127, 0, 0, 0, 0, 254, 31, 0, 0, 0, 80, 255, 10, 0, 0, 0, 192, 255, 4, 0, 0, 0, 242, 223, 0, 0, 0, 0, 249, 111, 0, 0, 0 };
/* 8 */ static const uint8_t Font_TTSatoshi_DemiBold_21_glyph_56[] = { 12, 15, 12, 0, 15, 0, 64, 235, 207, 8, 0, 0, 249, 255, 255, 239, 1, 80, 255, 142, 199, 255, 11, 144, 255, 3, 0, 253, 15, 160, 255, 0, 0, 250, 15, 96, 255, 26, 80, 255, 11, 0, 249, 255, 255, 223, 2, 0, 246, 255, 255, 191, 0, 80, 255, 109, 165, 255, 11, 208, 239, 0, 0, 249, 47, 240, 191, 0, 0, 245, 111, 224, 239, 1, 0, 250, 79, 128, 255, 142, 183, 255, 14, 0, 252, 255, 255, 239, 3, 0, 80, 235, 207, 24, 0 };
/* 7 */ static const uint8_t Font_TTSatoshi_DemiBold_21_glyph_55[] = { 11, 15, 12, 1, 15, 253, 255, 255, 255, 255, 0, 253, 255, 255, 255, 255, 0, 152, 153, 153, 251, 255, 0, 0, 0, 0, 247, 159, 0, 0, 0, 0, 254, 47, 0, 0, 0, 64, 255, 12, 0, 0, 0, 176, 255, 5, 0, 0, 0, 242, 239, 0, 0, 0, 0, 248, 143, 0, 0, 0, 0, 254, 47, 0, 0, 0, 80, 255, 11, 0, 0, 0, 176, 255, 4, 0, 0, 0, 242, 239, 0, 0, 0, 0, 248, 127, 0, 0, 0, 0, 254, 31, 0, 0, 0 };
/* 8 */ static const uint8_t Font_TTSatoshi_DemiBold_21_glyph_56[] = { 12, 15, 12, 0, 15, 0, 80, 235, 206, 7, 0, 0, 251, 255, 255, 223, 0, 96, 255, 142, 215, 255, 9, 176, 255, 1, 0, 254, 14, 192, 255, 0, 0, 252, 14, 112, 255, 25, 112, 255, 10, 0, 251, 255, 255, 207, 1, 0, 247, 255, 255, 159, 0, 112, 255, 108, 182, 255, 9, 224, 223, 0, 0, 251, 31, 241, 159, 0, 0, 247, 79, 240, 223, 0, 0, 251, 47, 160, 255, 125, 199, 255, 12, 16, 253, 255, 255, 239, 2, 0, 96, 236, 206, 8, 0 };
/* 9 */ static const uint8_t Font_TTSatoshi_DemiBold_21_glyph_57[] = { 12, 15, 12, 0, 15, 0, 64, 235, 190, 6, 0, 0, 250, 255, 255, 191, 0, 96, 255, 175, 233, 255, 8, 208, 255, 2, 16, 254, 15, 241, 175, 0, 0, 248, 63, 241, 175, 0, 0, 248, 79, 224, 255, 2, 16, 253, 47, 96, 255, 159, 233, 255, 12, 0, 250, 255, 255, 255, 4, 0, 80, 235, 255, 175, 0, 0, 0, 48, 255, 30, 0, 0, 0, 208, 255, 6, 0, 0, 0, 247, 207, 0, 0, 0, 16, 255, 47, 0, 0, 0, 160, 255, 8, 0, 0 };
/* : */ static const uint8_t Font_TTSatoshi_DemiBold_21_glyph_58[] = { 4, 11, 5, 1, 11, 251, 47, 251, 47, 251, 47, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 235, 46, 251, 47, 251, 47 };
/* ; */ static const uint8_t Font_TTSatoshi_DemiBold_21_glyph_59[] = { 5, 13, 5, 0, 11, 160, 255, 4, 160, 255, 4, 144, 255, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 176, 255, 2, 192, 223, 0, 224, 159, 0, 240, 79, 0, 209, 13, 0 };

View File

@ -1,3 +1,5 @@
// This file is generated by core/tools/codegen/gen_font.py
#include <stdint.h>
#if TREZOR_FONT_BPP != 4