mozilla/pdf.js — pull request #4815 by yurydelendik (2014-05-19 20:09:18+00:00)
Title: Refactors loadFont for translateFont be async

translateFont is using CMapFactory.create which is sync network bound operation, this PR is preparing loadFont for that. Also, fixes type3 fonts to avoid sending operatorList with each character -- the bug surfaced when I loadFont promise was introduced, so cannot disconnect those without introducing the performance regression first.