Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/core/StarFont.hpp
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2023-07-03 19:46:56 +1000
committerKae <80987908+Novaenia@users.noreply.github.com>2023-07-03 19:46:56 +1000
commit809744c300d6bc3a4f5cb71a8a67dbad811fe2de (patch)
tree8eb5d92d3a608aef29ed43ef43c23d20bb35a987 /source/core/StarFont.hpp
parentf73cb3ce03c35770605ce83a49906cc4825c00a6 (diff)
Fix horizontal alignment with font, add new fonts
Diffstat (limited to 'source/core/StarFont.hpp')
-rw-r--r--source/core/StarFont.hpp2
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;