diff options
author | David Schweinsberg <[email protected]> | 2007-07-26 11:13:44 +0000 |
---|---|---|
committer | David Schweinsberg <[email protected]> | 2007-07-26 11:13:44 +0000 |
commit | ff26d1addccbc76e7cd5cc92283eef355b313e1e (patch) | |
tree | 59fdce34252b87cf1b71f3742d9ea21d46c4be72 /src | |
parent | 9dfb76a50eb9d6b735a44b9885eeee149ced25e5 (diff) |
Added local and global indicies as constructor parameters.
Diffstat (limited to 'src')
-rw-r--r-- | src/net/java/dev/typecast/ot/table/CharstringType2.java | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/src/net/java/dev/typecast/ot/table/CharstringType2.java b/src/net/java/dev/typecast/ot/table/CharstringType2.java index 098c87f..e47825c 100644 --- a/src/net/java/dev/typecast/ot/table/CharstringType2.java +++ b/src/net/java/dev/typecast/ot/table/CharstringType2.java @@ -1,5 +1,5 @@ /* - * $Id: CharstringType2.java,v 1.3 2007-02-21 12:30:00 davidsch Exp $ + * $Id: CharstringType2.java,v 1.4 2007-07-26 11:13:44 davidsch Exp $ * * Typecast - The Font Development Environment * @@ -20,9 +20,11 @@ package net.java.dev.typecast.ot.table; +import net.java.dev.typecast.ot.table.CffTable; + /** * CFF Type 2 Charstring - * @version $Id: CharstringType2.java,v 1.3 2007-02-21 12:30:00 davidsch Exp $ + * @version $Id: CharstringType2.java,v 1.4 2007-07-26 11:13:44 davidsch Exp $ * @author <a href="mailto:[email protected]">David Schweinsberg</a> */ public class CharstringType2 extends Charstring { @@ -109,15 +111,26 @@ public class CharstringType2 extends Charstring { private int[] _data; private int _offset; private int _length; + private CffTable.Index _localSubrIndex; + private CffTable.Index _globalSubrIndex; private int _ip; /** Creates a new instance of CharstringType2 */ - protected CharstringType2(int index, String name, int[] data, int offset, int length) { + protected CharstringType2( + int index, + String name, + int[] data, + int offset, + int length, + CffTable.Index localSubrIndex, + CffTable.Index globalSubrIndex) { _index = index; _name = name; _data = data; _offset = offset; _length = length; + _localSubrIndex = localSubrIndex; + _globalSubrIndex = globalSubrIndex; } public int getIndex() { |