Class Type2CharString

    • Constructor Detail

      • Type2CharString

        public Type2CharString​(Type1CharStringReader font,
                               String fontName,
                               String glyphName,
                               int gid,
                               List<Object> sequence,
                               int defaultWidthX,
                               int nomWidthX)
        Constructor.
        Parameters:
        font - Parent CFF font
        fontName - font name
        glyphName - glyph name (or CID as hex string)
        gid - GID
        sequence - Type 2 char string sequence
        defaultWidthX - default width
        nomWidthX - nominal width
    • Method Detail

      • getGID

        public int getGID()
        Return the GID (glyph id) of this charstring.
      • getType2Sequence

        public List<Object> getType2Sequence()
        Returns the Type 2 charstring sequence.