Class 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()  
    • Field Detail

      • ttfFileMap

        private static java.util.Map<java.lang.String,​org.apache.fop.fonts.truetype.TTFFile> ttfFileMap
    • Constructor Detail

      • TTFCache

        public TTFCache()
    • 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