File tree 6 files changed +4
-4
lines changed
arduino-core/src/processing/app/macosx
6 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -122,6 +122,7 @@ public class Base {
122
122
private final List <JMenuItem > recentSketchesMenuItems ;
123
123
124
124
static public void main (String args []) throws Exception {
125
+ System .setProperty ("awt.useSystemAAFontSettings" , "on" );
125
126
System .setProperty ("swing.aatext" , "true" );
126
127
System .setProperty ("java.net.useSystemProxies" , "true" );
127
128
Original file line number Diff line number Diff line change @@ -63,6 +63,8 @@ public Platform() {
63
63
public void init () throws Exception {
64
64
super .init ();
65
65
66
+ System .setProperty ("apple.laf.useScreenMenuBar" , "true" );
67
+
66
68
discoverRealOsArch ();
67
69
}
68
70
Original file line number Diff line number Diff line change 336
336
<option value =" -Dcom.apple.macos.useScreenMenuBar=true" />
337
337
<option value =" -DAPP_DIR=$APP_ROOT/Contents/Java" />
338
338
<option value =" -Djava.ext.dirs=$JVM_RUNTIME/Contents/Home/lib/ext/:$JVM_RUNTIME/Contents/Home/jre/lib/ext/" />
339
- <option value =" -Dawt.useSystemAAFontSettings=on" />
340
339
341
340
<!--
342
341
<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
25
25
fi
26
26
27
27
# 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" " -Dawt.useSystemAAFontSettings=on " )
28
+ JAVA_OPTIONS=(" -DAPP_DIR=$APPDIR " " -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel" )
29
29
30
30
if [[ " $@ " != * " --upload" * && " $@ " != * " --verify" * && " $@ " != * " --get-pref" * && " $@ " != * " --install-board" * && " $@ " != * " --install-library" * ]] ; then
31
31
JAVA_OPTIONS+=(" -splash:$APPDIR /lib/splash.png" )
Original file line number Diff line number Diff line change 37
37
<runtimeBits >32</runtimeBits >
38
38
<opt >-splash:"%EXEDIR%/lib/splash.png"</opt >
39
39
<opt >-Dsun.java2d.d3d=false</opt >
40
- <opt >-Dawt.useSystemAAFontSettings=on</opt >
41
40
<opt >-DAPP_DIR="%EXEDIR%"</opt >
42
41
</jre >
43
42
<splash >
Original file line number Diff line number Diff line change 36
36
<path >java</path >
37
37
<runtimeBits >32</runtimeBits >
38
38
<opt >-Dsun.java2d.d3d=false</opt >
39
- <opt >-Dawt.useSystemAAFontSettings=on</opt >
40
39
<opt >-DAPP_DIR="%EXEDIR%"</opt >
41
40
<opt >-DDEBUG=true</opt >
42
41
</jre >
You can’t perform that action at this time.
0 commit comments