mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-26 03:52:01 +02:00
Merge pull request #2978 from Laserlicht/height
This commit is contained in:
commit
811680c4c5
@ -72,7 +72,7 @@ CTrueTypeFont::~CTrueTypeFont() = default;
|
|||||||
size_t CTrueTypeFont::getLineHeight() const
|
size_t CTrueTypeFont::getLineHeight() const
|
||||||
{
|
{
|
||||||
if (fallbackFont)
|
if (fallbackFont)
|
||||||
fallbackFont->getLineHeight();
|
return fallbackFont->getLineHeight();
|
||||||
|
|
||||||
return TTF_FontHeight(font.get());
|
return TTF_FontHeight(font.get());
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user