Class TrueTypeCollection

java.lang.Object
org.pentaho.reporting.libraries.fonts.truetype.TrueTypeCollection

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

    Fields
    Modifier and Type
    Field
    Description
    static final long
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    TrueTypeCollection(java.io.File filename)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    java.io.File
     
    getFont(int index)
     
    long
     

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • TrueTypeCollection

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

    • getFilename

      public java.io.File getFilename()
    • getNumFonts

      public long getNumFonts()
    • getFont

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