FreeHEP API
Version current

org.freehep.graphicsio.pdf
Class PDFFontIncluder

java.lang.Object
  extended byorg.freehep.graphicsio.font.FontIncluder
      extended byorg.freehep.graphicsio.pdf.PDFFontIncluder

public class PDFFontIncluder
extends FontIncluder

Includes one of the 14 Type1 fonts in PDF documents

Version:
$id$
Author:
Simon Fischer
Source Code:
PDFFontIncluder.java

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()
          Writes the given information about the font into the file.
protected  void writeEncoding(CharTable charTable)
          Writes the encoding table to the file.
 
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
Description copied from class: FontIncluder
Writes the given information about the font into the file. When this method is called all getXXX() are guaranteed to return reasonable values.

Specified by:
openIncludeFont in class FontIncluder
Throws:
IOException

writeEncoding

protected void writeEncoding(CharTable charTable)
                      throws IOException
Description copied from class: FontIncluder
Writes the encoding table to the file.

Specified by:
writeEncoding in class FontIncluder
Throws:
IOException

isStandardFont

public static boolean isStandardFont(Font font)

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.