File tree Expand file tree Collapse file tree 6 files changed +4
-4
lines changed
arduino-core/src/processing/app/macosx Expand file tree Collapse file tree 6 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -122,7 +122,6 @@ public class Base {
122122 private final List <JMenuItem > recentSketchesMenuItems ;
123123
124124 static public void main (String args []) throws Exception {
125- System .setProperty ("awt.useSystemAAFontSettings" , "on" );
126125 System .setProperty ("swing.aatext" , "true" );
127126 System .setProperty ("java.net.useSystemProxies" , "true" );
128127
Original file line number Diff line number Diff line change @@ -63,8 +63,6 @@ public Platform() {
6363 public void init () throws Exception {
6464 super .init ();
6565
66- System .setProperty ("apple.laf.useScreenMenuBar" , "true" );
67-
6866 discoverRealOsArch ();
6967 }
7068
Original file line number Diff line number Diff line change 336336 <option value =" -Dcom.apple.macos.useScreenMenuBar=true" />
337337 <option value =" -DAPP_DIR=$APP_ROOT/Contents/Java" />
338338 <option value =" -Djava.ext.dirs=$JVM_RUNTIME/Contents/Home/lib/ext/:$JVM_RUNTIME/Contents/Home/jre/lib/ext/" />
339+ <option value =" -Dawt.useSystemAAFontSettings=on" />
339340
340341 <!--
341342 <option value="-Dapple.awt.showGrowBox=false"/>
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ if [ -x "$APPDIR/java/bin/java" ]; then
2525fi
2626
2727# Collect options to java in an array, to properly handle whitespace in options
28- JAVA_OPTIONS=(" -DAPP_DIR=$APPDIR " " -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel" )
28+ JAVA_OPTIONS=(" -DAPP_DIR=$APPDIR " " -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel" " -Dawt.useSystemAAFontSettings=on " )
2929
3030if [[ " $@ " != * " --upload" * && " $@ " != * " --verify" * && " $@ " != * " --get-pref" * && " $@ " != * " --install-board" * && " $@ " != * " --install-library" * ]] ; then
3131 JAVA_OPTIONS+=(" -splash:$APPDIR /lib/splash.png" )
Original file line number Diff line number Diff line change 3737 <runtimeBits >32</runtimeBits >
3838 <opt >-splash:"%EXEDIR%/lib/splash.png"</opt >
3939 <opt >-Dsun.java2d.d3d=false</opt >
40+ <opt >-Dawt.useSystemAAFontSettings=on</opt >
4041 <opt >-DAPP_DIR="%EXEDIR%"</opt >
4142 </jre >
4243 <splash >
Original file line number Diff line number Diff line change 3636 <path >java</path >
3737 <runtimeBits >32</runtimeBits >
3838 <opt >-Dsun.java2d.d3d=false</opt >
39+ <opt >-Dawt.useSystemAAFontSettings=on</opt >
3940 <opt >-DAPP_DIR="%EXEDIR%"</opt >
4041 <opt >-DDEBUG=true</opt >
4142 </jre >
You can’t perform that action at this time.
0 commit comments