I am trying to replace the text of form fields in a pdf using the aspose.pdf library.
The problem I am running into is the PDF that gets generated loses its rich text font information on special characters such as: ®
We have arial font embedded in the PDF, and all the other text is in arial, however the ® shows up in what I believe is Times New Roman.
Below is some sample code that will reproduce this issue. I am using aspose.pdf.dll version 18.104.22.168
FileStream fs = new FileStream(this.selectedFile, FileMode.Open, FileAccess.Read, FileShare.ReadWrite);
Document doc = new Document(fs);
Stream ret = new MemoryStream();
Aspose.Pdf.InteractiveFeatures.Forms.RichTextBoxField currentTextbox = formField as Aspose.Pdf.InteractiveFeatures.Forms.RichTextBoxField;