Package org.apache.fop.render.pcl.fonts
Class PCLSoftFontManager
java.lang.Object
org.apache.fop.render.pcl.fonts.PCLSoftFontManager
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]
assignFontID
(int fontID) getSoftFont
(Typeface font, String text) Finds a soft font associated with the given typeface.getSoftFontFromID
(int index) int
getTextSegments
(String text, Typeface font) makeSoftFont
(Typeface font, String text)
-
Constructor Details
-
PCLSoftFontManager
-
-
Method Details
-
makeSoftFont
- Throws:
IOException
-
assignFontID
- Throws:
IOException
-
getSoftFont
Finds a soft font associated with the given typeface. If more than one instance of the font exists (as each font is bound and restricted to 255 characters) it will find the last font with available capacity.- Parameters:
font
- The typeface associated with the soft font- Returns:
- Returns the PCLSoftFont with available capacity
-
getSoftFontFromID
-
getSoftFontID
- Throws:
IOException
-
getTextSegments
-