Merge pull request #5882 from Snuffleupagus/bug-1046314-2

Don't map glyphs to Unicode position 0x0E33, i.e. Thai character SARA AM (bug1046314)
This commit is contained in:
Brendan Dahl 2015-03-26 16:04:51 -07:00
commit f6a8110041
4 changed files with 9 additions and 0 deletions

View File

@ -2698,6 +2698,7 @@ var Font = (function FontClosure() {
fontCharCode === 0x7F || // Control char
fontCharCode === 0xAD || // Soft hyphen
fontCharCode === 0xA0 || // Non breaking space
fontCharCode === 0x0E33 || // Thai character SARA AM
fontCharCode === 0x25CC || // Dotted circle (combining mark)
(fontCharCode >= 0x80 && fontCharCode <= 0x9F) || // Control chars
// Prevent drawing characters in the specials unicode block.

View File

@ -86,6 +86,7 @@
!bug866395.pdf
!bug1027533.pdf
!bug1028735.pdf
!bug1046314.pdf
!bug1065245.pdf
!basicapi.pdf
!mixedfonts.pdf

BIN
test/pdfs/bug1046314.pdf Normal file

Binary file not shown.

View File

@ -557,6 +557,13 @@
"rounds": 1,
"type": "load"
},
{ "id": "bug1046314",
"file": "pdfs/bug1046314.pdf",
"md5": "fc658439f44cd2dd27c8bee7e7a8344e",
"rounds": 1,
"link": false,
"type": "eq"
},
{ "id": "hudsonsurvey",
"file": "pdfs/hudsonsurvey.pdf",
"md5": "bf0e6576a7b6c2fe7485bce1b78e006f",