fop 0.93

org.apache.fop.render.ps
Class PSFontUtils

java.lang.Object
  extended byorg.apache.xmlgraphics.ps.PSFontUtils
      extended byorg.apache.fop.render.ps.PSFontUtils

public class PSFontUtils
extends org.apache.xmlgraphics.ps.PSFontUtils

Utility code for font handling in PostScript.


Constructor Summary
PSFontUtils()
           
 
Method Summary
static java.util.Map writeFontDict(org.apache.xmlgraphics.ps.PSGenerator gen, FontInfo fontInfo)
          Generates the PostScript code for the font dictionary.
 
Methods inherited from class org.apache.xmlgraphics.ps.PSFontUtils
defineWinAnsiEncoding, embedType1Font
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PSFontUtils

public PSFontUtils()
Method Detail

writeFontDict

public static java.util.Map writeFontDict(org.apache.xmlgraphics.ps.PSGenerator gen,
                                          FontInfo fontInfo)
                                   throws java.io.IOException
Generates the PostScript code for the font dictionary.

Parameters:
gen - PostScript generator to use for output
fontInfo - available fonts
Returns:
a Map of PSResource instances representing all defined fonts (key: font key)
Throws:
java.io.IOException - in case of an I/O problem

fop 0.93

Copyright 1999-2006 The Apache Software Foundation. All Rights Reserved.