licensing cleanup (GPLv2)
[org.ibex.core.git] / src / org / ibex / graphics / Font.java
index 35e9cf2..8d525fb 100644 (file)
@@ -1,9 +1,13 @@
-// Copyright 2004 Adam Megacz, see the COPYING file for licensing [GPL]
+// Copyright 2000-2005 the Contributors, as shown in the revision logs.
+// Licensed under the GNU General Public License version 2 ("the License").
+// You may not use this file except in compliance with the License.
+
 package org.ibex.graphics;
 import org.ibex.util.*;
 import java.io.*;
 import java.util.Hashtable;
 import org.ibex.js.*;
+import org.ibex.core.*;
 import org.ibex.nestedvm.*;
 import org.ibex.plat.*;
 import org.ibex.nestedvm.Runtime;
@@ -136,7 +140,7 @@ public class Font {
         
         try {
             Log.info(Font.class, "loading font " + JS.debugToString(res));
-            InputStream is = Stream.getInputStream(res);
+            InputStream is = res.getInputStream();
             byte[] fontstream = InputStreamToByteArray.convert(is);
             rt.free(loadedStreamAddr);
             loadedStreamAddr = rt.xmalloc(fontstream.length);