-
I wonder whether ESP8266 TFT Display can support Material Design Icons (https://pictogrammers.github.io/@mdi/font/2.0.46/) kind of graphics using the There are references in Home Assistant (HA) discussion groups on using a MDI font like: There are some details about Tasmota's built in Font types, though I haven't been able to understand how it works currently. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
The point you refer to with the docs link is for the built-in fonts. The more general font support is when loading a "RAM font" from a You'd have a lot better options with ESP32+PSRAM, and HASPmota or LVGL. |
Beta Was this translation helpful? Give feedback.
-
You can convert whatever font you like.
For example converting some characters from Roboto Bold ttf font: In command prompt you run the below command Explaining: After that, you open the created Roboto_Bold24.h file in script editor and you convert it by choosing h file to fnt file. That's it. |
Beta Was this translation helpful? Give feedback.
You can convert whatever font you like.
Tools you will need:
For example converting some characters from Roboto Bold ttf font:
In command prompt you run the below command
FontConvert Roboto_Bold.ttf 24 902 973 > Roboto_Bold24.h
Explaining:
24 is the font size that you want
902 973 The characters range that you want (from 902 to 973) and you have find them from GLCD Font Creator
Roboto_Bold24.h The name of the file that it will create
After that, you open the created Roboto_Bold24.h file in script editor and you convert it by…