Class TrueTypeCollection


  • public class TrueTypeCollection
    extends java.lang.Object
    Reads a TrueTypeCollection file and instantiates the fonts contained in that file.
    Author:
    Thomas Morgner
    • Constructor Detail

      • TrueTypeCollection

        public TrueTypeCollection​(java.io.File filename)
                           throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • getFilename

        public java.io.File getFilename()
      • getNumFonts

        public long getNumFonts()
      • getFont

        public TrueTypeFont getFont​(int index)
                             throws java.io.IOException
        Throws:
        java.io.IOException