You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pillow v10 deprecated the getsize() class method for the FreeTypeFont class. The control board client relies on this for caluclating offsets of text to draw on the screen.
Instead we have the getlengh() and getbbox() class methods, so the code has to be refactored.
As context: We were forced to upgrade from Pillow v9 to v10 due to "security" patching (dependabot).
The text was updated successfully, but these errors were encountered:
Pillow v10 deprecated the getsize() class method for the FreeTypeFont class. The control board client relies on this for caluclating offsets of text to draw on the screen.
Instead we have the getlengh() and getbbox() class methods, so the code has to be refactored.
As context: We were forced to upgrade from Pillow v9 to v10 due to "security" patching (dependabot).
The text was updated successfully, but these errors were encountered: