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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user