Skip to content

Running Arduino IDE under Windows (Installer or Windows Store) with ClearType causes the menus to display gibberish. #6170

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
SarreqTeryx opened this issue Apr 8, 2017 · 10 comments
Assignees
Labels
Component: IDE user interface The Arduino IDE's user interface OS: Windows Specific to the Windows version of the Arduino IDE Type: Bug Waiting for feedback More information must be provided before we can proceed

Comments

@SarreqTeryx
Copy link

I'm not sure why, but shutting off ClearType fixes this problem, at the cost of text clarity

2017-04-08 3

2017-04-08 4

@facchinm facchinm added Component: IDE user interface The Arduino IDE's user interface OS: Windows Specific to the Windows version of the Arduino IDE Type: Bug labels Apr 10, 2017
@nitram509
Copy link
Contributor

I would like to add some information.

I'm using Windows 10 Pro 64 bit (German version) with active Clear Type since years and never experienced such gibberish problem.
Maybe there is some issue overlapping, but clearly, it is not just ClearType setting alone.

@Phoenix1o1
Copy link

I wish to add something to this too.
I am running Win 10 Pro Build 16299 x64, and as other reported turning Off cleartype fixes the issue with me too.
In my specific case the issue is (i think) due to the fact that I'm using a different default font systemwise (It's called B612). Reverting to windows default (i think it's called Segoe) fixes the issue.
Also, in the Setting windows of the IDE, the text can be read properly, so the issue is specific to menus only.
I suggest adding in the setting an option to choose the font to be used in the menus and allow the users to change it at will, or investigating the issue more deeply.
I don't want to turn cleartype off any time I want to use the IDE and than back on when i'm finished.

@Phoenix1o1
Copy link

image

@Phoenix1o1
Copy link

@cmaglie do you have any update on this Issue? It could possibly be related to this #7839

@facchinm
Copy link
Member

facchinm commented Apr 2, 2019

It's surely related with #7839 ; a possible fix would be to override the menu fonts like this (https://github.com/arduino/Arduino/pull/8647/files#diff-0437e0831865dfac93630d3acc7321c9R43) but it would make them inconsistent with the rest of the system (better inconsistent that garbled anyway 😛 )

@cmaglie
Copy link
Member

cmaglie commented Apr 8, 2019

@Phoenix1o1
It may be that the driver of your graphics card is not updated?

@facchinm
Copy link
Member

@SarreqTeryx @Phoenix1o1 @nitram509 I've investigated on the problem and found a solution that may fit.
By adding

-Dawt.useSystemAAFontSettings=on

to arduino.l4j.ini the fonts reappear as if ClearType was off, but just in the Arduino IDE and just for the menus.
Could you try if it also works for you? In this case we could add a line in the troubleshooting page (I would avoid applying this setting to everyone)

@facchinm facchinm added the Waiting for feedback More information must be provided before we can proceed label Apr 18, 2019
@facchinm facchinm added this to the Release 1.8.10 milestone Jul 8, 2019
facchinm added a commit to facchinm/Arduino that referenced this issue Jul 8, 2019
If Cleartype and nonstandard fonts are being used, the IDE menus are rendered terribly. This patch should not affect people with standard configurations but must be tested on all possible OS/fonts combinations

Fixes arduino#6170
Fixes arduino#7839
@sandeepmistry
Copy link
Contributor

I'm closing this for now due to lack of feedback, please re-open if needed with what @facchinm requested above.

@ammarchalifah
Copy link

I'm having this problem too. I'm using Windows 7, and I've tried the solution proposed by facchnim to add -Dawt.useSystemAAFontSettings=on to to arduino.l4j.ini. It doesn't work.

@quantumJLBass
Copy link

Just to add, I tried the
-Dawt.useSystemAAFontSettings=on

and it did restore the font. I am on the insider's build for win 10 build 20185.re_prerelease.200731-1415 although it should work for any win 10.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: IDE user interface The Arduino IDE's user interface OS: Windows Specific to the Windows version of the Arduino IDE Type: Bug Waiting for feedback More information must be provided before we can proceed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants