https://learn.adafruit.com/adafruit-...ry/using-fonts
https://github.com/adafruit/Adafruit_ILI9341
The Idea of this Project was, to use the given CMD shell and create a nice
GUI to create
a nice font for LCD Displays
This is for Arduino Users and the Wonderful Library from Adafruit,which
I use for the ILI9341 Display
In my case it did not work with header files I have to include
the font this way
Code:
#include <Adafruit_GFX.h> // Hardware-specific library
#include <MCUFRIEND_kbv.h>
#include "Comic12pt.c"
#include "comici10pt.c"
void PrintGradZeichen(void)
{
tft.setFont(&_comici_grad10pt_);
tft.print('°');
tft.setFont(&_comici10pt_);
}
in PrintGradZeichen I'm able to load just the "°" Char, so we don't waste memory with all the Junk Chars in between.
You can try to load a font with Get Automatic Font name, but this does not work always
so with get Manual font name write the font name "comic.ttf" without the extantion into the right Edit Field.
Then press Font Convert. This does not work sometimes with the first Hit so press it again then you get the Header then
press Convert to source save this file into the right Folder I use Sloeber Eclipse and it works perfect.