diff options
Diffstat (limited to 'src/jogl/classes/com/jogamp/graph/font/FontFactory.java')
-rw-r--r-- | src/jogl/classes/com/jogamp/graph/font/FontFactory.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jogl/classes/com/jogamp/graph/font/FontFactory.java b/src/jogl/classes/com/jogamp/graph/font/FontFactory.java index ac42274f6..9b9762a05 100644 --- a/src/jogl/classes/com/jogamp/graph/font/FontFactory.java +++ b/src/jogl/classes/com/jogamp/graph/font/FontFactory.java @@ -147,7 +147,7 @@ public class FontFactory { InputStream bis = null; try { tempFile[0] = IOUtil.createTempFile( "jogl.font", ".ttf", false); - streamLen[0] = IOUtil.copyStream2File(stream, tempFile[0], -1); + streamLen[0] = IOUtil.copyStream2File(stream, tempFile[0]); if( 0 == streamLen[0] ) { throw new IOException("Font stream has zero bytes"); } |