1
0
mirror of https://github.com/arduino/Arduino.git synced 2025-02-20 14:54:31 +01:00
Cristian Maglie 34fb802793 Fix font anti-alias on windows
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
2016-12-28 11:09:33 +01:00
..
2016-12-21 15:54:03 +01:00
2016-12-21 15:54:03 +01:00
2016-12-28 11:09:33 +01:00
2016-12-21 15:54:03 +01:00
2016-09-21 10:38:13 +02:00
2015-08-10 09:07:55 +02:00
2016-12-12 11:42:24 -05:00