1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-12 18:49:07 +00:00
trezor-firmware/legacy/gen/fonts.h

24 lines
389 B
C
Raw Normal View History

2014-04-29 12:26:51 +00:00
#ifndef __FONTS_H__
#define __FONTS_H__
#include <stdint.h>
#define FONT_HEIGHT 8
#define FONT_STANDARD 0
#ifndef FONT_SKIP_FIXED
#define FONT_FIXED 1
#define FONTS 2
#else
#define FONTS 1
#endif
#define FONT_DOUBLE 0x80
2014-04-29 12:26:51 +00:00
extern const uint8_t *const font_data[FONTS][128 - 32];
2014-04-29 12:26:51 +00:00
int fontCharWidth(uint8_t font, uint8_t c);
const uint8_t *fontCharData(uint8_t font, uint8_t c);
2014-04-29 12:26:51 +00:00
#endif