MajicDesigns / MD_MAX72XX

LED Matrix Library
GNU Lesser General Public License v2.1
307 stars 122 forks source link

Name Of the Default Font #46

Closed sheminasalam closed 3 years ago

sheminasalam commented 3 years ago

What is the name of the default font in this library? Where can I find the ttf file for that?

MajicDesigns commented 3 years ago

There is no TTF file. All the data for the font is found in the font.cpp source file. External tools for building the font in this format are described in the documentation and on this blog post https://arduinoplusplus.wordpress.com/2016/11/08/parola-fonts-a-to-z-defining-fonts/

sheminasalam commented 3 years ago

I have made a ttf font file out of the data from the font file in this library which has been useful in compiling with some firmwares that depend on this library such as esphome. Anyone who want to try this can download the ttf file I have shared here. Also please make the font size as 8 if you are using 8x8 matrix. A heads up, some symbols in the font are not recognized by esphome. matrix_led.zip