diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2025-02-04 10:51:17 +1100 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2025-02-04 10:51:17 +1100 |
commit | 751d93515cfb9c820565cfd5a4fff136c20ffcf2 (patch) | |
tree | 46558d0437c4c6e5b572200508bce17edccbb2c5 /source/core | |
parent | 6f3e477f78e8a0cedea25ee8c4355d7ef8b6bd87 (diff) |
Update StarFont.cpp
[skip ci]
Diffstat (limited to 'source/core')
-rw-r--r-- | source/core/StarFont.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); |