Don't map glyphs to the HANGUL FILLER (0x3164) Unicode location (issue 8424)

*This patch follows a similar pattern as previous ones, by skipping certain problematic Unicode locations.*

According to http://searchfox.org/mozilla-central/rev/6c2dbacbba1d58b8679cee700fd0a54189e0cf1b/gfx/harfbuzz/src/hb-unicode-private.hh#136, it seems that the HANGUL FILLER (0x3164) location is "special".

Fixes 8424.
This commit is contained in:
Jonas Jenwald 2017-05-23 16:08:02 +02:00
parent f2161345e3
commit 31c24ed631
4 changed files with 9 additions and 0 deletions

View File

@ -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.

View File

@ -50,6 +50,7 @@
!issue8061.pdf
!issue8088.pdf
!issue8125.pdf
!issue8424.pdf
!bad-PageLabels.pdf
!filled-background.pdf
!ArabicCIDTrueType.pdf

BIN
test/pdfs/issue8424.pdf Normal file

Binary file not shown.

View File

@ -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",