diff --git a/README.md b/README.md index 27c0f8e..79bf602 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # TFT_eSPI -Update 24th Feb 2018: Added antialiased font capability. +>>> This branch includes new antialiased font capability, this is a work-in-progress <<< An Arduino IDE compatible graphics and fonts library for ESP8266 and ESP32 processors with a driver for ILI9341, ILI9163, ST7735 and S6D02A1 based TFT displays that support SPI. @@ -34,9 +34,9 @@ Configuration of the library font selections, pins used to interface with the TF I have made some changes that will be uploaded soon that improves sprite and image rendering performance by up to 3x faster on the ESP8266. These updates are currently being tested/debugged. -**2. Anti-aliased fonts - added 24/2/18** +**2. Anti-aliased fonts** -I have been experimenting with anti-aliased font files in "vlw" format generated by the free [Processing IDE](https://processing.org/) (see Tools folder). This IDE can be used to generate font files from your computer's font set and include **any** Unicode characters. This means Greek, Japanese and any other 16 bit Unicode glyphs can be included. +I have been experimenting with anti-aliased font files in "vlw" format generated by the free [Processing IDE](https://processing.org/). This IDE can be used to generate font files from your computer's font set and include **any** Unicode characters. This means Greek, Japanese and any other UTF-16 glyphs can be used. It would be possible to compress the vlw font files but the rendering performance to a TFT is still good when storing the font file(s) in SPIFFS. @@ -48,13 +48,4 @@ Here is another screenshot, showing the anti-aliased Hiragana character Unicode ![Hiragana glyphs](https://i.imgur.com/jeXf2st.png) -Fonts with configurable size and containing any arbitrary characters, or range of characters, from the Unicode 16bit character set (i.e. Basic Multilingual Plane) can be included using a Processing sketch in the Tools folder of the library. The source font files can be from your PC or selected TrueType (*.ttf and *.otf) files. - -Fonts are stored in the ESP8266 or ESP32 SPIFFS FLASH memory. - -New examples have been added to demonstrate. At the moment these use the print class. Drawing characters with background over-write and printing in sprites is also supported but I have not included any examples yet. - -Screenshot from one example below: - -![Example](https://i.imgur.com/xJF0Oz7.png) - +Currently these are generated from a sketch, but when I have the Alpha blending sorted for colour backgrounds the plan is to build the rendering code into the TFT_eSPI library. Watch this space " " for updates!