- public static Font getFont(Stream res, int pointsize) {
- Font ret = (Font)fontCache.get(res, new Integer(pointsize));
- if (ret == null) fontCache.put(res, new Integer(pointsize), ret = new Font(res, pointsize));
+ public static Font getFont(Stream stream, int pointsize) {
+ Font ret = (Font)fontCache.get(stream, new Integer(pointsize));
+ if (ret == null) fontCache.put(stream, new Integer(pointsize), ret = new Font(stream, pointsize));