Extended set of Fonts for Adafruit GFX Library

Hi folks,

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.

Any ideas?

Regards

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:
You can change your library. I had the same issue and I change to U8glib that have a lot of fonts.

Out of question I'm afraid.

Too much work on the current code to start fresh.

You have the second option:

luisilva:
In the other hand, you have applications like GLCDFontCreator2 that help you to create your own fonts.

Or even a 3rd (hidden in the first): "steal" the fonts from the other library.

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

Hi, you may be interested in this Instructable where I have published my solution.

Fonts have been added to the Adafruit_GFX library and it has been renamed Adafruit_GFX_AS

If you use a different display driver library then you just need to change the references in that library from Adafruit_GFX to Adafruit_GFX_AS.

Cheers,
Alan

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?

// tft.textMode();
tft.graphicsMode();
tft.setFont(&FreeSerif9pt7b);
tft.print(Amt[0]);
tft.textSetCursor (_x-25, y+LOCL1);
tft.print(Amt[1]);
tft.textSetCursor (_x+50, y+LOCL1);
tft.print(Amt[2]);

See here?