org.freehep.graphicsio.pdf
Class PDFFontEmbedderType3

java.lang.Object
  extended by org.freehep.graphicsio.font.FontIncluder
      extended by org.freehep.graphicsio.font.FontEmbedder
          extended by org.freehep.graphicsio.pdf.PDFFontEmbedder
              extended by 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

Field Summary
 
Fields inherited from class org.freehep.graphicsio.pdf.PDFFontEmbedder
pdf
 
Fields inherited from class org.freehep.graphicsio.font.FontEmbedder
NOTDEF
 
Fields inherited from class org.freehep.graphicsio.font.FontIncluder
FONT_SIZE
 
Constructor Summary
PDFFontEmbedderType3(FontRenderContext context, PDFWriter pdf, String reference, PDFRedundanceTracker tracker)
           
 
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  String getSubtype()
          Returns the font subtype (currently only Type3).
protected  void writeGlyph(String characterName, Shape glyph, GlyphMetrics glyphMetrics)
           
 
Methods inherited from class org.freehep.graphicsio.pdf.PDFFontEmbedder
closeEmbedFont, createCharacterReference, getReference, openIncludeFont, writeEncoding, writeEncoding, writeWidths
 
Methods inherited from class org.freehep.graphicsio.font.FontEmbedder
closeGlyphs, getAdvanceWidth, getAdvanceWidths, getGlyph, getGlyphMetrics, includeFont, openGlyphs
 
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
 

Constructor Detail

PDFFontEmbedderType3

public PDFFontEmbedderType3(FontRenderContext context,
                            PDFWriter pdf,
                            String reference,
                            PDFRedundanceTracker tracker)
Method Detail

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
Specified by:
writeGlyph in class org.freehep.graphicsio.font.FontEmbedder
Throws:
IOException


Copyright © 2000-2006 FreeHEP. All Rights Reserved.