/** * Returns the family name of this font. * * @return The font family name. */ public String getFamilyName() { return fontFace.getFamilyName(); }
/** * Returns the font family name. * * @return The family name. */ public String getFamilyName() { return fontFace.getFamilyName(); }
/** * Returns the font family name. * * @return The family name. */ public String getFamilyName() { return fontFace.getFamilyName(); }
/** * Returns the font family name. * * @return The family name. */ public String getFamilyName() { return fontFace.getFamilyName(); }
/** * Returns the font family name. * * @return the family name. */ public String getFamilyName() { return fontFace.getFamilyName(); }
/** * Returns the family name of this font. * * @return The font family name. */ public String getFamilyName() { return fontFace.getFamilyName(); }
/** * Returns the font family name. * * @return the family name. */ public String getFamilyName() { return fontFace.getFamilyName(); }
/** * Returns the font family name. * * @return the family name. */ public String getFamilyName() { return fontFace.getFamilyName(); }
/** * Returns the family name of this font. * * @return The font family name. */ public String getFamilyName() { return fontFace.getFamilyName(); }
public String getFamilyName() { return fontFace.getFamilyName(); }
public String getFamilyName() { return fontFace.getFamilyName(); }
public String getFamilyName() { return fontFace.getFamilyName(); }
/** * Derives a GVTFont object of the correct size from an attribute Map. * @param size The required size of the derived font. * @param attrs The Attribute Map to get Values from. */ public GVTFont deriveFont(float size, Map attrs) { if (font != null) return new AWTGVTFont(font, size); Map fontAttributes = new HashMap(attrs); fontAttributes.put(TextAttribute.SIZE, new Float(size)); fontAttributes.put(TextAttribute.FAMILY, fontFace.getFamilyName()); fontAttributes.remove(TEXT_COMPOUND_DELIMITER); return new AWTGVTFont(fontAttributes); }
/** * Derives a GVTFont object of the correct size from an attribute Map. * @param size The required size of the derived font. * @param attrs The Attribute Map to get Values from. */ public GVTFont deriveFont(float size, Map attrs) { if (font != null) return new AWTGVTFont(font, size); Map fontAttributes = new HashMap(attrs); fontAttributes.put(TextAttribute.SIZE, size); fontAttributes.put(TextAttribute.FAMILY, fontFace.getFamilyName()); fontAttributes.remove(TEXT_COMPOUND_DELIMITER); return new AWTGVTFont(fontAttributes); }
/** * Derives a GVTFont object of the correct size from an attribute Map. * @param size The required size of the derived font. * @param attrs The Attribute Map to get Values from. */ public GVTFont deriveFont(float size, Map attrs) { if (font != null) return new AWTGVTFont(font, size); Map fontAttributes = new HashMap(attrs); fontAttributes.put(TextAttribute.SIZE, size); fontAttributes.put(TextAttribute.FAMILY, fontFace.getFamilyName()); fontAttributes.remove(TEXT_COMPOUND_DELIMITER); return new AWTGVTFont(fontAttributes); }
/** * Returns a string representation of this font. * This is for debugging purposes only. * * @return A string representation of this font. */ public String toString() { return fontFace.getFamilyName() + " " + fontFace.getFontWeight() + " " + fontFace.getFontStyle(); } }
/** * Returns a string representation of this font. * This is for debugging purposes only. * * @return A string representation of this font. */ public String toString() { return fontFace.getFamilyName() + " " + fontFace.getFontWeight() + " " + fontFace.getFontStyle(); } }
/** * Returns a string representation of this font. * This is for debugging purposes only. * * @return A string representation of this font. */ public String toString() { return fontFace.getFamilyName() + " " + fontFace.getFontWeight() + " " + fontFace.getFontStyle(); } }