Hello, we use your product Aspose Word for .NET, and we have a problem on the pdf conversion with the docx I put in attachment. Not all the text is render in the generated pdf.
RAPPORT D_EVOLUTION EN VUE D_UNE EE1.docx (37.2 KB)
Its reproductible in your demo
Can you check that ?
thanks !
@infoservice Unfortunately, I cannot reproduce the problem on my side using the latest 23.10 version of Aspose.Words for .NET. I have used the following simple code for testing:
Document doc = new Document(@"C:\Temp\in.docx");
doc.Save(@"C:\Temp\out.pdf");
The output looks correct: out.pdf (82.8 KB)
The problem might occur because the fonts used in your input 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 learn where Aspose.Words looks for fonts:
https://docs.aspose.com/words/net/specifying-truetype-fonts-location/
OK i undestand the problem.
the font used here is garamond, it seem its not installed on their system (not installed by default on a windows server it seem). I will install it and see if its solve the problem
Thank for your help !
1 Like