Skip to content

Commit

Permalink
* Updated firmware references (#151)
Browse files Browse the repository at this point in the history
* Added 3 more fonts (just for fun)
  • Loading branch information
akopachov authored May 30, 2023
1 parent d13bcd7 commit 123f421
Show file tree
Hide file tree
Showing 8 changed files with 3,435 additions and 0 deletions.
3 changes: 3 additions & 0 deletions features_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@
#define TOTP_FONT_712SERIF (5)
#define TOTP_FONT_GRAPH35PIX (6)
#define TOTP_FONT_KARMAFUTURE (7)
#define TOTP_FONT_FUNCLIMBING (8)
#define TOTP_FONT_DPCOMIC (9)
#define TOTP_FONT_PIXELFLAG (10)

// End of list

Expand Down
11 changes: 11 additions & 0 deletions ui/fonts/active_font.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,15 @@
#elif TOTP_FONT == TOTP_FONT_KARMAFUTURE
#include "karma_future/karma_future.h"
#define TOTP_CODE_FONT_INFO karmaFuture_14ptFontInfo
#elif TOTP_FONT == TOTP_FONT_FUNCLIMBING
#include "funclimbing/funclimbing.h"
#define TOTP_CODE_FONT_INFO funclimbingDemo_18ptFontInfo
#elif TOTP_FONT == TOTP_FONT_DPCOMIC
#include "dpcomic/dpcomic.h"
#define TOTP_CODE_FONT_INFO dPComic_18ptFontInfo
#elif TOTP_FONT == TOTP_FONT_PIXELFLAG
#include "pixelflag/pixelflag.h"
#define TOTP_CODE_FONT_INFO pixelFlag_18ptFontInfo
#else
#error TOTP Font is not set or unknown
#endif
Loading

0 comments on commit 123f421

Please sign in to comment.