Character encoding problem in the Arduino IDE softare (1.8.12)

So, I just installed the software but I immediately noticed a problem; the text in the right-click menus and the menus at the top appear as random characters and garbled text (see attachments). I believe that this is a character encoding problem, but i am not sure. If anyone knows what the problem is or how to fix this, please reply.

PS: I use a custom font on my PC.

Thanks

(mod edit)
Screenshot (199).png

Screenshot (198).png

Screenshot (199).png

Screenshot (198).png

It may be that you described ther problem and the cure.

PS: I use a custom font on my PC.

Could you take a few moments to Learn How To Use The Forum.
Other general help and troubleshooting advice can be found here.
It will help you get the best out of the forum in the future.

hmm; I know there were some character encoding issues on recent versions of the IDE due to an attempt to change the JVM bundled with it, but I thought that was fixed in 1.8.12 by reverting to the other JVM until the problems could be sorted out. Does the same problem happen with a version of the IDE a few versions back? 1.8.9 was a solid build iirc.

DrAzzy:
Does the same problem happen with a version of the IDE a few versions back? 1.8.9 was a solid build iirc.

It still happens on 1.8.9

ballscrewbob:
It may be that you described ther problem and the cure.

It works properly with the default font, but all the other programs i have work fine with the custom font.

The last two of your responses show that the error clearly lies with your special non standard font.
That would be regardless of which other programs it may work with.

I doubt anyone can say that your font will work with 100% of the programs you could use it with and this may only be one of those cases.