Add Inter Fonts

This commit is contained in:
2024-06-12 13:27:38 +02:00
parent b0ef96e390
commit 51f6fa6014
631 changed files with 117874 additions and 2514 deletions

View File

@ -25,15 +25,15 @@ struct Typography
struct TypographyFontIndex
{
static const touchgfx::FontId DEFAULT = 0; // verdana_20_4bpp
static const touchgfx::FontId DEFAULT = 0; // inter_20_4bpp
static const touchgfx::FontId CHINAT_LARGE = 1; // CHINN____30_4bpp
static const touchgfx::FontId CHINAT_SMALL = 2; // CHINN____20_4bpp
static const touchgfx::FontId CHINAT_HUGE = 3; // CHINN____40_4bpp
static const touchgfx::FontId NUMBERS = 4; // lucon_TTF_50_4bpp
static const touchgfx::FontId DEFAULT_BOLD = 5; // verdanab_20_4bpp
static const touchgfx::FontId NUMBERS_SMALLER = 6; // lucon_TTF_33_4bpp
static const touchgfx::FontId NUMBERS_SMALL = 7; // lucon_TTF_20_4bpp
static const uint16_t NUMBER_OF_FONTS = 8;
static const touchgfx::FontId NUMBERS = 4; // intersb_50_4bpp
static const touchgfx::FontId DEFAULT_BOLD = 5; // interb_20_4bpp
static const touchgfx::FontId NUMBERS_SMALLER = 6; // inter_33_4bpp
static const touchgfx::FontId NUMBERS_SMALL = 0; // inter_20_4bpp
static const uint16_t NUMBER_OF_FONTS = 7;
};
class ApplicationFontProvider : public touchgfx::FontProvider