diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2025-02-04 08:52:20 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-04 08:52:20 +1100 |
commit | 0f569ea0700d62d2bdd43cb80b400cf97eec7fa5 (patch) | |
tree | ba46b64297b103ad80671e2a89927e2f7706135f /source/core/StarFont.hpp | |
parent | 27ffdb020534e3d815038c86d9ac6d1dddaf6598 (diff) | |
parent | ad588b2197d810b0dc1d9c803250f31bf23a51ec (diff) |
Merge pull request #176 from bmdhacks/bmd-lazy-font
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; }; |