aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/dev
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/java/dev')
-rw-r--r--src/net/java/dev/typecast/ot/table/HdmxTable.java13
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;
}