With this the format 4 cmap is correct and the font sanitizer is happy.
This patch partially fix https://github.com/andreasgal/pdf.js/issues/560, the embedded font is used but they looks weird (that's something on the side of pdf.js).
Format 4 cmap are incorrects and are rejected by browser's font sanit…
Wow, thanks for the fix!
So let me just make sure I understand... This makes the fonts pass the sanitizer and the rest of the issues are on your side?
Here is what I'm getting with pdf.js after the change:
Looks like we got correct glyphs in the wrong places now, i.e. "S" in place of "!" and "r" in place of ":", but at least the glyphs are loading at all! :)
Hmm, good to know. I'll have to look into that. Thanks!