Doc to Pdf File conversion - Delta character "triangle" is changed to "Square"

Hi Team,
When tried to convert a .doc file to .PDF file, The delta character ▲ (Triangle) is getting converted to ▢ (Square). Kindly do the needful and rectify the issue ASAP.

@Varshini_Sudhakar Could you please attach your input and output documents here for our reference? We will check the issue and provide you more information.

Hi, I am unable to attach the Input file since it has a .doc extension and hence attaching Output -.pdf file and highlighted the Delta character that is getting changed and producing issue.

I have changed the Input file to .docx extension in order to upload, kindly change it to .doc file and test.

Input File : DeltaCharacter-Input.docx (kindly change it to DeltaCharacter-Input.doc)
Output File : DeltaCharacter-Output.pdf

DeltaCharacter-Input.docx (25.8 KB)
DeltaCharacter-Output.pdf (17.0 KB)

@Varshini_Sudhakar Unfortunately, I cannot reproduce the problem with the attached file. Could you please zip and attach the original DOC file here for testing?

Hi, I have attached the zip file
DeltaCharacter-Issue.zip (24.8 KB)

@Varshini_Sudhakar Thank you for additional information. Bu the problem is still not reproducible on my side. Please see PDF document produced on my side: out.pdf (36.8 KB)
The problem on your side might occur because the fonts used in your document are not available in your environment and the fonts are substituted. You can implement IWarningCallback to get notification when font substitution is performed.

Hi Thank you for the information, but for me the issue is reproducible, I used the following link to convert the original .doc file to .pdf
https://products.aspose.com/words/net/conversion/doc-to-pdf/
Could you please try it hear and conform?
I’m still able to reproduce the issue, Kindly verify the PDF document produced from my sideOutput.pdf (13.8 KB)

Could you please share me the link in which you tried to convert?

@Varshini_Sudhakar I have tested with the following code:

Document doc = new Document(@"C:\Temp\in.docx");
doc.Save(@"C:\Temp\out.pdf");

I see in my output PDF document Wingdings3 font is used, but in your output document Wingdings-Regular font is used. So my assumption about font substitution was right.

Hi, Could you please retest it with this code and conform?

var doc = new Document(@"C:\Temp\in.doc");
doc.Save(@"C:\Temp\Output.pdf");

@Varshini_Sudhakar Sure, it produces the same correct output on my side: out.pdf (36.8 KB)

Thanks for conforming, so are you suspecting that fonts are getting substituted from my end and suggesting using IWarningCallback ?

@Varshini_Sudhakar Yes, using IWarningCallback will give you information about font substitution. But to get the proper result the fonts used in your document should be available in the environment where the document is converted to PDF.