MicroPython: Don't include Hershey font map.

pull/733/head
Phil Howard 2023-03-27 14:47:02 +01:00
rodzic 07bc005958
commit 761e8b5c3c
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -3,6 +3,7 @@
#include <cmath>
namespace hershey {
#ifndef MICROPY_BUILD_TYPE
std::map<std::string, const font_t*> fonts = {
{ "sans", &futural },
//{ "sans_bold", &futuram },
@ -13,6 +14,7 @@ namespace hershey {
{ "serif", &timesr },
//{ "serif_bold", &timesrb }
};
#endif
bool has_font(std::string_view font) {
if(font == "sans"