mozilla/pdf.js — pull request #3867 by yurydelendik (2013-10-31 14:12:22+00:00)
Title: Workaround for some bad Type1 data

Addresses "Error during font loading: ranges[(ranges.length - 1)] is undefined" message

Fixes #2855

and

https://bugzilla.mozilla.org/show_bug.cgi?id=868387
https://bugzilla.mozilla.org/show_bug.cgi?id=868465
https://bugzilla.mozilla.org/show_bug.cgi?id=860632

List of shame of the bad generators:
- PDFTron PDFNet
- Antenna House PDF Output Library 2.6.0 (Windows); modified using iTextSharp 5.1.3 (c) 1T3XT BVBA / AH Formatter V5.3 MR1 (5,3,2011,0610) for Windows
- DOMPDF Converter
- Haru Free PDF Library 2.3.0RC2