org.apache.pdfbox.pdmodel.font
Class PDCIDFontType2Font

java.lang.Object
  extended by org.apache.pdfbox.pdmodel.font.PDFont
      extended by org.apache.pdfbox.pdmodel.font.PDSimpleFont
          extended by org.apache.pdfbox.pdmodel.font.PDCIDFont
              extended by org.apache.pdfbox.pdmodel.font.PDCIDFontType2Font
All Implemented Interfaces:
COSObjectable

public class PDCIDFontType2Font
extends PDCIDFont

This is implementation of the CIDFontType2 Font.

Version:
$Revision: 1.5 $
Author:
Ben Litchfield

Field Summary
 
Fields inherited from class org.apache.pdfbox.pdmodel.font.PDFont
cmap, cmapObjects, font, fontMatrix, resourceRootCMAP
 
Constructor Summary
PDCIDFontType2Font()
          Constructor.
PDCIDFontType2Font(COSDictionary fontDictionary)
          Constructor.
 
Method Summary
 java.awt.Font getawtFont()
          Looks up, creates, returns the AWT Font.
 
Methods inherited from class org.apache.pdfbox.pdmodel.font.PDCIDFont
determineEncoding, encode, getAverageFontWidth, getDefaultWidth, getFontBoundingBox, getFontHeight, getFontWidth, getFontWidth, setDefaultWidth
 
Methods inherited from class org.apache.pdfbox.pdmodel.font.PDSimpleFont
drawString, getToUnicode, setToUnicode, writeFont
 
Methods inherited from class org.apache.pdfbox.pdmodel.font.PDFont
clearResources, cmapEncoding, createString, equals, getAFM, getAverageFontWidthFromAFMFile, getBaseFont, getCodeFromArray, getCOSObject, getEncoding, getFirstChar, getFontDescriptor, getFontEncoding, getFontMatrix, getFontWidthFromAFMFile, getLastChar, getStringWidth, getSubType, getType, getWidths, hashCode, hasToUnicode, isType1Font, parseCmap, setBaseFont, setEncoding, setFirstChar, setFontDescriptor, setFontEncoding, setHasToUnicode, setLastChar, setWidths
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PDCIDFontType2Font

public PDCIDFontType2Font()
Constructor.


PDCIDFontType2Font

public PDCIDFontType2Font(COSDictionary fontDictionary)
Constructor.

Parameters:
fontDictionary - The font dictionary according to the PDF specification.
Method Detail

getawtFont

public java.awt.Font getawtFont()
                         throws java.io.IOException
Looks up, creates, returns the AWT Font.

Overrides:
getawtFont in class PDSimpleFont
Throws:
java.io.IOException