Font fallback weirdness in Load Game window

Anything that prevents you from playing the game properly. Do you have issues playing for the game, downloading it or successfully running it on your computer? Let us know here.
Post Reply
User avatar
moon69
Fast Inserter
Fast Inserter
Posts: 181
Joined: Sun Sep 18, 2016 6:53 pm
Contact:

Font fallback weirdness in Load Game window

Post 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 598 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 :?

Post Reply

Return to “Technical Help”