1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-22 16:18:08 +02:00

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.