From b3eebc2480bf96df8626d8494692ab5a3b5d88e7 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Fri, 22 Apr 2011 05:38:28 +0200 Subject: 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) --- src/jogl/classes/jogamp/graph/font/UbuntuFontLoader.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/jogl/classes/jogamp/graph/font/UbuntuFontLoader.java') 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() { } -- cgit v1.2.3