Merge pull request #11020 from Snuffleupagus/issue-11016
Add a work-around, in `glyphlist.js`, for bad PDF generators which use a non-standard `/f_f` string in the `Encoding` dictionary when referring to the ff ligature (issue 11016)
This commit is contained in:
commit
d909b86b28
@ -1826,6 +1826,7 @@ var getGlyphsUnicode = getLookupTableFactory(function (t) {
|
||||
t['feicoptic'] = 0x03E5;
|
||||
t['female'] = 0x2640;
|
||||
t['ff'] = 0xFB00;
|
||||
t['f_f'] = 0xFB00; // Fixes issue 11016.
|
||||
t['ffi'] = 0xFB03;
|
||||
t['ffl'] = 0xFB04;
|
||||
t['fi'] = 0xFB01;
|
||||
|
1
test/pdfs/.gitignore
vendored
1
test/pdfs/.gitignore
vendored
@ -79,6 +79,7 @@
|
||||
!issue10529.pdf
|
||||
!issue10542_reduced.pdf
|
||||
!issue10665_reduced.pdf
|
||||
!issue11016_reduced.pdf
|
||||
!bad-PageLabels.pdf
|
||||
!decodeACSuccessive.pdf
|
||||
!filled-background.pdf
|
||||
|
BIN
test/pdfs/issue11016_reduced.pdf
Normal file
BIN
test/pdfs/issue11016_reduced.pdf
Normal file
Binary file not shown.
@ -39,6 +39,13 @@
|
||||
"lastPage": 1,
|
||||
"type": "text"
|
||||
},
|
||||
{ "id": "issue11016",
|
||||
"file": "pdfs/issue11016_reduced.pdf",
|
||||
"md5": "b75578bd052d2e6acdcc85b615eab6b1",
|
||||
"rounds": 1,
|
||||
"link": false,
|
||||
"type": "text"
|
||||
},
|
||||
{ "id": "issue1293",
|
||||
"file": "pdfs/issue1293r.pdf",
|
||||
"md5": "4a098f5051f34fab036f5bbe88f8deef",
|
||||
|
Loading…
Reference in New Issue
Block a user