refactor: Removed SdCardFontGlobals.h (#1962)

## Summary

First of several changes to decouple and clean up SD card fonts
integration. This change eliminates SdCardFontGlobals.h:
- Simply declare the `extern SdCardFontSystem sdFontSystem` in
SdCardFontSystem.h.
- `ActivityManager::goToReader` should not care about loading SD card
fonts. Instead do the same work in `ReaderActivity::onEnter`, after the
previous activity has exited and after ReaderActivity has validated the
file path.

---

### AI Usage

While CrossPoint doesn't have restrictions on AI tools in contributing,
please be transparent about their usage as it
helps set the right context for reviewers.

Did you use AI tools to help write this code? _**NO**_
This commit is contained in:
Zach Nelson
2026-05-13 08:26:56 -05:00
committed by GitHub
parent 6f7f4c592a
commit 30b14f2ecf
8 changed files with 8 additions and 19 deletions
+3
View File
@@ -50,3 +50,6 @@ class SdCardFontSystem {
SdCardFontManager manager_;
std::atomic<bool> registryDirty_{false};
};
// Global SD card font system instance (defined in main.cpp).
extern SdCardFontSystem sdFontSystem;