Page 1 of 1

Font fallback weirdness in Load Game window

Posted: Fri Apr 08, 2022 3:53 pm
by moon69
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...
Load-Fallback2.png
Load-Fallback2.png (118.04 KiB) Viewed 779 times
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"
    ]
  }
}
It's messing with my cunning plan to compactly encode info in the filename :?