ShadowMario / FNF-PsychEngine

Engine originally used on Mind Games mod
Apache License 2.0
1.15k stars 2.21k forks source link

Cyrillic doesn't show up in Story Mode #15353

Closed Novikond closed 1 month ago

Novikond commented 2 months ago

Describe your bug here.

Working on Russian localization, Cyrillic doesn't appear in story mode Problem is not with the font, I tried several of them, problem remains

Issue: Text on score text, option descriptions etc etc works, it is displayed as intended. But on week score and story names, it doesn't. Instead it shows a blank space. If I put English letters in there, it shows up as it should.

All the translation keys that have this issue:

In the first screenshot I put some English letters with Russian, you can see the gap, this gap is Cyrillic. In the second screenshot it's just Cyrillic. I'll also attach the font I used, it's a normal vcr font but with the addition of Cyrillic characters.

(Tested on 1.0 Pre-Release and 1.0 Action builds)

Screenshot 1. week_score: "notice the space >СЧЕТ УРОВНЯ: {1}" Screenshot 2. week_score: "СЧЕТ УРОВНЯ: {1}" Font (rename to vcr.ttf): https://files.catbox.moe/5uzdyw.ttf

image image1

Command Prompt/Terminal logs (if existing)

No response

Are you modding a build from source or with Lua?

Lua

What is your build target?

Windows

Did you edit anything in this build? If so, mention or summarize your changes.

No changes were made

crowplexus commented 2 months ago

to make it clear, it doesn't work because the game doesn't look for mod fonts and instead uses hardcoded ones, this should be fixed when my pr gets completed and merged