Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

PDF not rendering some fonts correctly in my web app

74 views
Skip to first unread message

Robert Edgar

unread,
Feb 9, 2016, 1:22:03 PM2/9/16
to mozilla-d...@lists.mozilla.org
I have implemented a pdf viewer using pdfjs in a web application and I am having an issue with some fonts not rendering correctly however when I view the same pdf in the pdfjs github online demo viewer they do render correctly.

>From what I can see in the places where there is an issue the font is being rendered in a 'standard' font rather than the particular font specified in the pdf document but oddly the online demo viewer is able to render the same page correctly using the correct font.

I am using pdfjs with the web worker, after pdfjs completes rendering I am just displaying the canvas in our application.

Does anyone have an idea as to where I should start to look for what is causing the difference.

TIA
Rob
0 new messages