Barath
Barath

Reputation: 5283

IntelliJ IDEA: how to fix broken font display?

Unable to read the language. How to set it to english ?

enter image description here

Upvotes: 2

Views: 8276

Answers (2)

Trunk
Trunk

Reputation: 756

Had same issue with IntelliJ Community Edition, version 2019 2. Initially the only way I could get the "normal" IntelliJ charset mapping to persist after closing and reopening is go to Settings > Appearance & Behaviours > Appearance and then to UNCHECK Use Custom Font and allow the built-in defaults to be applied.

Later I discovered that I could use all custom fonts except my favorite, Open Sans. Somehow selecting and applying this font only worked for the remainder of the IntelliJ session. If IntelliJ was closed and reopened, the character mapping was altered in both the Settings page and in the IDE. Each character was represented by the next character alphabetically, e.g. Open Sans ==> Pqdo Tbot

enter image description here

Notice that the first letter of the menus (which has a separate formatting as it's underlined) remains the same while the remainder of the menu title is ampped to the next letter in the alphabet.

enter image description here

The question thus arises: why is Open Sans showing this change of character mapping while other fonts do not ?

Upvotes: 0

CrazyCoder
CrazyCoder

Reputation: 402503

The issue is not with the language, but with some broken font mapping on your system. The workaround is to change IDE font. Press Ctrl+Alt+S to access the Settings dialog, open the second entry from the top and set some font here:

font

Upvotes: 12

Related Questions