org.extex.backend.documentWriter.itextpdf
Class PdfFontFactory

java.lang.Object
  extended by org.extex.backend.documentWriter.itextpdf.PdfFontFactory

public class PdfFontFactory
extends java.lang.Object

Factory for fonts to use it with iText.

Version:
$Revision: 5957 $
Author:
Michael Niedermair

Constructor Summary
PdfFontFactory()
           
 
Method Summary
static com.lowagie.text.pdf.BaseFont getFont(BackendFont backendfont, UnicodeChar uc)
          Returns the font for the pdf backend.
static void setLogger(java.util.logging.Logger logger)
          Setter for logger.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PdfFontFactory

public PdfFontFactory()
Method Detail

getFont

public static com.lowagie.text.pdf.BaseFont getFont(BackendFont backendfont,
                                                    UnicodeChar uc)
                                             throws com.lowagie.text.DocumentException,
                                                    java.io.IOException
Returns the font for the pdf backend.

Parameters:
backendfont - The backend font.
uc - The unicode character.
Returns:
Returns the font for the pdf backend.
Throws:
com.lowagie.text.DocumentException - if a document error occurred.
java.io.IOException - if a io-error occurred.

setLogger

public static void setLogger(java.util.logging.Logger logger)
Setter for logger.

Parameters:
logger - the logger to set