1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-18 05:28:40 +00:00
trezor-firmware/legacy/gen/fonts.h
2019-11-09 19:13:55 +00:00

24 lines
389 B
C

#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
extern const uint8_t *const font_data[FONTS][128 - 32];
int fontCharWidth(uint8_t font, uint8_t c);
const uint8_t *fontCharData(uint8_t font, uint8_t c);
#endif