diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-07-03 19:46:56 +1000 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-07-03 19:46:56 +1000 |
commit | 809744c300d6bc3a4f5cb71a8a67dbad811fe2de (patch) | |
tree | 8eb5d92d3a608aef29ed43ef43c23d20bb35a987 /source/core/StarFont.hpp | |
parent | f73cb3ce03c35770605ce83a49906cc4825c00a6 (diff) |
Fix horizontal alignment with font, add new fonts
Diffstat (limited to 'source/core/StarFont.hpp')
-rw-r--r-- | source/core/StarFont.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/core/StarFont.hpp b/source/core/StarFont.hpp index d353611..e4786b6 100644 --- a/source/core/StarFont.hpp +++ b/source/core/StarFont.hpp @@ -34,7 +34,7 @@ public: // May return empty image on unrenderable character (Normally, this will // render a box, but if there is an internal freetype error this may return // an empty image). - std::pair<Image, int> render(String::Char c); + std::pair<Image, Vec2I> render(String::Char c); private: FontImplPtr m_fontImpl; |