org.freehep.graphicsio.pdf
Class PDFFontIncluder

java.lang.Object
  extended by org.freehep.graphicsio.font.FontIncluder
      extended by org.freehep.graphicsio.pdf.PDFFontIncluder

public class PDFFontIncluder
extends org.freehep.graphicsio.font.FontIncluder

Includes one of the 14 Type1 fonts in PDF documents

Version:
$id$
Author:
Simon Fischer

Field Summary
 
Fields inherited from class org.freehep.graphicsio.font.FontIncluder
FONT_SIZE
 
Constructor Summary
PDFFontIncluder(FontRenderContext context, PDFWriter pdf, String reference, PDFRedundanceTracker redundanceTracker)
           
 
Method Summary
static boolean isStandardFont(Font font)
           
protected  void openIncludeFont()
           
protected  void writeEncoding(org.freehep.graphics2d.font.CharTable charTable)
           
 
Methods inherited from class org.freehep.graphicsio.font.FontIncluder
closeIncludeFont, getCharName, getContext, getEncodingTable, getFont, getFontBBox, getFontName, getNODefinedChars, getUndefinedWidth, getUnicode, getUnicode, includeFont
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PDFFontIncluder

public PDFFontIncluder(FontRenderContext context,
                       PDFWriter pdf,
                       String reference,
                       PDFRedundanceTracker redundanceTracker)
Method Detail

openIncludeFont

protected void openIncludeFont()
                        throws IOException
Specified by:
openIncludeFont in class org.freehep.graphicsio.font.FontIncluder
Throws:
IOException

writeEncoding

protected void writeEncoding(org.freehep.graphics2d.font.CharTable charTable)
                      throws IOException
Specified by:
writeEncoding in class org.freehep.graphicsio.font.FontIncluder
Throws:
IOException

isStandardFont

public static boolean isStandardFont(Font font)


Copyright © 2000-2006 FreeHEP. All Rights Reserved.