remove JS.call(JS[]), JS.getInputStream()
[org.ibex.core.git] / src / org / ibex / graphics / Font.java
index 8e29b22..8b80439 100644 (file)
@@ -162,7 +162,7 @@ public class Font {
         
         try {
             Log.info(Font.class, "loading font " + JSU.str(res));
-            InputStream is = res.getInputStream();
+            InputStream is = JSU.getInputStream(res);
             byte[] fontstream = InputStreamToByteArray.convert(is);
             rt.free(loadedStreamAddr);
             loadedStreamAddr = rt.xmalloc(fontstream.length);