Merge branch 'fibref-textrender-scaling-fix'
This commit is contained in:
@@ -167,7 +167,7 @@ void TextRender::UpdateLayout()
|
|||||||
|
|
||||||
// Pick a font (remove DPI text scale as the text is being placed in the world)
|
// Pick a font (remove DPI text scale as the text is being placed in the world)
|
||||||
auto font = Font->CreateFont(_size);
|
auto font = Font->CreateFont(_size);
|
||||||
float scale = 1.0f / FontManager::FontScale;
|
float scale = _layoutOptions.Scale / FontManager::FontScale;
|
||||||
|
|
||||||
// Prepare
|
// Prepare
|
||||||
FontTextureAtlas* fontAtlas = nullptr;
|
FontTextureAtlas* fontAtlas = nullptr;
|
||||||
|
|||||||
Reference in New Issue
Block a user