[0.17.24] some sybols not visible

This subforum contains all the issues which we already resolved.
Post Reply
FMRx
Inserter
Inserter
Posts: 22
Joined: Sat Feb 14, 2015 10:13 am
Contact:

[0.17.24] some sybols not visible

Post by FMRx » Tue Apr 02, 2019 8:29 pm

after 0.17.24 patch some symbols drawn as [] in train menu ( like unknown in Windows )
at now i see 3 of them ">=" , "<=" and i forgot 3rd :)
Attachments
0.17.24_text_bug.png
0.17.24_text_bug.png (37.09 KiB) Viewed 336 times

Shogal
Burner Inserter
Burner Inserter
Posts: 18
Joined: Tue Mar 05, 2019 1:46 am
Contact:

Re: [0.17.24] some sybols not visible

Post by Shogal » Thu Apr 04, 2019 2:09 am

I even know what causes this bug.

Current font list for Russian is:

Code: Select all

{
  "completed": 100,
  "language-name": "Русский",
  "font": {
    "default":
    [
      "__core__/fonts/NotoSans-Regular.ttf",
      "__core__/fonts/Sunflower-Medium.ttf",
      "__core__/fonts/DroidSansFallback.ttf",
      "__core__/fonts/NotoSansThai-Regular.ttf",
      "__core__/fonts/NotoSansArabic-Regular.ttf",
      "__core__/fonts/NotoSansHebrew-Regular.ttf"
    ],
    "default-bold":
    [
      "__core__/fonts/NotoSans-Bold.ttf",
      "__core__/fonts/Sunflower-Bold.ttf",
      "__core__/fonts/NotoSans-Bold.ttf",
      "__core__/fonts/DroidSansFallback.ttf",
      "__core__/fonts/NotoSansThai-Bold.ttf",
      "__core__/fonts/NotoSansArabic-Bold.ttf",
      "__core__/fonts/NotoSansHebrew-Bold.ttf"
    ],
    "default-mono":
    [
      "__core__/fonts/NotoMono-Regular.ttf",
      "__core__/fonts/NotoSans-Regular.ttf",
      "__core__/fonts/Sunflower-Medium.ttf",
      "__core__/fonts/DroidSansFallback.ttf",
      "__core__/fonts/NotoSansThai-Regular.ttf",
      "__core__/fonts/NotoSansArabic-Regular.ttf",
      "__core__/fonts/NotoSansHebrew-Regular.ttf"
    ],
    "default-semibold":
    [
      "__core__/fonts/NotoSans-SemiBold.ttf",
      "__core__/fonts/Sunflower-Bold.ttf",
      "__core__/fonts/DroidSansFallback.ttf",
      "__core__/fonts/NotoSansThai-SemiBold.ttf",
      "__core__/fonts/NotoSansArabic-SemiBold.ttf",
      "__core__/fonts/NotoSansHebrew-SemiBold.ttf"
    ],
    "locale-pick":
    [
      "__core__/fonts/NotoSans-Regular.ttf",
      "__core__/fonts/Sunflower-Medium.ttf",
      "__core__/fonts/DroidSansFallback.ttf",
      "__core__/fonts/NotoSansThai-Regular.ttf",
      "__core__/fonts/NotoSansArabic-Regular.ttf",
      "__core__/fonts/NotoSansHebrew-Regular.ttf"
    ],
    "scenario-message-dialog":
    [
      "__core__/fonts/NotoMono-Regular.ttf",
      "__core__/fonts/NotoSans-Regular.ttf",
      "__core__/fonts/Sunflower-Medium.ttf",
      "__core__/fonts/DroidSansFallback.ttf",
      "__core__/fonts/NotoSansThai-Regular.ttf",
      "__core__/fonts/NotoSansArabic-Regular.ttf",
      "__core__/fonts/NotoSansHebrew-Regular.ttf"
    ]
  }
}
I checked these fonts and no one contains U+2260, U+2264, U+2264 characters (≠, ≤, ≥).

