mozilla/pdf.js — pull request #2956 by vyv03354 (2013-03-17 11:59:28+00:00)
Title: Add more sanitizations to cmap and TT font programs

Fixes bug 843558.

GDI requires that not only the final endCode but also the final startCode is 0xFFFF.
Also, if the invalid hints are present and HWA is enabled, italic glyphs were not rendered.