pdffillerjs / pdffiller

Take an existing PDF Form and data and PDF Filler will create a new PDF with all given fields populated.
MIT License
286 stars 113 forks source link

Some special characters have rendering problem as a pdf file in LocalReport #83

Open srht81 opened 5 years ago

srht81 commented 5 years ago

Hi, I am using Microsoft.Reporting.WinForms.dll to render my RDLC as a pdf file but when i open pdf file with adobe reader i have a problem about some special Turkish characters. When i try to use CTRL + F for search some words in pdf file i couldn't find these words even if my pdf file included these Turkish characters. Also, when i copy-paste these words from in the file, i get like 􀃹􀃻􀁏􀁈􀁐􀀃􀀮. It is interesting i also use same dll render my RDLC as a excel file. I use same class same code and same method. I don't have this problem in excel file.

I use byte[] Render(string format); method in WinForms.dll for rendering. Maybe some special character's ASCII code is out of range for byte array maybe because of this it couldn't render every characters for pdf format but i am not sure about this.

Thanks for helping.