Class FontInfo

    • Constructor Detail

      • FontInfo

        public FontInfo()
    • Method Detail

      • getPostScriptName

        public abstract java.lang.String getPostScriptName()
        Returns the PostScript name of the font.
      • getFormat

        public abstract FontFormat getFormat()
        Returns the font's format.
      • getCIDSystemInfo

        public abstract CIDSystemInfo getCIDSystemInfo()
        Returns the CIDSystemInfo associated with the font, if any.
      • getFont

        public abstract FontBoxFont getFont()
        Returns a new FontBox font instance for the font. Implementors of this method must not cache the return value of this method unless doing so via the current FontCache.
      • getFamilyClass

        public abstract int getFamilyClass()
        Returns the sFamilyClass field of the "OS/2" table, or -1.
      • getWeightClass

        public abstract int getWeightClass()
        Returns the usWeightClass field of the "OS/2" table, or -1.
      • getWeightClassAsPanose

        final int getWeightClassAsPanose()
        Returns the usWeightClass field as a Panose Weight.
      • getCodePageRange1

        public abstract int getCodePageRange1()
        Returns the ulCodePageRange1 field of the "OS/2" table, or 0.
      • getCodePageRange2

        public abstract int getCodePageRange2()
        Returns the ulCodePageRange2 field of the "OS/2" table, or 0.
      • getCodePageRange

        final long getCodePageRange()
        Returns the ulCodePageRange1 and ulCodePageRange1 field of the "OS/2" table, or 0.
      • getMacStyle

        public abstract int getMacStyle()
        Returns the macStyle field of the "head" table, or -1.
      • getPanose

        public abstract PDPanoseClassification getPanose()
        Returns the Panose classification of the font, if any.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object