Class CFFParser


  • public class CFFParser
    extends java.lang.Object
    This class represents a parser for a CFF font.
    Version:
    $Revision: 1.0 $
    Author:
    Villu Ruusmann
    • Constructor Summary

      Constructors 
      Constructor Description
      CFFParser()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<CFFFont> parse​(byte[] bytes)
      Parsing CFF Font using a byte array as input.
      • Methods inherited from class java.lang.Object

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

      • CFFParser

        public CFFParser()
    • Method Detail

      • parse

        public java.util.List<CFFFont> parse​(byte[] bytes)
                                      throws java.io.IOException
        Parsing CFF Font using a byte array as input.
        Parameters:
        bytes - the given byte array
        Returns:
        the parsed CFF fonts
        Throws:
        java.io.IOException - If there is an error reading from the stream