-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Fix font anti-alias on windows #5756
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
Conversation
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
ArduinoBot
commented
Dec 24, 2016
✅ Build completed.
Please test this code using one of the following:
⬇️ http://downloads.arduino.cc/javaide/pull_requests/arduino-PR-5756-BUILD-628-linux32.tar.xz
⬇️ http://downloads.arduino.cc/javaide/pull_requests/arduino-PR-5756-BUILD-628-linux64.tar.xz
⬇️ http://downloads.arduino.cc/javaide/pull_requests/arduino-PR-5756-BUILD-628-windows.zip
⬇️ http://downloads.arduino.cc/javaide/pull_requests/arduino-PR-5756-BUILD-628-macosx.zip
⬇️ http://downloads.arduino.cc/javaide/pull_requests/arduino-PR-5756-BUILD-628-linuxarm.tar.xz
i️ The linuxarm build is still experimental and may not be always available.
Work fine on Windows 7 64bit. 👍
image
SwiftNick
commented
Dec 24, 2016
nagyPista
commented
Dec 27, 2016
Fonts are ok now. (win7x64)
image
The properties:
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