1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-22 16:18:08 +02:00

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:
Tim van der Meij 2019-07-31 23:33:34 +02:00 committed by GitHub
commit d909b86b28
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 0 deletions

View file

@ -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;