Skip to content

Commit edd9ea3

Browse files
committed
Use fonts in lib/fonts instead of the JVM location for all OS
1 parent 71cca0d commit edd9ea3

1 file changed

Lines changed: 2 additions & 21 deletions

File tree

build/build.xml

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -611,17 +611,10 @@
611611
<copy todir="macosx/work/Processing.app/Contents/Java">
612612
<fileset dir=".." includes="core/library/**" /> <!-- why this? -->
613613
<!--<fileset dir="shared" includes="launch4j/**" />-->
614-
<fileset dir="shared" includes="lib/**" excludes="lib/fonts/**" />
614+
<fileset dir="shared" includes="lib/**" />
615615
<fileset file="shared/revisions.txt" />
616616
</copy>
617617

618-
<!--
619-
Processing.app/Contents/PlugIns/jdk1.7.0_40.jdk/Contents/Home/jre/lib/fonts
620-
-->
621-
<copy todir="macosx/work/Processing.app/Contents/PlugIns/jdk${jdk.esoteric}.jdk/Contents/Home/jre/lib/fonts">
622-
<fileset dir="shared/lib/fonts" includes="*" />
623-
</copy>
624-
625618
<antcall target="assemble">
626619
<param name="target.path"
627620
value="macosx/work/Processing.app/Contents/Java" />
@@ -756,9 +749,6 @@
756749
<copy todir="linux/work">
757750
<fileset dir=".." includes="core/library/**" />
758751
<fileset dir="shared" includes="launch4j/**" />
759-
<!-- this used to excludes="lib/fonts/**", but instead, ship a second -->
760-
<!-- copy of the font files on Linux, so that users can experiment with -->
761-
<!-- drop-in or globally installed JVM versions -->
762752
<fileset dir="shared" includes="lib/**" />
763753
<fileset dir="shared" includes="modes/**" />
764754
<fileset file="shared/revisions.txt" />
@@ -860,11 +850,6 @@
860850
-->
861851
<fileset refid="jre-optional-linux" />
862852
</delete>
863-
864-
<copy todir="linux/work/java/lib/fonts">
865-
<fileset dir="shared/lib/fonts" includes="*" />
866-
</copy>
867-
868853
</target>
869854

870855
<target name="linux-run" depends="linux-build"
@@ -1056,7 +1041,7 @@
10561041
<copy todir="windows/work">
10571042
<fileset dir=".." includes="core/library/**" />
10581043
<fileset dir="shared" includes="launch4j/**" />
1059-
<fileset dir="shared" includes="lib/**" excludes="lib/fonts/**" />
1044+
<fileset dir="shared" includes="lib/**" />
10601045
<fileset dir="shared" includes="modes/**" />
10611046
<fileset file="shared/revisions.txt" />
10621047
</copy>
@@ -1122,10 +1107,6 @@
11221107
-->
11231108
<fileset refid="jre-optional-windows" />
11241109
</delete>
1125-
1126-
<copy todir="windows/work/java/lib/fonts">
1127-
<fileset dir="shared/lib/fonts" includes="*" />
1128-
</copy>
11291110
</target>
11301111

11311112
<target name="windows-run" depends="windows-build"

0 commit comments

Comments
 (0)