Some textbox contents garbled when populated via code

We have a bank of PDF templates containing textboxes that are populated via code, then set as readonly. Since upgrading to V25 certain fields are now corrupt after filling in. There doesn't seem to be a pattern to which text boxes get corrupted but it is consistent (as in the same field is corrupt each time). Attached are two PDFs with one or two corrupted fields each. 

Image_4169_1713182925878

Interestingly if - when viewing in Adobe PDF - I click on the corrupt text as if to edit it (Even though the field is readonly) it appears correctly (note the text editing carat in the middle of the word Southampton):

Image_1923_1713183018629



Attachment: bad_pdfs_e4e744b7.zip

4 Replies

RH Ric Hardacre April 15, 2024 01:31 PM UTC

Attached is the template PDF.


Attachment: Modern_48c1898a.zip


Edit: I've worked out that the garbled text is in fact sort of correct but offset by 29 decimal. E.g. the first two legible chars in the screenshot are "RI" = (82,73) ASCII, add 29 = (111,102) = "of", which is what it's supposed to be!


Edit 2 : Have tried with latest version of Syncfusion via nuget: (Project is ASP .Net 4.8 - MVC 5)

Syncfusion.Pdf.AspNet.Mvc5.25.1.39



JT Jeyalakshmi Thangamarippandian Syncfusion Team April 16, 2024 10:52 AM UTC

Hi,

We were able to reproduce the reported issue with the provided details on our end, and currently, we are analyzing it. We will update further details on April 18th, 2024.

Regards,

Jeyalakshmi T

 



JT Jeyalakshmi Thangamarippandian Syncfusion Team April 18, 2024 02:15 PM UTC

We have confirmed the issue “Preservation issue occurs while fill the text in loaded textboxfield” as a defect in our product and we will include the fix in weekly release on 30th April 2024.


Please use the below feedback link to track the status of the reported bug.

https://www.syncfusion.com/feedback/53298/preservation-issue-occurs-while-fill-the-text-in-loaded-textboxfield

 

Note: If you require a patch for the reported issue in any of our Essential Studio Main or SP release version, then kindly let us know the version, so that we can provide a patch in that version based on our SLA policy.

 

Disclaimer: “Inclusion of this solution in the weekly release may change due to other factors including but not limited to QA checks and works reprioritization.”



JT Jeyalakshmi Thangamarippandian Syncfusion Team April 30, 2024 02:15 PM UTC

We have included the fix for this issue Preservation issue occurs while fill the text in loaded textboxfieldfix in our latest weekly release (25.1.42).Please download the Nuget from the below link

Nuget Link: NuGet Gallery | Syncfusion.Pdf.AspNet.Mvc5 25.1.42

Root Cause:

We noticed that there is an issue with font name is not updated properly while fill the text in textboxfield. This is causing the problem.


Loader.
Up arrow icon