Skip to content

Commit

Permalink
Merge pull request #4574 from Snuffleupagus/bug-850854
Browse files Browse the repository at this point in the history
Handle 'space' character correctly in WinAnsiEncoding (bug 850854)
  • Loading branch information
yurydelendik committed Apr 9, 2014
2 parents a6e5f31 + 9e6c66b commit 9ccdbbc
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/fonts.js
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ var Encodings = {
'guilsinglleft', 'OE', 'bullet', 'Zcaron', 'bullet', 'bullet', 'quoteleft',
'quoteright', 'quotedblleft', 'quotedblright', 'bullet', 'endash',
'emdash', 'tilde', 'trademark', 'scaron', 'guilsinglright', 'oe', 'bullet',
'zcaron', 'Ydieresis', '', 'exclamdown', 'cent', 'sterling',
'zcaron', 'Ydieresis', 'space', 'exclamdown', 'cent', 'sterling',
'currency', 'yen', 'brokenbar', 'section', 'dieresis', 'copyright',
'ordfeminine', 'guillemotleft', 'logicalnot', 'hyphen', 'registered',
'macron', 'degree', 'plusminus', 'twosuperior', 'threesuperior', 'acute',
Expand Down
1 change: 1 addition & 0 deletions test/pdfs/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
!issue925.pdf
!gradientfill.pdf
!bug903856.pdf
!bug850854.pdf
!basicapi.pdf
!mixedfonts.pdf
!shading_extend.pdf
Expand Down
Binary file added test/pdfs/bug850854.pdf
Binary file not shown.
9 changes: 9 additions & 0 deletions test/test_manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,15 @@
"rounds": 1,
"type": "load"
},
{ "id": "bug850854",
"file": "pdfs/bug850854.pdf",
"md5": "346a034a80120d123b9fefc42bcb11da",
"rounds": 1,
"link": false,
"firstPage": 1,
"lastPage": 1,
"type": "eq"
},
{ "id": "wdsg_fitc",
"file": "pdfs/wdsg_fitc.pdf",
"md5": "5bb1c2b83705d4cdfc43197ee74f07f9",
Expand Down

0 comments on commit 9ccdbbc

Please sign in to comment.