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