1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-25 05:04:07 +01:00

Fix: Bootstrap ignored default OpenTTD truetype fonts. (#14684)

Bootstrapping assumed that glyphs must be missing if there is no baseset, ignoring whether there actually are glyphs missing.
This commit is contained in:
Peter Nelson
2025-09-30 22:16:50 +01:00
committed by GitHub
parent 9eacb889f8
commit 5d5d27841b
5 changed files with 7 additions and 7 deletions

View File

@@ -923,7 +923,7 @@ void TextfileWindow::LoadText(std::string_view buf)
this->AfterLoadText();
this->ReflowContent();
CheckForMissingGlyphs(true, this);
CheckForMissingGlyphs(this);
/* The font may have changed when searching for glyphs, so ensure widget sizes are updated just in case. */
this->ReInit();