Top Fields Constructors Methods
org.apache.pdfbox.debugger.fontencodingpane

pack-priv Class Type0Font

extends FontPane
Class Inheritance
Imports
org.apache.pdfbox.cos.COSDictionary, .COSName, .COSStream, org.apache.pdfbox.io.IOUtils, org.apache.pdfbox.pdmodel.font.PDCIDFont, .PDFont, .PDType0Font, javax.swing.JPanel, java.awt.Dimension, java.awt.geom.GeneralPath, java.io.IOException, .InputStream, java.util.LinkedHashMap, .Map

Author
Khyrul Bashar A class that shows the CIDToGID table along with unicode characters for Type0Fonts when descendent font is of type PDCIDFontType2.

Field Summary

Modifier and TypeField and Description
public static final String
private int
private final FontEncodingView

Constructor Summary

AccessConstructor and Description
pack-priv
Type0Font(PDCIDFont
PDCIDFontType2 instance.
descendantFont
,
PDType0Font
PDFont instance.
parentFont
)

Constructor.

Method Summary

Modifier and TypeMethod and Description
public JPanel
private Object[][]
readCIDToGIDMap(PDCIDFont font, PDFont parentFont)

private Object[][]
readMap(PDCIDFont descendantFont, PDType0Font parentFont)

Inherited from org.apache.pdfbox.debugger.fontencodingpane.FontPane:
getYBounds

Field Detail

NO_GLYPHback to summary
public static final String NO_GLYPH
totalAvailableGlyphback to summary
private int totalAvailableGlyph
viewback to summary
private final FontEncodingView view

Constructor Detail

Type0Fontback to summary
pack-priv Type0Font(PDCIDFont descendantFont, PDType0Font parentFont) throws IOException

Constructor.

Parameters
descendantFont:PDCIDFont

PDCIDFontType2 instance.

parentFont:PDType0Font

PDFont instance.

Exceptions
IOException:
If fails to parse cidtogid map.

Method Detail

getPanelback to summary
public JPanel getPanel()

Implements abstract org.apache.pdfbox.debugger.fontencodingpane.FontPane.getPanel.

Annotations
@Override
readCIDToGIDMapback to summary
private Object[][] readCIDToGIDMap(PDCIDFont font, PDFont parentFont) throws IOException
readMapback to summary
private Object[][] readMap(PDCIDFont descendantFont, PDType0Font parentFont) throws IOException