Add destructor to unregister fonts from GfxRenderer

This commit is contained in:
jpirnay
2026-04-28 19:03:38 +02:00
parent ebb80bf4d9
commit 0466465d8c
2 changed files with 14 additions and 2 deletions
+1
View File
@@ -44,6 +44,7 @@ class SdCardFontManager {
};
static int computeFontId(uint32_t contentHash, const char* familyName, uint8_t pointSize);
GfxRenderer* renderer_ = nullptr;
std::string loadedFamilyName_;
uint8_t loadedPointSize_ = 0;
std::vector<LoadedFont> loaded_;