Arduino IDE Shows Weird Text

Hi,

I use Arduino IDE v1.8.10 and today I’ve faced a problem. All the projects I’ve coded are shown in some weird characters (see attachment). In fact, the code itself is not damaged, I’m sure because I’ve opened the same projects by Notepad and all the codes are there.

More, when I copy the code and paste it into Word, it’s all O.K.

So, why can’t I see the code properly in Arduino IDE? Any solution?

Thanks in advance for your contribution.

It might be this bug:

The only thing that's strange is the bug report is about the menu text being corrupted, not the editor text.

There is a workaround for that bug here:

Close all Arduino IDE windows.

Open the file arduino.l4j.ini from the Arduino IDE installation folder in a text editor

Add the following line:

-Dawt.useSystemAAFontSettings=on

Save the file.

Start the Arduino IDE.

Does that fix the problem?

It worked perfectly.

Thanks.

You're welcome. I'm glad to hear it's working now. Enjoy!
Per