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