de.dante.extex.backend.documentWriter.pdf.pdfbox
Class PdfBoxType1Font

java.lang.Object
  extended byorg.pdfbox.pdmodel.font.PDFont
      extended byorg.pdfbox.pdmodel.font.PDSimpleFont
          extended byorg.pdfbox.pdmodel.font.PDType1Font
              extended byde.dante.extex.backend.documentWriter.pdf.pdfbox.PdfBoxType1Font
All Implemented Interfaces:
org.pdfbox.pdmodel.common.COSObjectable

public class PdfBoxType1Font
extends org.pdfbox.pdmodel.font.PDType1Font

Type1 font with ExTeX values.

Version:
$Revision: 1.2 $
Author:
Michael Niedermair

Field Summary
 
Fields inherited from class org.pdfbox.pdmodel.font.PDType1Font
COURIER, COURIER_BOLD, COURIER_BOLD_OBLIQUE, COURIER_OBLIQUE, HELVETICA, HELVETICA_BOLD, HELVETICA_BOLD_OBLIQUE, HELVETICA_OBLIQUE, SYMBOL, TIMES_BOLD, TIMES_BOLD_ITALIC, TIMES_ITALIC, TIMES_ROMAN, ZAPF_DINGBATS
 
Fields inherited from class org.pdfbox.pdmodel.font.PDFont
font
 
Method Summary
 org.pdfbox.pdmodel.font.PDFontDescriptor getFontDescriptor()
           
static org.pdfbox.pdmodel.font.PDFont getInstance(org.pdfbox.pdmodel.PDDocument doc, Font font)
          Returns a instance for the font.
 
Methods inherited from class org.pdfbox.pdmodel.font.PDType1Font
drawString, getStandard14Names, getStandardFont
 
Methods inherited from class org.pdfbox.pdmodel.font.PDSimpleFont
getAverageFontWidth, getFontBoundingBox, getFontWidth, getToUnicode, setFontDescriptor, setToUnicode
 
Methods inherited from class org.pdfbox.pdmodel.font.PDFont
clearResources, encode, getAFM, getAverageFontWidthFromAFMFile, getBaseFont, getCodeFromArray, getCOSObject, getEncoding, getFirstChar, getFontMatrix, getFontWidthFromAFMFile, getLastChar, getStringWidth, getSubType, getType, getWidths, setBaseFont, setEncoding, setFirstChar, setLastChar, setWidths
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static org.pdfbox.pdmodel.font.PDFont getInstance(org.pdfbox.pdmodel.PDDocument doc,
                                                         Font font)
                                                  throws java.io.IOException
Returns a instance for the font.

Parameters:
doc - the PDDocument.
font - the extex font.
Returns:
Returns the instance for the font.
Throws:
java.io.IOException - if an IO-error occurred.

getFontDescriptor

public org.pdfbox.pdmodel.font.PDFontDescriptor getFontDescriptor()
                                                           throws java.io.IOException
Throws:
java.io.IOException
See Also:
PDSimpleFont.getFontDescriptor()