mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-05 14:59:44 +00:00
24 lines
389 B
C
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
|