diff options
author | Sven Gothel <[email protected]> | 2023-05-04 03:28:46 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2023-05-04 03:28:46 +0200 |
commit | 4f3a757646d16cf18d4a41e67abf63411f35c300 (patch) | |
tree | 901a42bbe9a53aa36e0898a5c95d5d9d24384e94 /src | |
parent | 7011ad1131f6d412f6947cfcf9bcad042d4badb4 (diff) |
Graph FontFactor: Adopt to GlueGen commit 69d22df0a6132dbf8b88fd04090c0bc81129237f IOUtil.copyStream2File() changes
Diffstat (limited to 'src')
-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"); } |