- Home
- Forum
- ASP.NET MVC - EJ 2
- Some textbox contents garbled when populated via code
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.
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):
Attachment: bad_pdfs_e4e744b7.zip
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
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
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.
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.”
We have included the fix for this issue “Preservation issue occurs while fill the text in loaded textboxfield”fix 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.
- 4 Replies
- 2 Participants
-
RH Ric Hardacre
- Apr 15, 2024 12:12 PM UTC
- Apr 30, 2024 02:15 PM UTC