Files
loboris 015a576adf fixed bug which prevented usage of some pins as display CS and DC
some bugfixes in display spi driver
various small bugfixes and improvements
another small font added
predefined configurations can be selected in menuconfig for
  Adafruit TFT FeatherWing
  ESP32-WROVER-KIT v3
2017-10-08 13:33:36 +02:00
..
2017-05-29 21:11:31 +02:00
2017-05-29 21:11:31 +02:00
2017-06-07 22:57:55 +02:00
2017-06-07 22:57:55 +02:00
2017-05-21 20:50:23 +02:00
2017-05-21 20:50:23 +02:00
2017-05-21 20:50:23 +02:00
2017-05-21 20:50:23 +02:00
2017-05-21 20:50:23 +02:00
2017-05-21 20:50:23 +02:00

Program to convert any ttf font to c source file that can be includes in ESP32 tft library.

This is a windows program, but can be used under Linux with wine:

Usage:

ttf2c_vc2003.exe <point-size> <input-file> <output-file> [<start_char> <end_char>]

or, under Linux:

wine ./ttf2c_vc2003.exe <point-size> <input-file> <output-file> [<start_char> <end_char>]


Example:
--------

wine ./ttf2c_vc2003.exe 18 Vera.ttf vera.c


After the c source is created, open it in editor and make following changes:

Delete the line:

#include <avr/pgmspace.h>

Change the line:

uint8_t vera18[] PROGMEM =

to:

unsigned char vera18[] =


The font name ("vera18" here) will be different for different font,
you can change it to any other name.