To fix this, for example, add English default fonts as fallback (to file data/core/locale/ru/info.json):

Code: Select all

{
  "completed": 100,
  "language-name": "Русский",
  "font": {
    "default":
    [
      "__core__/fonts/NotoSans-Regular.ttf",
      "__core__/fonts/TitilliumWeb-Regular.ttf",
      "__core__/fonts/Sunflower-Medium.ttf",
      "__core__/fonts/DroidSansFallback.ttf",
      "__core__/fonts/NotoSansThai-Regular.ttf",
      "__core__/fonts/NotoSansArabic-Regular.ttf",
      "__core__/fonts/NotoSansHebrew-Regular.ttf"
    ],
    "default-bold":
    [
      "__core__/fonts/NotoSans-Bold.ttf",
      "__core__/fonts/TitilliumWeb-Bold.ttf",
      "__core__/fonts/Sunflower-Bold.ttf",
      "__core__/fonts/NotoSans-Bold.ttf",
      "__core__/fonts/DroidSansFallback.ttf",
      "__core__/fonts/NotoSansThai-Bold.ttf",
      "__core__/fonts/NotoSansArabic-Bold.ttf",
      "__core__/fonts/NotoSansHebrew-Bold.ttf"
    ],
    "default-mono":
    [
      "__core__/fonts/NotoMono-Regular.ttf",
      "__core__/fonts/NotoSans-Regular.ttf",
      "__core__/fonts/Sunflower-Medium.ttf",
      "__core__/fonts/DroidSansFallback.ttf",
      "__core__/fonts/NotoSansThai-Regular.ttf",
      "__core__/fonts/NotoSansArabic-Regular.ttf",
      "__core__/fonts/NotoSansHebrew-Regular.ttf"
    ],
    "default-semibold":
    [
      "__core__/fonts/NotoSans-SemiBold.ttf",
      "__core__/fonts/TitilliumWeb-SemiBold.ttf",
      "__core__/fonts/Sunflower-Bold.ttf",
      "__core__/fonts/DroidSansFallback.ttf",
      "__core__/fonts/NotoSansThai-SemiBold.ttf",
      "__core__/fonts/NotoSansArabic-SemiBold.ttf",
      "__core__/fonts/NotoSansHebrew-SemiBold.ttf"
    ],
    "locale-pick":
    [
      "__core__/fonts/NotoSans-Regular.ttf",
      "__core__/fonts/Sunflower-Medium.ttf",
      "__core__/fonts/DroidSansFallback.ttf",
      "__core__/fonts/NotoSansThai-Regular.ttf",
      "__core__/fonts/NotoSansArabic-Regular.ttf",
      "__core__/fonts/NotoSansHebrew-Regular.ttf"
    ],
    "scenario-message-dialog":
    [
      "__core__/fonts/NotoMono-Regular.ttf",
      "__core__/fonts/NotoSans-Regular.ttf",
      "__core__/fonts/Sunflower-Medium.ttf",
      "__core__/fonts/DroidSansFallback.ttf",
      "__core__/fonts/NotoSansThai-Regular.ttf",
      "__core__/fonts/NotoSansArabic-Regular.ttf",
      "__core__/fonts/NotoSansHebrew-Regular.ttf"
    ]
  }
}
Also, previous font (Lato) was much better as its line height was similar to TitilliumWeb (which is used as English font), and it occupied less space. I don't know why developers removed it in 0.17.24, license allows to use it in commercial projects.

posila
Factorio Staff
Factorio Staff
Posts: 3496
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [0.17.24] some sybols not visible

Post by posila » Thu Apr 04, 2019 10:55 am

Thanks for the report.
Fixed for 0.17.25

Post Reply

Return to “Resolved Problems and Bugs”

Who is online

Users browsing this forum: No registered users