Font fallback weirdness in Load Game window
Posted: Fri Apr 08, 2022 3:53 pm
Why do font fallback characters in the Load Game window appear larger/bold than the primary font?
DejaVu Sans appears correct size/weight when it's the only font, but not when it's the fallback...
The above created by removing all fallback fonts in locale\en\info.json and then changing the "default" fonts as described in the image...
It's messing with my cunning plan to compactly encode info in the filename ![Confused :?](./images/smilies/icon_e_confused.gif)
DejaVu Sans appears correct size/weight when it's the only font, but not when it's the fallback...
The above created by removing all fallback fonts in locale\en\info.json and then changing the "default" fonts as described in the image...
Code: Select all
{
"language-name": "English",
"font": {
"default":
[
"__core__/fonts/TitilliumWeb-Regular.ttf",
"__core__/fonts/DejaVuSans.ttf"
],
"default-bold":
[
"__core__/fonts/TitilliumWeb-Regular.ttf"
],
"default-mono":
[
"__core__/fonts/TitilliumWeb-Regular.ttf"
],
"default-semibold":
[
"__core__/fonts/TitilliumWeb-Regular.ttf"
],
"locale-pick":
[
"__core__/fonts/TitilliumWeb-Regular.ttf"
],
"scenario-message-dialog":
[
"__core__/fonts/TitilliumWeb-Regular.ttf"
]
}
}
![Confused :?](./images/smilies/icon_e_confused.gif)