diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2024-04-22 08:17:10 +1000 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2024-04-22 08:17:10 +1000 |
commit | 52dae03aae84afa78a9dbfc68976e99fd1b20ee2 (patch) | |
tree | 90977a5c89733bbe98f8257ae520ceb9f69bd6cd /source/core/StarFont.hpp | |
parent | ca1426eabc873f781eb0dd389d45634b7d183250 (diff) |
Add UnifontEx fallback for glyphs that are missing from the current font
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 ec10533..dee50f7 100644 --- a/source/core/StarFont.hpp +++ b/source/core/StarFont.hpp @@ -35,6 +35,7 @@ public: // render a box, but if there is an internal freetype error this may return // an empty image). std::pair<Image, Vec2I> render(String::Char c); + bool exists(String::Char c); private: FontImplPtr m_fontImpl; |