Handle 'space' character correctly in MacRomanEncoding (bug 878026)
This commit is contained in:
parent
31c260a886
commit
8fc4ebd5cb
@ -158,7 +158,7 @@ var Encodings = {
|
|||||||
'summation', 'product', 'pi', 'integral', 'ordfeminine', 'ordmasculine',
|
'summation', 'product', 'pi', 'integral', 'ordfeminine', 'ordmasculine',
|
||||||
'Omega', 'ae', 'oslash', 'questiondown', 'exclamdown', 'logicalnot',
|
'Omega', 'ae', 'oslash', 'questiondown', 'exclamdown', 'logicalnot',
|
||||||
'radical', 'florin', 'approxequal', 'Delta', 'guillemotleft',
|
'radical', 'florin', 'approxequal', 'Delta', 'guillemotleft',
|
||||||
'guillemotright', 'ellipsis', '', 'Agrave', 'Atilde', 'Otilde', 'OE',
|
'guillemotright', 'ellipsis', 'space', 'Agrave', 'Atilde', 'Otilde', 'OE',
|
||||||
'oe', 'endash', 'emdash', 'quotedblleft', 'quotedblright', 'quoteleft',
|
'oe', 'endash', 'emdash', 'quotedblleft', 'quotedblright', 'quoteleft',
|
||||||
'quoteright', 'divide', 'lozenge', 'ydieresis', 'Ydieresis', 'fraction',
|
'quoteright', 'divide', 'lozenge', 'ydieresis', 'Ydieresis', 'fraction',
|
||||||
'currency', 'guilsinglleft', 'guilsinglright', 'fi', 'fl', 'daggerdbl',
|
'currency', 'guilsinglleft', 'guilsinglright', 'fi', 'fl', 'daggerdbl',
|
||||||
|
1
test/pdfs/.gitignore
vendored
1
test/pdfs/.gitignore
vendored
@ -59,6 +59,7 @@
|
|||||||
!noembed-eucjp.pdf
|
!noembed-eucjp.pdf
|
||||||
!noembed-sjis.pdf
|
!noembed-sjis.pdf
|
||||||
!vertical.pdf
|
!vertical.pdf
|
||||||
|
!bug878026.pdf
|
||||||
!issue3025.pdf
|
!issue3025.pdf
|
||||||
!issue2099-1.pdf
|
!issue2099-1.pdf
|
||||||
!issue3371.pdf
|
!issue3371.pdf
|
||||||
|
71
test/pdfs/bug878026.pdf
Normal file
71
test/pdfs/bug878026.pdf
Normal file
@ -0,0 +1,71 @@
|
|||||||
|
%PDF-1.7
|
||||||
|
43 0 obj
|
||||||
|
<<
|
||||||
|
/Type /Catalog
|
||||||
|
/Pages 44 0 R
|
||||||
|
>>
|
||||||
|
endobj
|
||||||
|
44 0 obj
|
||||||
|
<<
|
||||||
|
/Type /Pages
|
||||||
|
/MediaBox [ 0 0 200 50 ]
|
||||||
|
/Count 1
|
||||||
|
/Kids [ 45 0 R ]
|
||||||
|
>>
|
||||||
|
endobj
|
||||||
|
45 0 obj
|
||||||
|
<<
|
||||||
|
/Type /Page
|
||||||
|
/Parent 44 0 R
|
||||||
|
/Resources <<
|
||||||
|
/Font <<
|
||||||
|
/F1 46 0 R
|
||||||
|
>>
|
||||||
|
|
||||||
|
>>
|
||||||
|
|
||||||
|
/Contents 47 0 R
|
||||||
|
>>
|
||||||
|
endobj
|
||||||
|
46 0 obj
|
||||||
|
<<
|
||||||
|
/Type /Font
|
||||||
|
/Subtype /Type1
|
||||||
|
/Name /Fcpdf1
|
||||||
|
/BaseFont /Times-Roman
|
||||||
|
/Encoding /MacRomanEncoding
|
||||||
|
>>
|
||||||
|
endobj
|
||||||
|
47 0 obj
|
||||||
|
<<
|
||||||
|
/Length 44
|
||||||
|
>>
|
||||||
|
stream
|
||||||
|
BT
|
||||||
|
10 20 TD
|
||||||
|
/F1 20 Tf
|
||||||
|
(Bug\312878026) Tj
|
||||||
|
ET
|
||||||
|
endstream
|
||||||
|
endobj
|
||||||
|
xref
|
||||||
|
0 1
|
||||||
|
0000000000 65535 f
|
||||||
|
43 1
|
||||||
|
0000000009 00000 n
|
||||||
|
44 1
|
||||||
|
0000000060 00000 n
|
||||||
|
45 1
|
||||||
|
0000000146 00000 n
|
||||||
|
46 1
|
||||||
|
0000000254 00000 n
|
||||||
|
47 1
|
||||||
|
0000000369 00000 n
|
||||||
|
trailer
|
||||||
|
<<
|
||||||
|
/Size 5
|
||||||
|
/Root 43 0 R
|
||||||
|
>>
|
||||||
|
startxref
|
||||||
|
463
|
||||||
|
%%EOF
|
@ -343,6 +343,15 @@
|
|||||||
"rounds": 1,
|
"rounds": 1,
|
||||||
"type": "load"
|
"type": "load"
|
||||||
},
|
},
|
||||||
|
{ "id": "bug878026",
|
||||||
|
"file": "pdfs/bug878026.pdf",
|
||||||
|
"md5": "13072db0586f2b4e96de189e23fc7395",
|
||||||
|
"rounds": 1,
|
||||||
|
"link": false,
|
||||||
|
"firstPage": 1,
|
||||||
|
"lastPage": 1,
|
||||||
|
"type": "eq"
|
||||||
|
},
|
||||||
{ "id": "jai-pdf",
|
{ "id": "jai-pdf",
|
||||||
"file": "pdfs/jai.pdf",
|
"file": "pdfs/jai.pdf",
|
||||||
"md5": "1f5dd128c3757420a881a155f2f8ace3",
|
"md5": "1f5dd128c3757420a881a155f2f8ace3",
|
||||||
|
Loading…
Reference in New Issue
Block a user