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

public class TrueTypeFont extends java.lang.Object
Creation-Date: 06.11.2005, 18:27:21
Author:
Thomas Morgner
  • Constructor Details

    • TrueTypeFont

      public TrueTypeFont(FontDataInputSource filename) throws java.io.IOException
      Throws:
      java.io.IOException
    • TrueTypeFont

      public TrueTypeFont(FontDataInputSource filename, long offset) throws java.io.IOException
      Throws:
      java.io.IOException
    • TrueTypeFont

      public TrueTypeFont(FontDataInputSource filename, long offset, int collectionIndex) throws java.io.IOException
      Throws:
      java.io.IOException
    • TrueTypeFont

      public TrueTypeFont(java.io.File filename) throws java.io.IOException
      Throws:
      java.io.IOException
    • TrueTypeFont

      public TrueTypeFont(java.io.File filename, long offset) throws java.io.IOException
      Throws:
      java.io.IOException
    • TrueTypeFont

      public TrueTypeFont(java.io.File filename, long offset, int collectionIndex) throws java.io.IOException
      Throws:
      java.io.IOException
  • Method Details

    • getCollectionIndex

      public int getCollectionIndex()
    • getOffset

      public long getOffset()
    • getFilename

      public java.lang.String getFilename()
      The file that was used to load the font. This is deprecated, as only the transition version of JFreeReport is using this hack.
      Returns:
    • getTable

      public FontTable getTable(long key) throws java.io.IOException
      Throws:
      java.io.IOException
    • dispose

      public void dispose()
    • getInputSource

      public FontDataInputSource getInputSource()