pdf.js bug and font scaling


* fixes https://github.com/lualatex/luaotfload/issues/52
* addresses https://github.com/lualatex/luaotfload/issues/51 (partially; needs testing)