Package org.loboevolution.pdfview.font
Class PDFFontDescriptor
java.lang.Object
org.loboevolution.pdfview.font.PDFFontDescriptor
PDFFontDescriptor class.
Author jkaplan
-
Field Summary
Modifier and TypeFieldDescriptionstatic 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
ConstructorDescriptionPDFFontDescriptor
(String basefont) Creates a new instance of PDFFontDescriptorPDFFontDescriptor
(PDFObject obj, String fontSubType) Creates a new instance of PDFFontDescriptor -
Method Summary
-
Field Details
-
FIXED_PITCH
public static final int FIXED_PITCHAll glyphs have the same width.- See Also:
-
SERIF
public static final int SERIFGlyphs have serifs.- See Also:
-
SYMBOLIC
public static final int SYMBOLICFont contains glyphs outside the Adobe standard Latin.- See Also:
-
SCRIPT
public static final int SCRIPTGlyphs resemble cursive handwriting.- See Also:
-
NONSYMBOLIC
public static final int NONSYMBOLICFont uses the Adobe standard Latic character set.- See Also:
-
ITALIC
public static final int ITALICGlyphs have dominant vertical strokes that are slanted.- See Also:
-
ALLCAP
public static final int ALLCAPFont contains no lowercase letters.- See Also:
-
SMALLCAP
public static final int SMALLCAPFont contains both uppercase and lowercase letters..- See Also:
-
FORCEBOLD
public static final int FORCEBOLDDetermines whether bold glyphs shall be painted with extra pixels even at very small text sizes.- See Also:
-
-
Constructor Details
-
PDFFontDescriptor
Creates a new instance of PDFFontDescriptor- Parameters:
basefont
- aString
object.
-
PDFFontDescriptor
Creates a new instance of PDFFontDescriptor- Parameters:
obj
- aPDFObject
object.fontSubType
- aString
object.- Throws:
IOException
- if any.
-