Merge branch 'fibref-textrender-scaling-fix'

This commit is contained in:
Wojtek Figat
2025-08-29 22:27:41 +02:00

View File

@@ -167,7 +167,7 @@ void TextRender::UpdateLayout()
// Pick a font (remove DPI text scale as the text is being placed in the world)
auto font = Font->CreateFont(_size);
float scale = 1.0f / FontManager::FontScale;
float scale = _layoutOptions.Scale / FontManager::FontScale;
// Prepare
FontTextureAtlas* fontAtlas = nullptr;