How to preview Adafruit GFX fonts to aid selection

Hi All, I want to browse the Adafuit_GFX fonts to select the best one to use with my SSD1305 OLED. How can I easily preview them rather than selecting them one by one in the sketch? A google search on "how to view adafruit_gfx fonts" doesn't show me anything other than the standard usage and a list of available fonts.

Cheers

Les

Load each font, then display some text.

#include <Fonts/FreeSans9pt7b.h>
#include <Fonts/FreeSans12pt7b.h>
#include <Fonts/FreeSerif12pt7b.h>
...
    display.setFont(&FreeSans9pt7b);
    display.println("Hello World");
    display.setFont(&FreeSerif12pt7b);
    display.println("Universe");

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.