Class Type1FontFormatter


  • public final class Type1FontFormatter
    extends java.lang.Object
    This class represents a formatter for a given Type1 font. author Villu Ruusmann
    Version:
    $Revision: 1.0 $
    • Constructor Summary

      Constructors 
      Constructor Description
      Type1FontFormatter​(java.util.Map<java.lang.Integer,​java.lang.Integer> gids)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      byte[] format​(org.apache.fontbox.cff.CFFFont font, java.lang.String i)
      Read and convert a given CFFFont.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Type1FontFormatter

        public Type1FontFormatter​(java.util.Map<java.lang.Integer,​java.lang.Integer> gids)
    • Method Detail

      • format

        public byte[] format​(org.apache.fontbox.cff.CFFFont font,
                             java.lang.String i)
                      throws java.io.IOException
        Read and convert a given CFFFont.
        Parameters:
        font - the given CFFFont
        i -
        Returns:
        the Type1 font
        Throws:
        java.io.IOException - if an error occurs during reading the given font