You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an application that uses PdfPig to merge multiple PDF files. I'm using PdfDocumentBuilder.AddPage for this.
The users of the application have reported a case where the created (merged) PDF is invalid and contains broken/garbled text. When I open the created PDF in Acrobat Reader I even get an error message saying that the PDF page contains errors.
Sample input files:
Input.pdf
According to its metadata this file was created with OpenOffice.
Input with Comments.pdf
This is based on the same file as the first, but was edited with Wondershare PDFelement to add some comments as annotations.
This might be related to an embedded font. Sometimes the end users get an error message like "The embedded font "EVPYXN+NotoSerifCJKjp-Regular-Identity-H" coud not be loaded..." from Acrobat Reader. But that error isn't shown every time and I haven't seen it myself yet.
Also, if the PDF (either of the two) is resaved with Acrobat Reader then the problem doesn't happen any more.
I have an application that uses PdfPig to merge multiple PDF files. I'm using
PdfDocumentBuilder.AddPage
for this.The users of the application have reported a case where the created (merged) PDF is invalid and contains broken/garbled text. When I open the created PDF in Acrobat Reader I even get an error message saying that the PDF page contains errors.
Sample input files:
According to its metadata this file was created with OpenOffice.
This is based on the same file as the first, but was edited with Wondershare PDFelement to add some comments as annotations.
Sample code:
I've tested the following versions of PdfPig, all are affected:
Input:
Output when shown in Acrobat Reader:
Ouput when shown in Microsoft Edge:
The text was updated successfully, but these errors were encountered: