Package org.apache.fop.render.ps
Class PSFontResource
- java.lang.Object
-
- org.apache.fop.render.ps.PSFontResource
-
abstract class PSFontResource extends java.lang.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 PSFontResource()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods 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 java.lang.String
getName()
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.
-
-
-
Method Detail
-
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 java.lang.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
-
-
-