Marak/pdf.js — pull request #10 by anupbishnoi (2011-10-19 17:28:25+00:00)
Title: No text was displaying in the generated file without these changes

Even though Mac Preview started displaying the pdf correctly after the change in line 211, Adobe reader still refused citing an error about font being undefined. This was corrected by the modification in line 333.
Works well now.