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);