diff options
author | Rami Santina <[email protected]> | 2011-03-29 01:11:44 +0300 |
---|---|---|
committer | Rami Santina <[email protected]> | 2011-03-29 01:11:44 +0300 |
commit | d6aedbf7677e4375d09d0995d3f9c14c5104091b (patch) | |
tree | 8f776e37c8e1bffcf2bf2fd9f73300cd60673b82 /src/net/java/dev | |
parent | c0eb49806a35c0618af8a61c99ba783d688fc09d (diff) | |
parent | b73de5a53e2e81e2acc5f8f5064e2b0b27a9804e (diff) |
Merge with changes done for unit tests
Diffstat (limited to 'src/net/java/dev')
-rw-r--r-- | src/net/java/dev/typecast/ot/table/HdmxTable.java | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/net/java/dev/typecast/ot/table/HdmxTable.java b/src/net/java/dev/typecast/ot/table/HdmxTable.java index e47c0a316..68a03c590 100644 --- a/src/net/java/dev/typecast/ot/table/HdmxTable.java +++ b/src/net/java/dev/typecast/ot/table/HdmxTable.java @@ -57,6 +57,11 @@ public class HdmxTable implements Table { public short[] getWidths() { return _widths; } + + public short getWidth(int glyphidx) { + return _widths[glyphidx]; + } + } private DirectoryEntry _de; @@ -80,6 +85,14 @@ public class HdmxTable implements Table { } } + public int getNumberOfRecords() { + return _numRecords; + } + + public DeviceRecord getRecord(int i) { + return _records[i]; + } + public int getType() { return hdmx; } |