Skip to content

roo_display 2.0.0

Latest
Compare
Choose a tag to compare
@dejwk dejwk released this 29 Dec 00:21
· 5 commits to master since this release

The I/O functionality of the library, namely: reading image and raster data from progmem and files, reading and decoding font data from progmem, reading from and writing to memory behind offscreen buffers and rasters, encoding/decoding UTF-8, endianness support, and string formatting, has been factored out to a separate library, dejwk/roo_io. This change is mostly backwards-compatible. Almost all documented functionality and examples work without changes, except for some advanced features such as drawing JPEG images stored in PROGMEM that might require small changes. Also, applications that depend on undocumented functionality may need some small updates.

This change makes the library more flexible (e.g. easier to support various sources of image data) and secure (e.g. improved UTF-8 decoder that better handles invalid input). The downside of less than 100% backwards compatibility is the main reason for major version increase.

Additionally, this release brings a number of bug fixes, and some small features:

  • Fixed a deadlock in the JPEG and PNG decoders when the display and an SD card shared the same SPI bus.
  • Fixed JPEG and PNG clipping.
  • Support for a 7'' combo display from Makerfabs.
  • Compatibility with ESP32C3 and ESP32S3.
  • Fix for an offscreen construction from translucent drawable, which previously would not clear background properly.
  • Fixed crashes on multi-touch.
  • Fixed crashes for parallel DMA displays on ESP32S3.
  • Bug fixes in several examples.