org.freehep.graphicsio.pdf
Class PDFFontEmbedderType1
java.lang.Object
org.freehep.graphicsio.font.FontIncluder
org.freehep.graphicsio.font.FontEmbedder
org.freehep.graphicsio.font.FontEmbedderType1
org.freehep.graphicsio.pdf.PDFFontEmbedderType1
public class PDFFontEmbedderType1
- extends FontEmbedderType1
Font embedder for type one fonts in pdf documents.
- Version:
- $Id: PDFFontEmbedderType1.java 8584 2006-08-10 23:06:37Z duns $
- Author:
- Simon Fischer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
create
public static PDFFontEmbedderType1 create(java.awt.font.FontRenderContext context,
PDFWriter pdf,
java.lang.String reference,
PDFRedundanceTracker tracker)
openIncludeFont
protected void openIncludeFont()
throws java.io.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.
- Overrides:
openIncludeFont
in class FontEmbedderType1
- Throws:
java.io.IOException
writeWidths
protected void writeWidths(double[] widths)
throws java.io.IOException
- Description copied from class:
FontEmbedder
- Writes the character widths to the file.
- Overrides:
writeWidths
in class FontEmbedderType1
- Throws:
java.io.IOException
openGlyphs
protected void openGlyphs()
throws java.io.IOException
- Description copied from class:
FontEmbedder
- Called before the glyph loop starts. Does nothing by default but can be
implemented.
- Overrides:
openGlyphs
in class FontEmbedderType1
- Throws:
java.io.IOException
closeEmbedFont
protected void closeEmbedFont()
throws java.io.IOException
- Overrides:
closeEmbedFont
in class FontEmbedderType1
- Throws:
java.io.IOException
Copyright © 2000-2007 FreeHEP. All Rights Reserved.