-
I have migrated my Arduitouch device (ESP32 with an ILI9341 display) from my own program that I developed some time ago to Tasmota using Tasmota-display that I compiled with the #define USE_RAMFONT option to add additional fonts. I succeeded to use fonts that I downloaded from the BinFonts folder and then uploaded to the ESP32. Now I'd like to add other fonts. How can I e.g. convert gfx fonts that I got from here: http://oleddisplay.squix.ch to the binary format that is used by Tasmota? I tried to use fontconvert.py without success. Any hint on how to create or convert new fonts that can be used as Tasmota BinFonts is appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
In that way... |
Beta Was this translation helpful? Give feedback.
-
Many thanks for the immediate reply! I tested already Script Editor (For converting .h to .fnt files), but that failed with gfx.h files that I got using http://oleddisplay.squix.ch/ either with a "parameter error pop up" or by producing a "murks.fnt" file (murks is the german word for rubbish, good humor of the author :-) Now I gave it a another try with gfx fonts that I converted using this site: https://rop.nl/truetype2gfx/. So the recommened pipeline is:
|
Beta Was this translation helpful? Give feedback.
Many thanks for the immediate reply! I tested already Script Editor (For converting .h to .fnt files), but that failed with gfx.h files that I got using http://oleddisplay.squix.ch/ either with a "parameter error pop up" or by producing a "murks.fnt" file (murks is the german word for rubbish, good humor of the author :-)
Now I gave it a another try with gfx fonts that I converted using this site: https://rop.nl/truetype2gfx/.
The provided GFX fonts, as well as the GFX fonts that are converted from uploaded ttf files can be successfully converted with Script Editor to a .fnt file and they work well as a Tasmota BinFont / RAM font.
So the recommened pipeline is: