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 8584 2006-08-10 23:06:37Z duns $
- Author:
- Simon Fischer
Method Summary |
protected void |
addAdditionalEntries(PDFDictionary fontDict)
Add additional entries to the font Dictionary. |
protected void |
addAdditionalInitDicts()
Add additional dicionaries to the PDFWriter which may be referenced by
entries generated by addAdditionalEntries() |
protected java.lang.String |
getSubtype()
Returns the font subtype (currently only Type3). |
protected void |
writeGlyph(java.lang.String characterName,
java.awt.Shape glyph,
java.awt.font.GlyphMetrics glyphMetrics)
Writes a single glyph to the file. |
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(java.awt.font.FontRenderContext context,
PDFWriter pdf,
java.lang.String reference,
PDFRedundanceTracker tracker)
getSubtype
protected java.lang.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 java.io.IOException
- Description copied from class:
PDFFontEmbedder
- Add additional entries to the font Dictionary.
- Specified by:
addAdditionalEntries
in class PDFFontEmbedder
- Throws:
java.io.IOException
addAdditionalInitDicts
protected void addAdditionalInitDicts()
throws java.io.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:
java.io.IOException
writeGlyph
protected void writeGlyph(java.lang.String characterName,
java.awt.Shape glyph,
java.awt.font.GlyphMetrics glyphMetrics)
throws java.io.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:
java.io.IOException
Copyright © 2000-2007 FreeHEP. All Rights Reserved.