Hi,
I am converting words files to pfd
I am converting the files by c# code, i am try to is by online method in aspose site.
I am attached he original file and the result 25_lsh_3848889.docx (58.4 KB)
@Knesset Unfortunately, I cannot reproduce the problem on my side using the latest 24.1 version of Aspose.Words and the following simple code:
Document doc = new Document(@"C:\Temp\in.docx");
doc.Save(@"C:\Temp\out.pdf");
The problem might occur because the fonts required for rendering document are not available on the machine where document is converted to PDF. If Aspose.Words cannot find the font used in the document, the font is substituted . This might lead into fonts mismatch and document layout differences due to the different fonts metrics. You can implement IWarningCallback to get notifications when font substitution is performed.
Please see our documentation to lean where Aspose.Words looks for fonts: https://docs.aspose.com/words/net/specifying-truetype-fonts-location/