You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
trezor-firmware/legacy/gen/fonts.h

24 lines
389 B

#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