diff options
author | Sven Gothel <[email protected]> | 2013-10-31 10:46:47 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2013-10-31 10:46:47 +0100 |
commit | b57ce5454ddeb7dd4b7c010c5df54faa6e8d951a (patch) | |
tree | 8ad7339fd27d715a9efb41360ce43902e14abbc3 /make/build-jogl.xml | |
parent | 887dbdb34d71a3a266b7854bc9a3842aad1032f9 (diff) |
Bug 754 - Remove Ubuntu fonts from jogl-all.jar, provide it separately to reduce footprint for the masses.
Remove the ubuntu fonts from atomic/jogl-util-graph.jar and hence all derivated 'all' JAR files.
The Android jar files still contain the fonts as assets!
atomic/jogl-util-graph-fonts-p0.jar contains the fonts and is either referenced by:
- UbuntuFontLoader: Using class based Jar URI derivation using TempJarCache to [down]load
and extract the jar file (similar to native lib-loading).
- Explicitly via traditional classpath, see jnlp-files/jogl-applet-runner-newt-GraphTextDemo01b-napplet.html
The pack200 jogl-all.jar file is now below 1MB
Diffstat (limited to 'make/build-jogl.xml')
-rw-r--r-- | make/build-jogl.xml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/make/build-jogl.xml b/make/build-jogl.xml index 8c30bb038..28b738b10 100644 --- a/make/build-jogl.xml +++ b/make/build-jogl.xml @@ -1837,7 +1837,12 @@ </jar> <jar manifest="${build.jogl}/manifest.mf" destfile="${jogl-util-graph.jar}" filesonly="true"> <fileset dir="${classes}" - includes="${java.part.util.graph}"/> + includes="${java.part.util.graph}" + excludes="${java.part.util.graph.fonts}"/> + </jar> + <jar manifest="${build.jogl}/manifest.mf" destfile="${jogl-util-graph-fonts-p0.jar}" filesonly="true"> + <fileset dir="${classes}" + includes="${java.part.util.graph.fonts}"/> </jar> <jar manifest="${build.jogl}/manifest.mf" destfile="${jogl-util-fixedfuncemu.jar}" filesonly="true"> <fileset dir="${classes}" |