diff options
author | Sven Gothel <[email protected]> | 2011-06-08 05:58:07 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-06-08 05:58:07 +0200 |
commit | 138ddda3f346db0f1d8b4bac1760d415e7dc3d70 (patch) | |
tree | d6b489428d56dce585273b179aacf8e042a8b2fc /src/jogl/classes/jogamp/graph | |
parent | 24a117c1fb0af458f70932fa48b8052c16a4fa7f (diff) |
Locator moved to GlueGen's IOUtil (gluegen a87c56c95099de5b6cbc9bd8bf6f1924a3dd6387)
Diffstat (limited to 'src/jogl/classes/jogamp/graph')
-rw-r--r-- | src/jogl/classes/jogamp/graph/font/UbuntuFontLoader.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/jogl/classes/jogamp/graph/font/UbuntuFontLoader.java b/src/jogl/classes/jogamp/graph/font/UbuntuFontLoader.java index 31990af37..572955fd3 100644 --- a/src/jogl/classes/jogamp/graph/font/UbuntuFontLoader.java +++ b/src/jogl/classes/jogamp/graph/font/UbuntuFontLoader.java @@ -31,10 +31,11 @@ import java.io.IOException; import javax.media.opengl.GLException; import com.jogamp.common.util.IntObjectHashMap; +import com.jogamp.common.util.IOUtil; + import com.jogamp.graph.font.Font; import com.jogamp.graph.font.FontSet; import com.jogamp.graph.font.FontFactory; -import com.jogamp.opengl.util.Locator; import java.net.URL; public class UbuntuFontLoader implements FontSet { @@ -121,7 +122,7 @@ public class UbuntuFontLoader implements FontSet { Font abspath(String fname, int family, int style) { final String err = "Problem loading font "+fname+", stream "+relPath+fname; try { - URL url = Locator.getResource(UbuntuFontLoader.class, relPath+fname); + URL url = IOUtil.getResource(UbuntuFontLoader.class, relPath+fname); if(null == url) { throw new GLException(err); } |