Flying Saucer Project Release ${app.version}

org.xhtmlrenderer.pdf
Class ITextFontResolver

java.lang.Object
  extended by org.xhtmlrenderer.pdf.ITextFontResolver
All Implemented Interfaces:
FontResolver

public class ITextFontResolver
extends java.lang.Object
implements FontResolver


Nested Class Summary
static class ITextFontResolver.FontDescription
           
 
Constructor Summary
ITextFontResolver(SharedContext sharedContext)
           
 
Method Summary
 void addFont(java.lang.String path, boolean embedded)
           
 void addFont(java.lang.String path, java.lang.String encoding, boolean embedded)
           
 void addFont(java.lang.String path, java.lang.String encoding, boolean embedded, java.lang.String pathToPFB)
           
 void addFontDirectory(java.lang.String dir, boolean embedded)
           
 void flushCache()
           
 void flushFontFaceFonts()
           
 org.xhtmlrenderer.pdf.ITextFontResolver.FontFamily getFontFamily(java.lang.String fontFamilyName)
           
 void importFontFaces(java.util.List fontFaces)
           
 FSFont resolveFont(SharedContext renderingContext, FontSpecification spec)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ITextFontResolver

public ITextFontResolver(SharedContext sharedContext)
Method Detail

resolveFont

public FSFont resolveFont(SharedContext renderingContext,
                          FontSpecification spec)
Specified by:
resolveFont in interface FontResolver

flushCache

public void flushCache()
Specified by:
flushCache in interface FontResolver

flushFontFaceFonts

public void flushFontFaceFonts()

importFontFaces

public void importFontFaces(java.util.List fontFaces)

addFontDirectory

public void addFontDirectory(java.lang.String dir,
                             boolean embedded)
                      throws com.lowagie.text.DocumentException,
                             java.io.IOException
Throws:
com.lowagie.text.DocumentException
java.io.IOException

addFont

public void addFont(java.lang.String path,
                    boolean embedded)
             throws com.lowagie.text.DocumentException,
                    java.io.IOException
Throws:
com.lowagie.text.DocumentException
java.io.IOException

addFont

public void addFont(java.lang.String path,
                    java.lang.String encoding,
                    boolean embedded)
             throws com.lowagie.text.DocumentException,
                    java.io.IOException
Throws:
com.lowagie.text.DocumentException
java.io.IOException

addFont

public void addFont(java.lang.String path,
                    java.lang.String encoding,
                    boolean embedded,
                    java.lang.String pathToPFB)
             throws com.lowagie.text.DocumentException,
                    java.io.IOException
Throws:
com.lowagie.text.DocumentException
java.io.IOException

getFontFamily

public org.xhtmlrenderer.pdf.ITextFontResolver.FontFamily getFontFamily(java.lang.String fontFamilyName)

Flying Saucer Project Release ${app.version}

Flying Saucer Project Home