aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Schweinsberg <[email protected]>2016-01-07 10:53:35 -0800
committerDavid Schweinsberg <[email protected]>2016-01-07 10:53:35 -0800
commit4402728d950ba43e700aa063f7529b6b266706c5 (patch)
treef310cb17d5a97bc1bcaac8d4405d2a4925f94b0a
parent1a6fd5b3f10b0c7e827f4ff0b683dcee87201dfc (diff)
Fixed the length of bytes to skip with unknown cmap formats – but this still fails to deal with formats >= 8
-rw-r--r--src/net/java/dev/typecast/ot/table/CmapFormatUnknown.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/java/dev/typecast/ot/table/CmapFormatUnknown.java b/src/net/java/dev/typecast/ot/table/CmapFormatUnknown.java
index 4f61404..2d59e9e 100644
--- a/src/net/java/dev/typecast/ot/table/CmapFormatUnknown.java
+++ b/src/net/java/dev/typecast/ot/table/CmapFormatUnknown.java
@@ -37,7 +37,7 @@ public class CmapFormatUnknown extends CmapFormat {
_format = format;
// We don't know how to handle this data, so we'll just skip over it
- di.skipBytes(_length - 4);
+ di.skipBytes(_length - 6);
}
@Override