diff options
author | bmdhacks <bmd@bmdhacks.com> | 2025-02-03 09:47:46 -0800 |
---|---|---|
committer | bmdhacks <bmd@bmdhacks.com> | 2025-02-03 09:47:46 -0800 |
commit | ad588b2197d810b0dc1d9c803250f31bf23a51ec (patch) | |
tree | ba46b64297b103ad80671e2a89927e2f7706135f /source/core/StarFont.hpp | |
parent | 27ffdb020534e3d815038c86d9ac6d1dddaf6598 (diff) |
implement lazy font loading
Diffstat (limited to 'source/core/StarFont.hpp')
-rw-r--r-- | source/core/StarFont.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/core/StarFont.hpp b/source/core/StarFont.hpp index e62e91b..40a6513 100644 --- a/source/core/StarFont.hpp +++ b/source/core/StarFont.hpp @@ -43,6 +43,7 @@ private: unsigned m_pixelSize; uint8_t m_alphaThreshold; + void loadFontImpl(); HashMap<pair<String::Char, unsigned>, unsigned> m_widthCache; }; |