Skip to content

menu font looks like broken in ide-1.8.0 #5750

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
Myriads opened this issue Dec 23, 2016 · 14 comments
Closed

menu font looks like broken in ide-1.8.0 #5750

Myriads opened this issue Dec 23, 2016 · 14 comments
Milestone

Comments

@Myriads
Copy link

Myriads commented Dec 23, 2016

menu font looks like broken in ide-1.8.0:
[ide-1.8.0]
ide_font_01

In the menu some Korean characters are not displayed completely and displayed like broken. Please compare with the below picture of IDE 1.6.13.

[ide-1.6.3]
ide_font_02

@facchinm
Copy link
Member

Hi @Myriads ,
can you expand your bug report? Are you referring to Korean vs English for board names and programmers or something more subtle?

@facchinm facchinm added the Waiting for feedback More information must be provided before we can proceed label Dec 23, 2016
@Myriads
Copy link
Author

Myriads commented Dec 23, 2016

In the new IDE, menu fonts are not completely displayed. It looks like more thiner than the previous menu fonts:

[Case 2]
image
image

[Case 3]
image
image

@SurfingDude
Copy link

Same problem in the English Language IDE. Going from 1.6.12 to 1.8.0 gives thinner letters in a font that is more difficult to read. The preferences dialog shows this quite clearly.

@cmaglie
Copy link
Member

cmaglie commented Dec 23, 2016

Which version of windows are you running?

@SurfingDude
Copy link

SurfingDude commented Dec 23, 2016 via email

@cmaglie cmaglie removed the Waiting for feedback More information must be provided before we can proceed label Dec 23, 2016
@cmaglie
Copy link
Member

cmaglie commented Dec 23, 2016

For some reason the antialias is gone.
Investigating...

@cmaglie
Copy link
Member

cmaglie commented Dec 23, 2016

It seems caused by this commit cf54cce that is part of #5578.
I'm looking for a solution.

@DougieLawson
Copy link

@cmaglie Do you need any additional docs, screenshots or stuff from a Windows 10 user?

Do you need anyone to alpha or beta test any fix you develop for this? Give me a download link and I'm quite happy to give things a try out (although not on Xmas day).

@cmaglie
Copy link
Member

cmaglie commented Dec 23, 2016

I managed to reproduce it on my pc so I'm ok for now, thanks!
A test build to try will be produced by @ArduinoBot once I have a fix.

cmaglie added a commit to cmaglie/Arduino that referenced this issue Dec 23, 2016
The properties:

      System.setProperty("awt.useSystemAAFontSettings", "on");
      System.setProperty("swing.aatext", "true");

actually works on Linux (where the hint helps X11 to enable antialiased
rendering) but makes things worse on Windows where the outcome is exactly
the opposite (anti-alias is disabled).

Previously those settings had no effect because they were executed
*after* the initialization of the graphics. This is no more true
after the merge of arduino#5578, that moved the graphics initialization
after commmand line parsing and consequently revealed the weird
behaviour on windows.

Fix arduino#5750
@FernandoGarcia
Copy link

Hi @cmaglie !

This PR solve the problem to me.

Thanks.

Best regards.

cmaglie added a commit that referenced this issue Dec 28, 2016
The properties:

      System.setProperty("awt.useSystemAAFontSettings", "on");
      System.setProperty("swing.aatext", "true");

actually works on Linux (where the hint helps X11 to enable antialiased
rendering) but makes things worse on Windows where the outcome is exactly
the opposite (anti-alias is disabled).

Previously those settings had no effect because they were executed
*after* the initialization of the graphics. This is no more true
after the merge of #5578, that moved the graphics initialization
after commmand line parsing and consequently revealed the weird
behaviour on windows.

Fix #5750
@ameliaamelia
Copy link

I am using Arduino IDE 1.8.0 and Visual Studio 14 on Windows 10.
The font for both is "Input"; with IDE 1.6.13 all OK but with IDE 1.8.0 the fixed length is not taken in account:
SHORT a;
BYTEu b; (note the 'b' is slightly left shifted, like in this non fixed font post)
The font is correctly displayed.

amelia

@ameliaamelia
Copy link

Addendum:
If I use the font "Monospac821 BT" all is OK.

amelia

@cmaglie cmaglie added this to the Release 1.8.1 milestone Dec 28, 2016
@DBenS
Copy link

DBenS commented Dec 31, 2016

Hi,
I'm using Windows 8.1 and Arduino IDE for Windows.
The editor has its font OK, but the message window is really very bad. I tried to change the font settings onto "preferences.txt" without any effect.

See below:
image

@PaulStoffregen
Copy link
Contributor

@DBenS - This problem was fixed 3 days ago. Download the latest nightly build version to get the fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants