Skip to content
Leos Kafka edited this page Jul 9, 2014 · 8 revisions

font_img.pl

The font_img.pl script allows to add extra fonts into the Arduino UTFT Library by Henning Karlsen.
The script generates an image for selected font and size; the image is then used as an input for Font Maker UTFT Tool.

Example:
An image for the FreeMono font of size 24 can be generated using the command
./font_img.pl -fontname FreeMono -fontsize 24 --out .
The generated image is stored into FreeMono_24.png file in the working directory and looks as follows
FreeMono_24.png
The C file that was created from this image with the Font Maker UTFT Tool is as follows
FreeMono_24.c

Limitations:
The script was developed and tested in Linux environment only.

Clone this wiki locally