2004/01/13 10:27:47
[org.ibex.core.git] / src / org / xwt / translators / Freetype.java
index 4d14852..7fc5447 100644 (file)
@@ -23,7 +23,7 @@ public class Freetype {
         try {
             Log.info(this, "loading font " + res);
             loadedStream = res;
-            InputStream is = res.getInputStream();
+            InputStream is = Stream.getInputStream(res);
             byte[] fontstream = InputStreamToByteArray.convert(is);
             vm = new MIPSApps();
             int baseAddr = vm.sbrk(fontstream.length);