Fix: tell the user if a font fails to load and fallback is about to be used #8559
Fixes #7615 (well, not really fixes, but informs the user better).
Motivation / Problem
When fonts fail to load, the user is not informed why and that it failed. Instead, system fallback is loaded, and that is all she wrote. Really frustrating for the user, as he would think he did the path wrong or something. None of that .. if only a single glyph is missing, all the fonts are rejected and the system fallback is used.
So instead of doing stuff in silence, be a bit more talkative:
Hopefully that makes it a bit easier to debug font issues :)
Checklist for review
Some things are not automated, and forgotten often. This list is a reminder for the reviewers.
…e used Additionally, tell exactly why the font failed to load, which glyph was missing from the font. This hopefully helps the user a bit more in the right direction.
(From the perspective of the average gamer)
People familiar with how to change the font will likely benefit from this change. However, the vast majority of players don't know about this possibility.
This proposal is a completely different level of complexity of the work and it is probably not very revealing, but...
Please keep comments relevant to the topic at hand. This Pull Request is, as you already conclude, to fix a specific problem. It is not about fixing [everything else]. If you feel what you describe is a bug, create an issue please, so it can be processed properly. Tnx!