Class Font


  • public class Font
    extends Object
    This class provides information about the font used in the specified PDF file, such as font-name, font-family etc.
    • Constructor Detail

      • Font

        public Font()
    • Method Detail

      • getName

        public String getName()
        Returns a string specifying the post-script name of the font - e.g. "YERPXC+MyriadPro-Regular" etc.
        Returns:
        A String denoting the post-script name of the font.
      • getFontType

        public String getFontType()
        Returns a string specifying the font technology type - e.g. "Type 1", "TrueType", "OpenType" etc.
        Returns:
        A String denoting the font technology type.
      • getFamilyName

        public String getFamilyName()
        Returns a string specifying font's family name - e.g. For font "Times Bold Italic", family name is "Times" etc.
        Returns:
        A String The font's family name.