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 /jnlp-files | |
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 'jnlp-files')
-rw-r--r-- | jnlp-files/jogl-applet-runner-newt-GraphTextDemo01b-napplet.html | 68 | ||||
-rw-r--r-- | jnlp-files/jogl-test-applets.html | 6 |
2 files changed, 72 insertions, 2 deletions
diff --git a/jnlp-files/jogl-applet-runner-newt-GraphTextDemo01b-napplet.html b/jnlp-files/jogl-applet-runner-newt-GraphTextDemo01b-napplet.html new file mode 100644 index 000000000..c4c949487 --- /dev/null +++ b/jnlp-files/jogl-applet-runner-newt-GraphTextDemo01b-napplet.html @@ -0,0 +1,68 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<html> +<head> +<title>JOGL Graph Text Demo 01b (NApplet)</title> +</head> +<body BGCOLOR="#ffffff"> + +<P> +JOGL Graph Text Demo 01b (w/ atomic/jogl-fonts-p0.jar in path) +</P> + +<P> +<object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" + width="800" height="400"> + <param name="code" value="com.jogamp.newt.awt.applet.JOGLNewtApplet1Run"> + <param name="archive" value="jar/gluegen-rt.jar, + jar/jogl-all.jar, + jar/atomic/jogl-fonts-p0.jar, + jar/jogl-test.jar"> + <param name="java_arguments" value="-Dsun.java2d.noddraw=true"> + <param name="gl_event_listener_class" value="com.jogamp.opengl.test.junit.graph.demos.GPUTextGLListener0A"> + <param name="gl_profile" value="GL2ES2"> + <param name="gl_swap_interval" value="1"> + <param name="gl_alpha" value="4"> + <param name="gl_multisamplebuffer" value="4"> + <param name="gl_nodefaultkeyListener" value="true"> + <param name="gl_debug" value="false"> + <param name="gl_trace" value="false"> + <comment> + <embed code="com.jogamp.newt.awt.applet.JOGLNewtApplet1Run" + width="800" height="400" + type="application/x-java-applet;version=1.6" + pluginspage="http://java.sun.com/javase/downloads/ea.jsp" + archive="jar/gluegen-rt.jar, + jar/jogl-all.jar, + jar/atomic/jogl-fonts-p0.jar, + jar/jogl-test.jar" + java_arguments="-Dsun.java2d.noddraw=true" + gl_event_listener_class="com.jogamp.opengl.test.junit.graph.demos.GPUTextGLListener0A" + gl_profile="GL2ES2" + gl_swap_interval="1" + gl_alpha="4" + gl_multisamplebuffer="4" + gl_nodefaultkeyListener="true" + gl_debug="false" + gl_trace="false"> + <noembed>Sorry, no Java support detected.</noembed> + </embed> + </comment> +</object> +</P> + +<P> +Graph Text Demo Keys:<br> +<ul> + <li> 1/2 - zoom in/out red-text </li> + <li> 6/7 - edit texture size if using VBAA (nope) </li> + <li> 0/9 - rotate the red-text </li> + <li> v - toggle vsync </li> + <li> i - live text input (CR ends it, backspace supported)</li> + <li> f - toggle fps </li> + <li> h - change text</li> + <li> space - change font</li> +</ul> +</P> + +</body> +</html> diff --git a/jnlp-files/jogl-test-applets.html b/jnlp-files/jogl-test-applets.html index 76cd6effe..3ac2d5952 100644 --- a/jnlp-files/jogl-test-applets.html +++ b/jnlp-files/jogl-test-applets.html @@ -127,10 +127,12 @@ See Legend below table </td> <td> <a href="jogl-applet-runner-newt-GraphTextDemo01.html">Dual</a><br/> - <a href="jogl-applet-runner-newt-GraphTextDemo01-napplet.html">NApplet</a><br/> + <a href="jogl-applet-runner-newt-GraphTextDemo01-napplet.html">NApplet</a> + (<a href="jogl-applet-runner-newt-GraphTextDemo01b-napplet.html">cp-fonts</a>)<br/> </td> <td> - GPU accelerated Text Demo using JOGL's new Graph package. + GPU accelerated Text Demo using JOGL's new Graph package.<br/> + <small><i>cp-fonts</i> fonts via classpath, otherwise via URI</small>. </td> </tr> <tr> |