org.freehep.graphicsio.pdf
Class PDFFontEmbedderType3
java.lang.Object
org.freehep.graphicsio.font.FontIncluder
org.freehep.graphicsio.font.FontEmbedder
org.freehep.graphicsio.pdf.PDFFontEmbedder
org.freehep.graphicsio.pdf.PDFFontEmbedderType3
- public class PDFFontEmbedderType3
- extends PDFFontEmbedder
- Version:
- $Id: PDFFontEmbedderType3.java,v 1.2 2005/01/04 00:45:55 duns Exp $
- Author:
- Simon Fischer
- Source Code:
- PDFFontEmbedderType3.java
Methods inherited from class org.freehep.graphicsio.font.FontIncluder |
closeIncludeFont, getCharName, getContext, getEncodingTable, getFont, getFontBBox, getFontName, getNODefinedChars, getUndefinedWidth, getUnicode, getUnicode |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PDFFontEmbedderType3
public PDFFontEmbedderType3(FontRenderContext context,
PDFWriter pdf,
String reference,
PDFRedundanceTracker tracker)
getSubtype
protected String getSubtype()
- Description copied from class:
PDFFontEmbedder
- Returns the font subtype (currently only Type3).
- Specified by:
getSubtype
in class PDFFontEmbedder
addAdditionalEntries
protected void addAdditionalEntries(PDFDictionary fontDict)
throws IOException
- Description copied from class:
PDFFontEmbedder
- Add additional entries to the font Dictionary.
- Specified by:
addAdditionalEntries
in class PDFFontEmbedder
- Throws:
IOException
addAdditionalInitDicts
protected void addAdditionalInitDicts()
throws IOException
- Description copied from class:
PDFFontEmbedder
- Add additional dicionaries to the PDFWriter which may be referenced by
entries generated by addAdditionalEntries()
- Specified by:
addAdditionalInitDicts
in class PDFFontEmbedder
- Throws:
IOException
writeGlyph
protected void writeGlyph(String characterName,
Shape glyph,
GlyphMetrics glyphMetrics)
throws IOException
- Description copied from class:
FontEmbedder
- Writes a single glyph to the file. A null value for glyphMetrics
indicates the undefined character. In this case the value of unicodeName
equals the value of NOTDEF (=.notdef).
- Specified by:
writeGlyph
in class FontEmbedder
- Parameters:
characterName
- the character's name according to the unicode standardglyph
- the shape that represents this glyphglyphMetrics
- the metrics of this glyph
- Throws:
IOException
Copyright © 2000-2004 FreeHEP, All Rights Reserved.