diff --git a/src/CmapProcessor.js b/src/CmapProcessor.js index 6acc501..013a74a 100644 --- a/src/CmapProcessor.js +++ b/src/CmapProcessor.js @@ -248,7 +248,7 @@ export default class CmapProcessor { } } - if (g === gid) { + if ((g & 0xffff) === gid) { res.push(c); } }