mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 08:35:20 +02:00
IGUIFont / CGUITTFont code cleanups (#15581)
This commit is contained in:
@@ -79,7 +79,7 @@
|
||||
*/
|
||||
static unsigned int font_line_height(gui::IGUIFont *font)
|
||||
{
|
||||
return font->getDimension(L"Ay").Height + font->getKerningHeight();
|
||||
return font->getDimension(L"Ay").Height + font->getKerning(L'A').Y;
|
||||
}
|
||||
|
||||
inline u32 clamp_u8(s32 value)
|
||||
|
Reference in New Issue
Block a user