Package com.lowagie.text.pdf
Class TTFCache
- java.lang.Object
-
- com.lowagie.text.pdf.TTFCache
-
public class TTFCache extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private static java.util.Map<java.lang.String,org.apache.fop.fonts.truetype.TTFFile>
ttfFileMap
-
Constructor Summary
Constructors Constructor Description TTFCache()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static java.io.InputStream
getStreamFromFont(TrueTypeFontUnicode ttu)
static org.apache.fop.fonts.truetype.TTFFile
getTTFFile(java.lang.String fileName, TrueTypeFontUnicode ttu)
private static org.apache.fop.fonts.truetype.TTFFile
loadTTF(org.apache.fop.fonts.apps.TTFReader app, java.lang.String fileName, TrueTypeFontUnicode ttu)
-
-
-
Method Detail
-
getTTFFile
public static org.apache.fop.fonts.truetype.TTFFile getTTFFile(java.lang.String fileName, TrueTypeFontUnicode ttu)
-
loadTTF
private static org.apache.fop.fonts.truetype.TTFFile loadTTF(org.apache.fop.fonts.apps.TTFReader app, java.lang.String fileName, TrueTypeFontUnicode ttu) throws java.io.IOException
- Throws:
java.io.IOException
-
getStreamFromFont
private static java.io.InputStream getStreamFromFont(TrueTypeFontUnicode ttu) throws java.io.IOException
- Throws:
java.io.IOException
-
-