active_font.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. #pragma once
  2. #include "../../features_config.h"
  3. #include "font_info.h"
  4. #if TOTP_FONT == TOTP_FONT_MODENINE
  5. #include "mode_nine/mode_nine.h"
  6. #define TOTP_CODE_FONT_INFO modeNine_15ptFontInfo
  7. #elif TOTP_FONT == TOTP_FONT_REDHATMONO
  8. #include "redhat_mono/redhat_mono.h"
  9. #define TOTP_CODE_FONT_INFO redHatMono_16ptFontInfo
  10. #elif TOTP_FONT == TOTP_FONT_BEDSTEAD
  11. #include "bedstead/bedstead.h"
  12. #define TOTP_CODE_FONT_INFO bedstead_17ptFontInfo
  13. #elif TOTP_FONT == TOTP_FONT_ZECTOR
  14. #include "zector/zector.h"
  15. #define TOTP_CODE_FONT_INFO zector_18ptFontInfo
  16. #elif TOTP_FONT == TOTP_FONT_712SERIF
  17. #include "712serif/712serif.h"
  18. #define TOTP_CODE_FONT_INFO _712Serif_24ptFontInfo
  19. #elif TOTP_FONT == TOTP_FONT_GRAPH35PIX
  20. #include "graph35pix/graph35pix.h"
  21. #define TOTP_CODE_FONT_INFO graph35pix_12ptFontInfo
  22. #elif TOTP_FONT == TOTP_FONT_KARMAFUTURE
  23. #include "karma_future/karma_future.h"
  24. #define TOTP_CODE_FONT_INFO karmaFuture_14ptFontInfo
  25. #elif TOTP_FONT == TOTP_FONT_FUNCLIMBING
  26. #include "funclimbing/funclimbing.h"
  27. #define TOTP_CODE_FONT_INFO funclimbingDemo_18ptFontInfo
  28. #elif TOTP_FONT == TOTP_FONT_DPCOMIC
  29. #include "dpcomic/dpcomic.h"
  30. #define TOTP_CODE_FONT_INFO dPComic_18ptFontInfo
  31. #elif TOTP_FONT == TOTP_FONT_PIXELFLAG
  32. #include "pixelflag/pixelflag.h"
  33. #define TOTP_CODE_FONT_INFO pixelFlag_18ptFontInfo
  34. #else
  35. #error TOTP Font is not set or unknown
  36. #endif