I am working on a project on which I am using a 2.8" Color TFT.
I was wondering if someone knows of any additional fonts for the adafruit library. These may look ok on low resolution displays, but on a color TFT, in large size, they look awful. In addition there is too much difference between font sizes and I need a few more icons.
You can change your library. I had the same issue and I change to U8glib that have a lot of fonts.
In the other hand, you have applications like GLCDFontCreator2 that help you to create your own fonts.
luisilva:
Or even a 3rd (hidden in the first): "steal" the fonts from the other library.
Getting fonts or font data isn't really the issue.
The issue will be with the format of the data.
There are many different ways the font data is stored in embedded arrays
and eventually rendered on the display.
So while just grabbing the data from some other library is easy,
getting it to work and render correctly can potentially be a much larger effort.
Icons, that is easy.
Just make your own.
If you want to use some kind of standard format. XBM is a good choice.
It is fairly trivial to write a routine to render XBM data format.
Once you have that there are many tools that can write out XBM bitmap files
which are C data arrays and can be compiled directly into your code.
--- bill
The Adafruit Tutorial wasn't very clear on how to invoke a custom font. Neither method below, graphics or text, seems to change the font from the standard 5x8 included with GFX. What am I missing?