Closed asking23 closed 5 months ago
Please read README.
Small hint from me. You can use generate.py
with --charset
argument to introduce your own charset to generated font.
For example
charset.txt
!"°C%&'()*+,-./0123456789:;<=>?
And run
./generate.py -f arial.ttf -s 18 --charset charset.txt
It replaces #
with °
and $
with C
.
Then just use this in code
sprintf(buf, "%u#$", temperature); // #$ means °C
Thanks aton..!!
How to Add Degree Celsius Symbol ? not getting any clue. need to add Degree Celcius.°C