Skip to content

Tempe 0.3

Latest

Choose a tag to compare

@corranwebster corranwebster released this 12 Nov 10:08
· 32 commits to main since this release
84e9851

This is a release which focuses on performance. Most shape classes now check
to see whether each sub-shape intersects with the current drawing region in
the raster, and skip rendering if this is the case. Text objects perform this
check at the level of individual character. This gives a significant
improvement in rendering time, particularly when working with smaller buffers,
for large Text objects, and when performing updates.

Additionally, profiling indicated that character lookup in bitmap font objects
was a major bottleneck for text rendering. Fonts now cache those lookups in a
dictionary. This can be turned off with an initialization option, and there is
a method to clear the cache if the memory is needed.

These changes add up to an order of magnitude speed improvement in some cases.

Additional improvements include:

  • Text objects can now be vertically and horizontally aligned relative to the
    geometry.
  • a new Window Shape that holds a subsurface that makes scrolling groups of
    Shapes easier.
  • support for Waveshare Pico-ResTouch-LCD 2.8 displays, thanks to @JoGeDuBo.
  • replace Roboto fonts with Ubuntu fonts, which render better at small sizes.
  • additional examples and various small fixes.

Thanks

The following people contributed to this release:

@JoGeDuBo, @corranwebster

What's Changed

Full Changelog: 0.2...0.3