From cf36398314270c2c50d55b23736e5bff8b62337d Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Tue, 7 Jun 2011 18:28:22 +0200 Subject: Using GlueGen IOUtil (dropped StreamUtil, FileUtil); Public GLReadBufferUtil (screenshot etc) and GLPixelStorageModes - Using GlueGen IOUtil, dropping StreamUtil and FileUtil - Public (util) GLReadBufferUtil for screenshots and slow r2t (AWT less), as well as GLPixelStorageModes --- .../classes/jogamp/graph/font/typecast/TypecastFontConstructor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/jogl/classes/jogamp/graph') diff --git a/src/jogl/classes/jogamp/graph/font/typecast/TypecastFontConstructor.java b/src/jogl/classes/jogamp/graph/font/typecast/TypecastFontConstructor.java index 179e4ed2c..cb0d1a372 100644 --- a/src/jogl/classes/jogamp/graph/font/typecast/TypecastFontConstructor.java +++ b/src/jogl/classes/jogamp/graph/font/typecast/TypecastFontConstructor.java @@ -56,7 +56,7 @@ public class TypecastFontConstructor implements FontConstructor { public Font create(URL furl) throws IOException { final File tf = File.createTempFile( "joglfont", ".ttf"); - final int len = IOUtil.copyURLToFile(furl, tf); + final int len = IOUtil.copyURL2File(furl, tf); if(len==0) { tf.delete(); throw new GLException("Font of stream "+furl+" was zero bytes"); -- cgit v1.2.3