Class CompoundFontFamily

  • All Implemented Interfaces:
    java.io.Serializable, FontFamily

    public class CompoundFontFamily
    extends java.lang.Object
    implements FontFamily
    Creation-Date: 20.07.2007, 18:54:28
    Author:
    Thomas Morgner
    See Also:
    Serialized Form
    • Method Detail

      • getFamilyName

        public java.lang.String getFamilyName()
        Description copied from interface: FontFamily
        Returns the name of the font family (in english).
        Specified by:
        getFamilyName in interface FontFamily
        Returns:
      • getAllNames

        public java.lang.String[] getAllNames()
        Specified by:
        getAllNames in interface FontFamily
      • getFontRecord

        public FontRecord getFontRecord​(boolean bold,
                                        boolean italics)
        Description copied from interface: FontFamily
        This selects the most suitable font in that family. Italics fonts are preferred over oblique fonts.
        Specified by:
        getFontRecord in interface FontFamily
        Returns: