Skip to content

Commit

Permalink
Merge pull request #4569 from Snuffleupagus/bug-878026
Browse files Browse the repository at this point in the history
Handle 'space' character correctly in MacRomanEncoding (bug 878026)
  • Loading branch information
yurydelendik committed Apr 9, 2014
2 parents d1f9a4e + 8fc4ebd commit 7a321db
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 @@ -158,7 +158,7 @@ var Encodings = {
'summation', 'product', 'pi', 'integral', 'ordfeminine', 'ordmasculine',
'Omega', 'ae', 'oslash', 'questiondown', 'exclamdown', 'logicalnot',
'radical', 'florin', 'approxequal', 'Delta', 'guillemotleft',
'guillemotright', 'ellipsis', '', 'Agrave', 'Atilde', 'Otilde', 'OE',
'guillemotright', 'ellipsis', 'space', 'Agrave', 'Atilde', 'Otilde', 'OE',
'oe', 'endash', 'emdash', 'quotedblleft', 'quotedblright', 'quoteleft',
'quoteright', 'divide', 'lozenge', 'ydieresis', 'Ydieresis', 'fraction',
'currency', 'guilsinglleft', 'guilsinglright', 'fi', 'fl', 'daggerdbl',
Expand Down
1 change: 1 addition & 0 deletions test/pdfs/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
!noembed-eucjp.pdf
!noembed-sjis.pdf
!vertical.pdf
!bug878026.pdf
!issue3025.pdf
!issue2099-1.pdf
!issue3371.pdf
Expand Down
Binary file added test/pdfs/bug878026.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 @@ -343,6 +343,15 @@
"rounds": 1,
"type": "load"
},
{ "id": "bug878026",
"file": "pdfs/bug878026.pdf",
"md5": "13072db0586f2b4e96de189e23fc7395",
"rounds": 1,
"link": false,
"firstPage": 1,
"lastPage": 1,
"type": "eq"
},
{ "id": "jai-pdf",
"file": "pdfs/jai.pdf",
"md5": "1f5dd128c3757420a881a155f2f8ace3",
Expand Down

0 comments on commit 7a321db

Please sign in to comment.