diff options
author | Sven Gothel <[email protected]> | 2011-04-22 05:38:28 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-04-22 05:38:28 +0200 |
commit | b3eebc2480bf96df8626d8494692ab5a3b5d88e7 (patch) | |
tree | 08564c255b1a37528847f773bf81b4147745cefb /src/jogl/classes/jogamp/graph/font/UbuntuFontLoader.java | |
parent | 7ac7b81d5cf10187aca8c1df85d1cf44fef299d3 (diff) |
Fix/Add: Locator (Handle JarURLConnection and ..)
new: 'public static String getRelativeOf(URL baseLocation, String relativeFile)',
capable of handling a JAR file/url.
Using File based relative locator, allowing better utilization in code:
old public static String getRelativeOf(String absoluteFileLocation, String relativeFile)
new public static String getRelativeOf(File baseLocation, String relativeFile)
Diffstat (limited to 'src/jogl/classes/jogamp/graph/font/UbuntuFontLoader.java')
-rw-r--r-- | src/jogl/classes/jogamp/graph/font/UbuntuFontLoader.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/jogl/classes/jogamp/graph/font/UbuntuFontLoader.java b/src/jogl/classes/jogamp/graph/font/UbuntuFontLoader.java index 17db08801..31990af37 100644 --- a/src/jogl/classes/jogamp/graph/font/UbuntuFontLoader.java +++ b/src/jogl/classes/jogamp/graph/font/UbuntuFontLoader.java @@ -58,9 +58,7 @@ public class UbuntuFontLoader implements FontSet { }; - final static String relPath = "fonts/ubuntu/" ; - // debug final static String relPath = "/usr/local/projects/JOGL/jogl/src/jogl/classes/jogamp/graph/font/fonts/ubuntu/" ; - + final static String relPath = "fonts/ubuntu/" ; private UbuntuFontLoader() { } |