Package org.apache.fop.render.ps
Class PSFontResource
java.lang.Object
org.apache.fop.render.ps.PSFontResource
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 -
Method Summary
Modifier and TypeMethodDescription(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
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.
-
Constructor Details
-
PSFontResource
PSFontResource()
-
-
Method Details
-
createFontResource
-
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
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
-
-