Fix: don't complain when the sprite font is missing glyphs. #9692
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation / Problem
On start OpenTTD checks whether the loaded font supports all glyphs used by the current language pack.
If the font is lacking, it tries to find a suitable font itself, and shows an error message.
The error message is useful, if
However, the error is also shown if no font is configured (default), which is not useful at all.
All new players with non-latin-alphabet languages, see this message on start:
https://steamcommunity.com/sharedfiles/filedetails/?id=2443789429
Description
Limitations
The "font configured" is decided by the "medium"/"normal" font only.
It's assumed if the user knows how to configure that one, they also know about the other font sizes.
Checklist for review
Some things are not automated, and forgotten often. This list is a reminder for the reviewers.