Class Type3Font
- java.lang.Object
-
- org.apache.pdfbox.debugger.fontencodingpane.FontPane
-
- org.apache.pdfbox.debugger.fontencodingpane.Type3Font
-
class Type3Font extends FontPane
-
-
Field Summary
Fields Modifier and Type Field Description private PDRectangle
fontBBox
static java.lang.String
NO_GLYPH
private PDResources
resources
private int
totalAvailableGlyph
private FontEncodingView
view
-
Constructor Summary
Constructors Constructor Description Type3Font(PDType3Font font, PDResources resources)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
calcBBox(PDType3Font font)
private java.lang.String
getEncodingName(PDSimpleFont font)
private java.lang.Object[][]
getGlyphs(PDType3Font font)
javax.swing.JPanel
getPanel()
private java.awt.image.BufferedImage
renderType3Glyph(PDType3Font font, int index)
-
Methods inherited from class org.apache.pdfbox.debugger.fontencodingpane.FontPane
getYBounds
-
-
-
-
Field Detail
-
NO_GLYPH
public static final java.lang.String NO_GLYPH
- See Also:
- Constant Field Values
-
view
private final FontEncodingView view
-
totalAvailableGlyph
private int totalAvailableGlyph
-
fontBBox
private PDRectangle fontBBox
-
resources
private final PDResources resources
-
-
Constructor Detail
-
Type3Font
Type3Font(PDType3Font font, PDResources resources) throws java.io.IOException
Constructor.- Parameters:
font
- PDSimpleFont instance.- Throws:
java.io.IOException
- If fails to parse unicode characters.
-
-
Method Detail
-
calcBBox
private void calcBBox(PDType3Font font) throws java.io.IOException
- Throws:
java.io.IOException
-
getGlyphs
private java.lang.Object[][] getGlyphs(PDType3Font font) throws java.io.IOException
- Throws:
java.io.IOException
-
renderType3Glyph
private java.awt.image.BufferedImage renderType3Glyph(PDType3Font font, int index) throws java.io.IOException
- Throws:
java.io.IOException
-
getEncodingName
private java.lang.String getEncodingName(PDSimpleFont font)
-
-