| Summary: | Remove Ubuntu fonts from jogl-all.jar, provide it separately to reduce footprint for the masses. | ||
|---|---|---|---|
| Product: | [JogAmp] Jogl | Reporter: | Sven Gothel <sgothel> |
| Component: | graph | Assignee: | Sven Gothel <sgothel> |
| Status: | RESOLVED FIXED | ||
| Severity: | enhancement | CC: | rami.santina, sgothel |
| Priority: | --- | ||
| Version: | 2 | ||
| Hardware: | All | ||
| OS: | all | ||
| Type: | --- | SCM Refs: |
gluegen 2a6a6bb1df175847a7bb84bd741ce3632d6590f6
jogl b57ce5454ddeb7dd4b7c010c5df54faa6e8d951a
|
| Workaround: | --- | ||
|
Description
Sven Gothel
2013-06-17 20:53:52 CEST
3 MB uncompressed .. du -hsc src/jogl/classes/jogamp/graph/font/fonts/ubuntu/* ~1.5M in jar 30% of jogl-all.jar 2a6a6bb1df175847a7bb84bd741ce3632d6590f6
JarUtil: Add method to generate resource URI from class's Jar URI and resource name
b57ce5454ddeb7dd4b7c010c5df54faa6e8d951a
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
|