Bodmer / TFT_eSPI

Arduino and PlatformIO IDE compatible TFT library optimised for the Raspberry Pi Pico (RP2040), STM32, ESP8266 and ESP32 that supports different driver chips
Other
3.84k stars 1.1k forks source link

Original Adafruit 8 pixel font #1759

Closed stef-ladefense closed 2 years ago

stef-ladefense commented 2 years ago

hi, have you picture of this font ? is this : https://cdn-learn.adafruit.com/assets/assets/000/103/682/medium800/graphic_lcds_gfx-cp437-bug.png?1627933765

if yes, how to use special characters outside 32-127?

thank for this excelente library

stephane

Bodmer commented 2 years ago

The library by default accepts UTF8 encoding of strings and many of the characters in the range 127 - 255 are not available. See here.

It is possible to switch on/off UTF8 support. This will make the font characters available:

tft.setAttribute(UTF8_SWITCH, false); 

To turn back on and make use of the Unicode 16 bit glyphs change the false to true.