Class Type1CharStringParser

java.lang.Object
org.apache.fontbox.cff.Type1CharStringParser

public class Type1CharStringParser extends Object
This class represents a converter for a mapping into a Type1-sequence.
Version:
$Revision: 1.0 $
Author:
Villu Ruusmann
  • Constructor Details

    • Type1CharStringParser

      public Type1CharStringParser()
  • Method Details

    • parse

      public List<Object> parse(byte[] bytes, IndexData localSubrIndex) throws IOException
      The given byte array will be parsed and converted to a Type1 sequence.
      Parameters:
      bytes - the given mapping as byte array
      localSubrIndex - index containing all local subroutines
      Returns:
      the Type1 sequence
      Throws:
      IOException - if an error occurs during reading