Skip to content

Commit

Permalink
PDFBOX-5143: don't hold the list for the type2sequence
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1892939 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
lehmi committed Sep 5, 2021
1 parent 1aa693c commit a266294
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions fontbox/src/main/java/org/apache/fontbox/cff/Type2CharString.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ public class Type2CharString extends Type1CharString
private float defWidthX = 0;
private float nominalWidthX = 0;
private int pathCount = 0;
private final List<Object> type2sequence;
private final int gid;

/**
Expand All @@ -53,7 +52,6 @@ public Type2CharString(Type1CharStringReader font, String fontName, String glyph
{
super(font, fontName, glyphName);
this.gid = gid;
type2sequence = sequence;
defWidthX = defaultWidthX;
nominalWidthX = nomWidthX;
convertType1ToType2(sequence);
Expand All @@ -67,14 +65,6 @@ public int getGID()
return gid;
}

/**
* Returns the Type 2 charstring sequence.
*/
public List<Object> getType2Sequence()
{
return type2sequence;
}

/**
* Converts a sequence of Type 2 commands into a sequence of Type 1 commands.
* @param sequence the Type 2 char string sequence
Expand Down

0 comments on commit a266294

Please sign in to comment.