diff options
author | David Schweinsberg <[email protected]> | 2016-01-07 10:53:35 -0800 |
---|---|---|
committer | David Schweinsberg <[email protected]> | 2016-01-07 10:53:35 -0800 |
commit | 4402728d950ba43e700aa063f7529b6b266706c5 (patch) | |
tree | f310cb17d5a97bc1bcaac8d4405d2a4925f94b0a /src | |
parent | 1a6fd5b3f10b0c7e827f4ff0b683dcee87201dfc (diff) |
Fixed the length of bytes to skip with unknown cmap formats – but this still fails to deal with formats >= 8
Diffstat (limited to 'src')
-rw-r--r-- | src/net/java/dev/typecast/ot/table/CmapFormatUnknown.java | 2 |
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 |