Class PDFFontDescriptor

java.lang.Object
org.loboevolution.pdfview.font.PDFFontDescriptor

public class PDFFontDescriptor extends Object

PDFFontDescriptor class.

Author jkaplan

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Font contains no lowercase letters.
    static final int
    All glyphs have the same width.
    static final int
    Determines whether bold glyphs shall be painted with extra pixels even at very small text sizes.
    static final int
    Glyphs have dominant vertical strokes that are slanted.
    static final int
    Font uses the Adobe standard Latic character set.
    static final int
    Glyphs resemble cursive handwriting.
    static final int
    Glyphs have serifs.
    static final int
    Font contains both uppercase and lowercase letters..
    static final int
    Font contains glyphs outside the Adobe standard Latin.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates a new instance of PDFFontDescriptor
    PDFFontDescriptor(PDFObject obj, String fontSubType)
    Creates a new instance of PDFFontDescriptor
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • FIXED_PITCH

      public static final int FIXED_PITCH
      All glyphs have the same width.
      See Also:
    • SERIF

      public static final int SERIF
      Glyphs have serifs.
      See Also:
    • SYMBOLIC

      public static final int SYMBOLIC
      Font contains glyphs outside the Adobe standard Latin.
      See Also:
    • SCRIPT

      public static final int SCRIPT
      Glyphs resemble cursive handwriting.
      See Also:
    • NONSYMBOLIC

      public static final int NONSYMBOLIC
      Font uses the Adobe standard Latic character set.
      See Also:
    • ITALIC

      public static final int ITALIC
      Glyphs have dominant vertical strokes that are slanted.
      See Also:
    • ALLCAP

      public static final int ALLCAP
      Font contains no lowercase letters.
      See Also:
    • SMALLCAP

      public static final int SMALLCAP
      Font contains both uppercase and lowercase letters..
      See Also:
    • FORCEBOLD

      public static final int FORCEBOLD
      Determines whether bold glyphs shall be painted with extra pixels even at very small text sizes.
      See Also:
  • Constructor Details

    • PDFFontDescriptor

      public PDFFontDescriptor(String basefont)
      Creates a new instance of PDFFontDescriptor
      Parameters:
      basefont - a String object.
    • PDFFontDescriptor

      public PDFFontDescriptor(PDFObject obj, String fontSubType) throws IOException
      Creates a new instance of PDFFontDescriptor
      Parameters:
      obj - a PDFObject object.
      fontSubType - a String object.
      Throws:
      IOException - if any.