Free Support Forum -

Aspose.Pdf bold font causes error when opening in acrobat reader

I am adding a 5 line heading to an existing pdf. All was well until I attempted to make the first line bold. Setting textstate.fontstyle = bold on the first textfragment causes acrobat reader to open a dialog stating “An error exists on the page. etc.” The source code and dialog are attached. Is there something I am doing wrong?

Hi James,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thank you for considering Aspose.Pdf.

I checked your issue with the latest version of Aspose.Pdf for .NET and I am unable to reproduce your mentioned issue. Please share your template and resultant PDF file with us for further testing of the issue.

Sorry for the inconvenience,