Class PSFontResource

java.lang.Object
org.apache.fop.render.ps.PSFontResource

abstract class PSFontResource extends Object
A DSC resource corresponding to a font. This class handles the possible other resources that a font may depend on. For example, a CID-keyed font depends on a CIDFont resource, a CMap resource, and the ProcSet CIDInit resource.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    (package private) static PSFontResource
    createFontResource(org.apache.xmlgraphics.ps.PSResource fontResource)
     
    (package private) static PSFontResource
    createFontResource(org.apache.xmlgraphics.ps.PSResource fontResource, org.apache.xmlgraphics.ps.PSResource procsetCIDInitResource, org.apache.xmlgraphics.ps.PSResource cmapResource, org.apache.xmlgraphics.ps.PSResource cidFontResource)
     
    (package private) abstract String
    Returns the name of the font resource.
    (package private) abstract void
    notifyResourceUsageOnPage(org.apache.xmlgraphics.ps.dsc.ResourceTracker resourceTracker)
    Notifies the given resource tracker of all the resources needed by this font.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PSFontResource

      PSFontResource()
  • Method Details

    • createFontResource

      static PSFontResource createFontResource(org.apache.xmlgraphics.ps.PSResource fontResource)
    • createFontResource

      static PSFontResource createFontResource(org.apache.xmlgraphics.ps.PSResource fontResource, org.apache.xmlgraphics.ps.PSResource procsetCIDInitResource, org.apache.xmlgraphics.ps.PSResource cmapResource, org.apache.xmlgraphics.ps.PSResource cidFontResource)
    • getName

      abstract String getName()
      Returns the name of the font resource.
      Returns:
      the name of the font
    • notifyResourceUsageOnPage

      abstract void notifyResourceUsageOnPage(org.apache.xmlgraphics.ps.dsc.ResourceTracker resourceTracker)
      Notifies the given resource tracker of all the resources needed by this font.
      Parameters:
      resourceTracker -