ParadoxosModManagerRework icon indicating copy to clipboard operation
ParadoxosModManagerRework copied to clipboard

Messed up text

Open Shadowedcross opened this issue 4 years ago • 14 comments

The text is complete gibberish and persists like this through reinstalls. java_2020-04-15_19-35-28

Shadowedcross avatar Apr 15 '20 18:04 Shadowedcross

So I looked at the ASCII character set and comparing what I type vs what I get, most give me a character that's two places ahead so instead of 'a' I get 'c' or '{' instead of 'y'. Some characters work fine though, such as the exclamation mark or the dollar sign.

Shadowedcross avatar Apr 15 '20 23:04 Shadowedcross

This is really strange!

All is compilated and text encoded in UTF8, and even if it's an encoding error, it's don't look like the standard errors between iso/utf8.

Do you use any specific language for Windows?

ThibautSF avatar Apr 16 '20 10:04 ThibautSF

I just use the default which for me is English (United Kingdom)

Shadowedcross avatar Apr 16 '20 11:04 Shadowedcross

The text that's in a different font seems to work just fine java_2020-04-16_13-17-28

Shadowedcross avatar Apr 16 '20 12:04 Shadowedcross

So... One text is working (window title too in fact)

All text of PMM uses default system font, "Your mods ..." uses any serif family font

Did you change your system default font?

ThibautSF avatar Apr 16 '20 15:04 ThibautSF

I don't believe I did, and just in-case I had, I restored default font settings but it's still broken.

Shadowedcross avatar Apr 17 '20 00:04 Shadowedcross

(Again I forgot that some keyword close issues...)

Can you try to run the new Indev build? https://github.com/ThibautSF/ParadoxosModManagerRework/releases/tag/indev

I made a basic fix which will need to take more time to improve it but I want to know if it's working. The fix made all text to use a sans-serif family font ("Your mods..." will still be serif)

Could you also send back the DebugLog.txt file which will be generated in the root folder each time you start the app?

ThibautSF avatar Apr 17 '20 10:04 ThibautSF

The indev build works java_2020-04-17_12-09-53

Here's the DebugLog DebugLog.txt

Shadowedcross avatar Apr 17 '20 11:04 Shadowedcross

So there is something strange with the default font.

In the debug this line is good Font[name=System Regular, family=System, style=Regular, size=12.0]

Can you give as many details as you think about your system? What I can think: OS name, OS version, your desktop environment (in case of Linux systems) and its version...

Will try to see if this bug already occurs, or if it was already reported to openjfx (and in the other case report it myself)

ThibautSF avatar Apr 17 '20 11:04 ThibautSF

Windows 10 Home Edition, Version 1903 (Build 18362.778)

Shadowedcross avatar Apr 17 '20 13:04 Shadowedcross

Windows 10? Your window has a different style than normal. Is this a custom theme installed?

ThibautSF avatar Apr 17 '20 13:04 ThibautSF

I'm using a custom theme yes, the text is still messed up if I switch back to the default theme though.

Shadowedcross avatar Apr 17 '20 13:04 Shadowedcross

Is it a theme customized by you, or a theme available distributed by someone (or a company)?

To test that on a Virtual Machine if it's the origin of the problem ^^

ThibautSF avatar Apr 17 '20 14:04 ThibautSF

This is the theme I'm using.

Shadowedcross avatar Apr 17 '20 14:04 Shadowedcross