We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Copy text from PDF -> last character missing


I am using PdfViewer with Pdfium. 

When I try to copy and text from the attached PDF the last character is missing.

E.g. mark and copy the text RG-202101-1022 in PdfViewer and paste it in Notpad, you will see that only 'RG-202101-102' with be pasted. Switching to SPDF will make it work.

Is that a bug?

Kind regards, Marco

Attachment: PDF_4d899ab7.zip

10 Replies

KG Krithika Ganesan Syncfusion Team December 1, 2022 03:04 PM UTC

Hi Marco,


We are unable to select the text in the pdf document you shared with us in the current PdfViewer version, and we will validate this issue, but you have updated that you are able to select the text in the PdfViewer while copying you have encountered the issue.

Also, please share the following information so that we can investigate further and provide you with a better solution.


1. Syncfusion product version. 

2. Platform

3. .Net Framework 




MU Marco Uffelmann December 1, 2022 03:14 PM UTC



Framework: WPF

.Net Framework: 4.7

KG Krithika Ganesan Syncfusion Team December 2, 2022 02:34 PM UTC

Marco, In the PDF document that you have shared with us, the reported issue can be reproduced on our end when we use Pdfium for rendering and SfPdf for text extraction. We will validate this issue and update you.

KG Krithika Ganesan Syncfusion Team December 7, 2022 11:26 AM UTC

Marco, on analyzed further, the issue occurs in a specific document due to pdfium, we would like to report this behavior in PDFium forum to try getting any information or solution for this, by sharing this PDF document in the public PDFium group.   


So kindly confirm us if this document does not contain any confidential information and we can proceed on this. 

MU Marco Uffelmann December 7, 2022 11:43 AM UTC

Krithika, sure, please forward the PDF, there is no confidential data in it.

Thank you.

RB Rajavignesh BalaSankar Syncfusion Team December 8, 2022 04:12 PM UTC

Marco, we have reported this issue in the PDFium public forum to try getting any information or solution for this, please find the link below,


We would update further details if any solutions provided in the forum.

MU Marco Uffelmann December 27, 2022 09:22 AM UTC


Any update on this issue? 

I had a look in the issue you reported on the PDFIUM forum. But the issue you reported there, is not the same. 

- How can I solve the issue missing last character when copying text?  (Please try on attached document)

- Marking text is not possible with some documents. (Please try on attached document)

Kind regards


KG Krithika Ganesan Syncfusion Team December 28, 2022 12:13 PM UTC

Marco, Sorry for inconvenience. Please ignore the link we have shared in the previous update, please find the link below,


In the above link, we can see that they have confirmed the issue but need to provide the solution.

MU Marco Uffelmann June 5, 2023 11:55 AM UTC


any news regarding this. We are running into serious trouble using sfPDF. We need to switch to PDFium!

Please escalate this bug.

Thank you for your support.

KG Krithika Ganesan Syncfusion Team June 6, 2023 10:49 AM UTC

Marco, the Pdfium is an open-source project and so we cannot escalate the bugs reported to them. But we have added a remainder to them about this issue and we will update you once we receive any updates from them.

Live Chat Icon For mobile
Up arrow icon