diff options
author | Bernhard Haumacher <[email protected]> | 2020-05-10 14:08:18 +0200 |
---|---|---|
committer | Sven Göthel <[email protected]> | 2024-02-03 02:00:40 +0100 |
commit | 468a75d6b84b0cdcbd860f8a52492725be8771d9 (patch) | |
tree | 149c9c9fab139217de66b22036ad4bcb1580e6db | |
parent | 5f2f0905a41d7f0477a1561243c61489066e9de4 (diff) |
Bugfix: Format 14 header of Cmap table is not skipped correctly.
-rw-r--r-- | src/jogl/classes/jogamp/graph/font/typecast/ot/table/CmapFormatUnknown.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/jogl/classes/jogamp/graph/font/typecast/ot/table/CmapFormatUnknown.java b/src/jogl/classes/jogamp/graph/font/typecast/ot/table/CmapFormatUnknown.java index c09d66c01..cfd314ca6 100644 --- a/src/jogl/classes/jogamp/graph/font/typecast/ot/table/CmapFormatUnknown.java +++ b/src/jogl/classes/jogamp/graph/font/typecast/ot/table/CmapFormatUnknown.java @@ -45,12 +45,11 @@ public class CmapFormatUnknown extends CmapFormat { // We don't know how to handle this data, so we'll just skip over it di.skipBytes(_length - 6); } else { - di.readUnsignedShort(); // reserved _length = di.readInt(); _language = di.readInt(); // We don't know how to handle this data, so we'll just skip over it - di.skipBytes(_length - 12); + di.skipBytes(_length - 10); } } |