/**
  Demo of using fonts from https://font.vavrin.eu/
*/

#include <TFT_eSPI.h>
#include <SPI.h>

TFT_eSPI tft = TFT_eSPI();

#include "font_source_sans_3_28.h"
#include "font_urbanist_28.h"

void setup(void) {
  tft.begin();
  tft.fillScreen(TFT_BLACK);

  text_sourceSans3Regular_28(120, 50, TFT_RED, 2, 2, "Příliš");
  text_urbanistRegular_28(120, 85, TFT_YELLOW, 1, 2, "žluťoučký kůň");
  text_urbanistRegular_28(120, 115, TFT_BLUE, 1, 2, "úpěl ďábelské ódy.");  
}

void loop() {
  delay(5000);

}