mozilla/pdf.js — pull request #3674 by brendandahl (2013-09-11 17:59:06+00:00)
Title: Read multi-byte character codes based on codespace ranges.

This is a temporary solution for reading the correct number of bytes. In a subsequent PR I'll introduce the real CMaps and remove CMAP_CODESPACES

Fixes https://bugzilla.mozilla.org/show_bug.cgi?id=898853 and more need to find them...