diff --git a/src/core/fonts.js b/src/core/fonts.js index 78292f830..3e24b30f9 100644 --- a/src/core/fonts.js +++ b/src/core/fonts.js @@ -499,6 +499,7 @@ var ProblematicCharRanges = new Int32Array([ 0x205F, 0x2070, 0x25CC, 0x25CD, 0x3000, 0x3001, + 0x3164, 0x3165, // Chars that is used in complex-script shaping. 0xAA60, 0xAA80, // Specials Unicode block. diff --git a/test/pdfs/.gitignore b/test/pdfs/.gitignore index 64926f486..c19301013 100644 --- a/test/pdfs/.gitignore +++ b/test/pdfs/.gitignore @@ -50,6 +50,7 @@ !issue8061.pdf !issue8088.pdf !issue8125.pdf +!issue8424.pdf !bad-PageLabels.pdf !filled-background.pdf !ArabicCIDTrueType.pdf diff --git a/test/pdfs/issue8424.pdf b/test/pdfs/issue8424.pdf new file mode 100644 index 000000000..aab84f371 Binary files /dev/null and b/test/pdfs/issue8424.pdf differ diff --git a/test/test_manifest.json b/test/test_manifest.json index 4de3ad4d4..4bc7509b6 100644 --- a/test/test_manifest.json +++ b/test/test_manifest.json @@ -1256,6 +1256,13 @@ "link": true, "type": "eq" }, + { "id": "issue8424", + "file": "pdfs/issue8424.pdf", + "md5": "3de1ea4c085e8fe8e156153418058955", + "rounds": 1, + "link": false, + "type": "eq" + }, { "id": "type4psfunc", "file": "pdfs/type4psfunc.pdf", "md5": "7e6027a02ff78577f74dccdf84e37189",