public org.microemu.device.impl.Font createSystemFont(String defName, String defStyle, int defSize, boolean antialiasing) { return new J2SESystemFont(defName, defStyle, defSize, antialiasing); }
public int stringWidth(String str) { checkInitialized(); return fontMetrics.stringWidth(str); }
public int charWidth(char ch) { checkInitialized(); return fontMetrics.charWidth(ch); }
size = SIZE_LARGE; result = new J2SESystemFont(name, style, size, antialiasing); fonts.put(new Integer(key), result);
public int getBaselinePosition() { checkInitialized(); return fontMetrics.getAscent(); }
public int getHeight() { checkInitialized(); return fontMetrics.getHeight(); }
public int charsWidth(char[] ch, int offset, int length) { checkInitialized(); return fontMetrics.charsWidth(ch, offset, length); }
public Font getFont() { checkInitialized(); return fontMetrics.getFont(); }