From 751d93515cfb9c820565cfd5a4fff136c20ffcf2 Mon Sep 17 00:00:00 2001 From: Kae <80987908+Novaenia@users.noreply.github.com> Date: Tue, 4 Feb 2025 10:51:17 +1100 Subject: Update StarFont.cpp [skip ci] --- source/core/StarFont.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/core') diff --git a/source/core/StarFont.cpp b/source/core/StarFont.cpp index 6452d54..d32c487 100644 --- a/source/core/StarFont.cpp +++ b/source/core/StarFont.cpp @@ -78,7 +78,7 @@ unsigned Font::width(String::Char c) { if (auto width = m_widthCache.maybe({c, m_pixelSize})) { return *width; } else { - loadFontImpl(); + loadFontImpl(); FT_Load_Char(m_fontImpl->face, c, FontLoadFlags); unsigned newWidth = (m_fontImpl->face->glyph->linearHoriAdvance + 32768) / 65536; m_widthCache.insert({c, m_pixelSize}, newWidth); -- cgit v1.2.3