diff --git a/src/core/fonts.js b/src/core/fonts.js index a721b0b17..1bcb10f4c 100644 --- a/src/core/fonts.js +++ b/src/core/fonts.js @@ -3184,9 +3184,11 @@ var Font = (function FontClosure() { useTable = true; // Continue the loop since there still may be a higher priority // table. - } else if (!isSymbolicFont && platformId === 3 && encodingId === 1) { + } else if (platformId === 3 && encodingId === 1) { useTable = true; - canBreak = true; + if (!isSymbolicFont) { + canBreak = true; + } } else if (isSymbolicFont && platformId === 3 && encodingId === 0) { useTable = true; canBreak = true; diff --git a/test/pdfs/.gitignore b/test/pdfs/.gitignore index e894dab3b..4ebc87711 100644 --- a/test/pdfs/.gitignore +++ b/test/pdfs/.gitignore @@ -115,3 +115,4 @@ !issue5475.pdf !issue5481.pdf !issue5567.pdf +!issue5701.pdf diff --git a/test/pdfs/issue5701.pdf b/test/pdfs/issue5701.pdf new file mode 100644 index 000000000..a9219b1e3 Binary files /dev/null and b/test/pdfs/issue5701.pdf differ diff --git a/test/test_manifest.json b/test/test_manifest.json index e61bce51b..cf3ba18c4 100644 --- a/test/test_manifest.json +++ b/test/test_manifest.json @@ -1692,6 +1692,13 @@ "type": "eq", "about": "Invisible Type3 font used for text selection and searching." }, + { "id": "issue5701", + "file": "pdfs/issue5701.pdf", + "md5": "7ec476aee12e8bd6be79140223d329c1", + "rounds": 1, + "link": false, + "type": "eq" + }, { "id": "issue5280", "file": "pdfs/issue5280.pdf", "md5": "0ea1230e2964e74cb6db063a89b78803",