Font Name has changed When flattening the Form Field

Hello,

I have used your tool such an excellent.But i have found one issue ,I don’t know which is correct or not.

When i have tried to flatten the form field the font has changed .

[Input File] https://drive.google.com/file/d/0B9Ps8wFCYy0BXzNhb0EtU0dyajg/view?usp=sharing

[OutPutFile] https://drive.google.com/file/d/0B9Ps8wFCYy0BUk5Ma1ktWktkaVU/view?usp=sharing

I have use this code.

Thread.CurrentThread.CurrentCulture = new System.Globalization.CultureInfo(“fr-CA”);

string filename = “input.pdf”;

Aspose.Pdf.Facades.Form pdfForm = new Aspose.Pdf.Facades.Form("…/…/data/" + filename);

decimal dataValue = 10654.12m;

string s = dataValue.ToString(“N”);

pdfForm.FillField(“data”, s);

pdfForm.FlattenAllFields();

pdfForm.Save(filename);

Please help me.

Thanks

Hi Sasi,


Thanks for your inquiry. I have tested the scenario with Aspose.Pdf for .NET 11.2.0 and noticed the reported font issue, so logged a ticket PDFNEWNET-40226 in our issue tracking system for further investigation and resolution. We will notify you as soon as it is resolved.

We are sorry for the inconvenience caused.

Best Regards,

@sasikumar.93

We opened both attached documents for viewing - the original and the resulting one.
To compare the font, we set a large magnification in both documents (the same for both) - see the screenshot.

It is clear that the font in the resulting document is the same as in the original one.
picture820-1.png (41.9 KB)